servicefabric

package
v19.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package servicefabric implements the Azure ARM Servicefabric service API version 5.6.*.

Service Fabric REST Client APIs allows management of Service Fabric clusters, applications and services.

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 AadMetadata

type AadMetadata struct {
	// Authority - The AAD authority url.
	Authority *string `json:"authority,omitempty"`
	// Client - The AAD client application Id.
	Client *string `json:"client,omitempty"`
	// Cluster - The AAD cluster application Id.
	Cluster *string `json:"cluster,omitempty"`
	// Login - The AAD login url.
	Login *string `json:"login,omitempty"`
	// Redirect - The client application redirect address.
	Redirect *string `json:"redirect,omitempty"`
	// Tenant - The AAD tenant Id.
	Tenant *string `json:"tenant,omitempty"`
}

AadMetadata azure Active Directory metadata used for secured connection to cluster.

type AadMetadataObject

type AadMetadataObject struct {
	autorest.Response `json:"-"`
	// Type - The client authentication method.
	Type     *string      `json:"type,omitempty"`
	Metadata *AadMetadata `json:"metadata,omitempty"`
}

AadMetadataObject azure Active Directory metadata object used for secured connection to cluster.

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

func PossibleAggregatedHealthStateValues

func PossibleAggregatedHealthStateValues() []AggregatedHealthState

PossibleAggregatedHealthStateValues returns an array of possible values for the AggregatedHealthState const type.

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

func PossibleAggregatedHealthState1Values

func PossibleAggregatedHealthState1Values() []AggregatedHealthState1

PossibleAggregatedHealthState1Values returns an array of possible values for the AggregatedHealthState1 const type.

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

func PossibleAggregatedHealthState2Values

func PossibleAggregatedHealthState2Values() []AggregatedHealthState2

PossibleAggregatedHealthState2Values returns an array of possible values for the AggregatedHealthState2 const type.

type ApplicationCapacityDescription

type ApplicationCapacityDescription struct {
	// MinimumNodes - The minimum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. If this property is set to zero, no capacity will be reserved. The value of this property cannot be more than the value of the MaximumNodes property.
	MinimumNodes *int64 `json:"MinimumNodes,omitempty"`
	// MaximumNodes - The maximum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. By default, the value of this property is zero and it means that the services can be placed on any node.
	MaximumNodes       *int64                          `json:"MaximumNodes,omitempty"`
	ApplicationMetrics *[]ApplicationMetricDescription `json:"ApplicationMetrics,omitempty"`
}

ApplicationCapacityDescription describes capacity information for services of this application. This description can be used for describing the following. - Reserving the capacity for the services on the nodes - Limiting the total number of nodes that services of this application can run on - Limiting the custom capacity metrics to limit the total consumption of this metric by the services of this application

type ApplicationDescription

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

ApplicationDescription describes a Service Fabric application.

type ApplicationHealth

type ApplicationHealth struct {
	autorest.Response `json:"-"`
	Name              *string `json:"Name,omitempty"`
	// ServiceHealthStates - Service health states as found in the health store.
	ServiceHealthStates *[]ServiceHealthState `json:"ServiceHealthStates,omitempty"`
	// DeployedApplicationHealthStates - Deployed application health states as found in the health store.
	DeployedApplicationHealthStates *[]DeployedApplicationHealthState `json:"DeployedApplicationHealthStates,omitempty"`
	// AggregatedHealthState - The HealthState representing the aggregated health state of the entity computed by Health Manager.
	// The health evaluation of the entity reflects all events reported on the entity and its children (if any).
	// The aggregation is done by applying the desired health policy.
	// . Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown'
	AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"`
	// HealthEvents - The list of health events reported on the entity.
	HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"`
	// UnhealthyEvaluations - The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
}

ApplicationHealth represents the health of the application. Contains the application aggregated health state and the service and deployed application health states.

type ApplicationHealthEvaluation

type ApplicationHealthEvaluation struct {
	// ApplicationName - Full name of the application.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the current aggregated health state of the application. The types of the unhealthy evaluations can be DeployedApplicationsHealthEvaluation, ServicesHealthEvaluation or EventHealthEvaluation.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

ApplicationHealthEvaluation represents health evaluation for an application, containing information about the data and the algorithm used by the health store to evaluate health.

func (ApplicationHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 ApplicationHealthPolicies

type ApplicationHealthPolicies struct {
	// ApplicationHealthPolicyMap - The wrapper that contains the map with application health policies used to evaluate specific applications in the cluster.
	ApplicationHealthPolicyMap *[]ApplicationHealthPolicyMapItem `json:"ApplicationHealthPolicyMap,omitempty"`
}

ApplicationHealthPolicies defines the application health policy map used to evaluate the health of an application or one of its children entities.

type ApplicationHealthPolicy

type ApplicationHealthPolicy struct {
	// ConsiderWarningAsError - Indicates whether warnings are treated with the same severity as errors.
	ConsiderWarningAsError *bool `json:"ConsiderWarningAsError,omitempty"`
	// MaxPercentUnhealthyDeployedApplications - The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.
	// The percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.
	// This is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.
	// The computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.
	MaxPercentUnhealthyDeployedApplications *int32 `json:"MaxPercentUnhealthyDeployedApplications,omitempty"`
	// DefaultServiceTypeHealthPolicy - The health policy used by default to evaluate the health of a service type.
	DefaultServiceTypeHealthPolicy *ServiceTypeHealthPolicy `json:"DefaultServiceTypeHealthPolicy,omitempty"`
	// ServiceTypeHealthPolicyMap - The map with service type health policy per service type name. The map is empty be default.
	ServiceTypeHealthPolicyMap *[]ServiceTypeHealthPolicyMapItem `json:"ServiceTypeHealthPolicyMap,omitempty"`
}

ApplicationHealthPolicy defines a health policy used to evaluate the health of an application or one of its children entities.

type ApplicationHealthPolicyMapItem

type ApplicationHealthPolicyMapItem struct {
	// Key - The key of the application health policy map item. This is the name of the application.
	Key *string `json:"Key,omitempty"`
	// Value - The value of the application health policy map item. This is the ApplicationHealthPolicy for this application.
	Value *ApplicationHealthPolicy `json:"Value,omitempty"`
}

ApplicationHealthPolicyMapItem defines an item in ApplicationHealthPolicyMap.

type ApplicationHealthState

type ApplicationHealthState struct {
	// Name - Full name of the application.
	Name *string `json:"Name,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown'
	AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"`
}

ApplicationHealthState represents the health state of an application, which contains the application identifier and the aggregated health state.

type ApplicationHealthStateChunk

type ApplicationHealthStateChunk struct {
	// ApplicationName - The name of the application.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ApplicationTypeName - The application type name for the application.
	ApplicationTypeName *string `json:"ApplicationTypeName,omitempty"`
	// ServiceHealthStateChunks - The list of service health state chunks in the cluster that respect the filters in the cluster health chunk query description.
	ServiceHealthStateChunks *ServiceHealthStateChunkList `json:"ServiceHealthStateChunks,omitempty"`
	// DeployedApplicationHealthStateChunks - The list of deployed application health state chunks in the cluster that respect the filters in the cluster health chunk query description.
	DeployedApplicationHealthStateChunks *DeployedApplicationHealthStateChunkList `json:"DeployedApplicationHealthStateChunks,omitempty"`
	// HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown'
	HealthState HealthState2 `json:"HealthState,omitempty"`
}

ApplicationHealthStateChunk represents the health state chunk of a application. The application health state chunk contains the application name, its aggregated health state and any children services and deployed applications that respect the filters in cluster health chunk query description.

type ApplicationHealthStateChunkList

type ApplicationHealthStateChunkList struct {
	// Items - The list of application health state chunks that respect the input filters in the chunk query.
	Items *[]ApplicationHealthStateChunk `json:"Items,omitempty"`
	// TotalCount - Total number of entity health state objects that match the specified filters from the cluster health chunk query description.
	TotalCount *int64 `json:"TotalCount,omitempty"`
}

ApplicationHealthStateChunkList the list of application health state chunks in the cluster that respect the input filters in the chunk query. Returned by get cluster health state chunks query.

type ApplicationHealthStateFilter

type ApplicationHealthStateFilter struct {
	// ApplicationNameFilter - The name of the application that matches the filter, as a fabric uri. The filter is applied only to the specified application, if it exists.
	// If the application doesn't exist, no application is returned in the cluster health chunk based on this filter.
	// If the application exists, it is included in the cluster health chunk if it respects the other filter properties.
	// If not specified, all applications are matched against the other filter members, like health state filter.
	ApplicationNameFilter *string `json:"ApplicationNameFilter,omitempty"`
	// ApplicationTypeNameFilter - The name of the application type that matches the filter.
	// If specified, the filter is applied only to applications of the selected application type, if any exists.
	// If no applications of the specified application type exists, no application is returned in the cluster health chunk based on this filter.
	// Each application of the specified application type is included in the cluster health chunk if it respects the other filter properties.
	// If not specified, all applications are matched against the other filter members, like health state filter.
	ApplicationTypeNameFilter *string `json:"ApplicationTypeNameFilter,omitempty"`
	// HealthStateFilter - The filter for the health state of the applications. It allows selecting applications if they match the desired health states.
	// The possible values are integer value of one of the following health states. Only applications that match the filter are returned. All applications are used to evaluate the cluster aggregated health state.
	// If not specified, default value is None, unless the application name or the application type name are specified. If the filter has default value and application name is specified, the matching application is returned.
	// The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.
	// For example, if the provided value is 6, it matches applications with HealthState value of OK (2) and Warning (4).
	// - Default - Default value. Matches any HealthState. The value is zero.
	// - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.
	// - Ok - Filter that matches input with HealthState value Ok. The value is 2.
	// - Warning - Filter that matches input with HealthState value Warning. The value is 4.
	// - Error - Filter that matches input with HealthState value Error. The value is 8.
	// - All - Filter that matches input with any HealthState value. The value is 65535.
	HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"`
	// ServiceFilters - Defines a list of filters that specify which services to be included in the returned cluster health chunk as children of the application. The services are returned only if the parent application matches a filter.
	// If the list is empty, no services are returned. All the services are used to evaluate the parent application aggregated health state, regardless of the input filters.
	// The application filter may specify multiple service filters.
	// For example, it can specify a filter to return all services with health state Error and another filter to always include a service identified by its service name.
	ServiceFilters *[]ServiceHealthStateFilter `json:"ServiceFilters,omitempty"`
	// DeployedApplicationFilters - Defines a list of filters that specify which deployed applications to be included in the returned cluster health chunk as children of the application. The deployed applications are returned only if the parent application matches a filter.
	// If the list is empty, no deployed applications are returned. All the deployed applications are used to evaluate the parent application aggregated health state, regardless of the input filters.
	// The application filter may specify multiple deployed application filters.
	// For example, it can specify a filter to return all deployed applications with health state Error and another filter to always include a deployed application on a specified node.
	DeployedApplicationFilters *[]DeployedApplicationHealthStateFilter `json:"DeployedApplicationFilters,omitempty"`
}

ApplicationHealthStateFilter defines matching criteria to determine whether a application should be included in the cluster health chunk. One filter can match zero, one or multiple applications, depending on its properties.

type ApplicationInfo

type ApplicationInfo struct {
	autorest.Response `json:"-"`
	ID                *string `json:"Id,omitempty"`
	// Name - The Uniform Resource Identifier(URI) of the application.
	Name *string `json:"Name,omitempty"`
	// TypeName - The Name of the application type as specified in the Application Manifest.
	TypeName *string `json:"TypeName,omitempty"`
	// TypeVersion - The version of the application type as specified in the Application Manifest.
	TypeVersion *string `json:"TypeVersion,omitempty"`
	// Status - Possible values include: 'StatusInvalid', 'StatusReady', 'StatusUpgrading', 'StatusCreating', 'StatusDeleting', 'StatusFailed'
	Status     Status                  `json:"Status,omitempty"`
	Parameters *[]ApplicationParameter `json:"Parameters,omitempty"`
	// HealthState - Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `json:"HealthState,omitempty"`
}

ApplicationInfo information about a Service Fabric application.

type ApplicationMetricDescription

type ApplicationMetricDescription struct {
	// Name - The name of the metric.
	Name *string `json:"Name,omitempty"`
	// MaximumCapacity - The maximum node capacity for Service Fabric application.
	// This is the maximum Load for an instance of this application on a single node. Even if the capacity of node is greater than this value, Service Fabric will limit the total load of services within the application on each node to this value.
	// If set to zero, capacity for this metric is unlimited on each node.
	// When creating a new application with application capacity defined, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.
	// When updating existing application with application capacity, the product of MaximumNodes and this value must always be smaller than or equal to TotalApplicationCapacity.
	MaximumCapacity *int64 `json:"MaximumCapacity,omitempty"`
	// ReservationCapacity - The node reservation capacity for Service Fabric application.
	// This is the amount of load which is reserved on nodes which have instances of this application.
	// If MinimumNodes is specified, then the product of these values will be the capacity reserved in the cluster for the application.
	// If set to zero, no capacity is reserved for this metric.
	// When setting application capacity or when updating application capacity; this value must be smaller than or equal to MaximumCapacity for each metric.
	ReservationCapacity *int64 `json:"ReservationCapacity,omitempty"`
	// TotalApplicationCapacity - The total metric capacity for Service Fabric application.
	// This is the total metric capacity for this application in the cluster. Service Fabric will try to limit the sum of loads of services within the application to this value.
	// When creating a new application with application capacity defined, the product of MaximumNodes and MaximumCapacity must always be smaller than or equal to this value.
	TotalApplicationCapacity *int64 `json:"TotalApplicationCapacity,omitempty"`
}

ApplicationMetricDescription describes capacity information for a custom resource balancing metric. This can be used to limit the total consumption of this metric by the services of this application.

type ApplicationNameInfo

type ApplicationNameInfo struct {
	autorest.Response `json:"-"`
	ID                *string `json:"Id,omitempty"`
	Name              *string `json:"Name,omitempty"`
}

ApplicationNameInfo information about the application name.

type ApplicationParameter

type ApplicationParameter struct {
	// Key - The name of the parameter.
	Key *string `json:"Key,omitempty"`
	// Value - The value of the parameter.
	Value *string `json:"Value,omitempty"`
}

ApplicationParameter describes an application parameter override to be applied when creating or upgrading an application.

type ApplicationTypeApplicationsHealthEvaluation

type ApplicationTypeApplicationsHealthEvaluation struct {
	// ApplicationTypeName - Name of the application type.
	ApplicationTypeName *string `json:"ApplicationTypeName,omitempty"`
	// MaxPercentUnhealthyApplications - Maximum allowed percentage of unhealthy applications for the application type, specified as an entry in ApplicationTypeHealthPolicyMap.
	MaxPercentUnhealthyApplications *int32 `json:"MaxPercentUnhealthyApplications,omitempty"`
	// TotalCount - Total number of applications of the application type found in the health store.
	TotalCount *int64 `json:"TotalCount,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ApplicationHealthEvaluation of this application type that impacted the aggregated health.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

ApplicationTypeApplicationsHealthEvaluation represents health evaluation for applications of a particular application type. The application type applications evaluation can be returned when cluster health evaluation returns unhealthy aggregated health state, either Error or Warning. It contains health evaluations for each unhealthy application of the included application type that impacted current aggregated health state.

func (ApplicationTypeApplicationsHealthEvaluation) AsApplicationHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsApplicationsHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsBasicHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsEventHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsNodeHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsNodesHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsPartitionHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsPartitionsHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsReplicaHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsReplicasHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsServiceHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsServicesHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (atahe ApplicationTypeApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.

func (ApplicationTypeApplicationsHealthEvaluation) MarshalJSON

func (atahe ApplicationTypeApplicationsHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationTypeApplicationsHealthEvaluation.

type ApplicationTypeHealthPolicyMapItem

type ApplicationTypeHealthPolicyMapItem struct {
	// Key - The key of the application type health policy map item. This is the name of the application type.
	Key *string `json:"Key,omitempty"`
	// Value - The value of the application type health policy map item.
	// The max percent unhealthy applications allowed for the application type. Must be between zero and 100.
	Value *int32 `json:"Value,omitempty"`
}

ApplicationTypeHealthPolicyMapItem defines an item in ApplicationTypeHealthPolicyMap.

type ApplicationTypeImageStorePath

type ApplicationTypeImageStorePath struct {
	// ApplicationTypeBuildPath - The relative image store path to the application package.
	ApplicationTypeBuildPath *string `json:"ApplicationTypeBuildPath,omitempty"`
}

ApplicationTypeImageStorePath path description for the application package in the image store specified during the prior copy operation.

type ApplicationTypeImageStoreVersion

type ApplicationTypeImageStoreVersion struct {
	// ApplicationTypeVersion - The application type version.
	ApplicationTypeVersion *string `json:"ApplicationTypeVersion,omitempty"`
}

ApplicationTypeImageStoreVersion a version description for the application type

type ApplicationTypeInfo

type ApplicationTypeInfo struct {
	// Name - The name of the application type.
	Name *string `json:"Name,omitempty"`
	// Version - The version of the application type.
	Version *string `json:"Version,omitempty"`
	// Status - Possible values include: 'Status1Invalid', 'Status1Provisioning', 'Status1Available', 'Status1Unprovisioning', 'Status1Failed'
	Status               Status1                 `json:"Status,omitempty"`
	DefaultParameterList *[]ApplicationParameter `json:"DefaultParameterList,omitempty"`
}

ApplicationTypeInfo information about an application type.

type ApplicationTypeManifest

type ApplicationTypeManifest struct {
	autorest.Response `json:"-"`
	// Manifest - The XML manifest as a string.
	Manifest *string `json:"Manifest,omitempty"`
}

ApplicationTypeManifest contains the manifest describing an application type registered in a Service Fabric cluster.

type ApplicationUpgradeDescription

type ApplicationUpgradeDescription struct {
	Name                         *string                 `json:"Name,omitempty"`
	TargetApplicationTypeVersion *string                 `json:"TargetApplicationTypeVersion,omitempty"`
	Parameters                   *[]ApplicationParameter `json:"Parameters,omitempty"`
	// UpgradeKind - Possible values include: 'UpgradeKindInvalid', 'UpgradeKindRolling'
	UpgradeKind UpgradeKind `json:"UpgradeKind,omitempty"`
	// RollingUpgradeMode - Possible values include: 'RollingUpgradeModeInvalid', 'RollingUpgradeModeUnmonitoredAuto', 'RollingUpgradeModeUnmonitoredManual', 'RollingUpgradeModeMonitored'
	RollingUpgradeMode                     RollingUpgradeMode           `json:"RollingUpgradeMode,omitempty"`
	UpgradeReplicaSetCheckTimeoutInSeconds *int64                       `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	ForceRestart                           *bool                        `json:"ForceRestart,omitempty"`
	MonitoringPolicy                       *MonitoringPolicyDescription `json:"MonitoringPolicy,omitempty"`
	ApplicationHealthPolicy                *ApplicationHealthPolicy     `json:"ApplicationHealthPolicy,omitempty"`
}

ApplicationUpgradeDescription describes the parameters for an application upgrade. Please note that upgrade description replaces the existing application description. This means that if the parameters are not specified, the existing parameters on the applications will be overwritten with the empty parameters list. This would results in application using the default value of the parameters from the application manifest. If you do not want to change any existing parameter values, please get the application parameters first using the GetApplicationInfo query and then supply those values as Parameters in this ApplicationUpgradeDescription.

type ApplicationUpgradeProgressInfo

type ApplicationUpgradeProgressInfo struct {
	autorest.Response            `json:"-"`
	Name                         *string              `json:"Name,omitempty"`
	TypeName                     *string              `json:"TypeName,omitempty"`
	TargetApplicationTypeVersion *string              `json:"TargetApplicationTypeVersion,omitempty"`
	UpgradeDomains               *[]UpgradeDomainInfo `json:"UpgradeDomains,omitempty"`
	// UpgradeState - Possible values include: 'UpgradeStateInvalid', 'UpgradeStateRollingBackInProgress', 'UpgradeStateRollingBackCompleted', 'UpgradeStateRollingForwardPending', 'UpgradeStateRollingForwardInProgress', 'UpgradeStateRollingForwardCompleted', 'UpgradeStateFailed'
	UpgradeState      UpgradeState `json:"UpgradeState,omitempty"`
	NextUpgradeDomain *string      `json:"NextUpgradeDomain,omitempty"`
	// RollingUpgradeMode - Possible values include: 'RollingUpgradeMode1Invalid', 'RollingUpgradeMode1UnmonitoredAuto', 'RollingUpgradeMode1UnmonitoredManual', 'RollingUpgradeMode1Monitored'
	RollingUpgradeMode RollingUpgradeMode1            `json:"RollingUpgradeMode,omitempty"`
	UpgradeDescription *ApplicationUpgradeDescription `json:"UpgradeDescription,omitempty"`
	// UpgradeDurationInMilliseconds - The estimated total amount of time spent processing the overall upgrade.
	UpgradeDurationInMilliseconds *string `json:"UpgradeDurationInMilliseconds,omitempty"`
	// UpgradeDomainDurationInMilliseconds - The estimated total amount of time spent processing the current upgrade domain.
	UpgradeDomainDurationInMilliseconds *string                           `json:"UpgradeDomainDurationInMilliseconds,omitempty"`
	UnhealthyEvaluations                *[]HealthEvaluationWrapper        `json:"UnhealthyEvaluations,omitempty"`
	CurrentUpgradeDomainProgress        *CurrentUpgradeDomainProgressInfo `json:"CurrentUpgradeDomainProgress,omitempty"`
	// StartTimestampUtc - The estimated UTC datetime when the upgrade started.
	StartTimestampUtc *string `json:"StartTimestampUtc,omitempty"`
	// FailureTimestampUtc - The estimated UTC datetime when the upgrade failed and FailureAction was executed.
	FailureTimestampUtc *string `json:"FailureTimestampUtc,omitempty"`
	// FailureReason - Possible values include: 'None', 'Interrupted', 'HealthCheck', 'UpgradeDomainTimeout', 'UpgradeTimeout'
	FailureReason                  FailureReason                     `json:"FailureReason,omitempty"`
	UpgradeDomainProgressAtFailure *FailureUpgradeDomainProgressInfo `json:"UpgradeDomainProgressAtFailure,omitempty"`
	// UpgradeStatusDetails - Additional detailed information about the status of the pending upgrade.
	UpgradeStatusDetails *string `json:"UpgradeStatusDetails,omitempty"`
}

ApplicationUpgradeProgressInfo describes the parameters for an application upgrade.

type ApplicationUpgradeUpdateDescription

type ApplicationUpgradeUpdateDescription struct {
	Name *string `json:"Name,omitempty"`
	// UpgradeKind - Possible values include: 'UpgradeKind2Invalid', 'UpgradeKind2Rolling'
	UpgradeKind             UpgradeKind2                     `json:"UpgradeKind,omitempty"`
	ApplicationHealthPolicy *ApplicationHealthPolicy         `json:"ApplicationHealthPolicy,omitempty"`
	UpdateDescription       *RollingUpgradeUpdateDescription `json:"UpdateDescription,omitempty"`
}

ApplicationUpgradeUpdateDescription describes the parameters for updating an ongoing application upgrade.

type ApplicationsHealthEvaluation

type ApplicationsHealthEvaluation struct {
	// MaxPercentUnhealthyApplications - Maximum allowed percentage of unhealthy applications from the ClusterHealthPolicy.
	MaxPercentUnhealthyApplications *int32 `json:"MaxPercentUnhealthyApplications,omitempty"`
	// TotalCount - Total number of applications from the health store.
	TotalCount *int64 `json:"TotalCount,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ApplicationHealthEvaluation that impacted the aggregated health.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

ApplicationsHealthEvaluation represents health evaluation for applications, containing health evaluations for each unhealthy application that impacted current aggregated health state.

func (ApplicationsHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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
}

BaseClient is the base client for Servicefabric.

func New

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

func (BaseClient) CancelOperation

func (client BaseClient) CancelOperation(ctx context.Context, operationID uuid.UUID, force bool, timeout *int64) (result autorest.Response, err error)

CancelOperation the following is a list of APIs that start fault operations that may be cancelled using CancelOperation - - StartDataLoss - StartQuorumLoss - StartPartitionRestart - StartNodeTransition

If force is false, then the specified user-induced operation will be gracefully stopped and cleaned up. If force is true, the command will be aborted, and some internal state may be left behind. Specifying force as true should be used with care. Calling this API with force set to true is not allowed until this API has already been called on the same test command with force set to false first, or unless the test command already has an OperationState of OperationState.RollingBack. Clarification: OperationState.RollingBack means that the system will/is be cleaning up internal system state caused by executing the command. It will not restore data if the test command was to cause data loss. For example, if you call StartDataLoss then call this API, the system will only clean up internal state from running the command. It will not restore the target partition's data, if the command progressed far enough to cause data loss.

Important note: if this API is invoked with force==true, internal state may be left behind. Parameters: operationID - a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API force - indicates whether to gracefully rollback and clean up internal system state modified by executing the user-induced operation. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) CancelOperationPreparer

func (client BaseClient) CancelOperationPreparer(ctx context.Context, operationID uuid.UUID, force bool, timeout *int64) (*http.Request, error)

CancelOperationPreparer prepares the CancelOperation request.

func (BaseClient) CancelOperationResponder

func (client BaseClient) CancelOperationResponder(resp *http.Response) (result autorest.Response, err error)

CancelOperationResponder handles the response to the CancelOperation request. The method always closes the http.Response Body.

func (BaseClient) CancelOperationSender

func (client BaseClient) CancelOperationSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) CopyImageStoreContent

func (client BaseClient) CopyImageStoreContent(ctx context.Context, imageStoreCopyDescription ImageStoreCopyDescription, timeout *int64) (result autorest.Response, err error)

CopyImageStoreContent copies the image store content from the source image store relative path to the destination image store relative path. Parameters: imageStoreCopyDescription - describes the copy description for the image store. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) CopyImageStoreContentPreparer

func (client BaseClient) CopyImageStoreContentPreparer(ctx context.Context, imageStoreCopyDescription ImageStoreCopyDescription, timeout *int64) (*http.Request, error)

CopyImageStoreContentPreparer prepares the CopyImageStoreContent request.

func (BaseClient) CopyImageStoreContentResponder

func (client BaseClient) CopyImageStoreContentResponder(resp *http.Response) (result autorest.Response, err error)

CopyImageStoreContentResponder handles the response to the CopyImageStoreContent request. The method always closes the http.Response Body.

func (BaseClient) CopyImageStoreContentSender

func (client BaseClient) CopyImageStoreContentSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) CreateApplication

func (client BaseClient) CreateApplication(ctx context.Context, applicationDescription ApplicationDescription, timeout *int64) (result autorest.Response, err error)

CreateApplication creates a Service Fabric application using the specified description. Parameters: applicationDescription - describes the application to be created. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) CreateApplicationPreparer

func (client BaseClient) CreateApplicationPreparer(ctx context.Context, applicationDescription ApplicationDescription, timeout *int64) (*http.Request, error)

CreateApplicationPreparer prepares the CreateApplication request.

func (BaseClient) CreateApplicationResponder

func (client BaseClient) CreateApplicationResponder(resp *http.Response) (result autorest.Response, err error)

CreateApplicationResponder handles the response to the CreateApplication request. The method always closes the http.Response Body.

func (BaseClient) CreateApplicationSender

func (client BaseClient) CreateApplicationSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) CreateComposeApplication

func (client BaseClient) CreateComposeApplication(ctx context.Context, createComposeApplicationDescription CreateComposeApplicationDescription, timeout *int64) (result autorest.Response, err error)

CreateComposeApplication creates a Service Fabric compose application. Parameters: createComposeApplicationDescription - describes the compose application that needs to be created. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) CreateComposeApplicationPreparer

func (client BaseClient) CreateComposeApplicationPreparer(ctx context.Context, createComposeApplicationDescription CreateComposeApplicationDescription, timeout *int64) (*http.Request, error)

CreateComposeApplicationPreparer prepares the CreateComposeApplication request.

func (BaseClient) CreateComposeApplicationResponder

func (client BaseClient) CreateComposeApplicationResponder(resp *http.Response) (result autorest.Response, err error)

CreateComposeApplicationResponder handles the response to the CreateComposeApplication request. The method always closes the http.Response Body.

func (BaseClient) CreateComposeApplicationSender

func (client BaseClient) CreateComposeApplicationSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) CreateService

func (client BaseClient) CreateService(ctx context.Context, applicationID string, serviceDescription BasicServiceDescription, timeout *int64) (result autorest.Response, err error)

CreateService creates the specified service. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. serviceDescription - the configuration for the service. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) CreateServiceFromTemplate

func (client BaseClient) CreateServiceFromTemplate(ctx context.Context, applicationID string, serviceFromTemplateDescription ServiceFromTemplateDescription, timeout *int64) (result autorest.Response, err error)

CreateServiceFromTemplate creates a Service Fabric service from the service template defined in the application manifest. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. serviceFromTemplateDescription - describes the service that needs to be created from the template defined in the application manifest. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) CreateServiceFromTemplatePreparer

func (client BaseClient) CreateServiceFromTemplatePreparer(ctx context.Context, applicationID string, serviceFromTemplateDescription ServiceFromTemplateDescription, timeout *int64) (*http.Request, error)

CreateServiceFromTemplatePreparer prepares the CreateServiceFromTemplate request.

func (BaseClient) CreateServiceFromTemplateResponder

func (client BaseClient) CreateServiceFromTemplateResponder(resp *http.Response) (result autorest.Response, err error)

CreateServiceFromTemplateResponder handles the response to the CreateServiceFromTemplate request. The method always closes the http.Response Body.

func (BaseClient) CreateServiceFromTemplateSender

func (client BaseClient) CreateServiceFromTemplateSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) CreateServicePreparer

func (client BaseClient) CreateServicePreparer(ctx context.Context, applicationID string, serviceDescription BasicServiceDescription, timeout *int64) (*http.Request, error)

CreateServicePreparer prepares the CreateService request.

func (BaseClient) CreateServiceResponder

func (client BaseClient) CreateServiceResponder(resp *http.Response) (result autorest.Response, err error)

CreateServiceResponder handles the response to the CreateService request. The method always closes the http.Response Body.

func (BaseClient) CreateServiceSender

func (client BaseClient) CreateServiceSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) DeleteApplication

func (client BaseClient) DeleteApplication(ctx context.Context, applicationID string, forceRemove *bool, timeout *int64) (result autorest.Response, err error)

DeleteApplication deletes an existing Service Fabric application. An application must be created before it can be deleted. Deleting an application will delete all services that are part of that application. By default Service Fabric will try to close service replicas in a graceful manner and then delete the service. However if service is having issues closing the replica gracefully, the delete operation may take a long time or get stuck. Use the optional ForceRemove flag to skip the graceful close sequence and forcefully delete the application and all of the its services. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. forceRemove - remove a Service Fabric application or service forcefully without going through the graceful shutdown sequence. This parameter can be used to forcefully delete an application or service for which delete is timing out due to issues in the service code that prevents graceful close of replicas. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) DeleteApplicationPreparer

func (client BaseClient) DeleteApplicationPreparer(ctx context.Context, applicationID string, forceRemove *bool, timeout *int64) (*http.Request, error)

DeleteApplicationPreparer prepares the DeleteApplication request.

func (BaseClient) DeleteApplicationResponder

func (client BaseClient) DeleteApplicationResponder(resp *http.Response) (result autorest.Response, err error)

DeleteApplicationResponder handles the response to the DeleteApplication request. The method always closes the http.Response Body.

func (BaseClient) DeleteApplicationSender

func (client BaseClient) DeleteApplicationSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) DeleteImageStoreContent

func (client BaseClient) DeleteImageStoreContent(ctx context.Context, contentPath string, timeout *int64) (result autorest.Response, err error)

DeleteImageStoreContent deletes existing image store content being found within the given image store relative path. This can be used to delete uploaded application packages once they are provisioned. Parameters: contentPath - relative path to file or folder in the image store from its root. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) DeleteImageStoreContentPreparer

func (client BaseClient) DeleteImageStoreContentPreparer(ctx context.Context, contentPath string, timeout *int64) (*http.Request, error)

DeleteImageStoreContentPreparer prepares the DeleteImageStoreContent request.

func (BaseClient) DeleteImageStoreContentResponder

func (client BaseClient) DeleteImageStoreContentResponder(resp *http.Response) (result autorest.Response, err error)

DeleteImageStoreContentResponder handles the response to the DeleteImageStoreContent request. The method always closes the http.Response Body.

func (BaseClient) DeleteImageStoreContentSender

func (client BaseClient) DeleteImageStoreContentSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) DeleteService

func (client BaseClient) DeleteService(ctx context.Context, serviceID string, forceRemove *bool, timeout *int64) (result autorest.Response, err error)

DeleteService deletes an existing Service Fabric service. A service must be created before it can be deleted. By default Service Fabric will try to close service replicas in a graceful manner and then delete the service. However if service is having issues closing the replica gracefully, the delete operation may take a long time or get stuck. Use the optional ForceRemove flag to skip the graceful close sequence and forcefully delete the service. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. forceRemove - remove a Service Fabric application or service forcefully without going through the graceful shutdown sequence. This parameter can be used to forcefully delete an application or service for which delete is timing out due to issues in the service code that prevents graceful close of replicas. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) DeleteServicePreparer

func (client BaseClient) DeleteServicePreparer(ctx context.Context, serviceID string, forceRemove *bool, timeout *int64) (*http.Request, error)

DeleteServicePreparer prepares the DeleteService request.

func (BaseClient) DeleteServiceResponder

func (client BaseClient) DeleteServiceResponder(resp *http.Response) (result autorest.Response, err error)

DeleteServiceResponder handles the response to the DeleteService request. The method always closes the http.Response Body.

func (BaseClient) DeleteServiceSender

func (client BaseClient) DeleteServiceSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) DeployedServicePackageToNode

func (client BaseClient) DeployedServicePackageToNode(ctx context.Context, nodeName string, deployServicePackageToNodeDescription DeployServicePackageToNodeDescription, timeout *int64) (result autorest.Response, err error)

DeployedServicePackageToNode downloads packages associated with specified service manifest to image cache on specified node. Parameters: nodeName - the name of the node. deployServicePackageToNodeDescription - describes information for deploying a service package to a Service Fabric node. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) DeployedServicePackageToNodePreparer

func (client BaseClient) DeployedServicePackageToNodePreparer(ctx context.Context, nodeName string, deployServicePackageToNodeDescription DeployServicePackageToNodeDescription, timeout *int64) (*http.Request, error)

DeployedServicePackageToNodePreparer prepares the DeployedServicePackageToNode request.

func (BaseClient) DeployedServicePackageToNodeResponder

func (client BaseClient) DeployedServicePackageToNodeResponder(resp *http.Response) (result autorest.Response, err error)

DeployedServicePackageToNodeResponder handles the response to the DeployedServicePackageToNode request. The method always closes the http.Response Body.

func (BaseClient) DeployedServicePackageToNodeSender

func (client BaseClient) DeployedServicePackageToNodeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) DisableNode

func (client BaseClient) DisableNode(ctx context.Context, nodeName string, deactivationIntentDescription DeactivationIntentDescription, timeout *int64) (result autorest.Response, err error)

DisableNode deactivate a Service Fabric cluster node with the specified deactivation intent. Once the deactivation is in progress, the deactivation intent can be increased, but not decreased (for example, a node which is was deactivated with the Pause intent can be deactivated further with Restart, but not the other way around. Nodes may be reactivated using the Activate a node operation any time after they are deactivated. If the deactivation is not complete this will cancel the deactivation. A node which goes down and comes back up while deactivated will still need to be reactivated before services will be placed on that node. Parameters: nodeName - the name of the node. deactivationIntentDescription - describes the intent or reason for deactivating the node. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) DisableNodePreparer

func (client BaseClient) DisableNodePreparer(ctx context.Context, nodeName string, deactivationIntentDescription DeactivationIntentDescription, timeout *int64) (*http.Request, error)

DisableNodePreparer prepares the DisableNode request.

func (BaseClient) DisableNodeResponder

func (client BaseClient) DisableNodeResponder(resp *http.Response) (result autorest.Response, err error)

DisableNodeResponder handles the response to the DisableNode request. The method always closes the http.Response Body.

func (BaseClient) DisableNodeSender

func (client BaseClient) DisableNodeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) EnableNode

func (client BaseClient) EnableNode(ctx context.Context, nodeName string, timeout *int64) (result autorest.Response, err error)

EnableNode activates a Service Fabric cluster node which is currently deactivated. Once activated, the node will again become a viable target for placing new replicas, and any deactivated replicas remaining on the node will be reactivated. Parameters: nodeName - the name of the node. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) EnableNodePreparer

func (client BaseClient) EnableNodePreparer(ctx context.Context, nodeName string, timeout *int64) (*http.Request, error)

EnableNodePreparer prepares the EnableNode request.

func (BaseClient) EnableNodeResponder

func (client BaseClient) EnableNodeResponder(resp *http.Response) (result autorest.Response, err error)

EnableNodeResponder handles the response to the EnableNode request. The method always closes the http.Response Body.

func (BaseClient) EnableNodeSender

func (client BaseClient) EnableNodeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetAadMetadata

func (client BaseClient) GetAadMetadata(ctx context.Context, timeout *int64) (result AadMetadataObject, err error)

GetAadMetadata gets the Azure Active Directory metadata used for secured connection to cluster. This API is not supposed to be called separately. It provides information needed to set up an Azure Active Directory secured connection with a Service Fabric cluster. Parameters: timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetAadMetadataPreparer

func (client BaseClient) GetAadMetadataPreparer(ctx context.Context, timeout *int64) (*http.Request, error)

GetAadMetadataPreparer prepares the GetAadMetadata request.

func (BaseClient) GetAadMetadataResponder

func (client BaseClient) GetAadMetadataResponder(resp *http.Response) (result AadMetadataObject, err error)

GetAadMetadataResponder handles the response to the GetAadMetadata request. The method always closes the http.Response Body.

func (BaseClient) GetAadMetadataSender

func (client BaseClient) GetAadMetadataSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetApplicationHealth

func (client BaseClient) GetApplicationHealth(ctx context.Context, applicationID string, eventsHealthStateFilter *int32, deployedApplicationsHealthStateFilter *int32, servicesHealthStateFilter *int32, timeout *int64) (result ApplicationHealth, err error)

GetApplicationHealth returns the heath state of the service fabric application. The response reports either Ok, Error or Warning health state. If the entity is not found in the helath store, it will return Error. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. deployedApplicationsHealthStateFilter - allows filtering of the deployed applications health state objects returned in the result of application health query based on their health state. The possible values for this parameter include integer value of one of the following health states. Only deployed applications that match the filter will be returned.\ All deployed applications are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of deployed applications with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. servicesHealthStateFilter - allows filtering of the services health state objects returned in the result of services health query based on their health state. The possible values for this parameter include integer value of one of the following health states. Only services that match the filter are returned. All services are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of services with HealthState value of OK (2) and Warning (4) will be returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn�t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetApplicationHealthPreparer

func (client BaseClient) GetApplicationHealthPreparer(ctx context.Context, applicationID string, eventsHealthStateFilter *int32, deployedApplicationsHealthStateFilter *int32, servicesHealthStateFilter *int32, timeout *int64) (*http.Request, error)

GetApplicationHealthPreparer prepares the GetApplicationHealth request.

func (BaseClient) GetApplicationHealthResponder

func (client BaseClient) GetApplicationHealthResponder(resp *http.Response) (result ApplicationHealth, err error)

GetApplicationHealthResponder handles the response to the GetApplicationHealth request. The method always closes the http.Response Body.

func (BaseClient) GetApplicationHealthSender

func (client BaseClient) GetApplicationHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetApplicationHealthUsingPolicy

func (client BaseClient) GetApplicationHealthUsingPolicy(ctx context.Context, applicationID string, eventsHealthStateFilter *int32, deployedApplicationsHealthStateFilter *int32, servicesHealthStateFilter *int32, applicationHealthPolicy *ApplicationHealthPolicy, timeout *int64) (result ApplicationHealth, err error)

GetApplicationHealthUsingPolicy gets the health of a Service Fabric application. Use EventsHealthStateFilter to filter the collection of health events reported on the node based on the health state. Use ClusterHealthPolicies to override the health policies used to evaluate the health. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. deployedApplicationsHealthStateFilter - allows filtering of the deployed applications health state objects returned in the result of application health query based on their health state. The possible values for this parameter include integer value of one of the following health states. Only deployed applications that match the filter will be returned.\ All deployed applications are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of deployed applications with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. servicesHealthStateFilter - allows filtering of the services health state objects returned in the result of services health query based on their health state. The possible values for this parameter include integer value of one of the following health states. Only services that match the filter are returned. All services are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of services with HealthState value of OK (2) and Warning (4) will be returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn�t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. applicationHealthPolicy - describes the health policies used to evaluate the health of an application or one of its children. If not present, the health evaluation uses the health policy from application manifest or the default health policy. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetApplicationHealthUsingPolicyPreparer

func (client BaseClient) GetApplicationHealthUsingPolicyPreparer(ctx context.Context, applicationID string, eventsHealthStateFilter *int32, deployedApplicationsHealthStateFilter *int32, servicesHealthStateFilter *int32, applicationHealthPolicy *ApplicationHealthPolicy, timeout *int64) (*http.Request, error)

GetApplicationHealthUsingPolicyPreparer prepares the GetApplicationHealthUsingPolicy request.

func (BaseClient) GetApplicationHealthUsingPolicyResponder

func (client BaseClient) GetApplicationHealthUsingPolicyResponder(resp *http.Response) (result ApplicationHealth, err error)

GetApplicationHealthUsingPolicyResponder handles the response to the GetApplicationHealthUsingPolicy request. The method always closes the http.Response Body.

func (BaseClient) GetApplicationHealthUsingPolicySender

func (client BaseClient) GetApplicationHealthUsingPolicySender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetApplicationInfo

func (client BaseClient) GetApplicationInfo(ctx context.Context, applicationID string, excludeApplicationParameters *bool, timeout *int64) (result ApplicationInfo, err error)

GetApplicationInfo returns the information about the application that was created or in the process of being created in the Service Fabric cluster and whose name matches the one specified as the parameter. The response includes the name, type, status, parameters and other details about the application. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. excludeApplicationParameters - the flag that specifies whether application parameters will be excluded from the result. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetApplicationInfoList

func (client BaseClient) GetApplicationInfoList(ctx context.Context, applicationTypeName string, excludeApplicationParameters *bool, continuationToken string, timeout *int64) (result PagedApplicationInfoList, err error)

GetApplicationInfoList gets the information about the applications that were created or in the process of being created in the Service Fabric cluster and match filters specified as the parameter. The response includes the name, type, status, parameters and other details about the application. If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page. Parameters: applicationTypeName - the application type name used to filter the applications to query for. This value should not contain the application type version. excludeApplicationParameters - the flag that specifies whether application parameters will be excluded from the result. continuationToken - the continuation token parameter is used to obtain next set of results. A continuation token with a non empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results then the continuation token does not contain a value. The value of this parameter should not be URL encoded. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetApplicationInfoListPreparer

func (client BaseClient) GetApplicationInfoListPreparer(ctx context.Context, applicationTypeName string, excludeApplicationParameters *bool, continuationToken string, timeout *int64) (*http.Request, error)

GetApplicationInfoListPreparer prepares the GetApplicationInfoList request.

func (BaseClient) GetApplicationInfoListResponder

func (client BaseClient) GetApplicationInfoListResponder(resp *http.Response) (result PagedApplicationInfoList, err error)

GetApplicationInfoListResponder handles the response to the GetApplicationInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetApplicationInfoListSender

func (client BaseClient) GetApplicationInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetApplicationInfoPreparer

func (client BaseClient) GetApplicationInfoPreparer(ctx context.Context, applicationID string, excludeApplicationParameters *bool, timeout *int64) (*http.Request, error)

GetApplicationInfoPreparer prepares the GetApplicationInfo request.

func (BaseClient) GetApplicationInfoResponder

func (client BaseClient) GetApplicationInfoResponder(resp *http.Response) (result ApplicationInfo, err error)

GetApplicationInfoResponder handles the response to the GetApplicationInfo request. The method always closes the http.Response Body.

func (BaseClient) GetApplicationInfoSender

func (client BaseClient) GetApplicationInfoSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetApplicationManifest

func (client BaseClient) GetApplicationManifest(ctx context.Context, applicationTypeName string, applicationTypeVersion string, timeout *int64) (result ApplicationTypeManifest, err error)

GetApplicationManifest gets the manifest describing an application type. The response contains the application manifest XML as a string. Parameters: applicationTypeName - the name of the application type. applicationTypeVersion - the version of the application type. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetApplicationManifestPreparer

func (client BaseClient) GetApplicationManifestPreparer(ctx context.Context, applicationTypeName string, applicationTypeVersion string, timeout *int64) (*http.Request, error)

GetApplicationManifestPreparer prepares the GetApplicationManifest request.

func (BaseClient) GetApplicationManifestResponder

func (client BaseClient) GetApplicationManifestResponder(resp *http.Response) (result ApplicationTypeManifest, err error)

GetApplicationManifestResponder handles the response to the GetApplicationManifest request. The method always closes the http.Response Body.

func (BaseClient) GetApplicationManifestSender

func (client BaseClient) GetApplicationManifestSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetApplicationNameInfo

func (client BaseClient) GetApplicationNameInfo(ctx context.Context, serviceID string, timeout *int64) (result ApplicationNameInfo, err error)

GetApplicationNameInfo the GetApplicationName endpoint returns the name of the application for the specified service. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetApplicationNameInfoPreparer

func (client BaseClient) GetApplicationNameInfoPreparer(ctx context.Context, serviceID string, timeout *int64) (*http.Request, error)

GetApplicationNameInfoPreparer prepares the GetApplicationNameInfo request.

func (BaseClient) GetApplicationNameInfoResponder

func (client BaseClient) GetApplicationNameInfoResponder(resp *http.Response) (result ApplicationNameInfo, err error)

GetApplicationNameInfoResponder handles the response to the GetApplicationNameInfo request. The method always closes the http.Response Body.

func (BaseClient) GetApplicationNameInfoSender

func (client BaseClient) GetApplicationNameInfoSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetApplicationTypeInfoList

func (client BaseClient) GetApplicationTypeInfoList(ctx context.Context, excludeApplicationParameters *bool, continuationToken string, maxResults *int64, timeout *int64) (result PagedApplicationTypeInfoList, err error)

GetApplicationTypeInfoList returns the information about the application types that are provisioned or in the process of being provisioned in the Service Fabric cluster. Each version of an application type is returned as one application type. The response includes the name, version, status and other details about the application type. This is a paged query, meaning that if not all of the application types fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page. For example, if there are 10 application types but a page only fits the first 3 application types, or if max results is set to 3, then 3 is returned. To access the rest of the results, retrieve subsequent pages by using the returned continuation token in the next query. An empty continuation token is returned if there are no subsequent pages. Parameters: excludeApplicationParameters - the flag that specifies whether application parameters will be excluded from the result. continuationToken - the continuation token parameter is used to obtain next set of results. A continuation token with a non empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results then the continuation token does not contain a value. The value of this parameter should not be URL encoded. maxResults - the maximum number of results to be returned as part of the paged queries. This parameter defines the upper bound on the number of results returned. The results returned can be less than the specified maximum results if they do not fit in the message as per the max message size restrictions defined in the configuration. If this parameter is zero or not specified, the paged queries includes as much results as possible that fit in the return message. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetApplicationTypeInfoListByName

func (client BaseClient) GetApplicationTypeInfoListByName(ctx context.Context, applicationTypeName string, excludeApplicationParameters *bool, continuationToken string, maxResults *int64, timeout *int64) (result PagedApplicationTypeInfoList, err error)

GetApplicationTypeInfoListByName returns the information about the application types that are provisioned or in the process of being provisioned in the Service Fabric cluster. These results are of application types whose name match exactly the one specified as the parameter, and which comply with the given query parameters. All versions of the application type matching the application type name are returned, with each version returned as one application type. The response includes the name, version, status and other details about the application type. This is a paged query, meaning that if not all of the application types fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page. For example, if there are 10 application types but a page only fits the first 3 application types, or if max results is set to 3, then 3 is returned. To access the rest of the results, retrieve subsequent pages by using the returned continuation token in the next query. An empty continuation token is returned if there are no subsequent pages. Parameters: applicationTypeName - the name of the application type. excludeApplicationParameters - the flag that specifies whether application parameters will be excluded from the result. continuationToken - the continuation token parameter is used to obtain next set of results. A continuation token with a non empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results then the continuation token does not contain a value. The value of this parameter should not be URL encoded. maxResults - the maximum number of results to be returned as part of the paged queries. This parameter defines the upper bound on the number of results returned. The results returned can be less than the specified maximum results if they do not fit in the message as per the max message size restrictions defined in the configuration. If this parameter is zero or not specified, the paged queries includes as much results as possible that fit in the return message. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetApplicationTypeInfoListByNamePreparer

func (client BaseClient) GetApplicationTypeInfoListByNamePreparer(ctx context.Context, applicationTypeName string, excludeApplicationParameters *bool, continuationToken string, maxResults *int64, timeout *int64) (*http.Request, error)

GetApplicationTypeInfoListByNamePreparer prepares the GetApplicationTypeInfoListByName request.

func (BaseClient) GetApplicationTypeInfoListByNameResponder

func (client BaseClient) GetApplicationTypeInfoListByNameResponder(resp *http.Response) (result PagedApplicationTypeInfoList, err error)

GetApplicationTypeInfoListByNameResponder handles the response to the GetApplicationTypeInfoListByName request. The method always closes the http.Response Body.

func (BaseClient) GetApplicationTypeInfoListByNameSender

func (client BaseClient) GetApplicationTypeInfoListByNameSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetApplicationTypeInfoListPreparer

func (client BaseClient) GetApplicationTypeInfoListPreparer(ctx context.Context, excludeApplicationParameters *bool, continuationToken string, maxResults *int64, timeout *int64) (*http.Request, error)

GetApplicationTypeInfoListPreparer prepares the GetApplicationTypeInfoList request.

func (BaseClient) GetApplicationTypeInfoListResponder

func (client BaseClient) GetApplicationTypeInfoListResponder(resp *http.Response) (result PagedApplicationTypeInfoList, err error)

GetApplicationTypeInfoListResponder handles the response to the GetApplicationTypeInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetApplicationTypeInfoListSender

func (client BaseClient) GetApplicationTypeInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetApplicationUpgrade

func (client BaseClient) GetApplicationUpgrade(ctx context.Context, applicationID string, timeout *int64) (result ApplicationUpgradeProgressInfo, err error)

GetApplicationUpgrade returns information about the state of the latest application upgrade along with details to aid debugging application health issues. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetApplicationUpgradePreparer

func (client BaseClient) GetApplicationUpgradePreparer(ctx context.Context, applicationID string, timeout *int64) (*http.Request, error)

GetApplicationUpgradePreparer prepares the GetApplicationUpgrade request.

func (BaseClient) GetApplicationUpgradeResponder

func (client BaseClient) GetApplicationUpgradeResponder(resp *http.Response) (result ApplicationUpgradeProgressInfo, err error)

GetApplicationUpgradeResponder handles the response to the GetApplicationUpgrade request. The method always closes the http.Response Body.

func (BaseClient) GetApplicationUpgradeSender

func (client BaseClient) GetApplicationUpgradeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetChaosReport

func (client BaseClient) GetChaosReport(ctx context.Context, continuationToken string, startTimeUtc string, endTimeUtc string, timeout *int64) (result ChaosReport, err error)

GetChaosReport you can either specify the ContinuationToken to get the next segment of the Chaos report or you can specify the time-range through StartTimeUtc and EndTimeUtc, but you cannot specify both the ContinuationToken and the time-range in the same call. When there are more than 100 Chaos events, the Chaos report is returned in segments where a segment contains no more than 100 Chaos events. Parameters: continuationToken - the continuation token parameter is used to obtain next set of results. A continuation token with a non empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results then the continuation token does not contain a value. The value of this parameter should not be URL encoded. startTimeUtc - the count of ticks representing the start time of the time range for which a Chaos report is to be generated. Please consult [DateTime.Ticks Property](https://msdn.microsoft.com/en-us/library/system.datetime.ticks%28v=vs.110%29) for details about tick. endTimeUtc - the count of ticks representing the end time of the time range for which a Chaos report is to be generated. Please consult [DateTime.Ticks Property](https://msdn.microsoft.com/en-us/library/system.datetime.ticks%28v=vs.110%29) for details about tick. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetChaosReportPreparer

func (client BaseClient) GetChaosReportPreparer(ctx context.Context, continuationToken string, startTimeUtc string, endTimeUtc string, timeout *int64) (*http.Request, error)

GetChaosReportPreparer prepares the GetChaosReport request.

func (BaseClient) GetChaosReportResponder

func (client BaseClient) GetChaosReportResponder(resp *http.Response) (result ChaosReport, err error)

GetChaosReportResponder handles the response to the GetChaosReport request. The method always closes the http.Response Body.

func (BaseClient) GetChaosReportSender

func (client BaseClient) GetChaosReportSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetClusterHealth

func (client BaseClient) GetClusterHealth(ctx context.Context, nodesHealthStateFilter *int32, applicationsHealthStateFilter *int32, eventsHealthStateFilter *int32, timeout *int64) (result ClusterHealth, err error)

GetClusterHealth gets the health of a Service Fabric cluster. Use EventsHealthStateFilter to filter the collection of health events reported on the cluster based on the health state. Similarly, use NodesHealthStateFilter and ApplicationsHealthStateFilter to filter the collection of nodes and applications returned based on their aggregated health state. Parameters: nodesHealthStateFilter - allows filtering of the node health state objects returned in the result of cluster health query based on their health state. The possible values for this parameter include integer value of one of the following health states. Only nodes that match the filter are returned. All nodes are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of nodes with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. applicationsHealthStateFilter - allows filtering of the application health state objects returned in the result of cluster health query based on their health state. The possible values for this parameter include integer value obtained from members or bitwise operations on members of HealthStateFilter enumeration. Only applications that match the filter are returned. All applications are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of applications with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetClusterHealthChunk

func (client BaseClient) GetClusterHealthChunk(ctx context.Context, timeout *int64) (result ClusterHealthChunk, err error)

GetClusterHealthChunk gets the health of a Service Fabric cluster using health chunks. Includes the aggregated health state of the cluster, but none of the cluster entities. To expand the cluster health and get the health state of all or some of the entities, use the POST URI and specify the cluster health chunk query description. Parameters: timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetClusterHealthChunkPreparer

func (client BaseClient) GetClusterHealthChunkPreparer(ctx context.Context, timeout *int64) (*http.Request, error)

GetClusterHealthChunkPreparer prepares the GetClusterHealthChunk request.

func (BaseClient) GetClusterHealthChunkResponder

func (client BaseClient) GetClusterHealthChunkResponder(resp *http.Response) (result ClusterHealthChunk, err error)

GetClusterHealthChunkResponder handles the response to the GetClusterHealthChunk request. The method always closes the http.Response Body.

func (BaseClient) GetClusterHealthChunkSender

func (client BaseClient) GetClusterHealthChunkSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetClusterHealthChunkUsingPolicyAndAdvancedFilters

func (client BaseClient) GetClusterHealthChunkUsingPolicyAndAdvancedFilters(ctx context.Context, clusterHealthChunkQueryDescription *ClusterHealthChunkQueryDescription, timeout *int64) (result ClusterHealthChunk, err error)

GetClusterHealthChunkUsingPolicyAndAdvancedFilters gets the health of a Service Fabric cluster using health chunks. The health evaluation is done based on the input cluster health chunk query description. The query description allows users to specify health policies for evaluating the cluster and its children. Users can specify very flexible filters to select which cluster entities to return. The selection can be done based on the entities health state and based on the hierarchy. The query can return multi-level children of the entities based on the specified filters. For example, it can return one application with a specified name, and for this application, return only services that are in Error or Warning, and all partitions and replicas for one of these services. Parameters: clusterHealthChunkQueryDescription - describes the cluster and application health policies used to evaluate the cluster health and the filters to select which cluster entities to be returned. If the cluster health policy is present, it is used to evaluate the cluster events and the cluster nodes. If not present, the health evaluation uses the cluster health policy defined in the cluster manifest or the default cluster health policy. By default, each application is evaluated using its specific application health policy, defined in the application manifest, or the default health policy, if no policy is defined in manifest. If the application health policy map is specified, and it has an entry for an application, the specified application health policy is used to evaluate the application health. Users can specify very flexible filters to select which cluster entities to include in response. The selection can be done based on the entities health state and based on the hierarchy. The query can return multi-level children of the entities based on the specified filters. For example, it can return one application with a specified name, and for this application, return only services that are in Error or Warning, and all partitions and replicas for one of these services. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetClusterHealthChunkUsingPolicyAndAdvancedFiltersPreparer

func (client BaseClient) GetClusterHealthChunkUsingPolicyAndAdvancedFiltersPreparer(ctx context.Context, clusterHealthChunkQueryDescription *ClusterHealthChunkQueryDescription, timeout *int64) (*http.Request, error)

GetClusterHealthChunkUsingPolicyAndAdvancedFiltersPreparer prepares the GetClusterHealthChunkUsingPolicyAndAdvancedFilters request.

func (BaseClient) GetClusterHealthChunkUsingPolicyAndAdvancedFiltersResponder

func (client BaseClient) GetClusterHealthChunkUsingPolicyAndAdvancedFiltersResponder(resp *http.Response) (result ClusterHealthChunk, err error)

GetClusterHealthChunkUsingPolicyAndAdvancedFiltersResponder handles the response to the GetClusterHealthChunkUsingPolicyAndAdvancedFilters request. The method always closes the http.Response Body.

func (BaseClient) GetClusterHealthChunkUsingPolicyAndAdvancedFiltersSender

func (client BaseClient) GetClusterHealthChunkUsingPolicyAndAdvancedFiltersSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetClusterHealthPreparer

func (client BaseClient) GetClusterHealthPreparer(ctx context.Context, nodesHealthStateFilter *int32, applicationsHealthStateFilter *int32, eventsHealthStateFilter *int32, timeout *int64) (*http.Request, error)

GetClusterHealthPreparer prepares the GetClusterHealth request.

func (BaseClient) GetClusterHealthResponder

func (client BaseClient) GetClusterHealthResponder(resp *http.Response) (result ClusterHealth, err error)

GetClusterHealthResponder handles the response to the GetClusterHealth request. The method always closes the http.Response Body.

func (BaseClient) GetClusterHealthSender

func (client BaseClient) GetClusterHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetClusterHealthUsingPolicy

func (client BaseClient) GetClusterHealthUsingPolicy(ctx context.Context, nodesHealthStateFilter *int32, applicationsHealthStateFilter *int32, eventsHealthStateFilter *int32, clusterHealthPolicies *ClusterHealthPolicies, timeout *int64) (result ClusterHealth, err error)

GetClusterHealthUsingPolicy gets the health of a Service Fabric cluster. Use EventsHealthStateFilter to filter the collection of health events reported on the cluster based on the health state. Similarly, use NodesHealthStateFilter and ApplicationsHealthStateFilter to filter the collection of nodes and applications returned based on their aggregated health state. Use ClusterHealthPolicies to override the health policies used to evaluate the health. Parameters: nodesHealthStateFilter - allows filtering of the node health state objects returned in the result of cluster health query based on their health state. The possible values for this parameter include integer value of one of the following health states. Only nodes that match the filter are returned. All nodes are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of nodes with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. applicationsHealthStateFilter - allows filtering of the application health state objects returned in the result of cluster health query based on their health state. The possible values for this parameter include integer value obtained from members or bitwise operations on members of HealthStateFilter enumeration. Only applications that match the filter are returned. All applications are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of applications with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. clusterHealthPolicies - describes the health policies used to evaluate the cluster health. If not present, the health evaluation uses the cluster health policy defined in the cluster manifest or the default cluster health policy. By default, each application is evaluated using its specific application health policy, defined in the application manifest, or the default health policy, if no policy is defined in manifest. If the application health policy map is specified, and it has an entry for an application, the specified application health policy is used to evaluate the application health. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetClusterHealthUsingPolicyPreparer

func (client BaseClient) GetClusterHealthUsingPolicyPreparer(ctx context.Context, nodesHealthStateFilter *int32, applicationsHealthStateFilter *int32, eventsHealthStateFilter *int32, clusterHealthPolicies *ClusterHealthPolicies, timeout *int64) (*http.Request, error)

GetClusterHealthUsingPolicyPreparer prepares the GetClusterHealthUsingPolicy request.

func (BaseClient) GetClusterHealthUsingPolicyResponder

func (client BaseClient) GetClusterHealthUsingPolicyResponder(resp *http.Response) (result ClusterHealth, err error)

GetClusterHealthUsingPolicyResponder handles the response to the GetClusterHealthUsingPolicy request. The method always closes the http.Response Body.

func (BaseClient) GetClusterHealthUsingPolicySender

func (client BaseClient) GetClusterHealthUsingPolicySender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetClusterManifest

func (client BaseClient) GetClusterManifest(ctx context.Context, timeout *int64) (result ClusterManifest, err error)

GetClusterManifest get the Service Fabric cluster manifest. The cluster manifest contains properties of the cluster that include different node types on the cluster, security configurations, fault and upgrade domain topologies etc.

These properties are specified as part of the ClusterConfig.JSON file while deploying a stand alone cluster. However, most of the information in the cluster manifest is generated internally by service fabric during cluster deployment in other deployment scenarios (for e.g when using azuer portal).

The contents of the cluster manifest are for informational purposes only and users are not expected to take a dependency on the format of the file contents or its interpretation. Parameters: timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetClusterManifestPreparer

func (client BaseClient) GetClusterManifestPreparer(ctx context.Context, timeout *int64) (*http.Request, error)

GetClusterManifestPreparer prepares the GetClusterManifest request.

func (BaseClient) GetClusterManifestResponder

func (client BaseClient) GetClusterManifestResponder(resp *http.Response) (result ClusterManifest, err error)

GetClusterManifestResponder handles the response to the GetClusterManifest request. The method always closes the http.Response Body.

func (BaseClient) GetClusterManifestSender

func (client BaseClient) GetClusterManifestSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetClusterUpgradeProgress

func (client BaseClient) GetClusterUpgradeProgress(ctx context.Context, timeout *int64) (result ClusterUpgradeProgressObject, err error)

GetClusterUpgradeProgress gets the current progress of the ongoing cluster upgrade. If no upgrade is currently in progress, gets the last state of the previous cluster upgrade. Parameters: timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetClusterUpgradeProgressPreparer

func (client BaseClient) GetClusterUpgradeProgressPreparer(ctx context.Context, timeout *int64) (*http.Request, error)

GetClusterUpgradeProgressPreparer prepares the GetClusterUpgradeProgress request.

func (BaseClient) GetClusterUpgradeProgressResponder

func (client BaseClient) GetClusterUpgradeProgressResponder(resp *http.Response) (result ClusterUpgradeProgressObject, err error)

GetClusterUpgradeProgressResponder handles the response to the GetClusterUpgradeProgress request. The method always closes the http.Response Body.

func (BaseClient) GetClusterUpgradeProgressSender

func (client BaseClient) GetClusterUpgradeProgressSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetComposeApplicationStatus

func (client BaseClient) GetComposeApplicationStatus(ctx context.Context, applicationID string, timeout *int64) (result ComposeApplicationStatusInfo, err error)

GetComposeApplicationStatus returns the status of compose application that was created or in the process of being created in the Service Fabric cluster and whose name matches the one specified as the parameter. The response includes the name, status and other details about the application. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetComposeApplicationStatusList

func (client BaseClient) GetComposeApplicationStatusList(ctx context.Context, continuationToken string, maxResults *int64, timeout *int64) (result PagedComposeApplicationStatusInfoList, err error)

GetComposeApplicationStatusList gets the status about the compose applications that were created or in the process of being created in the Service Fabric cluster. The response includes the name, status and other details about the compose application. If the applications do not fit in a page, one page of results is returned as well as a continuation token which can be used to get the next page. Parameters: continuationToken - the continuation token parameter is used to obtain next set of results. A continuation token with a non empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results then the continuation token does not contain a value. The value of this parameter should not be URL encoded. maxResults - the maximum number of results to be returned as part of the paged queries. This parameter defines the upper bound on the number of results returned. The results returned can be less than the specified maximum results if they do not fit in the message as per the max message size restrictions defined in the configuration. If this parameter is zero or not specified, the paged queries includes as much results as possible that fit in the return message. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetComposeApplicationStatusListPreparer

func (client BaseClient) GetComposeApplicationStatusListPreparer(ctx context.Context, continuationToken string, maxResults *int64, timeout *int64) (*http.Request, error)

GetComposeApplicationStatusListPreparer prepares the GetComposeApplicationStatusList request.

func (BaseClient) GetComposeApplicationStatusListResponder

func (client BaseClient) GetComposeApplicationStatusListResponder(resp *http.Response) (result PagedComposeApplicationStatusInfoList, err error)

GetComposeApplicationStatusListResponder handles the response to the GetComposeApplicationStatusList request. The method always closes the http.Response Body.

func (BaseClient) GetComposeApplicationStatusListSender

func (client BaseClient) GetComposeApplicationStatusListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetComposeApplicationStatusPreparer

func (client BaseClient) GetComposeApplicationStatusPreparer(ctx context.Context, applicationID string, timeout *int64) (*http.Request, error)

GetComposeApplicationStatusPreparer prepares the GetComposeApplicationStatus request.

func (BaseClient) GetComposeApplicationStatusResponder

func (client BaseClient) GetComposeApplicationStatusResponder(resp *http.Response) (result ComposeApplicationStatusInfo, err error)

GetComposeApplicationStatusResponder handles the response to the GetComposeApplicationStatus request. The method always closes the http.Response Body.

func (BaseClient) GetComposeApplicationStatusSender

func (client BaseClient) GetComposeApplicationStatusSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDataLossProgress

func (client BaseClient) GetDataLossProgress(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, timeout *int64) (result PartitionDataLossProgress, err error)

GetDataLossProgress gets the progress of a data loss operation started with StartDataLoss, using the OperationId. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. partitionID - the identity of the partition. operationID - a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDataLossProgressPreparer

func (client BaseClient) GetDataLossProgressPreparer(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, timeout *int64) (*http.Request, error)

GetDataLossProgressPreparer prepares the GetDataLossProgress request.

func (BaseClient) GetDataLossProgressResponder

func (client BaseClient) GetDataLossProgressResponder(resp *http.Response) (result PartitionDataLossProgress, err error)

GetDataLossProgressResponder handles the response to the GetDataLossProgress request. The method always closes the http.Response Body.

func (BaseClient) GetDataLossProgressSender

func (client BaseClient) GetDataLossProgressSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedApplicationHealth

func (client BaseClient) GetDeployedApplicationHealth(ctx context.Context, nodeName string, applicationID string, eventsHealthStateFilter *int32, deployedServicePackagesHealthStateFilter *int32, timeout *int64) (result DeployedApplicationHealth, err error)

GetDeployedApplicationHealth gets the information about health of an application deployed on a Service Fabric node. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed application based on health state. Use DeployedServicePackagesHealthStateFilter to optionally filter for DeployedServicePackageHealth children based on health state. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. deployedServicePackagesHealthStateFilter - allows filtering of the deployed service package health state objects returned in the result of deployed application health query based on their health state. The possible values for this parameter include integer value of one of the following health states. Only deployed service packages that match the filter are returned. All deployed service packages are used to evaluate the aggregated health state of the deployed application. If not specified, all entries are returned. The state values are flag based enumeration, so the value can be a combination of these value obtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of service packages with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedApplicationHealthPreparer

func (client BaseClient) GetDeployedApplicationHealthPreparer(ctx context.Context, nodeName string, applicationID string, eventsHealthStateFilter *int32, deployedServicePackagesHealthStateFilter *int32, timeout *int64) (*http.Request, error)

GetDeployedApplicationHealthPreparer prepares the GetDeployedApplicationHealth request.

func (BaseClient) GetDeployedApplicationHealthResponder

func (client BaseClient) GetDeployedApplicationHealthResponder(resp *http.Response) (result DeployedApplicationHealth, err error)

GetDeployedApplicationHealthResponder handles the response to the GetDeployedApplicationHealth request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedApplicationHealthSender

func (client BaseClient) GetDeployedApplicationHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedApplicationHealthUsingPolicy

func (client BaseClient) GetDeployedApplicationHealthUsingPolicy(ctx context.Context, nodeName string, applicationID string, eventsHealthStateFilter *int32, deployedServicePackagesHealthStateFilter *int32, applicationHealthPolicy *ApplicationHealthPolicy, timeout *int64) (result DeployedApplicationHealth, err error)

GetDeployedApplicationHealthUsingPolicy gets the information about health of an application deployed on a Service Fabric node using the specified policy. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed application based on health state. Use DeployedServicePackagesHealthStateFilter to optionally filter for DeployedServicePackageHealth children based on health state. Use ApplicationHealthPolicy to optionally override the health policies used to evaluate the health. This API only uses 'ConsiderWarningAsError' field of the ApplicationHealthPolicy. The rest of the fields are ignored while evaluating the health of the deployed application. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. deployedServicePackagesHealthStateFilter - allows filtering of the deployed service package health state objects returned in the result of deployed application health query based on their health state. The possible values for this parameter include integer value of one of the following health states. Only deployed service packages that match the filter are returned. All deployed service packages are used to evaluate the aggregated health state of the deployed application. If not specified, all entries are returned. The state values are flag based enumeration, so the value can be a combination of these value obtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of service packages with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. applicationHealthPolicy - describes the health policies used to evaluate the health of an application or one of its children. If not present, the health evaluation uses the health policy from application manifest or the default health policy. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedApplicationHealthUsingPolicyPreparer

func (client BaseClient) GetDeployedApplicationHealthUsingPolicyPreparer(ctx context.Context, nodeName string, applicationID string, eventsHealthStateFilter *int32, deployedServicePackagesHealthStateFilter *int32, applicationHealthPolicy *ApplicationHealthPolicy, timeout *int64) (*http.Request, error)

GetDeployedApplicationHealthUsingPolicyPreparer prepares the GetDeployedApplicationHealthUsingPolicy request.

func (BaseClient) GetDeployedApplicationHealthUsingPolicyResponder

func (client BaseClient) GetDeployedApplicationHealthUsingPolicyResponder(resp *http.Response) (result DeployedApplicationHealth, err error)

GetDeployedApplicationHealthUsingPolicyResponder handles the response to the GetDeployedApplicationHealthUsingPolicy request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedApplicationHealthUsingPolicySender

func (client BaseClient) GetDeployedApplicationHealthUsingPolicySender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedApplicationInfo

func (client BaseClient) GetDeployedApplicationInfo(ctx context.Context, nodeName string, applicationID string, timeout *int64) (result DeployedApplicationInfo, err error)

GetDeployedApplicationInfo gets the information about an application deployed on a Service Fabric node. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedApplicationInfoList

func (client BaseClient) GetDeployedApplicationInfoList(ctx context.Context, nodeName string, timeout *int64) (result ListDeployedApplicationInfo, err error)

GetDeployedApplicationInfoList gets the list of applications deployed on a Service Fabric node. Parameters: nodeName - the name of the node. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedApplicationInfoListPreparer

func (client BaseClient) GetDeployedApplicationInfoListPreparer(ctx context.Context, nodeName string, timeout *int64) (*http.Request, error)

GetDeployedApplicationInfoListPreparer prepares the GetDeployedApplicationInfoList request.

func (BaseClient) GetDeployedApplicationInfoListResponder

func (client BaseClient) GetDeployedApplicationInfoListResponder(resp *http.Response) (result ListDeployedApplicationInfo, err error)

GetDeployedApplicationInfoListResponder handles the response to the GetDeployedApplicationInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedApplicationInfoListSender

func (client BaseClient) GetDeployedApplicationInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedApplicationInfoPreparer

func (client BaseClient) GetDeployedApplicationInfoPreparer(ctx context.Context, nodeName string, applicationID string, timeout *int64) (*http.Request, error)

GetDeployedApplicationInfoPreparer prepares the GetDeployedApplicationInfo request.

func (BaseClient) GetDeployedApplicationInfoResponder

func (client BaseClient) GetDeployedApplicationInfoResponder(resp *http.Response) (result DeployedApplicationInfo, err error)

GetDeployedApplicationInfoResponder handles the response to the GetDeployedApplicationInfo request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedApplicationInfoSender

func (client BaseClient) GetDeployedApplicationInfoSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedCodePackageInfoList

func (client BaseClient) GetDeployedCodePackageInfoList(ctx context.Context, nodeName string, applicationID string, serviceManifestName string, codePackageName string, timeout *int64) (result ListDeployedCodePackageInfo, err error)

GetDeployedCodePackageInfoList gets the list of code packages deployed on a Service Fabric node for the given application. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. serviceManifestName - the name of a service manifest registered as part of an application type in a Service Fabric cluster. codePackageName - the name of code package specified in service manifest registered as part of an application type in a Service Fabric cluster. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedCodePackageInfoListPreparer

func (client BaseClient) GetDeployedCodePackageInfoListPreparer(ctx context.Context, nodeName string, applicationID string, serviceManifestName string, codePackageName string, timeout *int64) (*http.Request, error)

GetDeployedCodePackageInfoListPreparer prepares the GetDeployedCodePackageInfoList request.

func (BaseClient) GetDeployedCodePackageInfoListResponder

func (client BaseClient) GetDeployedCodePackageInfoListResponder(resp *http.Response) (result ListDeployedCodePackageInfo, err error)

GetDeployedCodePackageInfoListResponder handles the response to the GetDeployedCodePackageInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedCodePackageInfoListSender

func (client BaseClient) GetDeployedCodePackageInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedServicePackageHealth

func (client BaseClient) GetDeployedServicePackageHealth(ctx context.Context, nodeName string, applicationID string, servicePackageName string, eventsHealthStateFilter *int32, timeout *int64) (result DeployedServicePackageHealth, err error)

GetDeployedServicePackageHealth gets the information about health of service package for a specific application deployed on a Service Fabric node. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed service package based on health state. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. servicePackageName - the name of the service package. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedServicePackageHealthPreparer

func (client BaseClient) GetDeployedServicePackageHealthPreparer(ctx context.Context, nodeName string, applicationID string, servicePackageName string, eventsHealthStateFilter *int32, timeout *int64) (*http.Request, error)

GetDeployedServicePackageHealthPreparer prepares the GetDeployedServicePackageHealth request.

func (BaseClient) GetDeployedServicePackageHealthResponder

func (client BaseClient) GetDeployedServicePackageHealthResponder(resp *http.Response) (result DeployedServicePackageHealth, err error)

GetDeployedServicePackageHealthResponder handles the response to the GetDeployedServicePackageHealth request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedServicePackageHealthSender

func (client BaseClient) GetDeployedServicePackageHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedServicePackageHealthUsingPolicy

func (client BaseClient) GetDeployedServicePackageHealthUsingPolicy(ctx context.Context, nodeName string, applicationID string, servicePackageName string, eventsHealthStateFilter *int32, applicationHealthPolicy *ApplicationHealthPolicy, timeout *int64) (result DeployedServicePackageHealth, err error)

GetDeployedServicePackageHealthUsingPolicy gets the information about health of an service package for a specific application deployed on a Service Fabric node. using the specified policy. Use EventsHealthStateFilter to optionally filter for the collection of HealthEvent objects reported on the deployed service package based on health state. Use ApplicationHealthPolicy to optionally override the health policies used to evaluate the health. This API only uses 'ConsiderWarningAsError' field of the ApplicationHealthPolicy. The rest of the fields are ignored while evaluating the health of the deployed service package. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. servicePackageName - the name of the service package. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. applicationHealthPolicy - describes the health policies used to evaluate the health of an application or one of its children. If not present, the health evaluation uses the health policy from application manifest or the default health policy. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedServicePackageHealthUsingPolicyPreparer

func (client BaseClient) GetDeployedServicePackageHealthUsingPolicyPreparer(ctx context.Context, nodeName string, applicationID string, servicePackageName string, eventsHealthStateFilter *int32, applicationHealthPolicy *ApplicationHealthPolicy, timeout *int64) (*http.Request, error)

GetDeployedServicePackageHealthUsingPolicyPreparer prepares the GetDeployedServicePackageHealthUsingPolicy request.

func (BaseClient) GetDeployedServicePackageHealthUsingPolicyResponder

func (client BaseClient) GetDeployedServicePackageHealthUsingPolicyResponder(resp *http.Response) (result DeployedServicePackageHealth, err error)

GetDeployedServicePackageHealthUsingPolicyResponder handles the response to the GetDeployedServicePackageHealthUsingPolicy request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedServicePackageHealthUsingPolicySender

func (client BaseClient) GetDeployedServicePackageHealthUsingPolicySender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedServicePackageInfoList

func (client BaseClient) GetDeployedServicePackageInfoList(ctx context.Context, nodeName string, applicationID string, timeout *int64) (result ListDeployedServicePackageInfo, err error)

GetDeployedServicePackageInfoList returns the information about the service packages deployed on a Service Fabric node for the given application. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedServicePackageInfoListByName

func (client BaseClient) GetDeployedServicePackageInfoListByName(ctx context.Context, nodeName string, applicationID string, servicePackageName string, timeout *int64) (result ListDeployedServicePackageInfo, err error)

GetDeployedServicePackageInfoListByName returns the information about the service packages deployed on a Service Fabric node for the given application. These results are of service packages whose name match exactly the service package name specified as the parameter. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. servicePackageName - the name of the service package. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedServicePackageInfoListByNamePreparer

func (client BaseClient) GetDeployedServicePackageInfoListByNamePreparer(ctx context.Context, nodeName string, applicationID string, servicePackageName string, timeout *int64) (*http.Request, error)

GetDeployedServicePackageInfoListByNamePreparer prepares the GetDeployedServicePackageInfoListByName request.

func (BaseClient) GetDeployedServicePackageInfoListByNameResponder

func (client BaseClient) GetDeployedServicePackageInfoListByNameResponder(resp *http.Response) (result ListDeployedServicePackageInfo, err error)

GetDeployedServicePackageInfoListByNameResponder handles the response to the GetDeployedServicePackageInfoListByName request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedServicePackageInfoListByNameSender

func (client BaseClient) GetDeployedServicePackageInfoListByNameSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedServicePackageInfoListPreparer

func (client BaseClient) GetDeployedServicePackageInfoListPreparer(ctx context.Context, nodeName string, applicationID string, timeout *int64) (*http.Request, error)

GetDeployedServicePackageInfoListPreparer prepares the GetDeployedServicePackageInfoList request.

func (BaseClient) GetDeployedServicePackageInfoListResponder

func (client BaseClient) GetDeployedServicePackageInfoListResponder(resp *http.Response) (result ListDeployedServicePackageInfo, err error)

GetDeployedServicePackageInfoListResponder handles the response to the GetDeployedServicePackageInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedServicePackageInfoListSender

func (client BaseClient) GetDeployedServicePackageInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedServiceReplicaDetailInfo

func (client BaseClient) GetDeployedServiceReplicaDetailInfo(ctx context.Context, nodeName string, partitionID uuid.UUID, replicaID string, timeout *int64) (result DeployedServiceReplicaDetailInfoModel, err error)

GetDeployedServiceReplicaDetailInfo gets the details of the replica deployed on a Service Fabric node. The information include service kind, service name, current service operation, current service operation start date time, partition id, replica/instance id, reported load and other information. Parameters: nodeName - the name of the node. partitionID - the identity of the partition. replicaID - the identifier of the replica. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedServiceReplicaDetailInfoPreparer

func (client BaseClient) GetDeployedServiceReplicaDetailInfoPreparer(ctx context.Context, nodeName string, partitionID uuid.UUID, replicaID string, timeout *int64) (*http.Request, error)

GetDeployedServiceReplicaDetailInfoPreparer prepares the GetDeployedServiceReplicaDetailInfo request.

func (BaseClient) GetDeployedServiceReplicaDetailInfoResponder

func (client BaseClient) GetDeployedServiceReplicaDetailInfoResponder(resp *http.Response) (result DeployedServiceReplicaDetailInfoModel, err error)

GetDeployedServiceReplicaDetailInfoResponder handles the response to the GetDeployedServiceReplicaDetailInfo request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedServiceReplicaDetailInfoSender

func (client BaseClient) GetDeployedServiceReplicaDetailInfoSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedServiceReplicaInfoList

func (client BaseClient) GetDeployedServiceReplicaInfoList(ctx context.Context, nodeName string, applicationID string, partitionID *uuid.UUID, serviceManifestName string, timeout *int64) (result ListDeployedServiceReplicaInfo, err error)

GetDeployedServiceReplicaInfoList gets the list containing the information about replicas deployed on a Service Fabric node. The information include partition id, replica id, status of the replica, name of the service, name of the service type and other information. Use PartitionId or ServiceManifestName query parameters to return information about the deployed replicas matching the specified values for those parameters. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. partitionID - the identity of the partition. serviceManifestName - the name of a service manifest registered as part of an application type in a Service Fabric cluster. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedServiceReplicaInfoListPreparer

func (client BaseClient) GetDeployedServiceReplicaInfoListPreparer(ctx context.Context, nodeName string, applicationID string, partitionID *uuid.UUID, serviceManifestName string, timeout *int64) (*http.Request, error)

GetDeployedServiceReplicaInfoListPreparer prepares the GetDeployedServiceReplicaInfoList request.

func (BaseClient) GetDeployedServiceReplicaInfoListResponder

func (client BaseClient) GetDeployedServiceReplicaInfoListResponder(resp *http.Response) (result ListDeployedServiceReplicaInfo, err error)

GetDeployedServiceReplicaInfoListResponder handles the response to the GetDeployedServiceReplicaInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedServiceReplicaInfoListSender

func (client BaseClient) GetDeployedServiceReplicaInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedServiceTypeInfoByName

func (client BaseClient) GetDeployedServiceTypeInfoByName(ctx context.Context, nodeName string, applicationID string, serviceTypeName string, serviceManifestName string, timeout *int64) (result DeployedServiceTypeInfo, err error)

GetDeployedServiceTypeInfoByName gets the information about a specified service type of the application deployed on a node in a Service Fabric cluster. The response includes the name of the service type, its registration status, the code package that registered it and activation id of the service package. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. serviceTypeName - specifies the name of a Service Fabric service type. serviceManifestName - the name of the service manifest to filter the list of deployed service type information. If specified, the response will only contain the information about service types that are defined in this service manifest. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedServiceTypeInfoByNamePreparer

func (client BaseClient) GetDeployedServiceTypeInfoByNamePreparer(ctx context.Context, nodeName string, applicationID string, serviceTypeName string, serviceManifestName string, timeout *int64) (*http.Request, error)

GetDeployedServiceTypeInfoByNamePreparer prepares the GetDeployedServiceTypeInfoByName request.

func (BaseClient) GetDeployedServiceTypeInfoByNameResponder

func (client BaseClient) GetDeployedServiceTypeInfoByNameResponder(resp *http.Response) (result DeployedServiceTypeInfo, err error)

GetDeployedServiceTypeInfoByNameResponder handles the response to the GetDeployedServiceTypeInfoByName request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedServiceTypeInfoByNameSender

func (client BaseClient) GetDeployedServiceTypeInfoByNameSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetDeployedServiceTypeInfoList

func (client BaseClient) GetDeployedServiceTypeInfoList(ctx context.Context, nodeName string, applicationID string, serviceManifestName string, timeout *int64) (result ListDeployedServiceTypeInfo, err error)

GetDeployedServiceTypeInfoList gets the list containing the information about service types from the applications deployed on a node in a Service Fabric cluster. The response includes the name of the service type, its registration status, the code package that registered it and activation id of the service package. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. serviceManifestName - the name of the service manifest to filter the list of deployed service type information. If specified, the response will only contain the information about service types that are defined in this service manifest. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetDeployedServiceTypeInfoListPreparer

func (client BaseClient) GetDeployedServiceTypeInfoListPreparer(ctx context.Context, nodeName string, applicationID string, serviceManifestName string, timeout *int64) (*http.Request, error)

GetDeployedServiceTypeInfoListPreparer prepares the GetDeployedServiceTypeInfoList request.

func (BaseClient) GetDeployedServiceTypeInfoListResponder

func (client BaseClient) GetDeployedServiceTypeInfoListResponder(resp *http.Response) (result ListDeployedServiceTypeInfo, err error)

GetDeployedServiceTypeInfoListResponder handles the response to the GetDeployedServiceTypeInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedServiceTypeInfoListSender

func (client BaseClient) GetDeployedServiceTypeInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetFaultOperationList

func (client BaseClient) GetFaultOperationList(ctx context.Context, typeFilter int32, stateFilter int32, timeout *int64) (result ListOperationStatus, err error)

GetFaultOperationList gets the a list of user-induced fault operations filtered by provided input. Parameters: typeFilter - used to filter on OperationType for user-induced operations. 65535 - select all 1 - select PartitionDataLoss. 2 - select PartitionQuorumLoss. 4 - select PartitionRestart. 8 - select NodeTransition. stateFilter - used to filter on OperationState's for user-induced operations. 65535 - select All 1 - select Running 2 - select RollingBack 8 - select Completed 16 - select Faulted 32 - select Cancelled 64 - select ForceCancelled timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetFaultOperationListPreparer

func (client BaseClient) GetFaultOperationListPreparer(ctx context.Context, typeFilter int32, stateFilter int32, timeout *int64) (*http.Request, error)

GetFaultOperationListPreparer prepares the GetFaultOperationList request.

func (BaseClient) GetFaultOperationListResponder

func (client BaseClient) GetFaultOperationListResponder(resp *http.Response) (result ListOperationStatus, err error)

GetFaultOperationListResponder handles the response to the GetFaultOperationList request. The method always closes the http.Response Body.

func (BaseClient) GetFaultOperationListSender

func (client BaseClient) GetFaultOperationListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetImageStoreContent

func (client BaseClient) GetImageStoreContent(ctx context.Context, contentPath string, timeout *int64) (result ImageStoreContent, err error)

GetImageStoreContent returns the information about the image store content at the specified contentPath relative to the root of the image store. Parameters: contentPath - relative path to file or folder in the image store from its root. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetImageStoreContentPreparer

func (client BaseClient) GetImageStoreContentPreparer(ctx context.Context, contentPath string, timeout *int64) (*http.Request, error)

GetImageStoreContentPreparer prepares the GetImageStoreContent request.

func (BaseClient) GetImageStoreContentResponder

func (client BaseClient) GetImageStoreContentResponder(resp *http.Response) (result ImageStoreContent, err error)

GetImageStoreContentResponder handles the response to the GetImageStoreContent request. The method always closes the http.Response Body.

func (BaseClient) GetImageStoreContentSender

func (client BaseClient) GetImageStoreContentSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetImageStoreRootContent

func (client BaseClient) GetImageStoreRootContent(ctx context.Context, timeout *int64) (result ImageStoreContent, err error)

GetImageStoreRootContent returns the information about the image store content at the root of the image store. Parameters: timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetImageStoreRootContentPreparer

func (client BaseClient) GetImageStoreRootContentPreparer(ctx context.Context, timeout *int64) (*http.Request, error)

GetImageStoreRootContentPreparer prepares the GetImageStoreRootContent request.

func (BaseClient) GetImageStoreRootContentResponder

func (client BaseClient) GetImageStoreRootContentResponder(resp *http.Response) (result ImageStoreContent, err error)

GetImageStoreRootContentResponder handles the response to the GetImageStoreRootContent request. The method always closes the http.Response Body.

func (BaseClient) GetImageStoreRootContentSender

func (client BaseClient) GetImageStoreRootContentSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetNodeHealth

func (client BaseClient) GetNodeHealth(ctx context.Context, nodeName string, eventsHealthStateFilter *int32, timeout *int64) (result NodeHealth, err error)

GetNodeHealth gets the health of a Service Fabric node. Use EventsHealthStateFilter to filter the collection of health events reported on the node based on the health state. If the node that you specify by name does not exist in the health store, this returns an error. Parameters: nodeName - the name of the node. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetNodeHealthPreparer

func (client BaseClient) GetNodeHealthPreparer(ctx context.Context, nodeName string, eventsHealthStateFilter *int32, timeout *int64) (*http.Request, error)

GetNodeHealthPreparer prepares the GetNodeHealth request.

func (BaseClient) GetNodeHealthResponder

func (client BaseClient) GetNodeHealthResponder(resp *http.Response) (result NodeHealth, err error)

GetNodeHealthResponder handles the response to the GetNodeHealth request. The method always closes the http.Response Body.

func (BaseClient) GetNodeHealthSender

func (client BaseClient) GetNodeHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetNodeHealthUsingPolicy

func (client BaseClient) GetNodeHealthUsingPolicy(ctx context.Context, nodeName string, eventsHealthStateFilter *int32, clusterHealthPolicy *ClusterHealthPolicy, timeout *int64) (result NodeHealth, err error)

GetNodeHealthUsingPolicy gets the health of a Service Fabric node. Use EventsHealthStateFilter to filter the collection of health events reported on the node based on the health state. Use ClusterHealthPolicy in the POST body to override the health policies used to evaluate the health. If the node that you specify by name does not exist in the health store, this returns an error. Parameters: nodeName - the name of the node. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. clusterHealthPolicy - describes the health policies used to evaluate the health of a cluster or node. If not present, the health evaluation uses the health policy from cluster manifest or the default health policy. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetNodeHealthUsingPolicyPreparer

func (client BaseClient) GetNodeHealthUsingPolicyPreparer(ctx context.Context, nodeName string, eventsHealthStateFilter *int32, clusterHealthPolicy *ClusterHealthPolicy, timeout *int64) (*http.Request, error)

GetNodeHealthUsingPolicyPreparer prepares the GetNodeHealthUsingPolicy request.

func (BaseClient) GetNodeHealthUsingPolicyResponder

func (client BaseClient) GetNodeHealthUsingPolicyResponder(resp *http.Response) (result NodeHealth, err error)

GetNodeHealthUsingPolicyResponder handles the response to the GetNodeHealthUsingPolicy request. The method always closes the http.Response Body.

func (BaseClient) GetNodeHealthUsingPolicySender

func (client BaseClient) GetNodeHealthUsingPolicySender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetNodeInfo

func (client BaseClient) GetNodeInfo(ctx context.Context, nodeName string, timeout *int64) (result NodeInfo, err error)

GetNodeInfo gets the information about a specific node in the Service Fabric Cluster.The respons include the name, status, id, health, uptime and other details about the node. Parameters: nodeName - the name of the node. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetNodeInfoList

func (client BaseClient) GetNodeInfoList(ctx context.Context, continuationToken string, nodeStatusFilter string, timeout *int64) (result PagedNodeInfoList, err error)

GetNodeInfoList the Nodes endpoint returns information about the nodes in the Service Fabric Cluster. The respons include the name, status, id, health, uptime and other details about the node. Parameters: continuationToken - the continuation token parameter is used to obtain next set of results. A continuation token with a non empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results then the continuation token does not contain a value. The value of this parameter should not be URL encoded. nodeStatusFilter - allows filtering the nodes based on the NodeStatus. Only the nodes that are matching the specified filter value will be returned. The filter value can be one of the following.

- default - This filter value will match all of the nodes excepts the ones with with status as Unknown or Removed. - all - This filter value will match all of the nodes. - up - This filter value will match nodes that are Up. - down - This filter value will match nodes that are Down. - enabling - This filter value will match nodes that are in the process of being enabled with status as Enabling. - disabling - This filter value will match nodes that are in the process of being disabled with status as Disabling. - disabled - This filter value will match nodes that are Disabled. - unknown - This filter value will match nodes whose status is Unknown. A node would be in Unknown state if Service Fabric does not have authoritative information about that node. This can happen if the system learns about a node at runtime. - removed - This filter value will match nodes whose status is Removed. These are the nodes that are removed from the cluster using the RemoveNodeState API. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetNodeInfoListPreparer

func (client BaseClient) GetNodeInfoListPreparer(ctx context.Context, continuationToken string, nodeStatusFilter string, timeout *int64) (*http.Request, error)

GetNodeInfoListPreparer prepares the GetNodeInfoList request.

func (BaseClient) GetNodeInfoListResponder

func (client BaseClient) GetNodeInfoListResponder(resp *http.Response) (result PagedNodeInfoList, err error)

GetNodeInfoListResponder handles the response to the GetNodeInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetNodeInfoListSender

func (client BaseClient) GetNodeInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetNodeInfoPreparer

func (client BaseClient) GetNodeInfoPreparer(ctx context.Context, nodeName string, timeout *int64) (*http.Request, error)

GetNodeInfoPreparer prepares the GetNodeInfo request.

func (BaseClient) GetNodeInfoResponder

func (client BaseClient) GetNodeInfoResponder(resp *http.Response) (result NodeInfo, err error)

GetNodeInfoResponder handles the response to the GetNodeInfo request. The method always closes the http.Response Body.

func (BaseClient) GetNodeInfoSender

func (client BaseClient) GetNodeInfoSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetNodeLoadInfo

func (client BaseClient) GetNodeLoadInfo(ctx context.Context, nodeName string, timeout *int64) (result NodeLoadInfo, err error)

GetNodeLoadInfo gets the load information of a Service Fabric node. Parameters: nodeName - the name of the node. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetNodeLoadInfoPreparer

func (client BaseClient) GetNodeLoadInfoPreparer(ctx context.Context, nodeName string, timeout *int64) (*http.Request, error)

GetNodeLoadInfoPreparer prepares the GetNodeLoadInfo request.

func (BaseClient) GetNodeLoadInfoResponder

func (client BaseClient) GetNodeLoadInfoResponder(resp *http.Response) (result NodeLoadInfo, err error)

GetNodeLoadInfoResponder handles the response to the GetNodeLoadInfo request. The method always closes the http.Response Body.

func (BaseClient) GetNodeLoadInfoSender

func (client BaseClient) GetNodeLoadInfoSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetNodeTransitionProgress

func (client BaseClient) GetNodeTransitionProgress(ctx context.Context, nodeName string, operationID uuid.UUID, timeout *int64) (result NodeTransitionProgress, err error)

GetNodeTransitionProgress gets the progress of an operation started with StartNodeTransition using the provided OperationId. Parameters: nodeName - the name of the node. operationID - a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetNodeTransitionProgressPreparer

func (client BaseClient) GetNodeTransitionProgressPreparer(ctx context.Context, nodeName string, operationID uuid.UUID, timeout *int64) (*http.Request, error)

GetNodeTransitionProgressPreparer prepares the GetNodeTransitionProgress request.

func (BaseClient) GetNodeTransitionProgressResponder

func (client BaseClient) GetNodeTransitionProgressResponder(resp *http.Response) (result NodeTransitionProgress, err error)

GetNodeTransitionProgressResponder handles the response to the GetNodeTransitionProgress request. The method always closes the http.Response Body.

func (BaseClient) GetNodeTransitionProgressSender

func (client BaseClient) GetNodeTransitionProgressSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetPartitionHealth

func (client BaseClient) GetPartitionHealth(ctx context.Context, partitionID uuid.UUID, eventsHealthStateFilter *int32, replicasHealthStateFilter *int32, timeout *int64) (result PartitionHealth, err error)

GetPartitionHealth gets the health information of the specified partition. Use EventsHealthStateFilter to filter the collection of health events reported on the service based on the health state. Use ReplicasHealthStateFilter to filter the collection of ReplicaHealthState objects on the partition. If you specify a partition that does not exist in the health store, this cmdlet returns an error. Parameters: partitionID - the identity of the partition. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. replicasHealthStateFilter - allows filtering the collection of ReplicaHealthState objects on the partition. The value can be obtained from members or bitwise operations on members of HealthStateFilter. Only replicas that match the filter will be returned. All replicas will be used to evaluate the aggregated health state. If not specified, all entries will be returned.The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) will be returned. The possible values for this parameter include integer value of one of the following health states.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetPartitionHealthPreparer

func (client BaseClient) GetPartitionHealthPreparer(ctx context.Context, partitionID uuid.UUID, eventsHealthStateFilter *int32, replicasHealthStateFilter *int32, timeout *int64) (*http.Request, error)

GetPartitionHealthPreparer prepares the GetPartitionHealth request.

func (BaseClient) GetPartitionHealthResponder

func (client BaseClient) GetPartitionHealthResponder(resp *http.Response) (result PartitionHealth, err error)

GetPartitionHealthResponder handles the response to the GetPartitionHealth request. The method always closes the http.Response Body.

func (BaseClient) GetPartitionHealthSender

func (client BaseClient) GetPartitionHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetPartitionHealthUsingPolicy

func (client BaseClient) GetPartitionHealthUsingPolicy(ctx context.Context, partitionID uuid.UUID, eventsHealthStateFilter *int32, replicasHealthStateFilter *int32, applicationHealthPolicy *ApplicationHealthPolicy, timeout *int64) (result PartitionHealth, err error)

GetPartitionHealthUsingPolicy gets the health information of the specified partition. If the application health policy is specified, the health evaluation uses it to get the aggregated health state. If the policy is not specified, the health evaluation uses the application health policy defined in the application manifest, or the default health policy, if no policy is defined in the manifest. Use EventsHealthStateFilter to filter the collection of health events reported on the partition based on the health state. Use ReplicasHealthStateFilter to filter the collection of ReplicaHealthState objects on the partition. Use ApplicationHealthPolicy in the POST body to override the health policies used to evaluate the health. If you specify a partition that does not exist in the health store, this cmdlet returns an error. Parameters: partitionID - the identity of the partition. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. replicasHealthStateFilter - allows filtering the collection of ReplicaHealthState objects on the partition. The value can be obtained from members or bitwise operations on members of HealthStateFilter. Only replicas that match the filter will be returned. All replicas will be used to evaluate the aggregated health state. If not specified, all entries will be returned.The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) will be returned. The possible values for this parameter include integer value of one of the following health states.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. applicationHealthPolicy - describes the health policies used to evaluate the health of an application or one of its children. If not present, the health evaluation uses the health policy from application manifest or the default health policy. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetPartitionHealthUsingPolicyPreparer

func (client BaseClient) GetPartitionHealthUsingPolicyPreparer(ctx context.Context, partitionID uuid.UUID, eventsHealthStateFilter *int32, replicasHealthStateFilter *int32, applicationHealthPolicy *ApplicationHealthPolicy, timeout *int64) (*http.Request, error)

GetPartitionHealthUsingPolicyPreparer prepares the GetPartitionHealthUsingPolicy request.

func (BaseClient) GetPartitionHealthUsingPolicyResponder

func (client BaseClient) GetPartitionHealthUsingPolicyResponder(resp *http.Response) (result PartitionHealth, err error)

GetPartitionHealthUsingPolicyResponder handles the response to the GetPartitionHealthUsingPolicy request. The method always closes the http.Response Body.

func (BaseClient) GetPartitionHealthUsingPolicySender

func (client BaseClient) GetPartitionHealthUsingPolicySender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetPartitionInfo

func (client BaseClient) GetPartitionInfo(ctx context.Context, partitionID uuid.UUID, timeout *int64) (result ServicePartitionInfoModel, err error)

GetPartitionInfo the Partitions endpoint returns information about the specified partition. The response include the partition id, partitioning scheme information, keys supported by the partition, status, health and other details about the partition. Parameters: partitionID - the identity of the partition. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetPartitionInfoList

func (client BaseClient) GetPartitionInfoList(ctx context.Context, serviceID string, continuationToken string, timeout *int64) (result PagedServicePartitionInfoList, err error)

GetPartitionInfoList gets the list of partitions of a Service Fabric service. The response include the partition id, partitioning scheme information, keys supported by the partition, status, health and other details about the partition. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. continuationToken - the continuation token parameter is used to obtain next set of results. A continuation token with a non empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results then the continuation token does not contain a value. The value of this parameter should not be URL encoded. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetPartitionInfoListPreparer

func (client BaseClient) GetPartitionInfoListPreparer(ctx context.Context, serviceID string, continuationToken string, timeout *int64) (*http.Request, error)

GetPartitionInfoListPreparer prepares the GetPartitionInfoList request.

func (BaseClient) GetPartitionInfoListResponder

func (client BaseClient) GetPartitionInfoListResponder(resp *http.Response) (result PagedServicePartitionInfoList, err error)

GetPartitionInfoListResponder handles the response to the GetPartitionInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetPartitionInfoListSender

func (client BaseClient) GetPartitionInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetPartitionInfoPreparer

func (client BaseClient) GetPartitionInfoPreparer(ctx context.Context, partitionID uuid.UUID, timeout *int64) (*http.Request, error)

GetPartitionInfoPreparer prepares the GetPartitionInfo request.

func (BaseClient) GetPartitionInfoResponder

func (client BaseClient) GetPartitionInfoResponder(resp *http.Response) (result ServicePartitionInfoModel, err error)

GetPartitionInfoResponder handles the response to the GetPartitionInfo request. The method always closes the http.Response Body.

func (BaseClient) GetPartitionInfoSender

func (client BaseClient) GetPartitionInfoSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetPartitionLoadInformation

func (client BaseClient) GetPartitionLoadInformation(ctx context.Context, partitionID uuid.UUID, timeout *int64) (result PartitionLoadInformation, err error)

GetPartitionLoadInformation returns information about the specified partition. The response includes a list of load information. Each information includes load metric name, value and last reported time in UTC. Parameters: partitionID - the identity of the partition. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetPartitionLoadInformationPreparer

func (client BaseClient) GetPartitionLoadInformationPreparer(ctx context.Context, partitionID uuid.UUID, timeout *int64) (*http.Request, error)

GetPartitionLoadInformationPreparer prepares the GetPartitionLoadInformation request.

func (BaseClient) GetPartitionLoadInformationResponder

func (client BaseClient) GetPartitionLoadInformationResponder(resp *http.Response) (result PartitionLoadInformation, err error)

GetPartitionLoadInformationResponder handles the response to the GetPartitionLoadInformation request. The method always closes the http.Response Body.

func (BaseClient) GetPartitionLoadInformationSender

func (client BaseClient) GetPartitionLoadInformationSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetPartitionRestartProgress

func (client BaseClient) GetPartitionRestartProgress(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, timeout *int64) (result PartitionRestartProgress, err error)

GetPartitionRestartProgress gets the progress of a PartitionRestart started with StartPartitionRestart using the provided OperationId. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. partitionID - the identity of the partition. operationID - a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetPartitionRestartProgressPreparer

func (client BaseClient) GetPartitionRestartProgressPreparer(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, timeout *int64) (*http.Request, error)

GetPartitionRestartProgressPreparer prepares the GetPartitionRestartProgress request.

func (BaseClient) GetPartitionRestartProgressResponder

func (client BaseClient) GetPartitionRestartProgressResponder(resp *http.Response) (result PartitionRestartProgress, err error)

GetPartitionRestartProgressResponder handles the response to the GetPartitionRestartProgress request. The method always closes the http.Response Body.

func (BaseClient) GetPartitionRestartProgressSender

func (client BaseClient) GetPartitionRestartProgressSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetProvisionedFabricCodeVersionInfoList

func (client BaseClient) GetProvisionedFabricCodeVersionInfoList(ctx context.Context, codeVersion string, timeout *int64) (result ListFabricCodeVersionInfo, err error)

GetProvisionedFabricCodeVersionInfoList gets a list of information about fabric code versions that are provisioned in the cluster. The parameter CodeVersion can be used to optionally filter the output to only that particular version. Parameters: codeVersion - the product version of Service Fabric. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetProvisionedFabricCodeVersionInfoListPreparer

func (client BaseClient) GetProvisionedFabricCodeVersionInfoListPreparer(ctx context.Context, codeVersion string, timeout *int64) (*http.Request, error)

GetProvisionedFabricCodeVersionInfoListPreparer prepares the GetProvisionedFabricCodeVersionInfoList request.

func (BaseClient) GetProvisionedFabricCodeVersionInfoListResponder

func (client BaseClient) GetProvisionedFabricCodeVersionInfoListResponder(resp *http.Response) (result ListFabricCodeVersionInfo, err error)

GetProvisionedFabricCodeVersionInfoListResponder handles the response to the GetProvisionedFabricCodeVersionInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetProvisionedFabricCodeVersionInfoListSender

func (client BaseClient) GetProvisionedFabricCodeVersionInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetProvisionedFabricConfigVersionInfoList

func (client BaseClient) GetProvisionedFabricConfigVersionInfoList(ctx context.Context, configVersion string, timeout *int64) (result ListFabricConfigVersionInfo, err error)

GetProvisionedFabricConfigVersionInfoList gets a list of information about fabric config versions that are provisioned in the cluster. The parameter ConfigVersion can be used to optionally filter the output to only that particular version. Parameters: configVersion - the config version of Service Fabric. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetProvisionedFabricConfigVersionInfoListPreparer

func (client BaseClient) GetProvisionedFabricConfigVersionInfoListPreparer(ctx context.Context, configVersion string, timeout *int64) (*http.Request, error)

GetProvisionedFabricConfigVersionInfoListPreparer prepares the GetProvisionedFabricConfigVersionInfoList request.

func (BaseClient) GetProvisionedFabricConfigVersionInfoListResponder

func (client BaseClient) GetProvisionedFabricConfigVersionInfoListResponder(resp *http.Response) (result ListFabricConfigVersionInfo, err error)

GetProvisionedFabricConfigVersionInfoListResponder handles the response to the GetProvisionedFabricConfigVersionInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetProvisionedFabricConfigVersionInfoListSender

func (client BaseClient) GetProvisionedFabricConfigVersionInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetQuorumLossProgress

func (client BaseClient) GetQuorumLossProgress(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, timeout *int64) (result PartitionQuorumLossProgress, err error)

GetQuorumLossProgress gets the progress of a quorum loss operation started with StartQuorumLoss, using the provided OperationId. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. partitionID - the identity of the partition. operationID - a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetQuorumLossProgressPreparer

func (client BaseClient) GetQuorumLossProgressPreparer(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, timeout *int64) (*http.Request, error)

GetQuorumLossProgressPreparer prepares the GetQuorumLossProgress request.

func (BaseClient) GetQuorumLossProgressResponder

func (client BaseClient) GetQuorumLossProgressResponder(resp *http.Response) (result PartitionQuorumLossProgress, err error)

GetQuorumLossProgressResponder handles the response to the GetQuorumLossProgress request. The method always closes the http.Response Body.

func (BaseClient) GetQuorumLossProgressSender

func (client BaseClient) GetQuorumLossProgressSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetReplicaHealth

func (client BaseClient) GetReplicaHealth(ctx context.Context, partitionID uuid.UUID, replicaID string, eventsHealthStateFilter *int32, timeout *int64) (result ReplicaHealthModel, err error)

GetReplicaHealth gets the health of a Service Fabric replica. Use EventsHealthStateFilter to filter the collection of health events reported on the replica based on the health state. Parameters: partitionID - the identity of the partition. replicaID - the identifier of the replica. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetReplicaHealthPreparer

func (client BaseClient) GetReplicaHealthPreparer(ctx context.Context, partitionID uuid.UUID, replicaID string, eventsHealthStateFilter *int32, timeout *int64) (*http.Request, error)

GetReplicaHealthPreparer prepares the GetReplicaHealth request.

func (BaseClient) GetReplicaHealthResponder

func (client BaseClient) GetReplicaHealthResponder(resp *http.Response) (result ReplicaHealthModel, err error)

GetReplicaHealthResponder handles the response to the GetReplicaHealth request. The method always closes the http.Response Body.

func (BaseClient) GetReplicaHealthSender

func (client BaseClient) GetReplicaHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetReplicaHealthUsingPolicy

func (client BaseClient) GetReplicaHealthUsingPolicy(ctx context.Context, partitionID uuid.UUID, replicaID string, eventsHealthStateFilter *int32, applicationHealthPolicy *ApplicationHealthPolicy, timeout *int64) (result ReplicaHealthModel, err error)

GetReplicaHealthUsingPolicy gets the health of a Service Fabric stateful service replica or stateless service instance. Use EventsHealthStateFilter to filter the collection of health events reported on the cluster based on the health state. Use ApplicationHealthPolicy to optionally override the health policies used to evaluate the health. This API only uses 'ConsiderWarningAsError' field of the ApplicationHealthPolicy. The rest of the fields are ignored while evaluating the health of the replica. Parameters: partitionID - the identity of the partition. replicaID - the identifier of the replica. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. applicationHealthPolicy - describes the health policies used to evaluate the health of an application or one of its children. If not present, the health evaluation uses the health policy from application manifest or the default health policy. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetReplicaHealthUsingPolicyPreparer

func (client BaseClient) GetReplicaHealthUsingPolicyPreparer(ctx context.Context, partitionID uuid.UUID, replicaID string, eventsHealthStateFilter *int32, applicationHealthPolicy *ApplicationHealthPolicy, timeout *int64) (*http.Request, error)

GetReplicaHealthUsingPolicyPreparer prepares the GetReplicaHealthUsingPolicy request.

func (BaseClient) GetReplicaHealthUsingPolicyResponder

func (client BaseClient) GetReplicaHealthUsingPolicyResponder(resp *http.Response) (result ReplicaHealthModel, err error)

GetReplicaHealthUsingPolicyResponder handles the response to the GetReplicaHealthUsingPolicy request. The method always closes the http.Response Body.

func (BaseClient) GetReplicaHealthUsingPolicySender

func (client BaseClient) GetReplicaHealthUsingPolicySender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetReplicaInfo

func (client BaseClient) GetReplicaInfo(ctx context.Context, partitionID uuid.UUID, replicaID string, continuationToken string, timeout *int64) (result ReplicaInfoModel, err error)

GetReplicaInfo the respons include the id, role, status, health, node name, uptime, and other details about the replica. Parameters: partitionID - the identity of the partition. replicaID - the identifier of the replica. continuationToken - the continuation token parameter is used to obtain next set of results. A continuation token with a non empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results then the continuation token does not contain a value. The value of this parameter should not be URL encoded. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetReplicaInfoList

func (client BaseClient) GetReplicaInfoList(ctx context.Context, partitionID uuid.UUID, continuationToken string, timeout *int64) (result PagedReplicaInfoList, err error)

GetReplicaInfoList the GetReplicas endpoint returns information about the replicas of the specified partition. The respons include the id, role, status, health, node name, uptime, and other details about the replica. Parameters: partitionID - the identity of the partition. continuationToken - the continuation token parameter is used to obtain next set of results. A continuation token with a non empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results then the continuation token does not contain a value. The value of this parameter should not be URL encoded. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetReplicaInfoListPreparer

func (client BaseClient) GetReplicaInfoListPreparer(ctx context.Context, partitionID uuid.UUID, continuationToken string, timeout *int64) (*http.Request, error)

GetReplicaInfoListPreparer prepares the GetReplicaInfoList request.

func (BaseClient) GetReplicaInfoListResponder

func (client BaseClient) GetReplicaInfoListResponder(resp *http.Response) (result PagedReplicaInfoList, err error)

GetReplicaInfoListResponder handles the response to the GetReplicaInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetReplicaInfoListSender

func (client BaseClient) GetReplicaInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetReplicaInfoPreparer

func (client BaseClient) GetReplicaInfoPreparer(ctx context.Context, partitionID uuid.UUID, replicaID string, continuationToken string, timeout *int64) (*http.Request, error)

GetReplicaInfoPreparer prepares the GetReplicaInfo request.

func (BaseClient) GetReplicaInfoResponder

func (client BaseClient) GetReplicaInfoResponder(resp *http.Response) (result ReplicaInfoModel, err error)

GetReplicaInfoResponder handles the response to the GetReplicaInfo request. The method always closes the http.Response Body.

func (BaseClient) GetReplicaInfoSender

func (client BaseClient) GetReplicaInfoSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetServiceDescription

func (client BaseClient) GetServiceDescription(ctx context.Context, serviceID string, timeout *int64) (result ServiceDescriptionModel, err error)

GetServiceDescription gets the description of an existing Service Fabric service. A service must be created before its description can be obtained. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetServiceDescriptionPreparer

func (client BaseClient) GetServiceDescriptionPreparer(ctx context.Context, serviceID string, timeout *int64) (*http.Request, error)

GetServiceDescriptionPreparer prepares the GetServiceDescription request.

func (BaseClient) GetServiceDescriptionResponder

func (client BaseClient) GetServiceDescriptionResponder(resp *http.Response) (result ServiceDescriptionModel, err error)

GetServiceDescriptionResponder handles the response to the GetServiceDescription request. The method always closes the http.Response Body.

func (BaseClient) GetServiceDescriptionSender

func (client BaseClient) GetServiceDescriptionSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetServiceHealth

func (client BaseClient) GetServiceHealth(ctx context.Context, serviceID string, eventsHealthStateFilter *int32, partitionsHealthStateFilter *int32, timeout *int64) (result ServiceHealth, err error)

GetServiceHealth gets the health information of the specified service. Use EventsHealthStateFilter to filter the collection of health events reported on the service based on the health state. Use PartitionsHealthStateFilter to filter the collection of partitions returned. If you specify a service that does not exist in the health store, this cmdlet returns an error. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. partitionsHealthStateFilter - allows filtering of the partitions health state objects returned in the result of service health query based on their health state. The possible values for this parameter include integer value of one of the following health states. Only partitions that match the filter are returned. All partitions are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of partitions with HealthState value of OK (2) and Warning (4) will be returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetServiceHealthPreparer

func (client BaseClient) GetServiceHealthPreparer(ctx context.Context, serviceID string, eventsHealthStateFilter *int32, partitionsHealthStateFilter *int32, timeout *int64) (*http.Request, error)

GetServiceHealthPreparer prepares the GetServiceHealth request.

func (BaseClient) GetServiceHealthResponder

func (client BaseClient) GetServiceHealthResponder(resp *http.Response) (result ServiceHealth, err error)

GetServiceHealthResponder handles the response to the GetServiceHealth request. The method always closes the http.Response Body.

func (BaseClient) GetServiceHealthSender

func (client BaseClient) GetServiceHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetServiceHealthUsingPolicy

func (client BaseClient) GetServiceHealthUsingPolicy(ctx context.Context, serviceID string, eventsHealthStateFilter *int32, partitionsHealthStateFilter *int32, applicationHealthPolicy *ApplicationHealthPolicy, timeout *int64) (result ServiceHealth, err error)

GetServiceHealthUsingPolicy gets the health information of the specified service. If the application health policy is specified, the health evaluation uses it to get the aggregated health state. If the policy is not specified, the health evaluation uses the application health policy defined in the application manifest, or the default health policy, if no policy is defined in the manifest. Use EventsHealthStateFilter to filter the collection of health events reported on the service based on the health state. Use PartitionsHealthStateFilter to filter the collection of partitions returned. If you specify a service that does not exist in the health store, this cmdlet returns an error. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. eventsHealthStateFilter - allows filtering the collection of HealthEvent objects returned based on health state. The possible values for this parameter include integer value of one of the following health states. Only events that match the filter are returned. All events are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, If the provided value is 6 then all of the events with HealthState value of OK (2) and Warning (4) are returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. partitionsHealthStateFilter - allows filtering of the partitions health state objects returned in the result of service health query based on their health state. The possible values for this parameter include integer value of one of the following health states. Only partitions that match the filter are returned. All partitions are used to evaluate the aggregated health state. If not specified, all entries are returned. The state values are flag based enumeration, so the value could be a combination of these value obtained using bitwise 'OR' operator. For example, if the provided value is 6 then health state of partitions with HealthState value of OK (2) and Warning (4) will be returned.

- Default - Default value. Matches any HealthState. The value is zero. - None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. - Ok - Filter that matches input with HealthState value Ok. The value is 2. - Warning - Filter that matches input with HealthState value Warning. The value is 4. - Error - Filter that matches input with HealthState value Error. The value is 8. - All - Filter that matches input with any HealthState value. The value is 65535. applicationHealthPolicy - describes the health policies used to evaluate the health of an application or one of its children. If not present, the health evaluation uses the health policy from application manifest or the default health policy. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetServiceHealthUsingPolicyPreparer

func (client BaseClient) GetServiceHealthUsingPolicyPreparer(ctx context.Context, serviceID string, eventsHealthStateFilter *int32, partitionsHealthStateFilter *int32, applicationHealthPolicy *ApplicationHealthPolicy, timeout *int64) (*http.Request, error)

GetServiceHealthUsingPolicyPreparer prepares the GetServiceHealthUsingPolicy request.

func (BaseClient) GetServiceHealthUsingPolicyResponder

func (client BaseClient) GetServiceHealthUsingPolicyResponder(resp *http.Response) (result ServiceHealth, err error)

GetServiceHealthUsingPolicyResponder handles the response to the GetServiceHealthUsingPolicy request. The method always closes the http.Response Body.

func (BaseClient) GetServiceHealthUsingPolicySender

func (client BaseClient) GetServiceHealthUsingPolicySender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetServiceInfo

func (client BaseClient) GetServiceInfo(ctx context.Context, applicationID string, serviceID string, timeout *int64) (result ServiceInfoModel, err error)

GetServiceInfo returns the information about specified service belonging to the specified Service Fabric application. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetServiceInfoList

func (client BaseClient) GetServiceInfoList(ctx context.Context, applicationID string, serviceTypeName string, continuationToken string, timeout *int64) (result PagedServiceInfoList, err error)

GetServiceInfoList returns the information about all services belonging to the application specified by the application id. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. serviceTypeName - the service type name used to filter the services to query for. continuationToken - the continuation token parameter is used to obtain next set of results. A continuation token with a non empty value is included in the response of the API when the results from the system do not fit in a single response. When this value is passed to the next API call, the API returns next set of results. If there are no further results then the continuation token does not contain a value. The value of this parameter should not be URL encoded. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetServiceInfoListPreparer

func (client BaseClient) GetServiceInfoListPreparer(ctx context.Context, applicationID string, serviceTypeName string, continuationToken string, timeout *int64) (*http.Request, error)

GetServiceInfoListPreparer prepares the GetServiceInfoList request.

func (BaseClient) GetServiceInfoListResponder

func (client BaseClient) GetServiceInfoListResponder(resp *http.Response) (result PagedServiceInfoList, err error)

GetServiceInfoListResponder handles the response to the GetServiceInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetServiceInfoListSender

func (client BaseClient) GetServiceInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetServiceInfoPreparer

func (client BaseClient) GetServiceInfoPreparer(ctx context.Context, applicationID string, serviceID string, timeout *int64) (*http.Request, error)

GetServiceInfoPreparer prepares the GetServiceInfo request.

func (BaseClient) GetServiceInfoResponder

func (client BaseClient) GetServiceInfoResponder(resp *http.Response) (result ServiceInfoModel, err error)

GetServiceInfoResponder handles the response to the GetServiceInfo request. The method always closes the http.Response Body.

func (BaseClient) GetServiceInfoSender

func (client BaseClient) GetServiceInfoSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetServiceManifest

func (client BaseClient) GetServiceManifest(ctx context.Context, applicationTypeName string, applicationTypeVersion string, serviceManifestName string, timeout *int64) (result ServiceTypeManifest, err error)

GetServiceManifest gets the manifest describing a service type. The response contains the service manifest XML as a string. Parameters: applicationTypeName - the name of the application type. applicationTypeVersion - the version of the application type. serviceManifestName - the name of a service manifest registered as part of an application type in a Service Fabric cluster. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetServiceManifestPreparer

func (client BaseClient) GetServiceManifestPreparer(ctx context.Context, applicationTypeName string, applicationTypeVersion string, serviceManifestName string, timeout *int64) (*http.Request, error)

GetServiceManifestPreparer prepares the GetServiceManifest request.

func (BaseClient) GetServiceManifestResponder

func (client BaseClient) GetServiceManifestResponder(resp *http.Response) (result ServiceTypeManifest, err error)

GetServiceManifestResponder handles the response to the GetServiceManifest request. The method always closes the http.Response Body.

func (BaseClient) GetServiceManifestSender

func (client BaseClient) GetServiceManifestSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetServiceNameInfo

func (client BaseClient) GetServiceNameInfo(ctx context.Context, partitionID uuid.UUID, timeout *int64) (result ServiceNameInfo, err error)

GetServiceNameInfo the GetServiceName endpoint returns the name of the service for the specified partition. Parameters: partitionID - the identity of the partition. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetServiceNameInfoPreparer

func (client BaseClient) GetServiceNameInfoPreparer(ctx context.Context, partitionID uuid.UUID, timeout *int64) (*http.Request, error)

GetServiceNameInfoPreparer prepares the GetServiceNameInfo request.

func (BaseClient) GetServiceNameInfoResponder

func (client BaseClient) GetServiceNameInfoResponder(resp *http.Response) (result ServiceNameInfo, err error)

GetServiceNameInfoResponder handles the response to the GetServiceNameInfo request. The method always closes the http.Response Body.

func (BaseClient) GetServiceNameInfoSender

func (client BaseClient) GetServiceNameInfoSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetServiceTypeInfoList

func (client BaseClient) GetServiceTypeInfoList(ctx context.Context, applicationTypeName string, applicationTypeVersion string, timeout *int64) (result ListServiceTypeInfo, err error)

GetServiceTypeInfoList gets the list containing the information about service types that are supported by a provisioned application type in a Service Fabric cluster. The response includes the name of the service type, the name and version of the service manifest the type is defined in, kind (stateless or stateless) of the service type and other information about it. Parameters: applicationTypeName - the name of the application type. applicationTypeVersion - the version of the application type. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) GetServiceTypeInfoListPreparer

func (client BaseClient) GetServiceTypeInfoListPreparer(ctx context.Context, applicationTypeName string, applicationTypeVersion string, timeout *int64) (*http.Request, error)

GetServiceTypeInfoListPreparer prepares the GetServiceTypeInfoList request.

func (BaseClient) GetServiceTypeInfoListResponder

func (client BaseClient) GetServiceTypeInfoListResponder(resp *http.Response) (result ListServiceTypeInfo, err error)

GetServiceTypeInfoListResponder handles the response to the GetServiceTypeInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetServiceTypeInfoListSender

func (client BaseClient) GetServiceTypeInfoListSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) InvokeInfrastructureCommand

func (client BaseClient) InvokeInfrastructureCommand(ctx context.Context, command string, serviceID string, timeout *int64) (result ReadCloser, err error)

InvokeInfrastructureCommand for clusters that have one or more instances of the Infrastructure Service configured, this API provides a way to send infrastructure-specific commands to a particular instance of the Infrastructure Service.

Available commands and their corresponding response formats vary depending upon the infrastructure on which the cluster is running.

This API supports the Service Fabric platform; it is not meant to be used directly from your code. Parameters: command - the text of the command to be invoked. The content of the command is infrastructure-specific. serviceID - the identity of the infrastructure service. This is the full name of the infrastructure service without the 'fabric:' URI scheme. This parameter required only for the cluster that have more than one instance of infrastructure service running. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) InvokeInfrastructureCommandPreparer

func (client BaseClient) InvokeInfrastructureCommandPreparer(ctx context.Context, command string, serviceID string, timeout *int64) (*http.Request, error)

InvokeInfrastructureCommandPreparer prepares the InvokeInfrastructureCommand request.

func (BaseClient) InvokeInfrastructureCommandResponder

func (client BaseClient) InvokeInfrastructureCommandResponder(resp *http.Response) (result ReadCloser, err error)

InvokeInfrastructureCommandResponder handles the response to the InvokeInfrastructureCommand request. The method always closes the http.Response Body.

func (BaseClient) InvokeInfrastructureCommandSender

func (client BaseClient) InvokeInfrastructureCommandSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) InvokeInfrastructureQuery

func (client BaseClient) InvokeInfrastructureQuery(ctx context.Context, command string, serviceID string, timeout *int64) (result ReadCloser, err error)

InvokeInfrastructureQuery for clusters that have one or more instances of the Infrastructure Service configured, this API provides a way to send infrastructure-specific queries to a particular instance of the Infrastructure Service.

Available commands and their corresponding response formats vary depending upon the infrastructure on which the cluster is running.

This API supports the Service Fabric platform; it is not meant to be used directly from your code. Parameters: command - the text of the command to be invoked. The content of the command is infrastructure-specific. serviceID - the identity of the infrastructure service. This is the full name of the infrastructure service without the 'fabric:' URI scheme. This parameter required only for the cluster that have more than one instance of infrastructure service running. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) InvokeInfrastructureQueryPreparer

func (client BaseClient) InvokeInfrastructureQueryPreparer(ctx context.Context, command string, serviceID string, timeout *int64) (*http.Request, error)

InvokeInfrastructureQueryPreparer prepares the InvokeInfrastructureQuery request.

func (BaseClient) InvokeInfrastructureQueryResponder

func (client BaseClient) InvokeInfrastructureQueryResponder(resp *http.Response) (result ReadCloser, err error)

InvokeInfrastructureQueryResponder handles the response to the InvokeInfrastructureQuery request. The method always closes the http.Response Body.

func (BaseClient) InvokeInfrastructureQuerySender

func (client BaseClient) InvokeInfrastructureQuerySender(req *http.Request) (*http.Response, error)

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

func (BaseClient) ProvisionApplicationType

func (client BaseClient) ProvisionApplicationType(ctx context.Context, applicationTypeImageStorePath ApplicationTypeImageStorePath, timeout *int64) (result autorest.Response, err error)

ProvisionApplicationType provisions or registers a Service Fabric application type with the cluster. This is required before any new applications can be instantiated. Parameters: applicationTypeImageStorePath - the relative path for the application package in the image store specified during the prior copy operation. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) ProvisionApplicationTypePreparer

func (client BaseClient) ProvisionApplicationTypePreparer(ctx context.Context, applicationTypeImageStorePath ApplicationTypeImageStorePath, timeout *int64) (*http.Request, error)

ProvisionApplicationTypePreparer prepares the ProvisionApplicationType request.

func (BaseClient) ProvisionApplicationTypeResponder

func (client BaseClient) ProvisionApplicationTypeResponder(resp *http.Response) (result autorest.Response, err error)

ProvisionApplicationTypeResponder handles the response to the ProvisionApplicationType request. The method always closes the http.Response Body.

func (BaseClient) ProvisionApplicationTypeSender

func (client BaseClient) ProvisionApplicationTypeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) RecoverAllPartitions

func (client BaseClient) RecoverAllPartitions(ctx context.Context, timeout *int64) (result autorest.Response, err error)

RecoverAllPartitions indicates to the Service Fabric cluster that it should attempt to recover any services (including system services) which are currently stuck in quorum loss. This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss. Parameters: timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) RecoverAllPartitionsPreparer

func (client BaseClient) RecoverAllPartitionsPreparer(ctx context.Context, timeout *int64) (*http.Request, error)

RecoverAllPartitionsPreparer prepares the RecoverAllPartitions request.

func (BaseClient) RecoverAllPartitionsResponder

func (client BaseClient) RecoverAllPartitionsResponder(resp *http.Response) (result autorest.Response, err error)

RecoverAllPartitionsResponder handles the response to the RecoverAllPartitions request. The method always closes the http.Response Body.

func (BaseClient) RecoverAllPartitionsSender

func (client BaseClient) RecoverAllPartitionsSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) RecoverPartition

func (client BaseClient) RecoverPartition(ctx context.Context, partitionID uuid.UUID, timeout *int64) (result autorest.Response, err error)

RecoverPartition indicates to the Service Fabric cluster that it should attempt to recover a specific partition which is currently stuck in quorum loss. This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss. Parameters: partitionID - the identity of the partition. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) RecoverPartitionPreparer

func (client BaseClient) RecoverPartitionPreparer(ctx context.Context, partitionID uuid.UUID, timeout *int64) (*http.Request, error)

RecoverPartitionPreparer prepares the RecoverPartition request.

func (BaseClient) RecoverPartitionResponder

func (client BaseClient) RecoverPartitionResponder(resp *http.Response) (result autorest.Response, err error)

RecoverPartitionResponder handles the response to the RecoverPartition request. The method always closes the http.Response Body.

func (BaseClient) RecoverPartitionSender

func (client BaseClient) RecoverPartitionSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) RecoverServicePartitions

func (client BaseClient) RecoverServicePartitions(ctx context.Context, serviceID string, timeout *int64) (result autorest.Response, err error)

RecoverServicePartitions indicates to the Service Fabric cluster that it should attempt to recover the specified service which is currently stuck in quorum loss. This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) RecoverServicePartitionsPreparer

func (client BaseClient) RecoverServicePartitionsPreparer(ctx context.Context, serviceID string, timeout *int64) (*http.Request, error)

RecoverServicePartitionsPreparer prepares the RecoverServicePartitions request.

func (BaseClient) RecoverServicePartitionsResponder

func (client BaseClient) RecoverServicePartitionsResponder(resp *http.Response) (result autorest.Response, err error)

RecoverServicePartitionsResponder handles the response to the RecoverServicePartitions request. The method always closes the http.Response Body.

func (BaseClient) RecoverServicePartitionsSender

func (client BaseClient) RecoverServicePartitionsSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) RecoverSystemPartitions

func (client BaseClient) RecoverSystemPartitions(ctx context.Context, timeout *int64) (result autorest.Response, err error)

RecoverSystemPartitions indicates to the Service Fabric cluster that it should attempt to recover the system services which are currently stuck in quorum loss. This operation should only be performed if it is known that the replicas that are down cannot be recovered. Incorrect use of this API can cause potential data loss. Parameters: timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) RecoverSystemPartitionsPreparer

func (client BaseClient) RecoverSystemPartitionsPreparer(ctx context.Context, timeout *int64) (*http.Request, error)

RecoverSystemPartitionsPreparer prepares the RecoverSystemPartitions request.

func (BaseClient) RecoverSystemPartitionsResponder

func (client BaseClient) RecoverSystemPartitionsResponder(resp *http.Response) (result autorest.Response, err error)

RecoverSystemPartitionsResponder handles the response to the RecoverSystemPartitions request. The method always closes the http.Response Body.

func (BaseClient) RecoverSystemPartitionsSender

func (client BaseClient) RecoverSystemPartitionsSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) RemoveComposeApplication

func (client BaseClient) RemoveComposeApplication(ctx context.Context, applicationID string, timeout *int64) (result autorest.Response, err error)

RemoveComposeApplication deletes an existing Service Fabric compose application. An application must be created before it can be deleted. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) RemoveComposeApplicationPreparer

func (client BaseClient) RemoveComposeApplicationPreparer(ctx context.Context, applicationID string, timeout *int64) (*http.Request, error)

RemoveComposeApplicationPreparer prepares the RemoveComposeApplication request.

func (BaseClient) RemoveComposeApplicationResponder

func (client BaseClient) RemoveComposeApplicationResponder(resp *http.Response) (result autorest.Response, err error)

RemoveComposeApplicationResponder handles the response to the RemoveComposeApplication request. The method always closes the http.Response Body.

func (BaseClient) RemoveComposeApplicationSender

func (client BaseClient) RemoveComposeApplicationSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) RemoveNodeState

func (client BaseClient) RemoveNodeState(ctx context.Context, nodeName string, timeout *int64) (result autorest.Response, err error)

RemoveNodeState notifies Service Fabric that the persisted state on a node has been permanently removed or lost. This implies that it is not possible to recover the persisted state of that node. This generally happens if a hard disk has been wiped clean, or if a hard disk crashes. The node has to be down for this operation to be successful. This operation lets Service Fabric know that the replicas on that node no longer exist, and that Service Fabric should stop waiting for those replicas to come back up. Do not run this cmdlet if the state on the node has not been removed and the node can comes back up with its state intact. Parameters: nodeName - the name of the node. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) RemoveNodeStatePreparer

func (client BaseClient) RemoveNodeStatePreparer(ctx context.Context, nodeName string, timeout *int64) (*http.Request, error)

RemoveNodeStatePreparer prepares the RemoveNodeState request.

func (BaseClient) RemoveNodeStateResponder

func (client BaseClient) RemoveNodeStateResponder(resp *http.Response) (result autorest.Response, err error)

RemoveNodeStateResponder handles the response to the RemoveNodeState request. The method always closes the http.Response Body.

func (BaseClient) RemoveNodeStateSender

func (client BaseClient) RemoveNodeStateSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) RemoveReplica

func (client BaseClient) RemoveReplica(ctx context.Context, nodeName string, partitionID uuid.UUID, replicaID string, forceRemove *bool, timeout *int64) (result autorest.Response, err error)

RemoveReplica this API simulates a Service Fabric replica failure by removing a replica from a Service Fabric cluster. The removal closes the replica, transitions the replica to the role None, and then removes all of the state information of the replica from the cluster. This API tests the replica state removal path, and simulates the report fault permanent path through client APIs. Warning - There are no safety checks performed when this API is used. Incorrect use of this API can lead to data loss for stateful services.In addition, the forceRemove flag impacts all other replicas hosted in the same process. Parameters: nodeName - the name of the node. partitionID - the identity of the partition. replicaID - the identifier of the replica. forceRemove - remove a Service Fabric application or service forcefully without going through the graceful shutdown sequence. This parameter can be used to forcefully delete an application or service for which delete is timing out due to issues in the service code that prevents graceful close of replicas. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) RemoveReplicaPreparer

func (client BaseClient) RemoveReplicaPreparer(ctx context.Context, nodeName string, partitionID uuid.UUID, replicaID string, forceRemove *bool, timeout *int64) (*http.Request, error)

RemoveReplicaPreparer prepares the RemoveReplica request.

func (BaseClient) RemoveReplicaResponder

func (client BaseClient) RemoveReplicaResponder(resp *http.Response) (result autorest.Response, err error)

RemoveReplicaResponder handles the response to the RemoveReplica request. The method always closes the http.Response Body.

func (BaseClient) RemoveReplicaSender

func (client BaseClient) RemoveReplicaSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) ReportApplicationHealth

func (client BaseClient) ReportApplicationHealth(ctx context.Context, applicationID string, healthInformation HealthInformation, timeout *int64) (result autorest.Response, err error)

ReportApplicationHealth reports health state of the specified Service Fabric application. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway Application, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, run GetApplicationHealth and check that the report appears in the HealthEvents section. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. healthInformation - describes the health information for the health report. This information needs to be present in all of the health reports sent to the health manager. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) ReportApplicationHealthPreparer

func (client BaseClient) ReportApplicationHealthPreparer(ctx context.Context, applicationID string, healthInformation HealthInformation, timeout *int64) (*http.Request, error)

ReportApplicationHealthPreparer prepares the ReportApplicationHealth request.

func (BaseClient) ReportApplicationHealthResponder

func (client BaseClient) ReportApplicationHealthResponder(resp *http.Response) (result autorest.Response, err error)

ReportApplicationHealthResponder handles the response to the ReportApplicationHealth request. The method always closes the http.Response Body.

func (BaseClient) ReportApplicationHealthSender

func (client BaseClient) ReportApplicationHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) ReportClusterHealth

func (client BaseClient) ReportClusterHealth(ctx context.Context, healthInformation HealthInformation, timeout *int64) (result autorest.Response, err error)

ReportClusterHealth sends a health report on a Service Fabric cluster. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway node, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, run GetClusterHealth and check that the report appears in the HealthEvents section. Parameters: healthInformation - describes the health information for the health report. This information needs to be present in all of the health reports sent to the health manager. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) ReportClusterHealthPreparer

func (client BaseClient) ReportClusterHealthPreparer(ctx context.Context, healthInformation HealthInformation, timeout *int64) (*http.Request, error)

ReportClusterHealthPreparer prepares the ReportClusterHealth request.

func (BaseClient) ReportClusterHealthResponder

func (client BaseClient) ReportClusterHealthResponder(resp *http.Response) (result autorest.Response, err error)

ReportClusterHealthResponder handles the response to the ReportClusterHealth request. The method always closes the http.Response Body.

func (BaseClient) ReportClusterHealthSender

func (client BaseClient) ReportClusterHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) ReportDeployedApplicationHealth

func (client BaseClient) ReportDeployedApplicationHealth(ctx context.Context, nodeName string, applicationID string, healthInformation HealthInformation, timeout *int64) (result autorest.Response, err error)

ReportDeployedApplicationHealth reports health state of the application deployed on a Service Fabric node. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway Service, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, get deployed application health and check that the report appears in the HealthEvents section. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. healthInformation - describes the health information for the health report. This information needs to be present in all of the health reports sent to the health manager. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) ReportDeployedApplicationHealthPreparer

func (client BaseClient) ReportDeployedApplicationHealthPreparer(ctx context.Context, nodeName string, applicationID string, healthInformation HealthInformation, timeout *int64) (*http.Request, error)

ReportDeployedApplicationHealthPreparer prepares the ReportDeployedApplicationHealth request.

func (BaseClient) ReportDeployedApplicationHealthResponder

func (client BaseClient) ReportDeployedApplicationHealthResponder(resp *http.Response) (result autorest.Response, err error)

ReportDeployedApplicationHealthResponder handles the response to the ReportDeployedApplicationHealth request. The method always closes the http.Response Body.

func (BaseClient) ReportDeployedApplicationHealthSender

func (client BaseClient) ReportDeployedApplicationHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) ReportDeployedServicePackageHealth

func (client BaseClient) ReportDeployedServicePackageHealth(ctx context.Context, nodeName string, applicationID string, servicePackageName string, healthInformation HealthInformation, timeout *int64) (result autorest.Response, err error)

ReportDeployedServicePackageHealth reports health state of the service package of the application deployed on a Service Fabric node. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway Service, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, get deployed service package health and check that the report appears in the HealthEvents section. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. servicePackageName - the name of the service package. healthInformation - describes the health information for the health report. This information needs to be present in all of the health reports sent to the health manager. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) ReportDeployedServicePackageHealthPreparer

func (client BaseClient) ReportDeployedServicePackageHealthPreparer(ctx context.Context, nodeName string, applicationID string, servicePackageName string, healthInformation HealthInformation, timeout *int64) (*http.Request, error)

ReportDeployedServicePackageHealthPreparer prepares the ReportDeployedServicePackageHealth request.

func (BaseClient) ReportDeployedServicePackageHealthResponder

func (client BaseClient) ReportDeployedServicePackageHealthResponder(resp *http.Response) (result autorest.Response, err error)

ReportDeployedServicePackageHealthResponder handles the response to the ReportDeployedServicePackageHealth request. The method always closes the http.Response Body.

func (BaseClient) ReportDeployedServicePackageHealthSender

func (client BaseClient) ReportDeployedServicePackageHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) ReportNodeHealth

func (client BaseClient) ReportNodeHealth(ctx context.Context, nodeName string, healthInformation HealthInformation, timeout *int64) (result autorest.Response, err error)

ReportNodeHealth reports health state of the specified Service Fabric node. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway node, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, run GetNodeHealth and check that the report appears in the HealthEvents section. Parameters: nodeName - the name of the node. healthInformation - describes the health information for the health report. This information needs to be present in all of the health reports sent to the health manager. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) ReportNodeHealthPreparer

func (client BaseClient) ReportNodeHealthPreparer(ctx context.Context, nodeName string, healthInformation HealthInformation, timeout *int64) (*http.Request, error)

ReportNodeHealthPreparer prepares the ReportNodeHealth request.

func (BaseClient) ReportNodeHealthResponder

func (client BaseClient) ReportNodeHealthResponder(resp *http.Response) (result autorest.Response, err error)

ReportNodeHealthResponder handles the response to the ReportNodeHealth request. The method always closes the http.Response Body.

func (BaseClient) ReportNodeHealthSender

func (client BaseClient) ReportNodeHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) ReportPartitionHealth

func (client BaseClient) ReportPartitionHealth(ctx context.Context, partitionID uuid.UUID, healthInformation HealthInformation, timeout *int64) (result autorest.Response, err error)

ReportPartitionHealth reports health state of the specified Service Fabric partition. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway Partition, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, run GetPartitionHealth and check that the report appears in the HealthEvents section. Parameters: partitionID - the identity of the partition. healthInformation - describes the health information for the health report. This information needs to be present in all of the health reports sent to the health manager. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) ReportPartitionHealthPreparer

func (client BaseClient) ReportPartitionHealthPreparer(ctx context.Context, partitionID uuid.UUID, healthInformation HealthInformation, timeout *int64) (*http.Request, error)

ReportPartitionHealthPreparer prepares the ReportPartitionHealth request.

func (BaseClient) ReportPartitionHealthResponder

func (client BaseClient) ReportPartitionHealthResponder(resp *http.Response) (result autorest.Response, err error)

ReportPartitionHealthResponder handles the response to the ReportPartitionHealth request. The method always closes the http.Response Body.

func (BaseClient) ReportPartitionHealthSender

func (client BaseClient) ReportPartitionHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) ReportReplicaHealth

func (client BaseClient) ReportReplicaHealth(ctx context.Context, partitionID uuid.UUID, replicaID string, serviceKind string, healthInformation HealthInformation, timeout *int64) (result autorest.Response, err error)

ReportReplicaHealth reports health state of the specified Service Fabric replica. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway Replica, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, run GetReplicaHealth and check that the report appears in the HealthEvents section. Parameters: partitionID - the identity of the partition. replicaID - the identifier of the replica. serviceKind - the kind of service replica (Stateless or Stateful) for which the health is being reported. Following are the possible values. - Stateless - Does not use Service Fabric to make its state highly available or reliable. The value is 1 - Stateful - Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 2. healthInformation - describes the health information for the health report. This information needs to be present in all of the health reports sent to the health manager. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) ReportReplicaHealthPreparer

func (client BaseClient) ReportReplicaHealthPreparer(ctx context.Context, partitionID uuid.UUID, replicaID string, serviceKind string, healthInformation HealthInformation, timeout *int64) (*http.Request, error)

ReportReplicaHealthPreparer prepares the ReportReplicaHealth request.

func (BaseClient) ReportReplicaHealthResponder

func (client BaseClient) ReportReplicaHealthResponder(resp *http.Response) (result autorest.Response, err error)

ReportReplicaHealthResponder handles the response to the ReportReplicaHealth request. The method always closes the http.Response Body.

func (BaseClient) ReportReplicaHealthSender

func (client BaseClient) ReportReplicaHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) ReportServiceHealth

func (client BaseClient) ReportServiceHealth(ctx context.Context, serviceID string, healthInformation HealthInformation, timeout *int64) (result autorest.Response, err error)

ReportServiceHealth reports health state of the specified Service Fabric service. The report must contain the information about the source of the health report and property on which it is reported. The report is sent to a Service Fabric gateway Service, which forwards to the health store. The report may be accepted by the gateway, but rejected by the health store after extra validation. For example, the health store may reject the report because of an invalid parameter, like a stale sequence number. To see whether the report was applied in the health store, run GetServiceHealth and check that the report appears in the HealthEvents section. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. healthInformation - describes the health information for the health report. This information needs to be present in all of the health reports sent to the health manager. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) ReportServiceHealthPreparer

func (client BaseClient) ReportServiceHealthPreparer(ctx context.Context, serviceID string, healthInformation HealthInformation, timeout *int64) (*http.Request, error)

ReportServiceHealthPreparer prepares the ReportServiceHealth request.

func (BaseClient) ReportServiceHealthResponder

func (client BaseClient) ReportServiceHealthResponder(resp *http.Response) (result autorest.Response, err error)

ReportServiceHealthResponder handles the response to the ReportServiceHealth request. The method always closes the http.Response Body.

func (BaseClient) ReportServiceHealthSender

func (client BaseClient) ReportServiceHealthSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) ResetPartitionLoad

func (client BaseClient) ResetPartitionLoad(ctx context.Context, partitionID uuid.UUID, timeout *int64) (result autorest.Response, err error)

ResetPartitionLoad resets the current load of a Service Fabric partition to the default load for the service. Parameters: partitionID - the identity of the partition. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) ResetPartitionLoadPreparer

func (client BaseClient) ResetPartitionLoadPreparer(ctx context.Context, partitionID uuid.UUID, timeout *int64) (*http.Request, error)

ResetPartitionLoadPreparer prepares the ResetPartitionLoad request.

func (BaseClient) ResetPartitionLoadResponder

func (client BaseClient) ResetPartitionLoadResponder(resp *http.Response) (result autorest.Response, err error)

ResetPartitionLoadResponder handles the response to the ResetPartitionLoad request. The method always closes the http.Response Body.

func (BaseClient) ResetPartitionLoadSender

func (client BaseClient) ResetPartitionLoadSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) ResolveService

func (client BaseClient) ResolveService(ctx context.Context, serviceID string, partitionKeyType *int32, partitionKeyValue string, previousRspVersion string, timeout *int64) (result ResolvedServicePartition, err error)

ResolveService resolve a Service Fabric service partition, to get the endpoints of the service replicas. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. partitionKeyType - key type for the partition. This parameter is required if the partition scheme for the service is Int64Range or Named. The possible values are following. - None (1) - Indicates that the the PartitionKeyValue parameter is not specified. This is valid for the partitions with partitioning scheme as Singleton. This is the default value. The value is 1. - Int64Range (2) - Indicates that the the PartitionKeyValue parameter is an int64 partition key. This is valid for the partitions with partitioning scheme as Int64Range. The value is 2. - Named (3) - Indicates that the the PartitionKeyValue parameter is a name of the partition. This is valid for the partitions with partitioning scheme as Named. The value is 3. partitionKeyValue - partition key. This is required if the partition scheme for the service is Int64Range or Named. previousRspVersion - the value in the Version field of the response that was received previously. This is required if the user knows that the result that was got previously is stale. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) ResolveServicePreparer

func (client BaseClient) ResolveServicePreparer(ctx context.Context, serviceID string, partitionKeyType *int32, partitionKeyValue string, previousRspVersion string, timeout *int64) (*http.Request, error)

ResolveServicePreparer prepares the ResolveService request.

func (BaseClient) ResolveServiceResponder

func (client BaseClient) ResolveServiceResponder(resp *http.Response) (result ResolvedServicePartition, err error)

ResolveServiceResponder handles the response to the ResolveService request. The method always closes the http.Response Body.

func (BaseClient) ResolveServiceSender

func (client BaseClient) ResolveServiceSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) RestartDeployedCodePackage

func (client BaseClient) RestartDeployedCodePackage(ctx context.Context, nodeName string, applicationID string, restartDeployedCodePackageDescription RestartDeployedCodePackageDescription, timeout *int64) (result autorest.Response, err error)

RestartDeployedCodePackage restarts a code package deployed on a Service Fabric node in a cluster. This aborts the code package process, which will restart all the user service replicas hosted in that process. Parameters: nodeName - the name of the node. applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. restartDeployedCodePackageDescription - describes the deployed code package on Service Fabric node to restart. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) RestartDeployedCodePackagePreparer

func (client BaseClient) RestartDeployedCodePackagePreparer(ctx context.Context, nodeName string, applicationID string, restartDeployedCodePackageDescription RestartDeployedCodePackageDescription, timeout *int64) (*http.Request, error)

RestartDeployedCodePackagePreparer prepares the RestartDeployedCodePackage request.

func (BaseClient) RestartDeployedCodePackageResponder

func (client BaseClient) RestartDeployedCodePackageResponder(resp *http.Response) (result autorest.Response, err error)

RestartDeployedCodePackageResponder handles the response to the RestartDeployedCodePackage request. The method always closes the http.Response Body.

func (BaseClient) RestartDeployedCodePackageSender

func (client BaseClient) RestartDeployedCodePackageSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) RestartNode

func (client BaseClient) RestartNode(ctx context.Context, nodeName string, restartNodeDescription RestartNodeDescription, timeout *int64) (result autorest.Response, err error)

RestartNode restarts a Service Fabric cluster node that is already started. Parameters: nodeName - the name of the node. restartNodeDescription - the instance of the node to be restarted and a flag indicating the need to take dump of the fabric process. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) RestartNodePreparer

func (client BaseClient) RestartNodePreparer(ctx context.Context, nodeName string, restartNodeDescription RestartNodeDescription, timeout *int64) (*http.Request, error)

RestartNodePreparer prepares the RestartNode request.

func (BaseClient) RestartNodeResponder

func (client BaseClient) RestartNodeResponder(resp *http.Response) (result autorest.Response, err error)

RestartNodeResponder handles the response to the RestartNode request. The method always closes the http.Response Body.

func (BaseClient) RestartNodeSender

func (client BaseClient) RestartNodeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) RestartReplica

func (client BaseClient) RestartReplica(ctx context.Context, nodeName string, partitionID uuid.UUID, replicaID string, timeout *int64) (result autorest.Response, err error)

RestartReplica restarts a service replica of a persisted service running on a node. Warning - There are no safety checks performed when this API is used. Incorrect use of this API can lead to availability loss for stateful services. Parameters: nodeName - the name of the node. partitionID - the identity of the partition. replicaID - the identifier of the replica. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) RestartReplicaPreparer

func (client BaseClient) RestartReplicaPreparer(ctx context.Context, nodeName string, partitionID uuid.UUID, replicaID string, timeout *int64) (*http.Request, error)

RestartReplicaPreparer prepares the RestartReplica request.

func (BaseClient) RestartReplicaResponder

func (client BaseClient) RestartReplicaResponder(resp *http.Response) (result autorest.Response, err error)

RestartReplicaResponder handles the response to the RestartReplica request. The method always closes the http.Response Body.

func (BaseClient) RestartReplicaSender

func (client BaseClient) RestartReplicaSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) ResumeApplicationUpgrade

func (client BaseClient) ResumeApplicationUpgrade(ctx context.Context, applicationID string, resumeApplicationUpgradeDescription ResumeApplicationUpgradeDescription, timeout *int64) (result autorest.Response, err error)

ResumeApplicationUpgrade resumes an unmonitored manual Service Fabric application upgrade. Service Fabric upgrades one upgrade domain at a time. For unmonitored manual upgrades, after Service Fabric finishes an upgrade domain, it waits for you to call this API before proceeding to the next upgrade domain. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. resumeApplicationUpgradeDescription - describes the parameters for resuming an application upgrade. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) ResumeApplicationUpgradePreparer

func (client BaseClient) ResumeApplicationUpgradePreparer(ctx context.Context, applicationID string, resumeApplicationUpgradeDescription ResumeApplicationUpgradeDescription, timeout *int64) (*http.Request, error)

ResumeApplicationUpgradePreparer prepares the ResumeApplicationUpgrade request.

func (BaseClient) ResumeApplicationUpgradeResponder

func (client BaseClient) ResumeApplicationUpgradeResponder(resp *http.Response) (result autorest.Response, err error)

ResumeApplicationUpgradeResponder handles the response to the ResumeApplicationUpgrade request. The method always closes the http.Response Body.

func (BaseClient) ResumeApplicationUpgradeSender

func (client BaseClient) ResumeApplicationUpgradeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) RollbackApplicationUpgrade

func (client BaseClient) RollbackApplicationUpgrade(ctx context.Context, applicationID string, timeout *int64) (result autorest.Response, err error)

RollbackApplicationUpgrade starts rolling back the current application upgrade to the previous version. This API can only be used to rollback the current in-progress upgrade that is rolling forward to new version. If the application is not currently being upgraded use StartApplicationUpgrade API to upgrade it to desired version including rolling back to a previous version. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) RollbackApplicationUpgradePreparer

func (client BaseClient) RollbackApplicationUpgradePreparer(ctx context.Context, applicationID string, timeout *int64) (*http.Request, error)

RollbackApplicationUpgradePreparer prepares the RollbackApplicationUpgrade request.

func (BaseClient) RollbackApplicationUpgradeResponder

func (client BaseClient) RollbackApplicationUpgradeResponder(resp *http.Response) (result autorest.Response, err error)

RollbackApplicationUpgradeResponder handles the response to the RollbackApplicationUpgrade request. The method always closes the http.Response Body.

func (BaseClient) RollbackApplicationUpgradeSender

func (client BaseClient) RollbackApplicationUpgradeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) StartApplicationUpgrade

func (client BaseClient) StartApplicationUpgrade(ctx context.Context, applicationID string, applicationUpgradeDescription ApplicationUpgradeDescription, timeout *int64) (result autorest.Response, err error)

StartApplicationUpgrade validates the supplied application upgrade parameters and starts upgrading the application if the parameters are valid. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. applicationUpgradeDescription - describes the parameters for an application upgrade. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) StartApplicationUpgradePreparer

func (client BaseClient) StartApplicationUpgradePreparer(ctx context.Context, applicationID string, applicationUpgradeDescription ApplicationUpgradeDescription, timeout *int64) (*http.Request, error)

StartApplicationUpgradePreparer prepares the StartApplicationUpgrade request.

func (BaseClient) StartApplicationUpgradeResponder

func (client BaseClient) StartApplicationUpgradeResponder(resp *http.Response) (result autorest.Response, err error)

StartApplicationUpgradeResponder handles the response to the StartApplicationUpgrade request. The method always closes the http.Response Body.

func (BaseClient) StartApplicationUpgradeSender

func (client BaseClient) StartApplicationUpgradeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) StartChaos

func (client BaseClient) StartChaos(ctx context.Context, chaosParameters ChaosParameters, timeout *int64) (result autorest.Response, err error)

StartChaos if Chaos is not already running in the cluster, it starts Chaos with the passed in Chaos parameters. If Chaos is already running when this call is made, the call fails with the error code FABRIC_E_CHAOS_ALREADY_RUNNING. Please refer to the article [Induce controlled Chaos in Service Fabric clusters](https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-controlled-chaos) for more details. Parameters: chaosParameters - describes all the parameters to configure a Chaos run. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) StartChaosPreparer

func (client BaseClient) StartChaosPreparer(ctx context.Context, chaosParameters ChaosParameters, timeout *int64) (*http.Request, error)

StartChaosPreparer prepares the StartChaos request.

func (BaseClient) StartChaosResponder

func (client BaseClient) StartChaosResponder(resp *http.Response) (result autorest.Response, err error)

StartChaosResponder handles the response to the StartChaos request. The method always closes the http.Response Body.

func (BaseClient) StartChaosSender

func (client BaseClient) StartChaosSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) StartDataLoss

func (client BaseClient) StartDataLoss(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, dataLossMode string, timeout *int64) (result autorest.Response, err error)

StartDataLoss this API will induce data loss for the specified partition. It will trigger a call to the OnDataLoss API of the partition. Actual data loss will depend on the specified DataLossMode PartialDataLoss - Only a quorum of replicas are removed and OnDataLoss is triggered for the partition but actual data loss depends on the presence of in-flight replication. FullDataLoss - All replicas are removed hence all data is lost and OnDataLoss is triggered.

This API should only be called with a stateful service as the target.

Calling this API with a system service as the target is not advised.

Note: Once this API has been called, it cannot be reversed. Calling CancelOperation will only stop execution and clean up internal system state. It will not restore data if the command has progressed far enough to cause data loss.

Call the GetDataLossProgress API with the same OperationId to return information on the operation started with this API. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. partitionID - the identity of the partition. operationID - a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API dataLossMode - this enum is passed to the StartDataLoss API to indicate what type of data loss to induce. - Invalid - Reserved. Do not pass into API. - PartialDataLoss - PartialDataLoss option will cause a quorum of replicas to go down, triggering an OnDataLoss event in the system for the given partition. - FullDataLoss - FullDataLoss option will drop all the replicas which means that all the data will be lost. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) StartDataLossPreparer

func (client BaseClient) StartDataLossPreparer(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, dataLossMode string, timeout *int64) (*http.Request, error)

StartDataLossPreparer prepares the StartDataLoss request.

func (BaseClient) StartDataLossResponder

func (client BaseClient) StartDataLossResponder(resp *http.Response) (result autorest.Response, err error)

StartDataLossResponder handles the response to the StartDataLoss request. The method always closes the http.Response Body.

func (BaseClient) StartDataLossSender

func (client BaseClient) StartDataLossSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) StartNode

func (client BaseClient) StartNode(ctx context.Context, nodeName string, startNodeDescription StartNodeDescription, timeout *int64) (result autorest.Response, err error)

StartNode starts a Service Fabric cluster node that is already stopped. Parameters: nodeName - the name of the node. startNodeDescription - the instance id of the stopped node that needs to be started. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) StartNodePreparer

func (client BaseClient) StartNodePreparer(ctx context.Context, nodeName string, startNodeDescription StartNodeDescription, timeout *int64) (*http.Request, error)

StartNodePreparer prepares the StartNode request.

func (BaseClient) StartNodeResponder

func (client BaseClient) StartNodeResponder(resp *http.Response) (result autorest.Response, err error)

StartNodeResponder handles the response to the StartNode request. The method always closes the http.Response Body.

func (BaseClient) StartNodeSender

func (client BaseClient) StartNodeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) StartNodeTransition

func (client BaseClient) StartNodeTransition(ctx context.Context, nodeName string, operationID uuid.UUID, nodeTransitionType string, nodeInstanceID string, stopDurationInSeconds int32, timeout *int64) (result autorest.Response, err error)

StartNodeTransition starts or stops a cluster node. A cluster node is a process, not the OS instance itself. To start a node, pass in "Start" for the NodeTransitionType parameter. To stop a node, pass in "Stop" for the NodeTransitionType parameter. This API starts the operation - when the API returns the node may not have finished transitioning yet. Call GetNodeTransitionProgress with the same OperationId to get the progress of the operation. Parameters: nodeName - the name of the node. operationID - a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API nodeTransitionType - indicates the type of transition to perform. NodeTransitionType.Start will start a stopped node. NodeTransitionType.Stop will stop a node that is up. - Invalid - Reserved. Do not pass into API. - Start - Transition a stopped node to up. - Stop - Transition an up node to stopped. nodeInstanceID - the node instance ID of the target node. This can be determined through GetNodeInfo API. stopDurationInSeconds - the duration, in seconds, to keep the node stopped. The minimum value is 600, the maximum is 14400. After this time expires, the node will automatically come back up. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) StartNodeTransitionPreparer

func (client BaseClient) StartNodeTransitionPreparer(ctx context.Context, nodeName string, operationID uuid.UUID, nodeTransitionType string, nodeInstanceID string, stopDurationInSeconds int32, timeout *int64) (*http.Request, error)

StartNodeTransitionPreparer prepares the StartNodeTransition request.

func (BaseClient) StartNodeTransitionResponder

func (client BaseClient) StartNodeTransitionResponder(resp *http.Response) (result autorest.Response, err error)

StartNodeTransitionResponder handles the response to the StartNodeTransition request. The method always closes the http.Response Body.

func (BaseClient) StartNodeTransitionSender

func (client BaseClient) StartNodeTransitionSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) StartPartitionRestart

func (client BaseClient) StartPartitionRestart(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, restartPartitionMode string, timeout *int64) (result autorest.Response, err error)

StartPartitionRestart this API is useful for testing failover.

If used to target a stateless service partition, RestartPartitionMode must be AllReplicasOrInstances.

Call the GetPartitionRestartProgress API using the same OperationId to get the progress. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. partitionID - the identity of the partition. operationID - a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API restartPartitionMode - - Invalid - Reserved. Do not pass into API. - AllReplicasOrInstances - All replicas or instances in the partition are restarted at once. - OnlyActiveSecondaries - Only the secondary replicas are restarted. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) StartPartitionRestartPreparer

func (client BaseClient) StartPartitionRestartPreparer(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, restartPartitionMode string, timeout *int64) (*http.Request, error)

StartPartitionRestartPreparer prepares the StartPartitionRestart request.

func (BaseClient) StartPartitionRestartResponder

func (client BaseClient) StartPartitionRestartResponder(resp *http.Response) (result autorest.Response, err error)

StartPartitionRestartResponder handles the response to the StartPartitionRestart request. The method always closes the http.Response Body.

func (BaseClient) StartPartitionRestartSender

func (client BaseClient) StartPartitionRestartSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) StartQuorumLoss

func (client BaseClient) StartQuorumLoss(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, quorumLossMode string, quorumLossDuration int32, timeout *int64) (result autorest.Response, err error)

StartQuorumLoss induces quorum loss for a given stateful service partition. This API is useful for a temporary quorum loss situation on your service.

Call the GetQuorumLossProgress API with the same OperationId to return information on the operation started with this API.

This can only be called on stateful persisted (HasPersistedState==true) services. Do not use this API on stateless services or stateful in-memory only services. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. partitionID - the identity of the partition. operationID - a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API quorumLossMode - this enum is passed to the StartQuorumLoss API to indicate what type of quorum loss to induce. - Invalid - Reserved. Do not pass into API. - QuorumReplicas - Partial Quorum loss mode : Minimum number of replicas for a partition will be down that will cause a quorum loss. - AllReplicas- Full Quorum loss mode : All replicas for a partition will be down that will cause a quorum loss. quorumLossDuration - the amount of time for which the partition will be kept in quorum loss. This must be specified in seconds. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) StartQuorumLossPreparer

func (client BaseClient) StartQuorumLossPreparer(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, quorumLossMode string, quorumLossDuration int32, timeout *int64) (*http.Request, error)

StartQuorumLossPreparer prepares the StartQuorumLoss request.

func (BaseClient) StartQuorumLossResponder

func (client BaseClient) StartQuorumLossResponder(resp *http.Response) (result autorest.Response, err error)

StartQuorumLossResponder handles the response to the StartQuorumLoss request. The method always closes the http.Response Body.

func (BaseClient) StartQuorumLossSender

func (client BaseClient) StartQuorumLossSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) StopChaos

func (client BaseClient) StopChaos(ctx context.Context, timeout *int64) (result autorest.Response, err error)

StopChaos stops Chaos from scheduling further faults; but, the in-flight faults are not affected. Parameters: timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) StopChaosPreparer

func (client BaseClient) StopChaosPreparer(ctx context.Context, timeout *int64) (*http.Request, error)

StopChaosPreparer prepares the StopChaos request.

func (BaseClient) StopChaosResponder

func (client BaseClient) StopChaosResponder(resp *http.Response) (result autorest.Response, err error)

StopChaosResponder handles the response to the StopChaos request. The method always closes the http.Response Body.

func (BaseClient) StopChaosSender

func (client BaseClient) StopChaosSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) StopNode

func (client BaseClient) StopNode(ctx context.Context, nodeName string, stopNodeDescription StopNodeDescription, timeout *int64) (result autorest.Response, err error)

StopNode stops a Service Fabric cluster node that is in a started state. The node will stay down until start node is called. Parameters: nodeName - the name of the node. stopNodeDescription - the instance id of the stopped node that needs to be stopped. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) StopNodePreparer

func (client BaseClient) StopNodePreparer(ctx context.Context, nodeName string, stopNodeDescription StopNodeDescription, timeout *int64) (*http.Request, error)

StopNodePreparer prepares the StopNode request.

func (BaseClient) StopNodeResponder

func (client BaseClient) StopNodeResponder(resp *http.Response) (result autorest.Response, err error)

StopNodeResponder handles the response to the StopNode request. The method always closes the http.Response Body.

func (BaseClient) StopNodeSender

func (client BaseClient) StopNodeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) UnprovisionApplicationType

func (client BaseClient) UnprovisionApplicationType(ctx context.Context, applicationTypeName string, applicationTypeImageStoreVersion ApplicationTypeImageStoreVersion, timeout *int64) (result autorest.Response, err error)

UnprovisionApplicationType removes or unregisters a Service Fabric application type from the cluster. This operation can only be performed if all application instance of the application type has been deleted. Once the application type is unregistered, no new application instance can be created for this particular application type. Parameters: applicationTypeName - the name of the application type. applicationTypeImageStoreVersion - the version of the application type in the image store. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) UnprovisionApplicationTypePreparer

func (client BaseClient) UnprovisionApplicationTypePreparer(ctx context.Context, applicationTypeName string, applicationTypeImageStoreVersion ApplicationTypeImageStoreVersion, timeout *int64) (*http.Request, error)

UnprovisionApplicationTypePreparer prepares the UnprovisionApplicationType request.

func (BaseClient) UnprovisionApplicationTypeResponder

func (client BaseClient) UnprovisionApplicationTypeResponder(resp *http.Response) (result autorest.Response, err error)

UnprovisionApplicationTypeResponder handles the response to the UnprovisionApplicationType request. The method always closes the http.Response Body.

func (BaseClient) UnprovisionApplicationTypeSender

func (client BaseClient) UnprovisionApplicationTypeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) UpdateApplicationUpgrade

func (client BaseClient) UpdateApplicationUpgrade(ctx context.Context, applicationID string, applicationUpgradeUpdateDescription ApplicationUpgradeUpdateDescription, timeout *int64) (result autorest.Response, err error)

UpdateApplicationUpgrade updates the parameters of an ongoing application upgrade from the ones specified at the time of starting the application upgrade. This may be required to mitigate stuck application upgrades due to incorrect parameters or issues in the application to make progress. Parameters: applicationID - the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. applicationUpgradeUpdateDescription - describes the parameters for updating an existing application upgrade. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) UpdateApplicationUpgradePreparer

func (client BaseClient) UpdateApplicationUpgradePreparer(ctx context.Context, applicationID string, applicationUpgradeUpdateDescription ApplicationUpgradeUpdateDescription, timeout *int64) (*http.Request, error)

UpdateApplicationUpgradePreparer prepares the UpdateApplicationUpgrade request.

func (BaseClient) UpdateApplicationUpgradeResponder

func (client BaseClient) UpdateApplicationUpgradeResponder(resp *http.Response) (result autorest.Response, err error)

UpdateApplicationUpgradeResponder handles the response to the UpdateApplicationUpgrade request. The method always closes the http.Response Body.

func (BaseClient) UpdateApplicationUpgradeSender

func (client BaseClient) UpdateApplicationUpgradeSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) UpdateService

func (client BaseClient) UpdateService(ctx context.Context, serviceID string, serviceUpdateDescription BasicServiceUpdateDescription, timeout *int64) (result autorest.Response, err error)

UpdateService updates the specified service using the given update description. Parameters: serviceID - the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. serviceUpdateDescription - the updated configuration for the service. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) UpdateServicePreparer

func (client BaseClient) UpdateServicePreparer(ctx context.Context, serviceID string, serviceUpdateDescription BasicServiceUpdateDescription, timeout *int64) (*http.Request, error)

UpdateServicePreparer prepares the UpdateService request.

func (BaseClient) UpdateServiceResponder

func (client BaseClient) UpdateServiceResponder(resp *http.Response) (result autorest.Response, err error)

UpdateServiceResponder handles the response to the UpdateService request. The method always closes the http.Response Body.

func (BaseClient) UpdateServiceSender

func (client BaseClient) UpdateServiceSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) UploadFile

func (client BaseClient) UploadFile(ctx context.Context, contentPath string, timeout *int64) (result autorest.Response, err error)

UploadFile uploads contents of the file to the image store. Use this API if the file is small enough to upload again if the connection fails. The file's data needs to be added to the request body. The contents will be uploaded to the specified path. Parameters: contentPath - relative path to file or folder in the image store from its root. timeout - the server timeout for performing the operation in seconds. This specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.

func (BaseClient) UploadFilePreparer

func (client BaseClient) UploadFilePreparer(ctx context.Context, contentPath string, timeout *int64) (*http.Request, error)

UploadFilePreparer prepares the UploadFile request.

func (BaseClient) UploadFileResponder

func (client BaseClient) UploadFileResponder(resp *http.Response) (result autorest.Response, err error)

UploadFileResponder handles the response to the UploadFile request. The method always closes the http.Response Body.

func (BaseClient) UploadFileSender

func (client BaseClient) UploadFileSender(req *http.Request) (*http.Response, error)

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

type BasicChaosEvent

type BasicChaosEvent interface {
	AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
	AsStartedChaosEvent() (*StartedChaosEvent, bool)
	AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
	AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
	AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
	AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
	AsChaosEvent() (*ChaosEvent, bool)
}

BasicChaosEvent represents an event generated during a Chaos run.

type BasicDeployedServiceReplicaDetailInfo

type BasicDeployedServiceReplicaDetailInfo interface {
	AsDeployedStatefulServiceReplicaDetailInfo() (*DeployedStatefulServiceReplicaDetailInfo, bool)
	AsDeployedStatelessServiceInstanceDetailInfo() (*DeployedStatelessServiceInstanceDetailInfo, bool)
	AsDeployedServiceReplicaDetailInfo() (*DeployedServiceReplicaDetailInfo, bool)
}

BasicDeployedServiceReplicaDetailInfo information about a Service Fabric service replica deployed on a node.

type BasicDeployedServiceReplicaInfo

type BasicDeployedServiceReplicaInfo interface {
	AsDeployedStatefulServiceReplicaInfo() (*DeployedStatefulServiceReplicaInfo, bool)
	AsDeployedStatelessServiceInstanceInfo() (*DeployedStatelessServiceInstanceInfo, bool)
	AsDeployedServiceReplicaInfo() (*DeployedServiceReplicaInfo, bool)
}

BasicDeployedServiceReplicaInfo information about a Service Fabric service replica deployed on a node.

type BasicHealthEvaluation

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

BasicHealthEvaluation represents a health evaluation which describes the data and the algorithm used by health manager to evaluate the health of an entity.

type BasicPartitionInformation

type BasicPartitionInformation interface {
	AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)
	AsNamedPartitionInformation() (*NamedPartitionInformation, bool)
	AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)
	AsPartitionInformation() (*PartitionInformation, bool)
}

BasicPartitionInformation information about the partition identity, partitioning scheme and keys supported by it.

type BasicPartitionSafetyCheck

type BasicPartitionSafetyCheck interface {
	AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
	AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
	AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
	AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
	AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
	AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
	AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
}

BasicPartitionSafetyCheck represents a safety check for the service partition being performed by service fabric before continuing with operations.

type BasicPartitionSchemeDescription

type BasicPartitionSchemeDescription interface {
	AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
	AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
	AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
	AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)
}

BasicPartitionSchemeDescription describes how the service is partitioned.

type BasicReplicaHealth

type BasicReplicaHealth interface {
	AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)
	AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)
	AsReplicaHealth() (*ReplicaHealth, bool)
}

BasicReplicaHealth represents a base class for stateful service replica or stateless service instance health. Contains the replica aggregated health state, the health events and the unhealthy evaluations.

type BasicReplicaHealthState

type BasicReplicaHealthState interface {
	AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)
	AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)
	AsReplicaHealthState() (*ReplicaHealthState, bool)
}

BasicReplicaHealthState represents a base class for stateful service replica or stateless service instance health state.

type BasicReplicaInfo

type BasicReplicaInfo interface {
	AsStatefulServiceReplicaInfo() (*StatefulServiceReplicaInfo, bool)
	AsStatelessServiceInstanceInfo() (*StatelessServiceInstanceInfo, bool)
	AsReplicaInfo() (*ReplicaInfo, bool)
}

BasicReplicaInfo information about the identity, status, health, node name, uptime, and other details about the replica.

type BasicReplicaStatusBase

type BasicReplicaStatusBase interface {
	AsKeyValueStoreReplicaStatus() (*KeyValueStoreReplicaStatus, bool)
	AsReplicaStatusBase() (*ReplicaStatusBase, bool)
}

BasicReplicaStatusBase information about the replica.

type BasicReplicatorStatus

type BasicReplicatorStatus interface {
	AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)
	AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)
	AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)
	AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)
	AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)
	AsReplicatorStatus() (*ReplicatorStatus, bool)
}

BasicReplicatorStatus represents a base class for primary or secondary replicator status. Contains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc.

type BasicSafetyCheck

type BasicSafetyCheck interface {
	AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
	AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
	AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
	AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
	AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
	AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
	AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
	AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
	AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
	AsSafetyCheck() (*SafetyCheck, bool)
}

BasicSafetyCheck represents a safety check performed by service fabric before continuing with the operations. These checks ensure the avaiability of the service and the reliability of the state.

type BasicSecondaryReplicatorStatus

type BasicSecondaryReplicatorStatus interface {
	AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)
	AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)
	AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)
}

BasicSecondaryReplicatorStatus ...

type BasicServiceDescription

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

BasicServiceDescription a ServiceDescription contains all of the information necessary to create a service.

type BasicServiceInfo

type BasicServiceInfo interface {
	AsStatefulServiceInfo() (*StatefulServiceInfo, bool)
	AsStatelessServiceInfo() (*StatelessServiceInfo, bool)
	AsServiceInfo() (*ServiceInfo, bool)
}

BasicServiceInfo information about a Service Fabric service.

type BasicServicePartitionInfo

type BasicServicePartitionInfo interface {
	AsStatefulServicePartitionInfo() (*StatefulServicePartitionInfo, bool)
	AsStatelessServicePartitionInfo() (*StatelessServicePartitionInfo, bool)
	AsServicePartitionInfo() (*ServicePartitionInfo, bool)
}

BasicServicePartitionInfo information about a partition of a Service Fabric service.

type BasicServicePlacementPolicyDescription

type BasicServicePlacementPolicyDescription interface {
	AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)
	AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)
	AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)
	AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)
	AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)
	AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
}

BasicServicePlacementPolicyDescription describes the policy to be used for placement of a Service Fabric service.

type BasicServiceTypeDescription

type BasicServiceTypeDescription interface {
	AsStatefulServiceTypeDescription() (*StatefulServiceTypeDescription, bool)
	AsStatelessServiceTypeDescription() (*StatelessServiceTypeDescription, bool)
	AsServiceTypeDescription() (*ServiceTypeDescription, bool)
}

BasicServiceTypeDescription describes a service type defined in the service manifest of a provisioned application type. The properties the the ones defined in the service manifest.

type BasicServiceUpdateDescription

type BasicServiceUpdateDescription interface {
	AsStatefulServiceUpdateDescription() (*StatefulServiceUpdateDescription, bool)
	AsStatelessServiceUpdateDescription() (*StatelessServiceUpdateDescription, bool)
	AsServiceUpdateDescription() (*ServiceUpdateDescription, bool)
}

BasicServiceUpdateDescription a ServiceUpdateDescription contains all of the information necessary to update a service.

type ChaosContext

type ChaosContext struct {
	Map interface{} `json:"Map,omitempty"`
}

ChaosContext describes a map, which is a collection of (string, string) type key-value pairs. The map can be used to record information about the Chaos run. There cannot be more than 100 such pairs and each string (key or value) can be at most 4095 characters long. This map is set by the starter of the Chaos run to optionally store the context about the specific run.

type ChaosContextMapItem

type ChaosContextMapItem struct {
	// Key - The key for a ChaosContextMapItem.
	Key *string `json:"Key,omitempty"`
	// Value - The value for a ChaosContextMapItem.
	Value *string `json:"Value,omitempty"`
}

ChaosContextMapItem describes an item in the ChaosContextMap in ChaosParameters.

type ChaosEvent

type ChaosEvent struct {
	TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"`
	// Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting'
	Kind KindBasicChaosEvent `json:"Kind,omitempty"`
}

ChaosEvent represents an event generated during a Chaos run.

func (ChaosEvent) AsBasicChaosEvent

func (ce ChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)

AsBasicChaosEvent is the BasicChaosEvent implementation for ChaosEvent.

func (ChaosEvent) AsChaosEvent

func (ce ChaosEvent) AsChaosEvent() (*ChaosEvent, bool)

AsChaosEvent is the BasicChaosEvent implementation for ChaosEvent.

func (ChaosEvent) AsExecutingFaultsChaosEvent

func (ce ChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)

AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for ChaosEvent.

func (ChaosEvent) AsStartedChaosEvent

func (ce ChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)

AsStartedChaosEvent is the BasicChaosEvent implementation for ChaosEvent.

func (ChaosEvent) AsStoppedChaosEvent

func (ce ChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)

AsStoppedChaosEvent is the BasicChaosEvent implementation for ChaosEvent.

func (ChaosEvent) AsTestErrorChaosEvent

func (ce ChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)

AsTestErrorChaosEvent is the BasicChaosEvent implementation for ChaosEvent.

func (ChaosEvent) AsValidationFailedChaosEvent

func (ce ChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)

AsValidationFailedChaosEvent is the BasicChaosEvent implementation for ChaosEvent.

func (ChaosEvent) AsWaitingChaosEvent

func (ce ChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)

AsWaitingChaosEvent is the BasicChaosEvent implementation for ChaosEvent.

func (ChaosEvent) MarshalJSON

func (ce ChaosEvent) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ChaosEvent.

type ChaosEventWrapper

type ChaosEventWrapper struct {
	ChaosEvent BasicChaosEvent `json:"ChaosEvent,omitempty"`
}

ChaosEventWrapper wrapper object for Chaos event.

func (*ChaosEventWrapper) UnmarshalJSON

func (cew *ChaosEventWrapper) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ChaosEventWrapper struct.

type ChaosParameters

type ChaosParameters struct {
	// TimeToRunInSeconds - Total time (in seconds) for which Chaos will run before automatically stopping. The maximum allowed value is 4,294,967,295 (System.UInt32.MaxValue).
	// Depending on other time settings, the actual running time of Chaos can be larger than the TimeToRunInSeconds.
	// To be conservative, we should expect Chaos to automatically stop after
	// (MaxClusterStabilizationTimeoutInSeconds + MaxConcurrentFaults * WaitTimeBetweenFaultsInSeconds + WaitTimeBetweenIterationsInSeconds) seconds.
	TimeToRunInSeconds *string `json:"TimeToRunInSeconds,omitempty"`
	// MaxClusterStabilizationTimeoutInSeconds - The maximum amount of time to wait for all cluster entities to become stable and healthy. Chaos executes in iterations and at the start of each iteration it validates the health of cluster entities.
	// During validation if a cluster entity is not stable and healthy within MaxClusterStabilizationTimeoutInSeconds, Chaos generates a validation failed event.
	MaxClusterStabilizationTimeoutInSeconds *int64 `json:"MaxClusterStabilizationTimeoutInSeconds,omitempty"`
	// MaxConcurrentFaults - MaxConcurrentFaults is the maximum number of concurrent faults induced per iteration.
	// Chaos executes in iterations and two consecutive iterations are separated by a validation phase.
	// The higher the concurrency, the more aggressive the injection of faults -- inducing more complex series of states to uncover bugs.
	// The recommendation is to start with a value of 2 or 3 and to exercise caution while moving up.
	MaxConcurrentFaults *int64 `json:"MaxConcurrentFaults,omitempty"`
	// EnableMoveReplicaFaults - Enables or disables the move primary and move secondary faults.
	EnableMoveReplicaFaults *bool `json:"EnableMoveReplicaFaults,omitempty"`
	// WaitTimeBetweenFaultsInSeconds - Wait time (in seconds) between consecutive faults within a single iteration.
	// The larger the value, the lower the overlapping between faults and the simpler the sequence of state transitions that the cluster goes through.
	// The recommendation is to start with a value between 1 and 5 and exercise caution while moving up.
	WaitTimeBetweenFaultsInSeconds *int64 `json:"WaitTimeBetweenFaultsInSeconds,omitempty"`
	// WaitTimeBetweenIterationsInSeconds - Time-separation (in seconds) between two consecutive iterations of Chaos.
	// The larger the value, the lower the fault injection rate.
	WaitTimeBetweenIterationsInSeconds *int64 `json:"WaitTimeBetweenIterationsInSeconds,omitempty"`
	// ClusterHealthPolicy - Passed-in cluster health policy is used to validate health of the cluster in between Chaos iterations. If the cluster health is in error or if an unexpected exception happens during fault execution--to provide the cluster with some time to recuperate--Chaos will wait for 30 minutes before the next health-check.
	ClusterHealthPolicy *ClusterHealthPolicy `json:"ClusterHealthPolicy,omitempty"`
	Context             *ChaosContext        `json:"Context,omitempty"`
}

ChaosParameters defines all the parameters to configure a Chaos run.

type ChaosReport

type ChaosReport struct {
	autorest.Response `json:"-"`
	ChaosParameters   *ChaosParameters `json:"ChaosParameters,omitempty"`
	// Status - Current status of the Chaos run.
	// - Invalid - Indicates an invalid Chaos status. All Service Fabric enumerations have the invalid type.
	//   The valus is zero.
	// - Running - Indicates that Chaos is not stopped.
	// - Stopped - Indicates that Chaos is not scheduling futher faults. Possible values include: 'Status5Invalid', 'Status5Running', 'Status5Stopped'
	Status            Status5 `json:"Status,omitempty"`
	ContinuationToken *string `json:"ContinuationToken,omitempty"`
	// History - List of ChaosEvent's that meet the user-supplied criteria.
	History *[]ChaosEventWrapper `json:"History,omitempty"`
}

ChaosReport contains detailed Chaos report.

type ClusterHealth

type ClusterHealth struct {
	autorest.Response `json:"-"`
	// NodeHealthStates - Cluster node health states as found in the health store.
	NodeHealthStates *[]NodeHealthState `json:"NodeHealthStates,omitempty"`
	// ApplicationHealthStates - Cluster application health states as found in the health store.
	ApplicationHealthStates *[]ApplicationHealthState `json:"ApplicationHealthStates,omitempty"`
	// AggregatedHealthState - The HealthState representing the aggregated health state of the entity computed by Health Manager.
	// The health evaluation of the entity reflects all events reported on the entity and its children (if any).
	// The aggregation is done by applying the desired health policy.
	// . Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown'
	AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"`
	// HealthEvents - The list of health events reported on the entity.
	HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"`
	// UnhealthyEvaluations - The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
}

ClusterHealth represents the health of the cluster. Contains the cluster aggregated health state, the cluster application and node health states as well as the health events and the unhealthy evaluations.

type ClusterHealthChunk

type ClusterHealthChunk struct {
	autorest.Response `json:"-"`
	// HealthState - The HealthState representing the aggregated health state of the cluster computed by Health Manager.
	// The health evaluation of the entity reflects all events reported on the entity and its children (if any).
	// The aggregation is done by applying the desired cluster health policy and the application health policies.
	// . Possible values include: 'HealthState1Invalid', 'HealthState1Ok', 'HealthState1Warning', 'HealthState1Error', 'HealthState1Unknown'
	HealthState HealthState1 `json:"HealthState,omitempty"`
	// NodeHealthStateChunks - The list of node health state chunks in the cluster that respect the filters in the cluster health chunk query description.
	NodeHealthStateChunks *NodeHealthStateChunkList `json:"NodeHealthStateChunks,omitempty"`
	// ApplicationHealthStateChunks - The list of application health state chunks in the cluster that respect the filters in the cluster health chunk query description.
	ApplicationHealthStateChunks *ApplicationHealthStateChunkList `json:"ApplicationHealthStateChunks,omitempty"`
}

ClusterHealthChunk represents the health chunk of the cluster. Contains the cluster aggregated health state, and the cluster entities that respect the input filter.

type ClusterHealthChunkQueryDescription

type ClusterHealthChunkQueryDescription struct {
	// NodeFilters - Defines a list of filters that specify which nodes to be included in the returned cluster health chunk.
	// If no filters are specified, no nodes are returned. All the nodes are used to evaluate the cluster's aggregated health state, regardless of the input filters.
	// The cluster health chunk query may specify multiple node filters.
	// For example, it can specify a filter to return all nodes with health state Error and another filter to always include a node identified by its NodeName.
	NodeFilters *[]NodeHealthStateFilter `json:"NodeFilters,omitempty"`
	// ApplicationFilters - Defines a list of filters that specify which applications to be included in the returned cluster health chunk.
	// If no filters are specified, no applications are returned. All the applications are used to evaluate the cluster's aggregated health state, regardless of the input filters.
	// The cluster health chunk query may specify multiple application filters.
	// For example, it can specify a filter to return all applications with health state Error and another filter to always include applications of a specified application type.
	ApplicationFilters        *[]ApplicationHealthStateFilter `json:"ApplicationFilters,omitempty"`
	ClusterHealthPolicy       *ClusterHealthPolicy            `json:"ClusterHealthPolicy,omitempty"`
	ApplicationHealthPolicies *ApplicationHealthPolicies      `json:"ApplicationHealthPolicies,omitempty"`
}

ClusterHealthChunkQueryDescription the cluster health chunk query description, which can specify the health policies to evaluate cluster health and very expressive filters to select which cluster entities to include in response.

type ClusterHealthPolicies

type ClusterHealthPolicies struct {
	ApplicationHealthPolicyMap *[]ApplicationHealthPolicyMapItem `json:"ApplicationHealthPolicyMap,omitempty"`
	ClusterHealthPolicy        *ClusterHealthPolicy              `json:"ClusterHealthPolicy,omitempty"`
}

ClusterHealthPolicies health policies to evaluate cluster health.

type ClusterHealthPolicy

type ClusterHealthPolicy struct {
	// ConsiderWarningAsError - Indicates whether warnings are treated with the same severity as errors.
	ConsiderWarningAsError *bool `json:"ConsiderWarningAsError,omitempty"`
	// MaxPercentUnhealthyNodes - The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10.
	// The percentage represents the maximum tolerated percentage of nodes that can be unhealthy before the cluster is considered in error.
	// If the percentage is respected but there is at least one unhealthy node, the health is evaluated as Warning.
	// The percentage is calculated by dividing the number of unhealthy nodes over the total number of nodes in the cluster.
	// The computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.
	// In large clusters, some nodes will always be down or out for repairs, so this percentage should be configured to tolerate that.
	MaxPercentUnhealthyNodes *int32 `json:"MaxPercentUnhealthyNodes,omitempty"`
	// MaxPercentUnhealthyApplications - The maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10.
	// The percentage represents the maximum tolerated percentage of applications that can be unhealthy before the cluster is considered in error.
	// If the percentage is respected but there is at least one unhealthy application, the health is evaluated as Warning.
	// This is calculated by dividing the number of unhealthy applications over the total number of application instances in the cluster, excluding applications of application types that are included in the ApplicationTypeHealthPolicyMap.
	// The computation rounds up to tolerate one failure on small numbers of applications. Default percentage is zero.
	MaxPercentUnhealthyApplications *int32                                `json:"MaxPercentUnhealthyApplications,omitempty"`
	ApplicationTypeHealthPolicyMap  *[]ApplicationTypeHealthPolicyMapItem `json:"ApplicationTypeHealthPolicyMap,omitempty"`
}

ClusterHealthPolicy defines a health policy used to evaluate the health of the cluster or of a cluster node.

type ClusterManifest

type ClusterManifest struct {
	autorest.Response `json:"-"`
	// Manifest - The contents of the cluster manifest file.
	Manifest *string `json:"Manifest,omitempty"`
}

ClusterManifest information about the cluster manifest.

type ClusterUpgradeDescriptionObject

type ClusterUpgradeDescriptionObject struct {
	ConfigVersion *string `json:"ConfigVersion,omitempty"`
	CodeVersion   *string `json:"CodeVersion,omitempty"`
	// UpgradeKind - Possible values include: 'UpgradeKind1Invalid', 'UpgradeKind1Rolling'
	UpgradeKind UpgradeKind1 `json:"UpgradeKind,omitempty"`
	// RollingUpgradeMode - Possible values include: 'RollingUpgradeMode2Invalid', 'RollingUpgradeMode2UnmonitoredAuto', 'RollingUpgradeMode2UnmonitoredManual', 'RollingUpgradeMode2Monitored'
	RollingUpgradeMode                     RollingUpgradeMode2               `json:"RollingUpgradeMode,omitempty"`
	UpgradeReplicaSetCheckTimeoutInSeconds *int64                            `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	ForceRestart                           *bool                             `json:"ForceRestart,omitempty"`
	EnableDeltaHealthEvaluation            *bool                             `json:"EnableDeltaHealthEvaluation,omitempty"`
	MonitoringPolicy                       *MonitoringPolicyDescription      `json:"MonitoringPolicy,omitempty"`
	ClusterHealthPolicy                    *ClusterHealthPolicy              `json:"ClusterHealthPolicy,omitempty"`
	ClusterUpgradeHealthPolicy             *ClusterUpgradeHealthPolicyObject `json:"ClusterUpgradeHealthPolicy,omitempty"`
	ApplicationHealthPolicyMap             *[]ApplicationHealthPolicyMapItem `json:"ApplicationHealthPolicyMap,omitempty"`
}

ClusterUpgradeDescriptionObject represents a ServiceFabric cluster upgrade

type ClusterUpgradeHealthPolicyObject

type ClusterUpgradeHealthPolicyObject struct {
	// MaxPercentDeltaUnhealthyNodes - The maximum allowed percentage of nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. The default value is 10%.
	MaxPercentDeltaUnhealthyNodes *int32 `json:"MaxPercentDeltaUnhealthyNodes,omitempty"`
	// MaxPercentUpgradeDomainDeltaUnhealthyNodes - The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits. The default value is 15%.
	MaxPercentUpgradeDomainDeltaUnhealthyNodes *int32 `json:"MaxPercentUpgradeDomainDeltaUnhealthyNodes,omitempty"`
}

ClusterUpgradeHealthPolicyObject defines a health policy used to evaluate the health of the cluster during a cluster upgrade.

type ClusterUpgradeProgressObject

type ClusterUpgradeProgressObject struct {
	autorest.Response `json:"-"`
	CodeVersion       *string              `json:"CodeVersion,omitempty"`
	ConfigVersion     *string              `json:"ConfigVersion,omitempty"`
	UpgradeDomains    *[]UpgradeDomainInfo `json:"UpgradeDomains,omitempty"`
	// UpgradeState - Possible values include: 'UpgradeState1Invalid', 'UpgradeState1RollingBackInProgress', 'UpgradeState1RollingBackCompleted', 'UpgradeState1RollingForwardPending', 'UpgradeState1RollingForwardInProgress', 'UpgradeState1RollingForwardCompleted', 'UpgradeState1Failed'
	UpgradeState      UpgradeState1 `json:"UpgradeState,omitempty"`
	NextUpgradeDomain *string       `json:"NextUpgradeDomain,omitempty"`
	// RollingUpgradeMode - Possible values include: 'RollingUpgradeMode3Invalid', 'RollingUpgradeMode3UnmonitoredAuto', 'RollingUpgradeMode3UnmonitoredManual', 'RollingUpgradeMode3Monitored'
	RollingUpgradeMode                  RollingUpgradeMode3               `json:"RollingUpgradeMode,omitempty"`
	UpgradeDescription                  *ClusterUpgradeDescriptionObject  `json:"UpgradeDescription,omitempty"`
	UpgradeDurationInMilliseconds       *string                           `json:"UpgradeDurationInMilliseconds,omitempty"`
	UpgradeDomainDurationInMilliseconds *string                           `json:"UpgradeDomainDurationInMilliseconds,omitempty"`
	UnhealthyEvaluations                *[]HealthEvaluationWrapper        `json:"UnhealthyEvaluations,omitempty"`
	CurrentUpgradeDomainProgress        *CurrentUpgradeDomainProgressInfo `json:"CurrentUpgradeDomainProgress,omitempty"`
	StartTimestampUtc                   *string                           `json:"StartTimestampUtc,omitempty"`
	FailureTimestampUtc                 *string                           `json:"FailureTimestampUtc,omitempty"`
	// FailureReason - Possible values include: 'FailureReason1None', 'FailureReason1Interrupted', 'FailureReason1HealthCheck', 'FailureReason1UpgradeDomainTimeout', 'FailureReason1UpgradeTimeout'
	FailureReason                  FailureReason1                     `json:"FailureReason,omitempty"`
	UpgradeDomainProgressAtFailure *FailedUpgradeDomainProgressObject `json:"UpgradeDomainProgressAtFailure,omitempty"`
}

ClusterUpgradeProgressObject information about a cluster upgrade.

type Code

type Code string

Code enumerates the values for code.

const (
	// EABORT ...
	EABORT Code = "E_ABORT"
	// FABRICEAPPLICATIONALREADYEXISTS ...
	FABRICEAPPLICATIONALREADYEXISTS Code = "FABRIC_E_APPLICATION_ALREADY_EXISTS"
	// FABRICEAPPLICATIONALREADYINTARGETVERSION ...
	FABRICEAPPLICATIONALREADYINTARGETVERSION Code = "FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION"
	// FABRICEAPPLICATIONNOTFOUND ...
	FABRICEAPPLICATIONNOTFOUND Code = "FABRIC_E_APPLICATION_NOT_FOUND"
	// FABRICEAPPLICATIONNOTUPGRADING ...
	FABRICEAPPLICATIONNOTUPGRADING Code = "FABRIC_E_APPLICATION_NOT_UPGRADING"
	// FABRICEAPPLICATIONTYPEALREADYEXISTS ...
	FABRICEAPPLICATIONTYPEALREADYEXISTS Code = "FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS"
	// FABRICEAPPLICATIONTYPEINUSE ...
	FABRICEAPPLICATIONTYPEINUSE Code = "FABRIC_E_APPLICATION_TYPE_IN_USE"
	// FABRICEAPPLICATIONTYPENOTFOUND ...
	FABRICEAPPLICATIONTYPENOTFOUND Code = "FABRIC_E_APPLICATION_TYPE_NOT_FOUND"
	// FABRICEAPPLICATIONTYPEPROVISIONINPROGRESS ...
	FABRICEAPPLICATIONTYPEPROVISIONINPROGRESS Code = "FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS"
	// FABRICEAPPLICATIONUPGRADEINPROGRESS ...
	FABRICEAPPLICATIONUPGRADEINPROGRESS Code = "FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS"
	// FABRICEAPPLICATIONUPGRADEVALIDATIONERROR ...
	FABRICEAPPLICATIONUPGRADEVALIDATIONERROR Code = "FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR"
	// FABRICECOMMUNICATIONERROR ...
	FABRICECOMMUNICATIONERROR Code = "FABRIC_E_COMMUNICATION_ERROR"
	// FABRICECONFIGURATIONPARAMETERNOTFOUND ...
	FABRICECONFIGURATIONPARAMETERNOTFOUND Code = "FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND"
	// FABRICECONFIGURATIONSECTIONNOTFOUND ...
	FABRICECONFIGURATIONSECTIONNOTFOUND Code = "FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND"
	// FABRICEDIRECTORYNOTFOUND ...
	FABRICEDIRECTORYNOTFOUND Code = "FABRIC_E_DIRECTORY_NOT_FOUND"
	// FABRICEENUMERATIONCOMPLETED ...
	FABRICEENUMERATIONCOMPLETED Code = "FABRIC_E_ENUMERATION_COMPLETED"
	// FABRICEFABRICALREADYINTARGETVERSION ...
	FABRICEFABRICALREADYINTARGETVERSION Code = "FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION"
	// FABRICEFABRICNOTUPGRADING ...
	FABRICEFABRICNOTUPGRADING Code = "FABRIC_E_FABRIC_NOT_UPGRADING"
	// FABRICEFABRICUPGRADEINPROGRESS ...
	FABRICEFABRICUPGRADEINPROGRESS Code = "FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS"
	// FABRICEFABRICUPGRADEVALIDATIONERROR ...
	FABRICEFABRICUPGRADEVALIDATIONERROR Code = "FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR"
	// FABRICEFABRICVERSIONALREADYEXISTS ...
	FABRICEFABRICVERSIONALREADYEXISTS Code = "FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS"
	// FABRICEFABRICVERSIONINUSE ...
	FABRICEFABRICVERSIONINUSE Code = "FABRIC_E_FABRIC_VERSION_IN_USE"
	// FABRICEFABRICVERSIONNOTFOUND ...
	FABRICEFABRICVERSIONNOTFOUND Code = "FABRIC_E_FABRIC_VERSION_NOT_FOUND"
	// FABRICEFILENOTFOUND ...
	FABRICEFILENOTFOUND Code = "FABRIC_E_FILE_NOT_FOUND"
	// FABRICEHEALTHENTITYNOTFOUND ...
	FABRICEHEALTHENTITYNOTFOUND Code = "FABRIC_E_HEALTH_ENTITY_NOT_FOUND"
	// FABRICEHEALTHSTALEREPORT ...
	FABRICEHEALTHSTALEREPORT Code = "FABRIC_E_HEALTH_STALE_REPORT"
	// FABRICEIMAGEBUILDERVALIDATIONERROR ...
	FABRICEIMAGEBUILDERVALIDATIONERROR Code = "FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR"
	// FABRICEINSTANCEIDMISMATCH ...
	FABRICEINSTANCEIDMISMATCH Code = "FABRIC_E_INSTANCE_ID_MISMATCH"
	// FABRICEINVALIDADDRESS ...
	FABRICEINVALIDADDRESS Code = "FABRIC_E_INVALID_ADDRESS"
	// FABRICEINVALIDATOMICGROUP ...
	FABRICEINVALIDATOMICGROUP Code = "FABRIC_E_INVALID_ATOMIC_GROUP"
	// FABRICEINVALIDCONFIGURATION ...
	FABRICEINVALIDCONFIGURATION Code = "FABRIC_E_INVALID_CONFIGURATION"
	// FABRICEINVALIDNAMEURI ...
	FABRICEINVALIDNAMEURI Code = "FABRIC_E_INVALID_NAME_URI"
	// FABRICEINVALIDPARTITIONKEY ...
	FABRICEINVALIDPARTITIONKEY Code = "FABRIC_E_INVALID_PARTITION_KEY"
	// FABRICEKEYNOTFOUND ...
	FABRICEKEYNOTFOUND Code = "FABRIC_E_KEY_NOT_FOUND"
	// FABRICEKEYTOOLARGE ...
	FABRICEKEYTOOLARGE Code = "FABRIC_E_KEY_TOO_LARGE"
	// FABRICENAMEALREADYEXISTS ...
	FABRICENAMEALREADYEXISTS Code = "FABRIC_E_NAME_ALREADY_EXISTS"
	// FABRICENAMEDOESNOTEXIST ...
	FABRICENAMEDOESNOTEXIST Code = "FABRIC_E_NAME_DOES_NOT_EXIST"
	// FABRICENAMENOTEMPTY ...
	FABRICENAMENOTEMPTY Code = "FABRIC_E_NAME_NOT_EMPTY"
	// FABRICENODEHASNOTSTOPPEDYET ...
	FABRICENODEHASNOTSTOPPEDYET Code = "FABRIC_E_NODE_HAS_NOT_STOPPED_YET"
	// FABRICENODEISUP ...
	FABRICENODEISUP Code = "FABRIC_E_NODE_IS_UP"
	// FABRICENODENOTFOUND ...
	FABRICENODENOTFOUND Code = "FABRIC_E_NODE_NOT_FOUND"
	// FABRICENOTPRIMARY ...
	FABRICENOTPRIMARY Code = "FABRIC_E_NOT_PRIMARY"
	// FABRICENOTREADY ...
	FABRICENOTREADY Code = "FABRIC_E_NOT_READY"
	// FABRICENOWRITEQUORUM ...
	FABRICENOWRITEQUORUM Code = "FABRIC_E_NO_WRITE_QUORUM"
	// FABRICEOPERATIONNOTCOMPLETE ...
	FABRICEOPERATIONNOTCOMPLETE Code = "FABRIC_E_OPERATION_NOT_COMPLETE"
	// FABRICEPARTITIONNOTFOUND ...
	FABRICEPARTITIONNOTFOUND Code = "FABRIC_E_PARTITION_NOT_FOUND"
	// FABRICEPATHTOOLONG ...
	FABRICEPATHTOOLONG Code = "FABRIC_E_PATH_TOO_LONG"
	// FABRICEPROPERTYCHECKFAILED ...
	FABRICEPROPERTYCHECKFAILED Code = "FABRIC_E_PROPERTY_CHECK_FAILED"
	// FABRICEPROPERTYDOESNOTEXIST ...
	FABRICEPROPERTYDOESNOTEXIST Code = "FABRIC_E_PROPERTY_DOES_NOT_EXIST"
	// FABRICERECONFIGURATIONPENDING ...
	FABRICERECONFIGURATIONPENDING Code = "FABRIC_E_RECONFIGURATION_PENDING"
	// FABRICEREPLICADOESNOTEXIST ...
	FABRICEREPLICADOESNOTEXIST Code = "FABRIC_E_REPLICA_DOES_NOT_EXIST"
	// FABRICESEQUENCENUMBERCHECKFAILED ...
	FABRICESEQUENCENUMBERCHECKFAILED Code = "FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED"
	// FABRICESERVICEAFFINITYCHAINNOTSUPPORTED ...
	FABRICESERVICEAFFINITYCHAINNOTSUPPORTED Code = "FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED"
	// FABRICESERVICEALREADYEXISTS ...
	FABRICESERVICEALREADYEXISTS Code = "FABRIC_E_SERVICE_ALREADY_EXISTS"
	// FABRICESERVICEDOESNOTEXIST ...
	FABRICESERVICEDOESNOTEXIST Code = "FABRIC_E_SERVICE_DOES_NOT_EXIST"
	// FABRICESERVICEGROUPALREADYEXISTS ...
	FABRICESERVICEGROUPALREADYEXISTS Code = "FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS"
	// FABRICESERVICEGROUPDOESNOTEXIST ...
	FABRICESERVICEGROUPDOESNOTEXIST Code = "FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST"
	// FABRICESERVICEMANIFESTNOTFOUND ...
	FABRICESERVICEMANIFESTNOTFOUND Code = "FABRIC_E_SERVICE_MANIFEST_NOT_FOUND"
	// FABRICESERVICEMETADATAMISMATCH ...
	FABRICESERVICEMETADATAMISMATCH Code = "FABRIC_E_SERVICE_METADATA_MISMATCH"
	// FABRICESERVICEOFFLINE ...
	FABRICESERVICEOFFLINE Code = "FABRIC_E_SERVICE_OFFLINE"
	// FABRICESERVICETYPEMISMATCH ...
	FABRICESERVICETYPEMISMATCH Code = "FABRIC_E_SERVICE_TYPE_MISMATCH"
	// FABRICESERVICETYPENOTFOUND ...
	FABRICESERVICETYPENOTFOUND Code = "FABRIC_E_SERVICE_TYPE_NOT_FOUND"
	// FABRICESERVICETYPETEMPLATENOTFOUND ...
	FABRICESERVICETYPETEMPLATENOTFOUND Code = "FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND"
	// FABRICETIMEOUT ...
	FABRICETIMEOUT Code = "FABRIC_E_TIMEOUT"
	// FABRICEVALUEEMPTY ...
	FABRICEVALUEEMPTY Code = "FABRIC_E_VALUE_EMPTY"
	// FABRICEVALUETOOLARGE ...
	FABRICEVALUETOOLARGE Code = "FABRIC_E_VALUE_TOO_LARGE"
)

func PossibleCodeValues

func PossibleCodeValues() []Code

PossibleCodeValues returns an array of possible values for the Code const type.

type CodePackageEntryPoint

type CodePackageEntryPoint struct {
	// EntryPointLocation - The location of entry point executable on the node.
	EntryPointLocation *string `json:"EntryPointLocation,omitempty"`
	// ProcessID - The process id of the entry point.
	ProcessID *string `json:"ProcessId,omitempty"`
	// RunAsUserName - The user name under which entry point executable is run on the node.
	RunAsUserName                   *string                          `json:"RunAsUserName,omitempty"`
	CodePackageEntryPointStatistics *CodePackageEntryPointStatistics `json:"CodePackageEntryPointStatistics,omitempty"`
	// Status - Possible values include: 'Status3Invalid', 'Status3Pending', 'Status3Starting', 'Status3Started', 'Status3Stopping', 'Status3Stopped'
	Status Status3 `json:"Status,omitempty"`
	// NextActivationTime - The time (in UTC) when the entry point executable will be run next.
	NextActivationTime *date.Time `json:"NextActivationTime,omitempty"`
	InstanceID         *string    `json:"InstanceId,omitempty"`
}

CodePackageEntryPoint information about setup or main entry point of a code package deployed on a Service Fabric node.

type CodePackageEntryPointStatistics

type CodePackageEntryPointStatistics struct {
	// LastExitCode - The last exit code of the entry point.
	LastExitCode *string `json:"LastExitCode,omitempty"`
	// LastActivationTime - The last time (in UTC) when Service Fabric attempted to run the entry point.
	LastActivationTime *date.Time `json:"LastActivationTime,omitempty"`
	// LastExitTime - The last time (in UTC) when the entry point finished running.
	LastExitTime *date.Time `json:"LastExitTime,omitempty"`
	// LastSuccessfulActivationTime - The last time (in UTC) when the entry point ran successfully.
	LastSuccessfulActivationTime *date.Time `json:"LastSuccessfulActivationTime,omitempty"`
	// LastSuccessfulExitTime - The last time (in UTC) when the entry point finished running gracefully.
	LastSuccessfulExitTime *date.Time `json:"LastSuccessfulExitTime,omitempty"`
	// ActivationCount - Number of times the entry point has run.
	ActivationCount *string `json:"ActivationCount,omitempty"`
	// ActivationFailureCount - Number of times the entry point failed to run.
	ActivationFailureCount *string `json:"ActivationFailureCount,omitempty"`
	// ContinuousActivationFailureCount - Number of times the entry point continuously failed to run.
	ContinuousActivationFailureCount *string `json:"ContinuousActivationFailureCount,omitempty"`
	// ExitCount - Number of times the entry point finished running.
	ExitCount *string `json:"ExitCount,omitempty"`
	// ExitFailureCount - Number of times the entry point failed to exit gracefully.
	ExitFailureCount *string `json:"ExitFailureCount,omitempty"`
	// ContinuousExitFailureCount - Number of times the entry point continuously failed to exit gracefully.
	ContinuousExitFailureCount *string `json:"ContinuousExitFailureCount,omitempty"`
}

CodePackageEntryPointStatistics statistics about setup or main entry point of a code package deployed on a Service Fabric node.

type ComposeApplicationStatusInfo

type ComposeApplicationStatusInfo struct {
	autorest.Response `json:"-"`
	Name              *string `json:"Name,omitempty"`
	// Status - Possible values include: 'Status6Invalid', 'Status6Provisioning', 'Status6Creating', 'Status6Created', 'Status6Unprovisioning', 'Status6Deleting', 'Status6Failed'
	Status Status6 `json:"Status,omitempty"`
	// StatusDetails - The status details of compose application including failure message.
	StatusDetails *string `json:"StatusDetails,omitempty"`
}

ComposeApplicationStatusInfo information about a Service Fabric compose application.

type CreateComposeApplicationDescription

type CreateComposeApplicationDescription struct {
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ComposeFileContent - The content of the compose file that describes application to create.
	ComposeFileContent   *string               `json:"ComposeFileContent,omitempty"`
	RepositoryCredential *RepositoryCredential `json:"RepositoryCredential,omitempty"`
}

CreateComposeApplicationDescription defines description for creating a Service Fabric compose application.

type CreateFabricDump

type CreateFabricDump string

CreateFabricDump enumerates the values for create fabric dump.

const (
	// False ...
	False CreateFabricDump = "False"
	// True ...
	True CreateFabricDump = "True"
)

func PossibleCreateFabricDumpValues

func PossibleCreateFabricDumpValues() []CreateFabricDump

PossibleCreateFabricDumpValues returns an array of possible values for the CreateFabricDump const type.

type CurrentReplicatorOperation

type CurrentReplicatorOperation string

CurrentReplicatorOperation enumerates the values for current replicator operation.

const (
	// CurrentReplicatorOperationAbort ...
	CurrentReplicatorOperationAbort CurrentReplicatorOperation = "Abort"
	// CurrentReplicatorOperationBuild ...
	CurrentReplicatorOperationBuild CurrentReplicatorOperation = "Build"
	// CurrentReplicatorOperationChangeRole ...
	CurrentReplicatorOperationChangeRole CurrentReplicatorOperation = "ChangeRole"
	// CurrentReplicatorOperationClose ...
	CurrentReplicatorOperationClose CurrentReplicatorOperation = "Close"
	// CurrentReplicatorOperationInvalid ...
	CurrentReplicatorOperationInvalid CurrentReplicatorOperation = "Invalid"
	// CurrentReplicatorOperationNone ...
	CurrentReplicatorOperationNone CurrentReplicatorOperation = "None"
	// CurrentReplicatorOperationOnDataLoss ...
	CurrentReplicatorOperationOnDataLoss CurrentReplicatorOperation = "OnDataLoss"
	// CurrentReplicatorOperationOpen ...
	CurrentReplicatorOperationOpen CurrentReplicatorOperation = "Open"
	// CurrentReplicatorOperationUpdateEpoch ...
	CurrentReplicatorOperationUpdateEpoch CurrentReplicatorOperation = "UpdateEpoch"
	// CurrentReplicatorOperationWaitForCatchup ...
	CurrentReplicatorOperationWaitForCatchup CurrentReplicatorOperation = "WaitForCatchup"
)

func PossibleCurrentReplicatorOperationValues

func PossibleCurrentReplicatorOperationValues() []CurrentReplicatorOperation

PossibleCurrentReplicatorOperationValues returns an array of possible values for the CurrentReplicatorOperation const type.

type CurrentServiceOperation

type CurrentServiceOperation string

CurrentServiceOperation enumerates the values for current service operation.

const (
	// CurrentServiceOperationAbort ...
	CurrentServiceOperationAbort CurrentServiceOperation = "Abort"
	// CurrentServiceOperationChangeRole ...
	CurrentServiceOperationChangeRole CurrentServiceOperation = "ChangeRole"
	// CurrentServiceOperationClose ...
	CurrentServiceOperationClose CurrentServiceOperation = "Close"
	// CurrentServiceOperationNone ...
	CurrentServiceOperationNone CurrentServiceOperation = "None"
	// CurrentServiceOperationOpen ...
	CurrentServiceOperationOpen CurrentServiceOperation = "Open"
	// CurrentServiceOperationUnknown ...
	CurrentServiceOperationUnknown CurrentServiceOperation = "Unknown"
)

func PossibleCurrentServiceOperationValues

func PossibleCurrentServiceOperationValues() []CurrentServiceOperation

PossibleCurrentServiceOperationValues returns an array of possible values for the CurrentServiceOperation const type.

type CurrentUpgradeDomainProgressInfo

type CurrentUpgradeDomainProgressInfo struct {
	DomainName              *string                    `json:"DomainName,omitempty"`
	NodeUpgradeProgressList *[]NodeUpgradeProgressInfo `json:"NodeUpgradeProgressList,omitempty"`
}

CurrentUpgradeDomainProgressInfo information about the current in-progress upgrade domain.

type DeactivationIntent

type DeactivationIntent string

DeactivationIntent enumerates the values for deactivation intent.

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

func PossibleDeactivationIntentValues

func PossibleDeactivationIntentValues() []DeactivationIntent

PossibleDeactivationIntentValues returns an array of possible values for the DeactivationIntent const type.

type DeactivationIntentDescription

type DeactivationIntentDescription struct {
	// DeactivationIntent - Describes the intent or reason for deactivating the node. The possible values are following.
	//   - Pause - Indicates that the node should be paused. The value is 1.
	//   - Restart - Indicates that the intent is for the node to be restarted after a short period of time. The value is 2.
	//   - RemoveData - Indicates the intent is for the node to remove data. The value is 3.
	// . Possible values include: 'Pause', 'Restart', 'RemoveData'
	DeactivationIntent DeactivationIntent `json:"DeactivationIntent,omitempty"`
}

DeactivationIntentDescription describes the intent or reason for deactivating the node.

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

func PossibleDefaultMoveCostValues

func PossibleDefaultMoveCostValues() []DefaultMoveCost

PossibleDefaultMoveCostValues returns an array of possible values for the DefaultMoveCost const type.

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

func PossibleDefaultMoveCost1Values

func PossibleDefaultMoveCost1Values() []DefaultMoveCost1

PossibleDefaultMoveCost1Values returns an array of possible values for the DefaultMoveCost1 const type.

type DeltaNodesCheckHealthEvaluation

type DeltaNodesCheckHealthEvaluation struct {
	// BaselineErrorCount - Number of nodes with aggregated heath state Error in the health store at the beginning of the cluster upgrade.
	BaselineErrorCount *int64 `json:"BaselineErrorCount,omitempty"`
	// BaselineTotalCount - Total number of nodes in the health store at the beginning of the cluster upgrade.
	BaselineTotalCount *int64 `json:"BaselineTotalCount,omitempty"`
	// MaxPercentDeltaUnhealthyNodes - Maximum allowed percentage of delta unhealthy nodes from the ClusterUpgradeHealthPolicy.
	MaxPercentDeltaUnhealthyNodes *int32 `json:"MaxPercentDeltaUnhealthyNodes,omitempty"`
	// TotalCount - Total number of nodes in the health store.
	TotalCount *int64 `json:"TotalCount,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the aggregated health state.
	// Includes all the unhealthy NodeHealthEvaluation that impacted the aggregated health.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

DeltaNodesCheckHealthEvaluation represents health evaluation for delta nodes, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned during cluster upgrade when the aggregated health state of the cluster is Warning or Error.

func (DeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 DeployServicePackageToNodeDescription

type DeployServicePackageToNodeDescription struct {
	// ServiceManifestName - The name of service manifest whose packages need to be downloaded.
	ServiceManifestName    *string                     `json:"ServiceManifestName,omitempty"`
	ApplicationTypeName    *string                     `json:"ApplicationTypeName,omitempty"`
	ApplicationTypeVersion *string                     `json:"ApplicationTypeVersion,omitempty"`
	NodeName               *string                     `json:"NodeName,omitempty"`
	PackageSharingPolicy   *[]PackageSharingPolicyInfo `json:"PackageSharingPolicy,omitempty"`
}

DeployServicePackageToNodeDescription defines description for downloading packages associated with a service manifest to image cache on a Service Fabric node.

type DeployedApplicationHealth

type DeployedApplicationHealth struct {
	autorest.Response `json:"-"`
	// Name - Name of the application deployed on the node whose health information is described by this object.
	Name *string `json:"Name,omitempty"`
	// NodeName - Name of the node where this application is deployed.
	NodeName *string `json:"NodeName,omitempty"`
	// DeployedServicePackageHealthStates - Deployed service package health states for the current deployed application as found in the health store.
	DeployedServicePackageHealthStates *[]DeployedServicePackageHealthState `json:"DeployedServicePackageHealthStates,omitempty"`
	// AggregatedHealthState - The HealthState representing the aggregated health state of the entity computed by Health Manager.
	// The health evaluation of the entity reflects all events reported on the entity and its children (if any).
	// The aggregation is done by applying the desired health policy.
	// . Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown'
	AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"`
	// HealthEvents - The list of health events reported on the entity.
	HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"`
	// UnhealthyEvaluations - The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
}

DeployedApplicationHealth information about the health of an application deployed on a Service Fabric node.

type DeployedApplicationHealthEvaluation

type DeployedApplicationHealthEvaluation struct {
	// NodeName - Name of the node where the application is deployed to.
	NodeName *string `json:"NodeName,omitempty"`
	// ApplicationName - Full name of the application.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// UnhealthyEvaluations - List of  unhealthy evaluations that led to the current aggregated health state of the deployed application.
	// The types of the unhealthy evaluations can be DeployedServicePackagesHealthEvaluation or EventHealthEvaluation.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

DeployedApplicationHealthEvaluation represents health evaluation for a deployed application, containing information about the data and the algorithm used by the health store to evaluate health.

func (DeployedApplicationHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 DeployedApplicationHealthState

type DeployedApplicationHealthState struct {
	// NodeName - Name of the node on which the service package is deployed.
	NodeName *string `json:"NodeName,omitempty"`
	// ApplicationName - Full name of the application.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown'
	AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"`
}

DeployedApplicationHealthState represents the health state of a deployed application, which contains the entity identifier and the aggregated health state.

type DeployedApplicationHealthStateChunk

type DeployedApplicationHealthStateChunk struct {
	// NodeName - The name of node where the application is deployed.
	NodeName *string `json:"NodeName,omitempty"`
	// DeployedServicePackageHealthStateChunks - The list of deployed service oackage health state chunks belonging to the deployed application that respect the filters in the cluster health chunk query description.
	DeployedServicePackageHealthStateChunks *DeployedServicePackageHealthStateChunkList `json:"DeployedServicePackageHealthStateChunks,omitempty"`
	// HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown'
	HealthState HealthState2 `json:"HealthState,omitempty"`
}

DeployedApplicationHealthStateChunk represents the health state chunk of a deployed application, which contains the node where the application is deployed, the aggregated health state and any deployed service packages that respect the chunk query description filters.

type DeployedApplicationHealthStateChunkList

type DeployedApplicationHealthStateChunkList struct {
	// Items - The list of deployed application health state chunks that respect the input filters in the chunk query.
	Items *[]DeployedApplicationHealthStateChunk `json:"Items,omitempty"`
}

DeployedApplicationHealthStateChunkList the list of deployed application health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.

type DeployedApplicationHealthStateFilter

type DeployedApplicationHealthStateFilter struct {
	// NodeNameFilter - The name of the node where the application is deployed in order to match the filter.
	// If specified, the filter is applied only to the application deployed on the specified node.
	// If the application is not deployed on the node with the specified name, no deployed application is returned in the cluster health chunk based on this filter.
	// Otherwise, the deployed application is included in the cluster health chunk if it respects the other filter properties.
	// If not specified, all deployed applications that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter.
	NodeNameFilter *string `json:"NodeNameFilter,omitempty"`
	// HealthStateFilter - The filter for the health state of the deployed applications. It allows selecting deployed applications if they match the desired health states.
	// The possible values are integer value of one of the following health states. Only deployed applications that match the filter are returned. All deployed applications are used to evaluate the cluster aggregated health state.
	// If not specified, default value is None, unless the node name is specified. If the filter has default value and node name is specified, the matching deployed application is returned.
	// The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.
	// For example, if the provided value is 6, it matches deployed applications with HealthState value of OK (2) and Warning (4).
	// - Default - Default value. Matches any HealthState. The value is zero.
	// - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.
	// - Ok - Filter that matches input with HealthState value Ok. The value is 2.
	// - Warning - Filter that matches input with HealthState value Warning. The value is 4.
	// - Error - Filter that matches input with HealthState value Error. The value is 8.
	// - All - Filter that matches input with any HealthState value. The value is 65535.
	HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"`
	// DeployedServicePackageFilters - Defines a list of filters that specify which deployed service packages to be included in the returned cluster health chunk as children of the parent deployed application. The deployed service packages are returned only if the parent deployed application matches a filter.
	// If the list is empty, no deployed service packages are returned. All the deployed service packages are used to evaluate the parent deployed application aggregated health state, regardless of the input filters.
	// The deployed application filter may specify multiple deployed service package filters.
	// For example, it can specify a filter to return all deployed service packages with health state Error and another filter to always include a deployed service package on a node.
	DeployedServicePackageFilters *[]DeployedServicePackageHealthStateFilter `json:"DeployedServicePackageFilters,omitempty"`
}

DeployedApplicationHealthStateFilter defines matching criteria to determine whether a deployed application should be included as a child of an application in the cluster health chunk. The deployed applications are only returned if the parent application matches a filter specified in the cluster health chunk query description. One filter can match zero, one or multiple deployed applications, depending on its properties.

type DeployedApplicationInfo

type DeployedApplicationInfo struct {
	autorest.Response `json:"-"`
	ID                *string `json:"Id,omitempty"`
	// Name - The name of the application.
	Name *string `json:"Name,omitempty"`
	// TypeName - The name of the application type.
	TypeName *string `json:"TypeName,omitempty"`
	// Status - Possible values include: 'Status2Invalid', 'Status2Downloading', 'Status2Activating', 'Status2Active', 'Status2Upgrading', 'Status2Deactivating'
	Status Status2 `json:"Status,omitempty"`
	// WorkDirectory - The work directory of the application on the node. The work directory can be used to store application data.
	WorkDirectory *string `json:"WorkDirectory,omitempty"`
	// LogDirectory - The log directory of the application on the node. The log directory can be used to store application logs.
	LogDirectory *string `json:"LogDirectory,omitempty"`
	// TempDirectory - The temp directory of the application on the node. The code packages belonging to the application are forked with this directory set as their temporary directory.
	TempDirectory *string `json:"TempDirectory,omitempty"`
}

DeployedApplicationInfo information about application deployed on the node.

type DeployedApplicationsHealthEvaluation

type DeployedApplicationsHealthEvaluation struct {
	// MaxPercentUnhealthyDeployedApplications - Maximum allowed percentage of unhealthy deployed applications from the ApplicationHealthPolicy.
	MaxPercentUnhealthyDeployedApplications *int32 `json:"MaxPercentUnhealthyDeployedApplications,omitempty"`
	// TotalCount - Total number of deployed applications of the application in the health store.
	TotalCount *int64 `json:"TotalCount,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy DeployedApplicationHealthEvaluation that impacted the aggregated health.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

DeployedApplicationsHealthEvaluation represents health evaluation for deployed applications, containing health evaluations for each unhealthy deployed application that impacted current aggregated health state. Can be returned when evaluating application health and the aggregated health state is either Error or Warning.

func (DeployedApplicationsHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 DeployedCodePackageInfo

type DeployedCodePackageInfo struct {
	// Name - The name of the code package.
	Name *string `json:"Name,omitempty"`
	// Version - The version of the code package specified in service manifest.
	Version *string `json:"Version,omitempty"`
	// ServiceManifestName - The name of service manifest that specified this code package.
	ServiceManifestName        *string `json:"ServiceManifestName,omitempty"`
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// HostType - Possible values include: 'HostTypeInvalid', 'HostTypeExeHost', 'HostTypeContainerHost'
	HostType HostType `json:"HostType,omitempty"`
	// HostIsolationMode - Possible values include: 'HostIsolationModeNone', 'HostIsolationModeProcess', 'HostIsolationModeHyperV'
	HostIsolationMode HostIsolationMode `json:"HostIsolationMode,omitempty"`
	// Status - Possible values include: 'Status4Invalid', 'Status4Downloading', 'Status4Activating', 'Status4Active', 'Status4Upgrading', 'Status4Deactivating'
	Status Status4 `json:"Status,omitempty"`
	// RunFrequencyInterval - The interval at which code package is run. This is used for periodic code package.
	RunFrequencyInterval *string                `json:"RunFrequencyInterval,omitempty"`
	SetupEntryPoint      *CodePackageEntryPoint `json:"SetupEntryPoint,omitempty"`
	MainEntryPoint       *CodePackageEntryPoint `json:"MainEntryPoint,omitempty"`
}

DeployedCodePackageInfo information about code package deployed on a Service Fabric node.

type DeployedServicePackageHealth

type DeployedServicePackageHealth struct {
	autorest.Response `json:"-"`
	// ApplicationName - Name of the application.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceManifestName - Name of the service manifest.
	ServiceManifestName *string `json:"ServiceManifestName,omitempty"`
	// NodeName - Name of the node where this service package is deployed.
	NodeName *string `json:"NodeName,omitempty"`
	// AggregatedHealthState - The HealthState representing the aggregated health state of the entity computed by Health Manager.
	// The health evaluation of the entity reflects all events reported on the entity and its children (if any).
	// The aggregation is done by applying the desired health policy.
	// . Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown'
	AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"`
	// HealthEvents - The list of health events reported on the entity.
	HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"`
	// UnhealthyEvaluations - The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
}

DeployedServicePackageHealth information about the health of a service package for a specific application deployed on a Service Fabric node.

type DeployedServicePackageHealthEvaluation

type DeployedServicePackageHealthEvaluation struct {
	// NodeName - Name of the node.
	NodeName *string `json:"NodeName,omitempty"`
	// ApplicationName - Full name of the application.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceManifestName - Name of the service manifest.
	ServiceManifestName *string `json:"ServiceManifestName,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the current aggregated health state. The type of the unhealthy evaluations can be EventHealthEvaluation.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

DeployedServicePackageHealthEvaluation represents health evaluation for a deployed service package, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.

func (DeployedServicePackageHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 {
	// NodeName - Name of the node on which the service package is deployed.
	NodeName *string `json:"NodeName,omitempty"`
	// ApplicationName - Full name of the application.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceManifestName - Name of the manifest describing the service package.
	ServiceManifestName        *string `json:"ServiceManifestName,omitempty"`
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown'
	AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"`
}

DeployedServicePackageHealthState represents the health state of a deployed service package, containing the entity identifier and the aggregated health state.

type DeployedServicePackageHealthStateChunk

type DeployedServicePackageHealthStateChunk struct {
	// ServiceManifestName - The name of the service manifest.
	ServiceManifestName        *string `json:"ServiceManifestName,omitempty"`
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown'
	HealthState HealthState2 `json:"HealthState,omitempty"`
}

DeployedServicePackageHealthStateChunk represents the health state chunk of a deployed service package, which contains the service manifest name and the service package aggregated health state.

type DeployedServicePackageHealthStateChunkList

type DeployedServicePackageHealthStateChunkList struct {
	// Items - The list of deployed service package health state chunks that respect the input filters in the chunk query.
	Items *[]DeployedServicePackageHealthStateChunk `json:"Items,omitempty"`
}

DeployedServicePackageHealthStateChunkList the list of deployed service package health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.

type DeployedServicePackageHealthStateFilter

type DeployedServicePackageHealthStateFilter struct {
	// ServiceManifestNameFilter - The name of the service manifest which identifies the deployed service packages that matches the filter.
	// If specified, the filter is applied only to the specified deployed service packages, if any.
	// If no deployed service packages with specified manifest name exist, nothing is returned in the cluster health chunk based on this filter.
	// If any deployed service package exists, they are included in the cluster health chunk if it respects the other filter properties.
	// If not specified, all deployed service packages that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter.
	ServiceManifestNameFilter *string `json:"ServiceManifestNameFilter,omitempty"`
	// ServicePackageActivationIDFilter - The activation ID of a deployed service package that matches the filter.
	// If not specified, the filter applies to all deployed service packages that match the other parameters.
	// If specified, the filter matches only the deployed service package with the specified activation ID.
	ServicePackageActivationIDFilter *string `json:"ServicePackageActivationIdFilter,omitempty"`
	// HealthStateFilter - The filter for the health state of the deployed service packages. It allows selecting deployed service packages if they match the desired health states.
	// The possible values are integer value of one of the following health states. Only deployed service packages that match the filter are returned. All deployed service packages are used to evaluate the parent deployed application aggregated health state.
	// If not specified, default value is None, unless the deployed service package id is specified. If the filter has default value and deployed service package id is specified, the matching deployed service package is returned.
	// The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.
	// For example, if the provided value is 6, it matches deployed service packages with HealthState value of OK (2) and Warning (4).
	// - Default - Default value. Matches any HealthState. The value is zero.
	// - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.
	// - Ok - Filter that matches input with HealthState value Ok. The value is 2.
	// - Warning - Filter that matches input with HealthState value Warning. The value is 4.
	// - Error - Filter that matches input with HealthState value Error. The value is 8.
	// - All - Filter that matches input with any HealthState value. The value is 65535.
	HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"`
}

DeployedServicePackageHealthStateFilter defines matching criteria to determine whether a deployed service package should be included as a child of a deployed application in the cluster health chunk. The deployed service packages are only returned if the parent entities match a filter specified in the cluster health chunk query description. The parent deployed application and its parent application must be included in the cluster health chunk. One filter can match zero, one or multiple deployed service packages, depending on its properties.

type DeployedServicePackageInfo

type DeployedServicePackageInfo struct {
	// Name - The name of the service package.
	Name *string `json:"Name,omitempty"`
	// Version - The version of the service package specified in service manifest.
	Version *string `json:"Version,omitempty"`
	// Status - Possible values include: 'Status7Invalid', 'Status7Downloading', 'Status7Activating', 'Status7Active', 'Status7Upgrading', 'Status7Deactivating'
	Status                     Status7 `json:"Status,omitempty"`
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
}

DeployedServicePackageInfo information about service package deployed on a Service Fabric node.

type DeployedServicePackagesHealthEvaluation

type DeployedServicePackagesHealthEvaluation struct {
	// TotalCount - Total number of deployed service packages of the deployed application in the health store.
	TotalCount *int64 `json:"TotalCount,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy DeployedServicePackageHealthEvaluation that impacted the aggregated health.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

DeployedServicePackagesHealthEvaluation represents health evaluation for deployed service packages, containing health evaluations for each unhealthy deployed service package that impacted current aggregated health state. Can be returned when evaluating deployed application health and the aggregated health state is either Error or Warning.

func (DeployedServicePackagesHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 DeployedServiceReplicaDetailInfo

type DeployedServiceReplicaDetailInfo struct {
	autorest.Response `json:"-"`
	// ServiceName - Full hierarchical name of the service in URI format starting with `fabric:`.
	ServiceName *string    `json:"ServiceName,omitempty"`
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// CurrentServiceOperation - Possible values include: 'CurrentServiceOperationUnknown', 'CurrentServiceOperationNone', 'CurrentServiceOperationOpen', 'CurrentServiceOperationChangeRole', 'CurrentServiceOperationClose', 'CurrentServiceOperationAbort'
	CurrentServiceOperation CurrentServiceOperation `json:"CurrentServiceOperation,omitempty"`
	// CurrentServiceOperationStartTimeUtc - The start time of the current service operation in UTC format.
	CurrentServiceOperationStartTimeUtc *date.Time              `json:"CurrentServiceOperationStartTimeUtc,omitempty"`
	ReportedLoad                        *[]LoadMetricReportInfo `json:"ReportedLoad,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindDeployedServiceReplicaDetailInfo', 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateful', 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateless'
	ServiceKind ServiceKindBasicDeployedServiceReplicaDetailInfo `json:"ServiceKind,omitempty"`
}

DeployedServiceReplicaDetailInfo information about a Service Fabric service replica deployed on a node.

func (DeployedServiceReplicaDetailInfo) AsBasicDeployedServiceReplicaDetailInfo

func (dsrdi DeployedServiceReplicaDetailInfo) AsBasicDeployedServiceReplicaDetailInfo() (BasicDeployedServiceReplicaDetailInfo, bool)

AsBasicDeployedServiceReplicaDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedServiceReplicaDetailInfo.

func (DeployedServiceReplicaDetailInfo) AsDeployedServiceReplicaDetailInfo

func (dsrdi DeployedServiceReplicaDetailInfo) AsDeployedServiceReplicaDetailInfo() (*DeployedServiceReplicaDetailInfo, bool)

AsDeployedServiceReplicaDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedServiceReplicaDetailInfo.

func (DeployedServiceReplicaDetailInfo) AsDeployedStatefulServiceReplicaDetailInfo

func (dsrdi DeployedServiceReplicaDetailInfo) AsDeployedStatefulServiceReplicaDetailInfo() (*DeployedStatefulServiceReplicaDetailInfo, bool)

AsDeployedStatefulServiceReplicaDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedServiceReplicaDetailInfo.

func (DeployedServiceReplicaDetailInfo) AsDeployedStatelessServiceInstanceDetailInfo

func (dsrdi DeployedServiceReplicaDetailInfo) AsDeployedStatelessServiceInstanceDetailInfo() (*DeployedStatelessServiceInstanceDetailInfo, bool)

AsDeployedStatelessServiceInstanceDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedServiceReplicaDetailInfo.

func (DeployedServiceReplicaDetailInfo) MarshalJSON

func (dsrdi DeployedServiceReplicaDetailInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeployedServiceReplicaDetailInfo.

type DeployedServiceReplicaDetailInfoModel

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

DeployedServiceReplicaDetailInfoModel ...

func (*DeployedServiceReplicaDetailInfoModel) UnmarshalJSON

func (dsrdim *DeployedServiceReplicaDetailInfoModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DeployedServiceReplicaDetailInfoModel struct.

type DeployedServiceReplicaInfo

type DeployedServiceReplicaInfo struct {
	// ServiceName - Full hierarchical name of the service in URI format starting with `fabric:`.
	ServiceName *string `json:"ServiceName,omitempty"`
	// ServiceTypeName - Name of the service type as specified in the service manifest.
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// ServiceManifestName - The name of the service manifest in which this service type is defined.
	ServiceManifestName *string `json:"ServiceManifestName,omitempty"`
	// CodePackageName - The name of the code package that hosts this replica.
	CodePackageName *string    `json:"CodePackageName,omitempty"`
	PartitionID     *uuid.UUID `json:"PartitionID,omitempty"`
	// ReplicaStatus - Possible values include: 'ReplicaStatusInvalid', 'ReplicaStatusInBuild', 'ReplicaStatusStandby', 'ReplicaStatusReady', 'ReplicaStatusDown', 'ReplicaStatusDropped'
	ReplicaStatus ReplicaStatus `json:"ReplicaStatus,omitempty"`
	// Address - The last address returned by the replica in Open or ChangeRole.
	Address                    *string `json:"Address,omitempty"`
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindDeployedServiceReplicaInfo', 'ServiceKindStateful', 'ServiceKindStateless'
	ServiceKind ServiceKind `json:"ServiceKind,omitempty"`
}

DeployedServiceReplicaInfo information about a Service Fabric service replica deployed on a node.

func (DeployedServiceReplicaInfo) AsBasicDeployedServiceReplicaInfo

func (dsri DeployedServiceReplicaInfo) AsBasicDeployedServiceReplicaInfo() (BasicDeployedServiceReplicaInfo, bool)

AsBasicDeployedServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedServiceReplicaInfo.

func (DeployedServiceReplicaInfo) AsDeployedServiceReplicaInfo

func (dsri DeployedServiceReplicaInfo) AsDeployedServiceReplicaInfo() (*DeployedServiceReplicaInfo, bool)

AsDeployedServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedServiceReplicaInfo.

func (DeployedServiceReplicaInfo) AsDeployedStatefulServiceReplicaInfo

func (dsri DeployedServiceReplicaInfo) AsDeployedStatefulServiceReplicaInfo() (*DeployedStatefulServiceReplicaInfo, bool)

AsDeployedStatefulServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedServiceReplicaInfo.

func (DeployedServiceReplicaInfo) AsDeployedStatelessServiceInstanceInfo

func (dsri DeployedServiceReplicaInfo) AsDeployedStatelessServiceInstanceInfo() (*DeployedStatelessServiceInstanceInfo, bool)

AsDeployedStatelessServiceInstanceInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedServiceReplicaInfo.

func (DeployedServiceReplicaInfo) MarshalJSON

func (dsri DeployedServiceReplicaInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeployedServiceReplicaInfo.

type DeployedServiceTypeInfo

type DeployedServiceTypeInfo struct {
	autorest.Response `json:"-"`
	// ServiceTypeName - The name of the service type defined in the service manifest.
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// ServiceManifestName - The name of the service manifest in which this service type is defined.
	ServiceManifestName *string `json:"ServiceManifestName,omitempty"`
	// CodePackageName - The name of the code package that registered the service type.
	CodePackageName *string `json:"CodePackageName,omitempty"`
	// Status - Possible values include: 'Status8Invalid', 'Status8Disabled', 'Status8Enabled', 'Status8Registered'
	Status                     Status8 `json:"Status,omitempty"`
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
}

DeployedServiceTypeInfo information about service type deployed on a node, information such as the status of the service type registration on a node.

type DeployedStatefulServiceReplicaDetailInfo

type DeployedStatefulServiceReplicaDetailInfo struct {
	// ReplicaID - Id of the stateful service replica.
	ReplicaID *string `json:"ReplicaId,omitempty"`
	// CurrentReplicatorOperation - Possible values include: 'CurrentReplicatorOperationInvalid', 'CurrentReplicatorOperationNone', 'CurrentReplicatorOperationOpen', 'CurrentReplicatorOperationChangeRole', 'CurrentReplicatorOperationUpdateEpoch', 'CurrentReplicatorOperationClose', 'CurrentReplicatorOperationAbort', 'CurrentReplicatorOperationOnDataLoss', 'CurrentReplicatorOperationWaitForCatchup', 'CurrentReplicatorOperationBuild'
	CurrentReplicatorOperation CurrentReplicatorOperation `json:"CurrentReplicatorOperation,omitempty"`
	// ReadStatus - Possible values include: 'ReadStatusInvalid', 'ReadStatusGranted', 'ReadStatusReconfigurationPending', 'ReadStatusNotPrimary', 'ReadStatusNoWriteQuorum'
	ReadStatus ReadStatus `json:"ReadStatus,omitempty"`
	// WriteStatus - Possible values include: 'WriteStatusInvalid', 'WriteStatusGranted', 'WriteStatusReconfigurationPending', 'WriteStatusNotPrimary', 'WriteStatusNoWriteQuorum'
	WriteStatus      WriteStatus                 `json:"WriteStatus,omitempty"`
	ReplicatorStatus BasicReplicatorStatus       `json:"ReplicatorStatus,omitempty"`
	ReplicaStatus    *KeyValueStoreReplicaStatus `json:"ReplicaStatus,omitempty"`
	// ServiceName - Full hierarchical name of the service in URI format starting with `fabric:`.
	ServiceName *string    `json:"ServiceName,omitempty"`
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// CurrentServiceOperation - Possible values include: 'CurrentServiceOperationUnknown', 'CurrentServiceOperationNone', 'CurrentServiceOperationOpen', 'CurrentServiceOperationChangeRole', 'CurrentServiceOperationClose', 'CurrentServiceOperationAbort'
	CurrentServiceOperation CurrentServiceOperation `json:"CurrentServiceOperation,omitempty"`
	// CurrentServiceOperationStartTimeUtc - The start time of the current service operation in UTC format.
	CurrentServiceOperationStartTimeUtc *date.Time              `json:"CurrentServiceOperationStartTimeUtc,omitempty"`
	ReportedLoad                        *[]LoadMetricReportInfo `json:"ReportedLoad,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindDeployedServiceReplicaDetailInfo', 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateful', 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateless'
	ServiceKind ServiceKindBasicDeployedServiceReplicaDetailInfo `json:"ServiceKind,omitempty"`
}

DeployedStatefulServiceReplicaDetailInfo information about a stateful replica running in a code package.

func (DeployedStatefulServiceReplicaDetailInfo) AsBasicDeployedServiceReplicaDetailInfo

func (dssrdi DeployedStatefulServiceReplicaDetailInfo) AsBasicDeployedServiceReplicaDetailInfo() (BasicDeployedServiceReplicaDetailInfo, bool)

AsBasicDeployedServiceReplicaDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedStatefulServiceReplicaDetailInfo.

func (DeployedStatefulServiceReplicaDetailInfo) AsDeployedServiceReplicaDetailInfo

func (dssrdi DeployedStatefulServiceReplicaDetailInfo) AsDeployedServiceReplicaDetailInfo() (*DeployedServiceReplicaDetailInfo, bool)

AsDeployedServiceReplicaDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedStatefulServiceReplicaDetailInfo.

func (DeployedStatefulServiceReplicaDetailInfo) AsDeployedStatefulServiceReplicaDetailInfo

func (dssrdi DeployedStatefulServiceReplicaDetailInfo) AsDeployedStatefulServiceReplicaDetailInfo() (*DeployedStatefulServiceReplicaDetailInfo, bool)

AsDeployedStatefulServiceReplicaDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedStatefulServiceReplicaDetailInfo.

func (DeployedStatefulServiceReplicaDetailInfo) AsDeployedStatelessServiceInstanceDetailInfo

func (dssrdi DeployedStatefulServiceReplicaDetailInfo) AsDeployedStatelessServiceInstanceDetailInfo() (*DeployedStatelessServiceInstanceDetailInfo, bool)

AsDeployedStatelessServiceInstanceDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedStatefulServiceReplicaDetailInfo.

func (DeployedStatefulServiceReplicaDetailInfo) MarshalJSON

func (dssrdi DeployedStatefulServiceReplicaDetailInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeployedStatefulServiceReplicaDetailInfo.

func (*DeployedStatefulServiceReplicaDetailInfo) UnmarshalJSON

func (dssrdi *DeployedStatefulServiceReplicaDetailInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DeployedStatefulServiceReplicaDetailInfo struct.

type DeployedStatefulServiceReplicaInfo

type DeployedStatefulServiceReplicaInfo struct {
	// ReplicaID - Id of the stateful service replica.
	ReplicaID *string `json:"ReplicaId,omitempty"`
	// ReplicaRole - Possible values include: 'ReplicaRoleUnknown', 'ReplicaRoleNone', 'ReplicaRolePrimary', 'ReplicaRoleIdleSecondary', 'ReplicaRoleActiveSecondary'
	ReplicaRole ReplicaRole `json:"ReplicaRole,omitempty"`
	// ServiceName - Full hierarchical name of the service in URI format starting with `fabric:`.
	ServiceName *string `json:"ServiceName,omitempty"`
	// ServiceTypeName - Name of the service type as specified in the service manifest.
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// ServiceManifestName - The name of the service manifest in which this service type is defined.
	ServiceManifestName *string `json:"ServiceManifestName,omitempty"`
	// CodePackageName - The name of the code package that hosts this replica.
	CodePackageName *string    `json:"CodePackageName,omitempty"`
	PartitionID     *uuid.UUID `json:"PartitionID,omitempty"`
	// ReplicaStatus - Possible values include: 'ReplicaStatusInvalid', 'ReplicaStatusInBuild', 'ReplicaStatusStandby', 'ReplicaStatusReady', 'ReplicaStatusDown', 'ReplicaStatusDropped'
	ReplicaStatus ReplicaStatus `json:"ReplicaStatus,omitempty"`
	// Address - The last address returned by the replica in Open or ChangeRole.
	Address                    *string `json:"Address,omitempty"`
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindDeployedServiceReplicaInfo', 'ServiceKindStateful', 'ServiceKindStateless'
	ServiceKind ServiceKind `json:"ServiceKind,omitempty"`
}

DeployedStatefulServiceReplicaInfo information about a stateful service replica deployed on a node.

func (DeployedStatefulServiceReplicaInfo) AsBasicDeployedServiceReplicaInfo

func (dssri DeployedStatefulServiceReplicaInfo) AsBasicDeployedServiceReplicaInfo() (BasicDeployedServiceReplicaInfo, bool)

AsBasicDeployedServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatefulServiceReplicaInfo.

func (DeployedStatefulServiceReplicaInfo) AsDeployedServiceReplicaInfo

func (dssri DeployedStatefulServiceReplicaInfo) AsDeployedServiceReplicaInfo() (*DeployedServiceReplicaInfo, bool)

AsDeployedServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatefulServiceReplicaInfo.

func (DeployedStatefulServiceReplicaInfo) AsDeployedStatefulServiceReplicaInfo

func (dssri DeployedStatefulServiceReplicaInfo) AsDeployedStatefulServiceReplicaInfo() (*DeployedStatefulServiceReplicaInfo, bool)

AsDeployedStatefulServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatefulServiceReplicaInfo.

func (DeployedStatefulServiceReplicaInfo) AsDeployedStatelessServiceInstanceInfo

func (dssri DeployedStatefulServiceReplicaInfo) AsDeployedStatelessServiceInstanceInfo() (*DeployedStatelessServiceInstanceInfo, bool)

AsDeployedStatelessServiceInstanceInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatefulServiceReplicaInfo.

func (DeployedStatefulServiceReplicaInfo) MarshalJSON

func (dssri DeployedStatefulServiceReplicaInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeployedStatefulServiceReplicaInfo.

type DeployedStatelessServiceInstanceDetailInfo

type DeployedStatelessServiceInstanceDetailInfo struct {
	// InstanceID - Id of the stateless service instance.
	InstanceID *string `json:"InstanceId,omitempty"`
	// ServiceName - Full hierarchical name of the service in URI format starting with `fabric:`.
	ServiceName *string    `json:"ServiceName,omitempty"`
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// CurrentServiceOperation - Possible values include: 'CurrentServiceOperationUnknown', 'CurrentServiceOperationNone', 'CurrentServiceOperationOpen', 'CurrentServiceOperationChangeRole', 'CurrentServiceOperationClose', 'CurrentServiceOperationAbort'
	CurrentServiceOperation CurrentServiceOperation `json:"CurrentServiceOperation,omitempty"`
	// CurrentServiceOperationStartTimeUtc - The start time of the current service operation in UTC format.
	CurrentServiceOperationStartTimeUtc *date.Time              `json:"CurrentServiceOperationStartTimeUtc,omitempty"`
	ReportedLoad                        *[]LoadMetricReportInfo `json:"ReportedLoad,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindDeployedServiceReplicaDetailInfo', 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateful', 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateless'
	ServiceKind ServiceKindBasicDeployedServiceReplicaDetailInfo `json:"ServiceKind,omitempty"`
}

DeployedStatelessServiceInstanceDetailInfo information about a stateless instance running in a code package.

func (DeployedStatelessServiceInstanceDetailInfo) AsBasicDeployedServiceReplicaDetailInfo

func (dssidi DeployedStatelessServiceInstanceDetailInfo) AsBasicDeployedServiceReplicaDetailInfo() (BasicDeployedServiceReplicaDetailInfo, bool)

AsBasicDeployedServiceReplicaDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedStatelessServiceInstanceDetailInfo.

func (DeployedStatelessServiceInstanceDetailInfo) AsDeployedServiceReplicaDetailInfo

func (dssidi DeployedStatelessServiceInstanceDetailInfo) AsDeployedServiceReplicaDetailInfo() (*DeployedServiceReplicaDetailInfo, bool)

AsDeployedServiceReplicaDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedStatelessServiceInstanceDetailInfo.

func (DeployedStatelessServiceInstanceDetailInfo) AsDeployedStatefulServiceReplicaDetailInfo

func (dssidi DeployedStatelessServiceInstanceDetailInfo) AsDeployedStatefulServiceReplicaDetailInfo() (*DeployedStatefulServiceReplicaDetailInfo, bool)

AsDeployedStatefulServiceReplicaDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedStatelessServiceInstanceDetailInfo.

func (DeployedStatelessServiceInstanceDetailInfo) AsDeployedStatelessServiceInstanceDetailInfo

func (dssidi DeployedStatelessServiceInstanceDetailInfo) AsDeployedStatelessServiceInstanceDetailInfo() (*DeployedStatelessServiceInstanceDetailInfo, bool)

AsDeployedStatelessServiceInstanceDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedStatelessServiceInstanceDetailInfo.

func (DeployedStatelessServiceInstanceDetailInfo) MarshalJSON

func (dssidi DeployedStatelessServiceInstanceDetailInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeployedStatelessServiceInstanceDetailInfo.

type DeployedStatelessServiceInstanceInfo

type DeployedStatelessServiceInstanceInfo struct {
	// InstanceID - Id of the stateless service instance.
	InstanceID *string `json:"InstanceId,omitempty"`
	// ServiceName - Full hierarchical name of the service in URI format starting with `fabric:`.
	ServiceName *string `json:"ServiceName,omitempty"`
	// ServiceTypeName - Name of the service type as specified in the service manifest.
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// ServiceManifestName - The name of the service manifest in which this service type is defined.
	ServiceManifestName *string `json:"ServiceManifestName,omitempty"`
	// CodePackageName - The name of the code package that hosts this replica.
	CodePackageName *string    `json:"CodePackageName,omitempty"`
	PartitionID     *uuid.UUID `json:"PartitionID,omitempty"`
	// ReplicaStatus - Possible values include: 'ReplicaStatusInvalid', 'ReplicaStatusInBuild', 'ReplicaStatusStandby', 'ReplicaStatusReady', 'ReplicaStatusDown', 'ReplicaStatusDropped'
	ReplicaStatus ReplicaStatus `json:"ReplicaStatus,omitempty"`
	// Address - The last address returned by the replica in Open or ChangeRole.
	Address                    *string `json:"Address,omitempty"`
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindDeployedServiceReplicaInfo', 'ServiceKindStateful', 'ServiceKindStateless'
	ServiceKind ServiceKind `json:"ServiceKind,omitempty"`
}

DeployedStatelessServiceInstanceInfo information about a stateless service instance deployed on a node.

func (DeployedStatelessServiceInstanceInfo) AsBasicDeployedServiceReplicaInfo

func (dssii DeployedStatelessServiceInstanceInfo) AsBasicDeployedServiceReplicaInfo() (BasicDeployedServiceReplicaInfo, bool)

AsBasicDeployedServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatelessServiceInstanceInfo.

func (DeployedStatelessServiceInstanceInfo) AsDeployedServiceReplicaInfo

func (dssii DeployedStatelessServiceInstanceInfo) AsDeployedServiceReplicaInfo() (*DeployedServiceReplicaInfo, bool)

AsDeployedServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatelessServiceInstanceInfo.

func (DeployedStatelessServiceInstanceInfo) AsDeployedStatefulServiceReplicaInfo

func (dssii DeployedStatelessServiceInstanceInfo) AsDeployedStatefulServiceReplicaInfo() (*DeployedStatefulServiceReplicaInfo, bool)

AsDeployedStatefulServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatelessServiceInstanceInfo.

func (DeployedStatelessServiceInstanceInfo) AsDeployedStatelessServiceInstanceInfo

func (dssii DeployedStatelessServiceInstanceInfo) AsDeployedStatelessServiceInstanceInfo() (*DeployedStatelessServiceInstanceInfo, bool)

AsDeployedStatelessServiceInstanceInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatelessServiceInstanceInfo.

func (DeployedStatelessServiceInstanceInfo) MarshalJSON

func (dssii DeployedStatelessServiceInstanceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeployedStatelessServiceInstanceInfo.

type EnsureAvailabilitySafetyCheck

type EnsureAvailabilitySafetyCheck struct {
	// PartitionID - Id of the partition which is undergoing the safety check.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration'
	Kind KindBasicSafetyCheck `json:"Kind,omitempty"`
}

EnsureAvailabilitySafetyCheck safety check that waits for ensures the avaiability of the partition. It waits until there are replicas avaiabile such that bring down this replica will not cause avaiability loss for the partition.

func (EnsureAvailabilitySafetyCheck) AsBasicPartitionSafetyCheck

func (easc EnsureAvailabilitySafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)

AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for EnsureAvailabilitySafetyCheck.

func (EnsureAvailabilitySafetyCheck) AsBasicSafetyCheck

func (easc EnsureAvailabilitySafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)

AsBasicSafetyCheck is the BasicSafetyCheck implementation for EnsureAvailabilitySafetyCheck.

func (EnsureAvailabilitySafetyCheck) AsEnsureAvailabilitySafetyCheck

func (easc EnsureAvailabilitySafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)

AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for EnsureAvailabilitySafetyCheck.

func (EnsureAvailabilitySafetyCheck) AsEnsurePartitionQurumSafetyCheck

func (easc EnsureAvailabilitySafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)

AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for EnsureAvailabilitySafetyCheck.

func (EnsureAvailabilitySafetyCheck) AsPartitionSafetyCheck

func (easc EnsureAvailabilitySafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)

AsPartitionSafetyCheck is the BasicSafetyCheck implementation for EnsureAvailabilitySafetyCheck.

func (EnsureAvailabilitySafetyCheck) AsSafetyCheck

func (easc EnsureAvailabilitySafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)

AsSafetyCheck is the BasicSafetyCheck implementation for EnsureAvailabilitySafetyCheck.

func (EnsureAvailabilitySafetyCheck) AsSeedNodeSafetyCheck

func (easc EnsureAvailabilitySafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)

AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for EnsureAvailabilitySafetyCheck.

func (EnsureAvailabilitySafetyCheck) AsWaitForInbuildReplicaSafetyCheck

func (easc EnsureAvailabilitySafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)

AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for EnsureAvailabilitySafetyCheck.

func (EnsureAvailabilitySafetyCheck) AsWaitForPrimaryPlacementSafetyCheck

func (easc EnsureAvailabilitySafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)

AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for EnsureAvailabilitySafetyCheck.

func (EnsureAvailabilitySafetyCheck) AsWaitForPrimarySwapSafetyCheck

func (easc EnsureAvailabilitySafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)

AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for EnsureAvailabilitySafetyCheck.

func (EnsureAvailabilitySafetyCheck) AsWaitForReconfigurationSafetyCheck

func (easc EnsureAvailabilitySafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)

AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for EnsureAvailabilitySafetyCheck.

func (EnsureAvailabilitySafetyCheck) MarshalJSON

func (easc EnsureAvailabilitySafetyCheck) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnsureAvailabilitySafetyCheck.

type EnsurePartitionQurumSafetyCheck

type EnsurePartitionQurumSafetyCheck struct {
	// PartitionID - Id of the partition which is undergoing the safety check.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration'
	Kind KindBasicSafetyCheck `json:"Kind,omitempty"`
}

EnsurePartitionQurumSafetyCheck safety check that ensures that a quorum of replicas are not lost for a partition.

func (EnsurePartitionQurumSafetyCheck) AsBasicPartitionSafetyCheck

func (epqsc EnsurePartitionQurumSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)

AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for EnsurePartitionQurumSafetyCheck.

func (EnsurePartitionQurumSafetyCheck) AsBasicSafetyCheck

func (epqsc EnsurePartitionQurumSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)

AsBasicSafetyCheck is the BasicSafetyCheck implementation for EnsurePartitionQurumSafetyCheck.

func (EnsurePartitionQurumSafetyCheck) AsEnsureAvailabilitySafetyCheck

func (epqsc EnsurePartitionQurumSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)

AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for EnsurePartitionQurumSafetyCheck.

func (EnsurePartitionQurumSafetyCheck) AsEnsurePartitionQurumSafetyCheck

func (epqsc EnsurePartitionQurumSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)

AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for EnsurePartitionQurumSafetyCheck.

func (EnsurePartitionQurumSafetyCheck) AsPartitionSafetyCheck

func (epqsc EnsurePartitionQurumSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)

AsPartitionSafetyCheck is the BasicSafetyCheck implementation for EnsurePartitionQurumSafetyCheck.

func (EnsurePartitionQurumSafetyCheck) AsSafetyCheck

func (epqsc EnsurePartitionQurumSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)

AsSafetyCheck is the BasicSafetyCheck implementation for EnsurePartitionQurumSafetyCheck.

func (EnsurePartitionQurumSafetyCheck) AsSeedNodeSafetyCheck

func (epqsc EnsurePartitionQurumSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)

AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for EnsurePartitionQurumSafetyCheck.

func (EnsurePartitionQurumSafetyCheck) AsWaitForInbuildReplicaSafetyCheck

func (epqsc EnsurePartitionQurumSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)

AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for EnsurePartitionQurumSafetyCheck.

func (EnsurePartitionQurumSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck

func (epqsc EnsurePartitionQurumSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)

AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for EnsurePartitionQurumSafetyCheck.

func (EnsurePartitionQurumSafetyCheck) AsWaitForPrimarySwapSafetyCheck

func (epqsc EnsurePartitionQurumSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)

AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for EnsurePartitionQurumSafetyCheck.

func (EnsurePartitionQurumSafetyCheck) AsWaitForReconfigurationSafetyCheck

func (epqsc EnsurePartitionQurumSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)

AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for EnsurePartitionQurumSafetyCheck.

func (EnsurePartitionQurumSafetyCheck) MarshalJSON

func (epqsc EnsurePartitionQurumSafetyCheck) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnsurePartitionQurumSafetyCheck.

type EntityHealth

type EntityHealth struct {
	// AggregatedHealthState - The HealthState representing the aggregated health state of the entity computed by Health Manager.
	// The health evaluation of the entity reflects all events reported on the entity and its children (if any).
	// The aggregation is done by applying the desired health policy.
	// . Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown'
	AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"`
	// HealthEvents - The list of health events reported on the entity.
	HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"`
	// UnhealthyEvaluations - The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
}

EntityHealth health information common to all entities in the cluster. It contains the aggregated health state, health events and unhealthy evaluation.

type EntityHealthState

type EntityHealthState struct {
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown'
	AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"`
}

EntityHealthState a base type for the health state of various entities in the cluster. It contains the aggregated health state.

type EntityHealthStateChunk

type EntityHealthStateChunk struct {
	// HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown'
	HealthState HealthState2 `json:"HealthState,omitempty"`
}

EntityHealthStateChunk a base type for the health state chunk of various entities in the cluster. It contains the aggregated health state.

type EntityHealthStateChunkList

type EntityHealthStateChunkList struct {
	// TotalCount - Total number of entity health state objects that match the specified filters from the cluster health chunk query description.
	TotalCount *int64 `json:"TotalCount,omitempty"`
}

EntityHealthStateChunkList a base type for the list of health state chunks found in the cluster. It contains the total number of health states that match the input filters.

type Epoch

type Epoch struct {
	// ConfigurationVersion - The current configuration number of this Epoch. The configuration number is an increasing value that is updated whenever the configuration of this replica set changes.
	ConfigurationVersion *string `json:"ConfigurationVersion,omitempty"`
	// DataLossVersion - The current dataloss number of this Epoch. The data loss number property is an increasing value which is updated whenever data loss is suspected, as when loss of a quorum of replicas in the replica set that includes the Primary replica.
	DataLossVersion *string `json:"DataLossVersion,omitempty"`
}

Epoch an Epoch is a configuration number for the partition as a whole. When the configuration of the replica set changes, for example when the Primary replica changes, the operations that are replicated from the new Primary replica are said to be a new Epoch from the ones which were sent by the old Primary replica.

type EventHealthEvaluation

type EventHealthEvaluation struct {
	// ConsiderWarningAsError - Indicates whether warnings are treated with the same severity as errors. The field is specified in the health policy used to evaluate the entity.
	ConsiderWarningAsError *bool        `json:"ConsiderWarningAsError,omitempty"`
	UnhealthyEvent         *HealthEvent `json:"UnhealthyEvent,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

EventHealthEvaluation represents health evaluation of a HealthEvent that was reported on the entity. The health evaluation is returned when evaluating health of an entity results in Error or Warning.

func (EventHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (ehe EventHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 ExecutingFaultsChaosEvent

type ExecutingFaultsChaosEvent struct {
	Faults       *[]string  `json:"Faults,omitempty"`
	TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"`
	// Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting'
	Kind KindBasicChaosEvent `json:"Kind,omitempty"`
}

ExecutingFaultsChaosEvent describes a Chaos event that gets generated when Chaos has decided on the faults for an iteration. This Chaos event contains the details of the faults as a list of strings.

func (ExecutingFaultsChaosEvent) AsBasicChaosEvent

func (efce ExecutingFaultsChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)

AsBasicChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.

func (ExecutingFaultsChaosEvent) AsChaosEvent

func (efce ExecutingFaultsChaosEvent) AsChaosEvent() (*ChaosEvent, bool)

AsChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.

func (ExecutingFaultsChaosEvent) AsExecutingFaultsChaosEvent

func (efce ExecutingFaultsChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)

AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.

func (ExecutingFaultsChaosEvent) AsStartedChaosEvent

func (efce ExecutingFaultsChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)

AsStartedChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.

func (ExecutingFaultsChaosEvent) AsStoppedChaosEvent

func (efce ExecutingFaultsChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)

AsStoppedChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.

func (ExecutingFaultsChaosEvent) AsTestErrorChaosEvent

func (efce ExecutingFaultsChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)

AsTestErrorChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.

func (ExecutingFaultsChaosEvent) AsValidationFailedChaosEvent

func (efce ExecutingFaultsChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)

AsValidationFailedChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.

func (ExecutingFaultsChaosEvent) AsWaitingChaosEvent

func (efce ExecutingFaultsChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)

AsWaitingChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.

func (ExecutingFaultsChaosEvent) MarshalJSON

func (efce ExecutingFaultsChaosEvent) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExecutingFaultsChaosEvent.

type FabricCodeVersionInfo

type FabricCodeVersionInfo struct {
	// CodeVersion - The product version of Service Fabric.
	CodeVersion *string `json:"CodeVersion,omitempty"`
}

FabricCodeVersionInfo information about a Service Fabric code version.

type FabricConfigVersionInfo

type FabricConfigVersionInfo struct {
	// ConfigVersion - The config version of Service Fabric.
	ConfigVersion *string `json:"ConfigVersion,omitempty"`
}

FabricConfigVersionInfo information about a Service Fabric config version.

type FabricError

type FabricError struct {
	Error *FabricErrorError `json:"Error,omitempty"`
}

FabricError the REST API operations for Service Fabric return standard HTTP status codes. This type defines the additional information returned from the Service Fabric API operations that are not successful.

type FabricErrorError

type FabricErrorError struct {
	// Code - Possible values include: 'FABRICEINVALIDPARTITIONKEY', 'FABRICEIMAGEBUILDERVALIDATIONERROR', 'FABRICEINVALIDADDRESS', 'FABRICEAPPLICATIONNOTUPGRADING', 'FABRICEAPPLICATIONUPGRADEVALIDATIONERROR', 'FABRICEFABRICNOTUPGRADING', 'FABRICEFABRICUPGRADEVALIDATIONERROR', 'FABRICEINVALIDCONFIGURATION', 'FABRICEINVALIDNAMEURI', 'FABRICEPATHTOOLONG', 'FABRICEKEYTOOLARGE', 'FABRICESERVICEAFFINITYCHAINNOTSUPPORTED', 'FABRICEINVALIDATOMICGROUP', 'FABRICEVALUEEMPTY', 'FABRICENODENOTFOUND', 'FABRICEAPPLICATIONTYPENOTFOUND', 'FABRICEAPPLICATIONNOTFOUND', 'FABRICESERVICETYPENOTFOUND', 'FABRICESERVICEDOESNOTEXIST', 'FABRICESERVICETYPETEMPLATENOTFOUND', 'FABRICECONFIGURATIONSECTIONNOTFOUND', 'FABRICEPARTITIONNOTFOUND', 'FABRICEREPLICADOESNOTEXIST', 'FABRICESERVICEGROUPDOESNOTEXIST', 'FABRICECONFIGURATIONPARAMETERNOTFOUND', 'FABRICEDIRECTORYNOTFOUND', 'FABRICEFABRICVERSIONNOTFOUND', 'FABRICEFILENOTFOUND', 'FABRICENAMEDOESNOTEXIST', 'FABRICEPROPERTYDOESNOTEXIST', 'FABRICEENUMERATIONCOMPLETED', 'FABRICESERVICEMANIFESTNOTFOUND', 'FABRICEKEYNOTFOUND', 'FABRICEHEALTHENTITYNOTFOUND', 'FABRICEAPPLICATIONTYPEALREADYEXISTS', 'FABRICEAPPLICATIONALREADYEXISTS', 'FABRICEAPPLICATIONALREADYINTARGETVERSION', 'FABRICEAPPLICATIONTYPEPROVISIONINPROGRESS', 'FABRICEAPPLICATIONUPGRADEINPROGRESS', 'FABRICESERVICEALREADYEXISTS', 'FABRICESERVICEGROUPALREADYEXISTS', 'FABRICEAPPLICATIONTYPEINUSE', 'FABRICEFABRICALREADYINTARGETVERSION', 'FABRICEFABRICVERSIONALREADYEXISTS', 'FABRICEFABRICVERSIONINUSE', 'FABRICEFABRICUPGRADEINPROGRESS', 'FABRICENAMEALREADYEXISTS', 'FABRICENAMENOTEMPTY', 'FABRICEPROPERTYCHECKFAILED', 'FABRICESERVICEMETADATAMISMATCH', 'FABRICESERVICETYPEMISMATCH', 'FABRICEHEALTHSTALEREPORT', 'FABRICESEQUENCENUMBERCHECKFAILED', 'FABRICENODEHASNOTSTOPPEDYET', 'FABRICEINSTANCEIDMISMATCH', 'FABRICEVALUETOOLARGE', 'FABRICENOWRITEQUORUM', 'FABRICENOTPRIMARY', 'FABRICENOTREADY', 'FABRICERECONFIGURATIONPENDING', 'FABRICESERVICEOFFLINE', 'EABORT', 'FABRICECOMMUNICATIONERROR', 'FABRICEOPERATIONNOTCOMPLETE', 'FABRICETIMEOUT', 'FABRICENODEISUP'
	Code Code `json:"Code,omitempty"`
	// Message - Error message.
	Message *string `json:"Message,omitempty"`
}

FabricErrorError error object containing error code and error message.

type FailedUpgradeDomainProgressObject

type FailedUpgradeDomainProgressObject struct {
	DomainName              *string                    `json:"DomainName,omitempty"`
	NodeUpgradeProgressList *[]NodeUpgradeProgressInfo `json:"NodeUpgradeProgressList,omitempty"`
}

FailedUpgradeDomainProgressObject the detailed upgrade progress for nodes in the current upgrade domain at the point of failure.

type FailureAction

type FailureAction string

FailureAction enumerates the values for failure action.

const (
	// FailureActionInvalid ...
	FailureActionInvalid FailureAction = "Invalid"
	// FailureActionManual ...
	FailureActionManual FailureAction = "Manual"
	// FailureActionRollback ...
	FailureActionRollback FailureAction = "Rollback"
)

func PossibleFailureActionValues

func PossibleFailureActionValues() []FailureAction

PossibleFailureActionValues returns an array of possible values for the FailureAction const type.

type FailureAction1

type FailureAction1 string

FailureAction1 enumerates the values for failure action 1.

const (
	// FailureAction1Invalid ...
	FailureAction1Invalid FailureAction1 = "Invalid"
	// FailureAction1Manual ...
	FailureAction1Manual FailureAction1 = "Manual"
	// FailureAction1Rollback ...
	FailureAction1Rollback FailureAction1 = "Rollback"
)

func PossibleFailureAction1Values

func PossibleFailureAction1Values() []FailureAction1

PossibleFailureAction1Values returns an array of possible values for the FailureAction1 const type.

type FailureReason

type FailureReason string

FailureReason enumerates the values for failure reason.

const (
	// HealthCheck ...
	HealthCheck FailureReason = "HealthCheck"
	// Interrupted ...
	Interrupted FailureReason = "Interrupted"
	// None ...
	None FailureReason = "None"
	// UpgradeDomainTimeout ...
	UpgradeDomainTimeout FailureReason = "UpgradeDomainTimeout"
	// UpgradeTimeout ...
	UpgradeTimeout FailureReason = "UpgradeTimeout"
)

func PossibleFailureReasonValues

func PossibleFailureReasonValues() []FailureReason

PossibleFailureReasonValues returns an array of possible values for the FailureReason const type.

type FailureReason1

type FailureReason1 string

FailureReason1 enumerates the values for failure reason 1.

const (
	// FailureReason1HealthCheck ...
	FailureReason1HealthCheck FailureReason1 = "HealthCheck"
	// FailureReason1Interrupted ...
	FailureReason1Interrupted FailureReason1 = "Interrupted"
	// FailureReason1None ...
	FailureReason1None FailureReason1 = "None"
	// FailureReason1UpgradeDomainTimeout ...
	FailureReason1UpgradeDomainTimeout FailureReason1 = "UpgradeDomainTimeout"
	// FailureReason1UpgradeTimeout ...
	FailureReason1UpgradeTimeout FailureReason1 = "UpgradeTimeout"
)

func PossibleFailureReason1Values

func PossibleFailureReason1Values() []FailureReason1

PossibleFailureReason1Values returns an array of possible values for the FailureReason1 const type.

type FailureUpgradeDomainProgressInfo

type FailureUpgradeDomainProgressInfo struct {
	DomainName              *string                    `json:"DomainName,omitempty"`
	NodeUpgradeProgressList *[]NodeUpgradeProgressInfo `json:"NodeUpgradeProgressList,omitempty"`
}

FailureUpgradeDomainProgressInfo information about the upgrade domain progress at the time of upgrade failure.

type FileInfo

type FileInfo struct {
	// FileSize - The size of file in bytes.
	FileSize    *string      `json:"FileSize,omitempty"`
	FileVersion *FileVersion `json:"FileVersion,omitempty"`
	// ModifiedDate - The date and time when the image store file was last modified.
	ModifiedDate *date.Time `json:"ModifiedDate,omitempty"`
	// StoreRelativePath - The file path relative to the image store root path.
	StoreRelativePath *string `json:"StoreRelativePath,omitempty"`
}

FileInfo information about a image store file.

type FileVersion

type FileVersion struct {
	// VersionNumber - The current iamge store version number for the file is used in image store for checking whether it need to be updated.
	VersionNumber *string `json:"VersionNumber,omitempty"`
	// EpochDataLossNumber - The epoch data loss number of image store file is used to indicate the status of data loss.
	EpochDataLossNumber *string `json:"EpochDataLossNumber,omitempty"`
}

FileVersion information about the version of image store file.

type FolderInfo

type FolderInfo struct {
	StoreRelativePath *string `json:"StoreRelativePath,omitempty"`
	// FileCount - The number of files from within the image store folder.
	FileCount *uuid.UUID `json:"FileCount,omitempty"`
}

FolderInfo information about a image store folder. It inclues how many files this folder contains and its image store relative path.

type HealthEvaluation

type HealthEvaluation struct {
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

HealthEvaluation represents a health evaluation which describes the data and the algorithm used by health manager to evaluate the health of an entity.

func (HealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (he HealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 HealthEvaluationWrapper

type HealthEvaluationWrapper struct {
	HealthEvaluation BasicHealthEvaluation `json:"HealthEvaluation,omitempty"`
}

HealthEvaluationWrapper wrapper object for health evaluation.

func (*HealthEvaluationWrapper) UnmarshalJSON

func (hew *HealthEvaluationWrapper) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for HealthEvaluationWrapper struct.

type HealthEvent

type HealthEvent struct {
	// IsExpired - Returns true if the health event is expired, otherwise false.
	IsExpired *bool `json:"IsExpired,omitempty"`
	// SourceUtcTimestamp - The date and time when the health report was sent by the source.
	SourceUtcTimestamp *date.Time `json:"SourceUtcTimestamp,omitempty"`
	// LastModifiedUtcTimestamp - The date and time when the health report was last modified by the health store.
	LastModifiedUtcTimestamp *date.Time `json:"LastModifiedUtcTimestamp,omitempty"`
	// LastOkTransitionAt - If the current health state is 'Ok', this property returns the time at which the health report was first reported with 'Ok'.
	// For periodic reporting, many reports with the same state may have been generated.
	// This property returns the date and time when the first 'Ok' health report was received.
	// If the current health state is 'Error' or 'Warning', returns the date and time at which the health state was last in 'Ok', before transitioning to a different state.
	// If the health state was never 'Ok', the value will be zero date-time.
	LastOkTransitionAt *date.Time `json:"LastOkTransitionAt,omitempty"`
	// LastWarningTransitionAt - If the current health state is 'Warning', this property returns the time at which the health report was first reported with 'Warning'. For periodic reporting, many reports with the same state may have been generated however, this property returns only the date and time at the first 'Warning' health report was received.
	// If the current health state is 'Ok' or 'Error', returns the date and time at which the health state was last in 'Warning', before transitioning to a different state.
	// If the health state was never 'Warning', the value will be zero date-time.
	LastWarningTransitionAt *date.Time `json:"LastWarningTransitionAt,omitempty"`
	// LastErrorTransitionAt - If the current health state is 'Error', this property returns the time at which the health report was first reported with 'Error'. For periodic reporting, many reports with the same state may have been generated however, this property returns only the date and time at the first 'Error' health report was received.
	// If the current health state is 'Ok' or 'Warning', returns the date and time at which the health state was last in 'Error', before transitioning to a different state.
	// If the health state was never 'Error', the value will be zero date-time.
	LastErrorTransitionAt *date.Time `json:"LastErrorTransitionAt,omitempty"`
	// SourceID - The source name which identifies the client/watchdog/system component which generated the health information.
	SourceID *string `json:"SourceId,omitempty"`
	// Property - The property of the health information. An entity can have health reports for different properties.
	// The property is a string and not a fixed enumeration to allow the reporter flexibility to categorize the state condition that triggers the report.
	// For example, a reporter with SourceId "LocalWatchdog" can monitor the state of the available disk on a node,
	// so it can report "AvailableDisk" property on that node.
	// The same reporter can monitor the node connectivity, so it can report a property "Connectivity" on the same node.
	// In the health store, these reports are treated as separate health events for the specified node.
	// Together with the SourceId, the property uniquely identifies the health information.
	Property *string `json:"Property,omitempty"`
	// HealthState - Possible values include: 'HealthState3Invalid', 'HealthState3Ok', 'HealthState3Warning', 'HealthState3Error', 'HealthState3Unknown'
	HealthState HealthState3 `json:"HealthState,omitempty"`
	// TimeToLiveInMilliSeconds - The duration for which this health report is valid. This field is using ISO8601 format for specifying the duration.
	// When clients report periodically, they should send reports with higher frequency than time to live.
	// If clients report on transition, they can set the time to live to infinite.
	// When time to live expires, the health event that contains the health information
	// is either removed from health store, if RemoveWhenExpired is true, or evaluated at error, if RemoveWhenExpired false.
	// If not specified, time to live defaults to infinite value.
	TimeToLiveInMilliSeconds *string `json:"TimeToLiveInMilliSeconds,omitempty"`
	// Description - The description of the health information. It represents free text used to add human readable information about the report.
	// The maximum string length for the description is 4096 characters.
	// If the provided string is longer, it will be automatically truncated.
	// When truncated, the last characters of the description contain a marker "[Truncated]", and total string size is 4096 characters.
	// The presence of the marker indicates to users that truncation occurred.
	// Note that when truncated, the description has less than 4096 characters from the original string.
	Description *string `json:"Description,omitempty"`
	// SequenceNumber - The sequence number for this health report as a numeric string.
	// The report sequence number is used by the health store to detect stale reports.
	// If not specified, a sequence number is auto-generated by the health client when a report is added.
	SequenceNumber *string `json:"SequenceNumber,omitempty"`
	// RemoveWhenExpired - Value that indicates whether the report is removed from health store when it expires.
	// If set to true, the report is remopved from the health store after it expires.
	// If set to false, the report is treated as an error when expired. The value of this property is false by default.
	// When clients report periodically, they should set RemoveWhenExpired false (default).
	// This way, is the reporter has issues (eg. deadlock) and can't report, the entity is evaluated at error when the health report expires.
	// This flags the entity as being in Error health state.
	RemoveWhenExpired *bool `json:"RemoveWhenExpired,omitempty"`
}

HealthEvent represents health information reported on a health entity, such as cluster, application or node, with additional metadata added by the Health Manager.

type HealthInformation

type HealthInformation struct {
	// SourceID - The source name which identifies the client/watchdog/system component which generated the health information.
	SourceID *string `json:"SourceId,omitempty"`
	// Property - The property of the health information. An entity can have health reports for different properties.
	// The property is a string and not a fixed enumeration to allow the reporter flexibility to categorize the state condition that triggers the report.
	// For example, a reporter with SourceId "LocalWatchdog" can monitor the state of the available disk on a node,
	// so it can report "AvailableDisk" property on that node.
	// The same reporter can monitor the node connectivity, so it can report a property "Connectivity" on the same node.
	// In the health store, these reports are treated as separate health events for the specified node.
	// Together with the SourceId, the property uniquely identifies the health information.
	Property *string `json:"Property,omitempty"`
	// HealthState - Possible values include: 'HealthState3Invalid', 'HealthState3Ok', 'HealthState3Warning', 'HealthState3Error', 'HealthState3Unknown'
	HealthState HealthState3 `json:"HealthState,omitempty"`
	// TimeToLiveInMilliSeconds - The duration for which this health report is valid. This field is using ISO8601 format for specifying the duration.
	// When clients report periodically, they should send reports with higher frequency than time to live.
	// If clients report on transition, they can set the time to live to infinite.
	// When time to live expires, the health event that contains the health information
	// is either removed from health store, if RemoveWhenExpired is true, or evaluated at error, if RemoveWhenExpired false.
	// If not specified, time to live defaults to infinite value.
	TimeToLiveInMilliSeconds *string `json:"TimeToLiveInMilliSeconds,omitempty"`
	// Description - The description of the health information. It represents free text used to add human readable information about the report.
	// The maximum string length for the description is 4096 characters.
	// If the provided string is longer, it will be automatically truncated.
	// When truncated, the last characters of the description contain a marker "[Truncated]", and total string size is 4096 characters.
	// The presence of the marker indicates to users that truncation occurred.
	// Note that when truncated, the description has less than 4096 characters from the original string.
	Description *string `json:"Description,omitempty"`
	// SequenceNumber - The sequence number for this health report as a numeric string.
	// The report sequence number is used by the health store to detect stale reports.
	// If not specified, a sequence number is auto-generated by the health client when a report is added.
	SequenceNumber *string `json:"SequenceNumber,omitempty"`
	// RemoveWhenExpired - Value that indicates whether the report is removed from health store when it expires.
	// If set to true, the report is remopved from the health store after it expires.
	// If set to false, the report is treated as an error when expired. The value of this property is false by default.
	// When clients report periodically, they should set RemoveWhenExpired false (default).
	// This way, is the reporter has issues (eg. deadlock) and can't report, the entity is evaluated at error when the health report expires.
	// This flags the entity as being in Error health state.
	RemoveWhenExpired *bool `json:"RemoveWhenExpired,omitempty"`
}

HealthInformation represents common health report information. It is included in all health reports sent to health store and in all health events returned by health queries.

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

func PossibleHealthStateValues

func PossibleHealthStateValues() []HealthState

PossibleHealthStateValues returns an array of possible values for the HealthState const type.

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

func PossibleHealthState1Values

func PossibleHealthState1Values() []HealthState1

PossibleHealthState1Values returns an array of possible values for the HealthState1 const type.

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

func PossibleHealthState2Values

func PossibleHealthState2Values() []HealthState2

PossibleHealthState2Values returns an array of possible values for the HealthState2 const type.

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

func PossibleHealthState3Values

func PossibleHealthState3Values() []HealthState3

PossibleHealthState3Values returns an array of possible values for the HealthState3 const type.

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

func PossibleHealthState4Values

func PossibleHealthState4Values() []HealthState4

PossibleHealthState4Values returns an array of possible values for the HealthState4 const type.

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

func PossibleHealthState5Values

func PossibleHealthState5Values() []HealthState5

PossibleHealthState5Values returns an array of possible values for the HealthState5 const type.

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

func PossibleHealthState6Values

func PossibleHealthState6Values() []HealthState6

PossibleHealthState6Values returns an array of possible values for the HealthState6 const type.

type HealthState7

type HealthState7 string

HealthState7 enumerates the values for health state 7.

const (
	// HealthState7Error ...
	HealthState7Error HealthState7 = "Error"
	// HealthState7Invalid ...
	HealthState7Invalid HealthState7 = "Invalid"
	// HealthState7Ok ...
	HealthState7Ok HealthState7 = "Ok"
	// HealthState7Unknown ...
	HealthState7Unknown HealthState7 = "Unknown"
	// HealthState7Warning ...
	HealthState7Warning HealthState7 = "Warning"
)

func PossibleHealthState7Values

func PossibleHealthState7Values() []HealthState7

PossibleHealthState7Values returns an array of possible values for the HealthState7 const type.

type HostIsolationMode

type HostIsolationMode string

HostIsolationMode enumerates the values for host isolation mode.

const (
	// HostIsolationModeHyperV ...
	HostIsolationModeHyperV HostIsolationMode = "HyperV"
	// HostIsolationModeNone ...
	HostIsolationModeNone HostIsolationMode = "None"
	// HostIsolationModeProcess ...
	HostIsolationModeProcess HostIsolationMode = "Process"
)

func PossibleHostIsolationModeValues

func PossibleHostIsolationModeValues() []HostIsolationMode

PossibleHostIsolationModeValues returns an array of possible values for the HostIsolationMode const type.

type HostType

type HostType string

HostType enumerates the values for host type.

const (
	// HostTypeContainerHost ...
	HostTypeContainerHost HostType = "ContainerHost"
	// HostTypeExeHost ...
	HostTypeExeHost HostType = "ExeHost"
	// HostTypeInvalid ...
	HostTypeInvalid HostType = "Invalid"
)

func PossibleHostTypeValues

func PossibleHostTypeValues() []HostType

PossibleHostTypeValues returns an array of possible values for the HostType const type.

type ImageStoreContent

type ImageStoreContent struct {
	autorest.Response `json:"-"`
	// StoreFiles - The list of image store file info objects represents files found under the given image store relative path.
	StoreFiles *[]FileInfo `json:"StoreFiles,omitempty"`
	// StoreFolders - The list of image store folder info objectes represents subfolders found under the given image store relative path.
	StoreFolders *[]FolderInfo `json:"StoreFolders,omitempty"`
}

ImageStoreContent information about the image store content.

type ImageStoreCopyDescription

type ImageStoreCopyDescription struct {
	// RemoteSource - The relative path of source image store content to be copied from.
	RemoteSource *string `json:"RemoteSource,omitempty"`
	// RemoteDestination - The relative path of destination image store content to be copied to.
	RemoteDestination *string `json:"RemoteDestination,omitempty"`
	// SkipFiles - The list of the file names to be skipped for copying.
	SkipFiles *[]string `json:"SkipFiles,omitempty"`
	// CheckMarkFile - Indicates whether to check mark file during copying. The property is true if checking mark file is required, false otherwise. The mark file is used to check whether the folder is well constructed. If the property is true and mark file does not exist, the copy is skipped.
	CheckMarkFile *bool `json:"CheckMarkFile,omitempty"`
}

ImageStoreCopyDescription information about how to copy image store content from one image store relative path to another image store relative path.

type Int64RangePartitionInformation

type Int64RangePartitionInformation struct {
	// LowKey - Specifies the minimum key value handled by this partition.
	LowKey *string `json:"LowKey,omitempty"`
	// HighKey - Specifies the maximum key value handled by this partition.
	HighKey *string    `json:"HighKey,omitempty"`
	ID      *uuid.UUID `json:"Id,omitempty"`
	// ServicePartitionKind - Possible values include: 'ServicePartitionKindPartitionInformation', 'ServicePartitionKindInt64Range', 'ServicePartitionKindNamed', 'ServicePartitionKindSingleton'
	ServicePartitionKind ServicePartitionKind `json:"ServicePartitionKind,omitempty"`
}

Int64RangePartitionInformation describes the partition information for the integer range that is based on partition schemes.

func (Int64RangePartitionInformation) AsBasicPartitionInformation

func (i6rpi Int64RangePartitionInformation) AsBasicPartitionInformation() (BasicPartitionInformation, bool)

AsBasicPartitionInformation is the BasicPartitionInformation implementation for Int64RangePartitionInformation.

func (Int64RangePartitionInformation) AsInt64RangePartitionInformation

func (i6rpi Int64RangePartitionInformation) AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)

AsInt64RangePartitionInformation is the BasicPartitionInformation implementation for Int64RangePartitionInformation.

func (Int64RangePartitionInformation) AsNamedPartitionInformation

func (i6rpi Int64RangePartitionInformation) AsNamedPartitionInformation() (*NamedPartitionInformation, bool)

AsNamedPartitionInformation is the BasicPartitionInformation implementation for Int64RangePartitionInformation.

func (Int64RangePartitionInformation) AsPartitionInformation

func (i6rpi Int64RangePartitionInformation) AsPartitionInformation() (*PartitionInformation, bool)

AsPartitionInformation is the BasicPartitionInformation implementation for Int64RangePartitionInformation.

func (Int64RangePartitionInformation) AsSingletonPartitionInformation

func (i6rpi Int64RangePartitionInformation) AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)

AsSingletonPartitionInformation is the BasicPartitionInformation implementation for Int64RangePartitionInformation.

func (Int64RangePartitionInformation) MarshalJSON

func (i6rpi Int64RangePartitionInformation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Int64RangePartitionInformation.

type InvokeDataLossResult

type InvokeDataLossResult struct {
	// ErrorCode - If OperationState is Completed, this is 0.  If OperationState is Faulted, this is an error code indicating the reason.
	ErrorCode         *int32             `json:"ErrorCode,omitempty"`
	SelectedPartition *SelectedPartition `json:"SelectedPartition,omitempty"`
}

InvokeDataLossResult represents information about an operation in a terminal state (Completed or Faulted).

type InvokeQuorumLossResult

type InvokeQuorumLossResult struct {
	// ErrorCode - If OperationState is Completed, this is 0.  If OperationState is Faulted, this is an error code indicating the reason.
	ErrorCode         *int32             `json:"ErrorCode,omitempty"`
	SelectedPartition *SelectedPartition `json:"SelectedPartition,omitempty"`
}

InvokeQuorumLossResult represents information about an operation in a terminal state (Completed or Faulted).

type KeyValueStoreReplicaStatus

type KeyValueStoreReplicaStatus struct {
	// DatabaseRowCountEstimate - Value indicating the estimated number of rows in the underlying database.
	DatabaseRowCountEstimate *string `json:"DatabaseRowCountEstimate,omitempty"`
	// DatabaseLogicalSizeEstimate - Value indicating the estimated size of the underlying database.
	DatabaseLogicalSizeEstimate *string `json:"DatabaseLogicalSizeEstimate,omitempty"`
	// CopyNotificationCurrentKeyFilter - Value indicating the latest key-prefix filter applied to enumeration during the callback. Null if there is no pending callback.
	CopyNotificationCurrentKeyFilter *string `json:"CopyNotificationCurrentKeyFilter,omitempty"`
	// CopyNotificationCurrentProgress - Value indicating the latest number of keys enumerated during the callback. 0 if there is no pending callback.
	CopyNotificationCurrentProgress *string `json:"CopyNotificationCurrentProgress,omitempty"`
	// StatusDetails - Value indicating the current status details of the replica.
	StatusDetails *string `json:"StatusDetails,omitempty"`
	// Kind - Possible values include: 'KindReplicaStatusBase', 'KindKeyValueStore'
	Kind KindBasicReplicaStatusBase `json:"Kind,omitempty"`
}

KeyValueStoreReplicaStatus key value store related information for the replica.

func (KeyValueStoreReplicaStatus) AsBasicReplicaStatusBase

func (kvsrs KeyValueStoreReplicaStatus) AsBasicReplicaStatusBase() (BasicReplicaStatusBase, bool)

AsBasicReplicaStatusBase is the BasicReplicaStatusBase implementation for KeyValueStoreReplicaStatus.

func (KeyValueStoreReplicaStatus) AsKeyValueStoreReplicaStatus

func (kvsrs KeyValueStoreReplicaStatus) AsKeyValueStoreReplicaStatus() (*KeyValueStoreReplicaStatus, bool)

AsKeyValueStoreReplicaStatus is the BasicReplicaStatusBase implementation for KeyValueStoreReplicaStatus.

func (KeyValueStoreReplicaStatus) AsReplicaStatusBase

func (kvsrs KeyValueStoreReplicaStatus) AsReplicaStatusBase() (*ReplicaStatusBase, bool)

AsReplicaStatusBase is the BasicReplicaStatusBase implementation for KeyValueStoreReplicaStatus.

func (KeyValueStoreReplicaStatus) MarshalJSON

func (kvsrs KeyValueStoreReplicaStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KeyValueStoreReplicaStatus.

type Kind

type Kind string

Kind enumerates the values for kind.

const (
	// KindInvalid ...
	KindInvalid Kind = "Invalid"
	// KindStatefulPrimary ...
	KindStatefulPrimary Kind = "StatefulPrimary"
	// KindStatefulSecondary ...
	KindStatefulSecondary Kind = "StatefulSecondary"
	// KindStateless ...
	KindStateless Kind = "Stateless"
)

func PossibleKindValues

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type KindBasicChaosEvent

type KindBasicChaosEvent string

KindBasicChaosEvent enumerates the values for kind basic chaos event.

const (
	// KindChaosEvent ...
	KindChaosEvent KindBasicChaosEvent = "ChaosEvent"
	// KindExecutingFaults ...
	KindExecutingFaults KindBasicChaosEvent = "ExecutingFaults"
	// KindStarted ...
	KindStarted KindBasicChaosEvent = "Started"
	// KindStopped ...
	KindStopped KindBasicChaosEvent = "Stopped"
	// KindTestError ...
	KindTestError KindBasicChaosEvent = "TestError"
	// KindValidationFailed ...
	KindValidationFailed KindBasicChaosEvent = "ValidationFailed"
	// KindWaiting ...
	KindWaiting KindBasicChaosEvent = "Waiting"
)

func PossibleKindBasicChaosEventValues

func PossibleKindBasicChaosEventValues() []KindBasicChaosEvent

PossibleKindBasicChaosEventValues returns an array of possible values for the KindBasicChaosEvent const type.

type KindBasicHealthEvaluation

type KindBasicHealthEvaluation string

KindBasicHealthEvaluation enumerates the values for kind basic health evaluation.

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

func PossibleKindBasicHealthEvaluationValues

func PossibleKindBasicHealthEvaluationValues() []KindBasicHealthEvaluation

PossibleKindBasicHealthEvaluationValues returns an array of possible values for the KindBasicHealthEvaluation const type.

type KindBasicReplicaStatusBase

type KindBasicReplicaStatusBase string

KindBasicReplicaStatusBase enumerates the values for kind basic replica status base.

const (
	// KindKeyValueStore ...
	KindKeyValueStore KindBasicReplicaStatusBase = "KeyValueStore"
	// KindReplicaStatusBase ...
	KindReplicaStatusBase KindBasicReplicaStatusBase = "ReplicaStatusBase"
)

func PossibleKindBasicReplicaStatusBaseValues

func PossibleKindBasicReplicaStatusBaseValues() []KindBasicReplicaStatusBase

PossibleKindBasicReplicaStatusBaseValues returns an array of possible values for the KindBasicReplicaStatusBase const type.

type KindBasicReplicatorStatus

type KindBasicReplicatorStatus string

KindBasicReplicatorStatus enumerates the values for kind basic replicator status.

const (
	// KindActiveSecondary ...
	KindActiveSecondary KindBasicReplicatorStatus = "ActiveSecondary"
	// KindIdleSecondary ...
	KindIdleSecondary KindBasicReplicatorStatus = "IdleSecondary"
	// KindPrimary ...
	KindPrimary KindBasicReplicatorStatus = "Primary"
	// KindReplicatorStatus ...
	KindReplicatorStatus KindBasicReplicatorStatus = "ReplicatorStatus"
	// KindSecondaryReplicatorStatus ...
	KindSecondaryReplicatorStatus KindBasicReplicatorStatus = "SecondaryReplicatorStatus"
)

func PossibleKindBasicReplicatorStatusValues

func PossibleKindBasicReplicatorStatusValues() []KindBasicReplicatorStatus

PossibleKindBasicReplicatorStatusValues returns an array of possible values for the KindBasicReplicatorStatus const type.

type KindBasicSafetyCheck

type KindBasicSafetyCheck string

KindBasicSafetyCheck enumerates the values for kind basic safety check.

const (
	// KindEnsureAvailability ...
	KindEnsureAvailability KindBasicSafetyCheck = "EnsureAvailability"
	// KindEnsurePartitionQuorum ...
	KindEnsurePartitionQuorum KindBasicSafetyCheck = "EnsurePartitionQuorum"
	// KindEnsureSeedNodeQuorum ...
	KindEnsureSeedNodeQuorum KindBasicSafetyCheck = "EnsureSeedNodeQuorum"
	// KindPartitionSafetyCheck ...
	KindPartitionSafetyCheck KindBasicSafetyCheck = "PartitionSafetyCheck"
	// KindSafetyCheck ...
	KindSafetyCheck KindBasicSafetyCheck = "SafetyCheck"
	// KindWaitForInbuildReplica ...
	KindWaitForInbuildReplica KindBasicSafetyCheck = "WaitForInbuildReplica"
	// KindWaitForPrimaryPlacement ...
	KindWaitForPrimaryPlacement KindBasicSafetyCheck = "WaitForPrimaryPlacement"
	// KindWaitForPrimarySwap ...
	KindWaitForPrimarySwap KindBasicSafetyCheck = "WaitForPrimarySwap"
	// KindWaitForReconfiguration ...
	KindWaitForReconfiguration KindBasicSafetyCheck = "WaitForReconfiguration"
)

func PossibleKindBasicSafetyCheckValues

func PossibleKindBasicSafetyCheckValues() []KindBasicSafetyCheck

PossibleKindBasicSafetyCheckValues returns an array of possible values for the KindBasicSafetyCheck const type.

type KindBasicServiceTypeDescription

type KindBasicServiceTypeDescription string

KindBasicServiceTypeDescription enumerates the values for kind basic service type description.

const (
	// KindServiceTypeDescription ...
	KindServiceTypeDescription KindBasicServiceTypeDescription = "ServiceTypeDescription"
	// KindStateful ...
	KindStateful KindBasicServiceTypeDescription = "Stateful"
	// KindStateless1 ...
	KindStateless1 KindBasicServiceTypeDescription = "Stateless"
)

func PossibleKindBasicServiceTypeDescriptionValues

func PossibleKindBasicServiceTypeDescriptionValues() []KindBasicServiceTypeDescription

PossibleKindBasicServiceTypeDescriptionValues returns an array of possible values for the KindBasicServiceTypeDescription const type.

type ListDeployedApplicationInfo

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

ListDeployedApplicationInfo ...

type ListDeployedCodePackageInfo

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

ListDeployedCodePackageInfo ...

type ListDeployedServicePackageInfo

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

ListDeployedServicePackageInfo ...

type ListDeployedServiceReplicaInfo

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

ListDeployedServiceReplicaInfo ...

func (*ListDeployedServiceReplicaInfo) UnmarshalJSON

func (ldsri *ListDeployedServiceReplicaInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ListDeployedServiceReplicaInfo struct.

type ListDeployedServiceTypeInfo

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

ListDeployedServiceTypeInfo ...

type ListFabricCodeVersionInfo

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

ListFabricCodeVersionInfo ...

type ListFabricConfigVersionInfo

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

ListFabricConfigVersionInfo ...

type ListOperationStatus

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

ListOperationStatus ...

type ListServiceTypeInfo

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

ListServiceTypeInfo ...

type LoadMetricReport

type LoadMetricReport struct {
	// LastReportedUtc - Gets the UTC time when the load was reported.
	LastReportedUtc *date.Time `json:"LastReportedUtc,omitempty"`
	// Name - The name of the load metric.
	Name *string `json:"Name,omitempty"`
	// Value - The value of the load metric.
	Value *string `json:"Value,omitempty"`
}

LoadMetricReport represents the load metric report which contains the time metric was reported, its name and value.

type LoadMetricReportInfo

type LoadMetricReportInfo struct {
	// Name - The name of the metric.
	Name *string `json:"Name,omitempty"`
	// Value - The value of the load for the metric..
	Value *int32 `json:"Value,omitempty"`
	// LastReportedUtc - The UTC time when the load is reported.
	LastReportedUtc *date.Time `json:"LastReportedUtc,omitempty"`
}

LoadMetricReportInfo information about load reported by replica.

type MonitoringPolicyDescription

type MonitoringPolicyDescription struct {
	// FailureAction - Possible values include: 'FailureActionInvalid', 'FailureActionRollback', 'FailureActionManual'
	FailureAction                           FailureAction `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"`
}

MonitoringPolicyDescription describes the parameters for monitoring an upgrade in Monitored mode.

type NamedPartitionInformation

type NamedPartitionInformation struct {
	// Name - Name of the partition.
	Name *string    `json:"Name,omitempty"`
	ID   *uuid.UUID `json:"Id,omitempty"`
	// ServicePartitionKind - Possible values include: 'ServicePartitionKindPartitionInformation', 'ServicePartitionKindInt64Range', 'ServicePartitionKindNamed', 'ServicePartitionKindSingleton'
	ServicePartitionKind ServicePartitionKind `json:"ServicePartitionKind,omitempty"`
}

NamedPartitionInformation describes the partition information for the name as a string that is based on partition schemes.

func (NamedPartitionInformation) AsBasicPartitionInformation

func (npi NamedPartitionInformation) AsBasicPartitionInformation() (BasicPartitionInformation, bool)

AsBasicPartitionInformation is the BasicPartitionInformation implementation for NamedPartitionInformation.

func (NamedPartitionInformation) AsInt64RangePartitionInformation

func (npi NamedPartitionInformation) AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)

AsInt64RangePartitionInformation is the BasicPartitionInformation implementation for NamedPartitionInformation.

func (NamedPartitionInformation) AsNamedPartitionInformation

func (npi NamedPartitionInformation) AsNamedPartitionInformation() (*NamedPartitionInformation, bool)

AsNamedPartitionInformation is the BasicPartitionInformation implementation for NamedPartitionInformation.

func (NamedPartitionInformation) AsPartitionInformation

func (npi NamedPartitionInformation) AsPartitionInformation() (*PartitionInformation, bool)

AsPartitionInformation is the BasicPartitionInformation implementation for NamedPartitionInformation.

func (NamedPartitionInformation) AsSingletonPartitionInformation

func (npi NamedPartitionInformation) AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)

AsSingletonPartitionInformation is the BasicPartitionInformation implementation for NamedPartitionInformation.

func (NamedPartitionInformation) MarshalJSON

func (npi NamedPartitionInformation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NamedPartitionInformation.

type NamedPartitionSchemeDescription

type NamedPartitionSchemeDescription struct {
	// Count - The number of partitions.
	Count *int32 `json:"Count,omitempty"`
	// Names - Array of size specified by the ‘Count’ parameter, for the names of the partitions.
	Names *[]string `json:"Names,omitempty"`
	// PartitionScheme - Possible values include: 'PartitionSchemePartitionSchemeDescription', 'PartitionSchemeNamed', 'PartitionSchemeSingleton', 'PartitionSchemeUniformInt64Range'
	PartitionScheme PartitionScheme `json:"PartitionScheme,omitempty"`
}

NamedPartitionSchemeDescription describes the named partition scheme of the service.

func (NamedPartitionSchemeDescription) AsBasicPartitionSchemeDescription

func (npsd NamedPartitionSchemeDescription) AsBasicPartitionSchemeDescription() (BasicPartitionSchemeDescription, bool)

AsBasicPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for NamedPartitionSchemeDescription.

func (NamedPartitionSchemeDescription) AsNamedPartitionSchemeDescription

func (npsd NamedPartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)

AsNamedPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for NamedPartitionSchemeDescription.

func (NamedPartitionSchemeDescription) AsPartitionSchemeDescription

func (npsd NamedPartitionSchemeDescription) AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)

AsPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for NamedPartitionSchemeDescription.

func (NamedPartitionSchemeDescription) AsSingletonPartitionSchemeDescription

func (npsd NamedPartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)

AsSingletonPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for NamedPartitionSchemeDescription.

func (NamedPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription

func (npsd NamedPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)

AsUniformInt64RangePartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for NamedPartitionSchemeDescription.

func (NamedPartitionSchemeDescription) MarshalJSON

func (npsd NamedPartitionSchemeDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NamedPartitionSchemeDescription.

type NodeDeactivationInfo

type NodeDeactivationInfo struct {
	// NodeDeactivationIntent - Possible values include: 'NodeDeactivationIntent1Invalid', 'NodeDeactivationIntent1Pause', 'NodeDeactivationIntent1Restart', 'NodeDeactivationIntent1RemoveData', 'NodeDeactivationIntent1RemoveNode'
	NodeDeactivationIntent NodeDeactivationIntent1 `json:"NodeDeactivationIntent,omitempty"`
	// NodeDeactivationStatus - Possible values include: 'NodeDeactivationStatusNone', 'NodeDeactivationStatusSafetyCheckInProgress', 'NodeDeactivationStatusSafetyCheckComplete', 'NodeDeactivationStatusCompleted'
	NodeDeactivationStatus NodeDeactivationStatus  `json:"NodeDeactivationStatus,omitempty"`
	NodeDeactivationTask   *[]NodeDeactivationTask `json:"NodeDeactivationTask,omitempty"`
	PendingSafetyChecks    *[]SafetyCheckWrapper   `json:"PendingSafetyChecks,omitempty"`
}

NodeDeactivationInfo information about the node deactivation. This information is valid for a node that is undergoing deactivation or has already been deactivated.

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"
	// NodeDeactivationIntentRemoveNode ...
	NodeDeactivationIntentRemoveNode NodeDeactivationIntent = "RemoveNode"
	// NodeDeactivationIntentRestart ...
	NodeDeactivationIntentRestart NodeDeactivationIntent = "Restart"
)

func PossibleNodeDeactivationIntentValues

func PossibleNodeDeactivationIntentValues() []NodeDeactivationIntent

PossibleNodeDeactivationIntentValues returns an array of possible values for the NodeDeactivationIntent const type.

type NodeDeactivationIntent1

type NodeDeactivationIntent1 string

NodeDeactivationIntent1 enumerates the values for node deactivation intent 1.

const (
	// NodeDeactivationIntent1Invalid ...
	NodeDeactivationIntent1Invalid NodeDeactivationIntent1 = "Invalid"
	// NodeDeactivationIntent1Pause ...
	NodeDeactivationIntent1Pause NodeDeactivationIntent1 = "Pause"
	// NodeDeactivationIntent1RemoveData ...
	NodeDeactivationIntent1RemoveData NodeDeactivationIntent1 = "RemoveData"
	// NodeDeactivationIntent1RemoveNode ...
	NodeDeactivationIntent1RemoveNode NodeDeactivationIntent1 = "RemoveNode"
	// NodeDeactivationIntent1Restart ...
	NodeDeactivationIntent1Restart NodeDeactivationIntent1 = "Restart"
)

func PossibleNodeDeactivationIntent1Values

func PossibleNodeDeactivationIntent1Values() []NodeDeactivationIntent1

PossibleNodeDeactivationIntent1Values returns an array of possible values for the NodeDeactivationIntent1 const type.

type NodeDeactivationStatus

type NodeDeactivationStatus string

NodeDeactivationStatus enumerates the values for node deactivation status.

const (
	// NodeDeactivationStatusCompleted ...
	NodeDeactivationStatusCompleted NodeDeactivationStatus = "Completed"
	// NodeDeactivationStatusNone ...
	NodeDeactivationStatusNone NodeDeactivationStatus = "None"
	// NodeDeactivationStatusSafetyCheckComplete ...
	NodeDeactivationStatusSafetyCheckComplete NodeDeactivationStatus = "SafetyCheckComplete"
	// NodeDeactivationStatusSafetyCheckInProgress ...
	NodeDeactivationStatusSafetyCheckInProgress NodeDeactivationStatus = "SafetyCheckInProgress"
)

func PossibleNodeDeactivationStatusValues

func PossibleNodeDeactivationStatusValues() []NodeDeactivationStatus

PossibleNodeDeactivationStatusValues returns an array of possible values for the NodeDeactivationStatus const type.

type NodeDeactivationTask

type NodeDeactivationTask struct {
	NodeDeactivationTaskID *NodeDeactivationTaskID `json:"NodeDeactivationTaskId,omitempty"`
	// NodeDeactivationIntent - Possible values include: 'NodeDeactivationIntentInvalid', 'NodeDeactivationIntentPause', 'NodeDeactivationIntentRestart', 'NodeDeactivationIntentRemoveData', 'NodeDeactivationIntentRemoveNode'
	NodeDeactivationIntent NodeDeactivationIntent `json:"NodeDeactivationIntent,omitempty"`
}

NodeDeactivationTask the task representing the deactivation operation on the node.

type NodeDeactivationTaskID

type NodeDeactivationTaskID struct {
	// ID - Value of the task id.
	ID *string `json:"Id,omitempty"`
	// NodeDeactivationTaskType - Possible values include: 'NodeDeactivationTaskTypeInvalid', 'NodeDeactivationTaskTypeInfrastructure', 'NodeDeactivationTaskTypeRepair', 'NodeDeactivationTaskTypeClient'
	NodeDeactivationTaskType NodeDeactivationTaskType `json:"NodeDeactivationTaskType,omitempty"`
}

NodeDeactivationTaskID identity of the task related to deactivation operation on the node.

type NodeDeactivationTaskType

type NodeDeactivationTaskType string

NodeDeactivationTaskType enumerates the values for node deactivation task type.

const (
	// NodeDeactivationTaskTypeClient ...
	NodeDeactivationTaskTypeClient NodeDeactivationTaskType = "Client"
	// NodeDeactivationTaskTypeInfrastructure ...
	NodeDeactivationTaskTypeInfrastructure NodeDeactivationTaskType = "Infrastructure"
	// NodeDeactivationTaskTypeInvalid ...
	NodeDeactivationTaskTypeInvalid NodeDeactivationTaskType = "Invalid"
	// NodeDeactivationTaskTypeRepair ...
	NodeDeactivationTaskTypeRepair NodeDeactivationTaskType = "Repair"
)

func PossibleNodeDeactivationTaskTypeValues

func PossibleNodeDeactivationTaskTypeValues() []NodeDeactivationTaskType

PossibleNodeDeactivationTaskTypeValues returns an array of possible values for the NodeDeactivationTaskType const type.

type NodeHealth

type NodeHealth struct {
	autorest.Response `json:"-"`
	// Name - Name of the node whose health information is described by this object.
	Name *string `json:"Name,omitempty"`
	// AggregatedHealthState - The HealthState representing the aggregated health state of the entity computed by Health Manager.
	// The health evaluation of the entity reflects all events reported on the entity and its children (if any).
	// The aggregation is done by applying the desired health policy.
	// . Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown'
	AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"`
	// HealthEvents - The list of health events reported on the entity.
	HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"`
	// UnhealthyEvaluations - The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
}

NodeHealth information about the health of a Service Fabric node.

type NodeHealthEvaluation

type NodeHealthEvaluation struct {
	// NodeName - Name of the node.
	NodeName *string `json:"NodeName,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the current aggregated health state of the node. The types of the unhealthy evaluations can be EventHealthEvaluation.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

NodeHealthEvaluation represents health evaluation for a node, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.

func (NodeHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (nhe NodeHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 NodeHealthState

type NodeHealthState struct {
	// Name - The name of the node.
	Name *string `json:"Name,omitempty"`
	ID   *NodeID `json:"Id,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown'
	AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"`
}

NodeHealthState represents the health state of a node, which contains the node identifier and its aggregated health state.

type NodeHealthStateChunk

type NodeHealthStateChunk struct {
	// NodeName - The name of the node.
	NodeName *string `json:"NodeName,omitempty"`
	// HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown'
	HealthState HealthState2 `json:"HealthState,omitempty"`
}

NodeHealthStateChunk represents the health state chunk of a node, which contains the node name and its aggregated health state.

type NodeHealthStateChunkList

type NodeHealthStateChunkList struct {
	// Items - The list of node health state chunks that respect the input filters in the chunk query.
	Items *[]NodeHealthStateChunk `json:"Items,omitempty"`
	// TotalCount - Total number of entity health state objects that match the specified filters from the cluster health chunk query description.
	TotalCount *int64 `json:"TotalCount,omitempty"`
}

NodeHealthStateChunkList the list of node health state chunks in the cluster that respect the input filters in the chunk query. Returned by get cluster health state chunks query.

type NodeHealthStateFilter

type NodeHealthStateFilter struct {
	// NodeNameFilter - Name of the node that matches the filter. The filter is applied only to the specified node, if it exists.
	// If the node doesn't exist, no node is returned in the cluster health chunk based on this filter.
	// If the node exists, it is included in the cluster health chunk if the health state matches the other filter properties.
	// If not specified, all nodes that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter.
	NodeNameFilter *string `json:"NodeNameFilter,omitempty"`
	// HealthStateFilter - The filter for the health state of the nodes. It allows selecting nodes if they match the desired health states.
	// The possible values are integer value of one of the following health states. Only nodes that match the filter are returned. All nodes are used to evaluate the cluster aggregated health state.
	// If not specified, default value is None, unless the node name is specified. If the filter has default value and node name is specified, the matching node is returned.
	// The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.
	// For example, if the provided value is 6, it matches nodes with HealthState value of OK (2) and Warning (4).
	//
	// - Default - Default value. Matches any HealthState. The value is zero.
	// - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.
	// - Ok - Filter that matches input with HealthState value Ok. The value is 2.
	// - Warning - Filter that matches input with HealthState value Warning. The value is 4.
	// - Error - Filter that matches input with HealthState value Error. The value is 8.
	// - All - Filter that matches input with any HealthState value. The value is 65535.
	HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"`
}

NodeHealthStateFilter defines matching criteria to determine whether a node should be included in the returned cluster health chunk. One filter can match zero, one or multiple nodes, depending on its properties. Can be specified in the cluster health chunk query description.

type NodeID

type NodeID struct {
	// ID - Value of the node Id. This is a 128 bit integer.
	ID *string `json:"Id,omitempty"`
}

NodeID an internal ID used by Service Fabric to uniquely identify a node. Node Id is deterministically generated from node name.

type NodeInfo

type NodeInfo struct {
	autorest.Response `json:"-"`
	// Name - The name of the node.
	Name *string `json:"Name,omitempty"`
	// IPAddressOrFQDN - The IP address or fully qualified domain name of the node.
	IPAddressOrFQDN *string `json:"IpAddressOrFQDN,omitempty"`
	// Type - The type of the node.
	Type *string `json:"Type,omitempty"`
	// CodeVersion - The version of Service Fabric binaries that the node is running.
	CodeVersion *string `json:"CodeVersion,omitempty"`
	// ConfigVersion - The version of Service Fabric cluster manifest that the node is using.
	ConfigVersion *string `json:"ConfigVersion,omitempty"`
	// NodeStatus - Possible values include: 'NodeStatusInvalid', 'NodeStatusUp', 'NodeStatusDown', 'NodeStatusEnabling', 'NodeStatusDisabling', 'NodeStatusDisabled', 'NodeStatusUnknown', 'NodeStatusRemoved'
	NodeStatus NodeStatus `json:"NodeStatus,omitempty"`
	// NodeUpTimeInSeconds - Time in seconds since the node has been in NodeStatus Up. Value ero indicates that the node is not Up.
	NodeUpTimeInSeconds *string `json:"NodeUpTimeInSeconds,omitempty"`
	// HealthState - Possible values include: 'HealthState4Invalid', 'HealthState4Ok', 'HealthState4Warning', 'HealthState4Error', 'HealthState4Unknown'
	HealthState HealthState4 `json:"HealthState,omitempty"`
	// IsSeedNode - Indicates if the node is a seed node or not. Returns true if the node is a seed node, otherwise false. A quorum of seed nodes are required for proper operation of Service Fabric cluster.
	IsSeedNode *bool `json:"IsSeedNode,omitempty"`
	// UpgradeDomain - The upgrade domain of the node.
	UpgradeDomain *string `json:"UpgradeDomain,omitempty"`
	// FaultDomain - The fault domain of the node.
	FaultDomain *string `json:"FaultDomain,omitempty"`
	ID          *NodeID `json:"Id,omitempty"`
	// InstanceID - The id representing the node instance. While the Id of the node is deterministically generated from the node name and remains same across restarts, the InstanceId changes every time node restarts.
	InstanceID           *string               `json:"InstanceId,omitempty"`
	NodeDeactivationInfo *NodeDeactivationInfo `json:"NodeDeactivationInfo,omitempty"`
	// IsStopped - Indicates if the node is stopped by calling stop node API or not. Returns true if the node is stopped, otherwise false.
	IsStopped *bool `json:"IsStopped,omitempty"`
	// NodeDownTimeInSeconds - Time in seconds since the node has been in NodeStatus Down. Value zero indicates node is not NodeStatus Down.
	NodeDownTimeInSeconds *string `json:"NodeDownTimeInSeconds,omitempty"`
}

NodeInfo information about a node in Service Fabric cluster.

type NodeLoadInfo

type NodeLoadInfo struct {
	autorest.Response `json:"-"`
	// NodeName - Name of the node for which the load information is provided by this object.
	NodeName *string `json:"NodeName,omitempty"`
	// NodeLoadMetricInformation - List that contains metrics and their load information on this node.
	NodeLoadMetricInformation *[]NodeLoadMetricInformation `json:"NodeLoadMetricInformation,omitempty"`
}

NodeLoadInfo information about load on a Service Fabric node. It holds a summary of all metrics and their load on a node.

type NodeLoadMetricInformation

type NodeLoadMetricInformation struct {
	// Name - Name of the metric for which this load information is provided.
	Name *string `json:"Name,omitempty"`
	// NodeCapacity - Total capacity on the node for this metric.
	NodeCapacity *string `json:"NodeCapacity,omitempty"`
	// NodeLoad - Current load on the node for this metric.
	NodeLoad *string `json:"NodeLoad,omitempty"`
	// NodeRemainingCapacity - The remaining capacity on the node for this metric.
	NodeRemainingCapacity *string `json:"NodeRemainingCapacity,omitempty"`
	// IsCapacityViolation - Indicates if there is a capacity violation for this metric on the node.
	IsCapacityViolation *bool `json:"IsCapacityViolation,omitempty"`
	// NodeBufferedCapacity - The value that indicates the reserved capacity for this metric on the node.
	NodeBufferedCapacity *string `json:"NodeBufferedCapacity,omitempty"`
	// NodeRemainingBufferedCapacity - The remaining reserved capacity for this metric on the node.
	NodeRemainingBufferedCapacity *string `json:"NodeRemainingBufferedCapacity,omitempty"`
}

NodeLoadMetricInformation represents data structure that contains load information for a certain metric on a node.

type NodeResult

type NodeResult struct {
	// NodeName - The node name
	NodeName *string `json:"NodeName,omitempty"`
	// NodeInstanceID - The node instance id.
	NodeInstanceID *string `json:"NodeInstanceId,omitempty"`
}

NodeResult contains information about a node that was targeted by a user-induced operation.

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

func PossibleNodeStatusValues

func PossibleNodeStatusValues() []NodeStatus

PossibleNodeStatusValues returns an array of possible values for the NodeStatus const type.

type NodeTransitionProgress

type NodeTransitionProgress struct {
	autorest.Response `json:"-"`
	// State - Possible values include: 'State1Invalid', 'State1Running', 'State1RollingBack', 'State1Completed', 'State1Faulted', 'State1Cancelled', 'State1ForceCancelled'
	State                State1                `json:"State,omitempty"`
	NodeTransitionResult *NodeTransitionResult `json:"NodeTransitionResult,omitempty"`
}

NodeTransitionProgress information about an NodeTransition operation. This class contains an OperationState and a NodeTransitionResult. The NodeTransitionResult is not valid until OperationState is Completed or Faulted.

type NodeTransitionResult

type NodeTransitionResult struct {
	// ErrorCode - If OperationState is Completed, this is 0.  If OperationState is Faulted, this is an error code indicating the reason.
	ErrorCode  *int32      `json:"ErrorCode,omitempty"`
	NodeResult *NodeResult `json:"NodeResult,omitempty"`
}

NodeTransitionResult represents information about an operation in a terminal state (Completed or Faulted).

type NodeUpgradeProgressInfo

type NodeUpgradeProgressInfo struct {
	NodeName *string `json:"NodeName,omitempty"`
	// UpgradePhase - Possible values include: 'UpgradePhaseInvalid', 'UpgradePhasePreUpgradeSafetyCheck', 'UpgradePhaseUpgrading', 'UpgradePhasePostUpgradeSafetyCheck'
	UpgradePhase        UpgradePhase          `json:"UpgradePhase,omitempty"`
	PendingSafetyChecks *[]SafetyCheckWrapper `json:"PendingSafetyChecks,omitempty"`
}

NodeUpgradeProgressInfo information about the upgrading node and its status

type NodesHealthEvaluation

type NodesHealthEvaluation struct {
	// MaxPercentUnhealthyNodes - Maximum allowed percentage of unhealthy nodes from the ClusterHealthPolicy.
	MaxPercentUnhealthyNodes *int32 `json:"MaxPercentUnhealthyNodes,omitempty"`
	// TotalCount - Total number of nodes found in the health store.
	TotalCount *int64 `json:"TotalCount,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy NodeHealthEvaluation that impacted the aggregated health.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

NodesHealthEvaluation represents health evaluation for nodes, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned when evaluating cluster health and the aggregated health state is either Error or Warning.

func (NodesHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (nhe NodesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 OperationStatus

type OperationStatus struct {
	OperationID *uuid.UUID `json:"OperationId,omitempty"`
	// State - Possible values include: 'State2Invalid', 'State2Running', 'State2RollingBack', 'State2Completed', 'State2Faulted', 'State2Cancelled', 'State2ForceCancelled'
	State State2 `json:"State,omitempty"`
	// Type - Possible values include: 'TypeInvalid', 'TypePartitionDataLoss', 'TypePartitionQuorumLoss', 'TypePartitionRestart', 'TypeNodeTransition'
	Type Type `json:"Type,omitempty"`
}

OperationStatus contains the OperationId, OperationState, and OperationType for user-induced operations.

type PackageSharingPolicyInfo

type PackageSharingPolicyInfo struct {
	// SharedPackageName - The name of code, configuration or data package that should be shared.
	SharedPackageName *string `json:"SharedPackageName,omitempty"`
	// PackageSharingScope - Possible values include: 'PackageSharingScopeNone', 'PackageSharingScopeAll', 'PackageSharingScopeCode', 'PackageSharingScopeConfig', 'PackageSharingScopeData'
	PackageSharingScope PackageSharingScope `json:"PackageSharingScope,omitempty"`
}

PackageSharingPolicyInfo represents a policy for the package sharing.

type PackageSharingScope

type PackageSharingScope string

PackageSharingScope enumerates the values for package sharing scope.

const (
	// PackageSharingScopeAll ...
	PackageSharingScopeAll PackageSharingScope = "All"
	// PackageSharingScopeCode ...
	PackageSharingScopeCode PackageSharingScope = "Code"
	// PackageSharingScopeConfig ...
	PackageSharingScopeConfig PackageSharingScope = "Config"
	// PackageSharingScopeData ...
	PackageSharingScopeData PackageSharingScope = "Data"
	// PackageSharingScopeNone ...
	PackageSharingScopeNone PackageSharingScope = "None"
)

func PossiblePackageSharingScopeValues

func PossiblePackageSharingScopeValues() []PackageSharingScope

PossiblePackageSharingScopeValues returns an array of possible values for the PackageSharingScope const type.

type PagedApplicationInfoList

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

PagedApplicationInfoList the list of applications in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.

type PagedApplicationTypeInfoList

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

PagedApplicationTypeInfoList the list of application types that are provisioned or being provisioned in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.

type PagedComposeApplicationStatusInfoList

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

PagedComposeApplicationStatusInfoList the list of compose applications in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.

type PagedNodeInfoList

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

PagedNodeInfoList the list of nodes in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.

type PagedReplicaInfoList

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

PagedReplicaInfoList the list of replicas in the cluster for a given partition. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.

func (*PagedReplicaInfoList) UnmarshalJSON

func (pril *PagedReplicaInfoList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PagedReplicaInfoList struct.

type PagedServiceInfoList

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

PagedServiceInfoList the list of services in the cluster for an application. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.

func (*PagedServiceInfoList) UnmarshalJSON

func (psil *PagedServiceInfoList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PagedServiceInfoList struct.

type PagedServicePartitionInfoList

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

PagedServicePartitionInfoList the list of partition in the cluster for a service. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.

func (*PagedServicePartitionInfoList) UnmarshalJSON

func (pspil *PagedServicePartitionInfoList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PagedServicePartitionInfoList struct.

type PartitionDataLossProgress

type PartitionDataLossProgress struct {
	autorest.Response `json:"-"`
	// State - Possible values include: 'State3Invalid', 'State3Running', 'State3RollingBack', 'State3Completed', 'State3Faulted', 'State3Cancelled', 'State3ForceCancelled'
	State                State3                `json:"State,omitempty"`
	InvokeDataLossResult *InvokeDataLossResult `json:"InvokeDataLossResult,omitempty"`
}

PartitionDataLossProgress information about a partition data loss user-induced operation.

type PartitionHealth

type PartitionHealth struct {
	autorest.Response `json:"-"`
	// PartitionID - ID of the partition whose health information is described by this object.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// ReplicaHealthStates - The list of replica health states associated with the partition.
	ReplicaHealthStates *[]BasicReplicaHealthState `json:"ReplicaHealthStates,omitempty"`
	// AggregatedHealthState - The HealthState representing the aggregated health state of the entity computed by Health Manager.
	// The health evaluation of the entity reflects all events reported on the entity and its children (if any).
	// The aggregation is done by applying the desired health policy.
	// . Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown'
	AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"`
	// HealthEvents - The list of health events reported on the entity.
	HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"`
	// UnhealthyEvaluations - The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
}

PartitionHealth information about the health of a Service Fabric partition.

func (*PartitionHealth) UnmarshalJSON

func (ph *PartitionHealth) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PartitionHealth struct.

type PartitionHealthEvaluation

type PartitionHealthEvaluation struct {
	// PartitionID - Id of the partition.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the current aggregated health state of the partition. The types of the unhealthy evaluations can be ReplicasHealthEvaluation or EventHealthEvaluation.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

PartitionHealthEvaluation represents health evaluation for a partition, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.

func (PartitionHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (phe PartitionHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 PartitionHealthState

type PartitionHealthState struct {
	// PartitionID - The ID of the partition.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown'
	AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"`
}

PartitionHealthState represents the health state of a partition, which contains the partition identifier and its aggregated health state.

type PartitionHealthStateChunk

type PartitionHealthStateChunk struct {
	// PartitionID - The ID of the partition.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// ReplicaHealthStateChunks - The list of replica health state chunks belonging to the partition that respect the filters in the cluster health chunk query description.
	ReplicaHealthStateChunks *ReplicaHealthStateChunkList `json:"ReplicaHealthStateChunks,omitempty"`
	// HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown'
	HealthState HealthState2 `json:"HealthState,omitempty"`
}

PartitionHealthStateChunk represents the health state chunk of a partition, which contains the partition id, its aggregated health state and any replicas that respect the filters in the cluster health chunk query description.

type PartitionHealthStateChunkList

type PartitionHealthStateChunkList struct {
	// Items - The list of partition health state chunks that respect the input filters in the chunk query.
	Items *[]PartitionHealthStateChunk `json:"Items,omitempty"`
}

PartitionHealthStateChunkList the list of partition health state chunks that respect the input filters in the chunk query description. Returned by get cluster health state chunks query as part of the parent application hierarchy.

type PartitionHealthStateFilter

type PartitionHealthStateFilter struct {
	// PartitionIDFilter - ID of the partition that matches the filter. The filter is applied only to the specified partition, if it exists.
	// If the partition doesn't exist, no partition is returned in the cluster health chunk based on this filter.
	// If the partition exists, it is included in the cluster health chunk if it respects the other filter properties.
	// If not specified, all partitions that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter.
	PartitionIDFilter *uuid.UUID `json:"PartitionIdFilter,omitempty"`
	// HealthStateFilter - The filter for the health state of the partitions. It allows selecting partitions if they match the desired health states.
	// The possible values are integer value of one of the following health states. Only partitions that match the filter are returned. All partitions are used to evaluate the cluster aggregated health state.
	// If not specified, default value is None, unless the partition id is specified. If the filter has default value and partition id is specified, the matching partition is returned.
	// The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.
	// For example, if the provided value is 6, it matches partitions with HealthState value of OK (2) and Warning (4).
	// - Default - Default value. Matches any HealthState. The value is zero.
	// - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.
	// - Ok - Filter that matches input with HealthState value Ok. The value is 2.
	// - Warning - Filter that matches input with HealthState value Warning. The value is 4.
	// - Error - Filter that matches input with HealthState value Error. The value is 8.
	// - All - Filter that matches input with any HealthState value. The value is 65535.
	HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"`
	// ReplicaFilters - Defines a list of filters that specify which replicas to be included in the returned cluster health chunk as children of the parent partition. The replicas are returned only if the parent partition matches a filter.
	// If the list is empty, no replicas are returned. All the replicas are used to evaluate the parent partition aggregated health state, regardless of the input filters.
	// The partition filter may specify multiple replica filters.
	// For example, it can specify a filter to return all replicas with health state Error and another filter to always include a replica identified by its replica id.
	ReplicaFilters *[]ReplicaHealthStateFilter `json:"ReplicaFilters,omitempty"`
}

PartitionHealthStateFilter defines matching criteria to determine whether a partition should be included as a child of a service in the cluster health chunk. The partitions are only returned if the parent entities match a filter specified in the cluster health chunk query description. The parent service and application must be included in the cluster health chunk. One filter can match zero, one or multiple partitions, depending on its properties.

type PartitionInformation

type PartitionInformation struct {
	ID *uuid.UUID `json:"Id,omitempty"`
	// ServicePartitionKind - Possible values include: 'ServicePartitionKindPartitionInformation', 'ServicePartitionKindInt64Range', 'ServicePartitionKindNamed', 'ServicePartitionKindSingleton'
	ServicePartitionKind ServicePartitionKind `json:"ServicePartitionKind,omitempty"`
}

PartitionInformation information about the partition identity, partitioning scheme and keys supported by it.

func (PartitionInformation) AsBasicPartitionInformation

func (pi PartitionInformation) AsBasicPartitionInformation() (BasicPartitionInformation, bool)

AsBasicPartitionInformation is the BasicPartitionInformation implementation for PartitionInformation.

func (PartitionInformation) AsInt64RangePartitionInformation

func (pi PartitionInformation) AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)

AsInt64RangePartitionInformation is the BasicPartitionInformation implementation for PartitionInformation.

func (PartitionInformation) AsNamedPartitionInformation

func (pi PartitionInformation) AsNamedPartitionInformation() (*NamedPartitionInformation, bool)

AsNamedPartitionInformation is the BasicPartitionInformation implementation for PartitionInformation.

func (PartitionInformation) AsPartitionInformation

func (pi PartitionInformation) AsPartitionInformation() (*PartitionInformation, bool)

AsPartitionInformation is the BasicPartitionInformation implementation for PartitionInformation.

func (PartitionInformation) AsSingletonPartitionInformation

func (pi PartitionInformation) AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)

AsSingletonPartitionInformation is the BasicPartitionInformation implementation for PartitionInformation.

func (PartitionInformation) MarshalJSON

func (pi PartitionInformation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartitionInformation.

type PartitionLoadInformation

type PartitionLoadInformation struct {
	autorest.Response `json:"-"`
	// PartitionID - Id of the partition.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// PrimaryLoadMetricReports - Array of load reports from the primary replica for this partition.
	PrimaryLoadMetricReports *[]LoadMetricReport `json:"PrimaryLoadMetricReports,omitempty"`
	// SecondaryLoadMetricReports - Array of aggregated load reports from all secondary replicas for this partition.
	// Array only contains the latest reported load for each metric.
	SecondaryLoadMetricReports *[]LoadMetricReport `json:"SecondaryLoadMetricReports,omitempty"`
}

PartitionLoadInformation represents load information for a partition, which contains the primary and secondary reported load metrics. In case there is no load reported, PartitionLoadInformation will contain the default load for the service of the partition. For default loads, LoadMetricReport's LastReportedUtc is set to 0.

type PartitionQuorumLossProgress

type PartitionQuorumLossProgress struct {
	autorest.Response `json:"-"`
	// State - Possible values include: 'State4Invalid', 'State4Running', 'State4RollingBack', 'State4Completed', 'State4Faulted', 'State4Cancelled', 'State4ForceCancelled'
	State                  State4                  `json:"State,omitempty"`
	InvokeQuorumLossResult *InvokeQuorumLossResult `json:"InvokeQuorumLossResult,omitempty"`
}

PartitionQuorumLossProgress information about a partition quorum loss user-induced operation.

type PartitionRestartProgress

type PartitionRestartProgress struct {
	autorest.Response `json:"-"`
	// State - Possible values include: 'State5Invalid', 'State5Running', 'State5RollingBack', 'State5Completed', 'State5Faulted', 'State5Cancelled', 'State5ForceCancelled'
	State                  State5                  `json:"State,omitempty"`
	RestartPartitionResult *RestartPartitionResult `json:"RestartPartitionResult,omitempty"`
}

PartitionRestartProgress information about a partition restart user-induced operation.

type PartitionSafetyCheck

type PartitionSafetyCheck struct {
	// PartitionID - Id of the partition which is undergoing the safety check.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration'
	Kind KindBasicSafetyCheck `json:"Kind,omitempty"`
}

PartitionSafetyCheck represents a safety check for the service partition being performed by service fabric before continuing with operations.

func (PartitionSafetyCheck) AsBasicPartitionSafetyCheck

func (psc PartitionSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)

AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.

func (PartitionSafetyCheck) AsBasicSafetyCheck

func (psc PartitionSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)

AsBasicSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.

func (PartitionSafetyCheck) AsEnsureAvailabilitySafetyCheck

func (psc PartitionSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)

AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.

func (PartitionSafetyCheck) AsEnsurePartitionQurumSafetyCheck

func (psc PartitionSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)

AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.

func (PartitionSafetyCheck) AsPartitionSafetyCheck

func (psc PartitionSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)

AsPartitionSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.

func (PartitionSafetyCheck) AsSafetyCheck

func (psc PartitionSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)

AsSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.

func (PartitionSafetyCheck) AsSeedNodeSafetyCheck

func (psc PartitionSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)

AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.

func (PartitionSafetyCheck) AsWaitForInbuildReplicaSafetyCheck

func (psc PartitionSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)

AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.

func (PartitionSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck

func (psc PartitionSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)

AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.

func (PartitionSafetyCheck) AsWaitForPrimarySwapSafetyCheck

func (psc PartitionSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)

AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.

func (PartitionSafetyCheck) AsWaitForReconfigurationSafetyCheck

func (psc PartitionSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)

AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.

func (PartitionSafetyCheck) MarshalJSON

func (psc PartitionSafetyCheck) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartitionSafetyCheck.

type PartitionScheme

type PartitionScheme string

PartitionScheme enumerates the values for partition scheme.

const (
	// PartitionSchemeNamed ...
	PartitionSchemeNamed PartitionScheme = "Named"
	// PartitionSchemePartitionSchemeDescription ...
	PartitionSchemePartitionSchemeDescription PartitionScheme = "PartitionSchemeDescription"
	// PartitionSchemeSingleton ...
	PartitionSchemeSingleton PartitionScheme = "Singleton"
	// PartitionSchemeUniformInt64Range ...
	PartitionSchemeUniformInt64Range PartitionScheme = "UniformInt64Range"
)

func PossiblePartitionSchemeValues

func PossiblePartitionSchemeValues() []PartitionScheme

PossiblePartitionSchemeValues returns an array of possible values for the PartitionScheme const type.

type PartitionSchemeDescription

type PartitionSchemeDescription struct {
	// PartitionScheme - Possible values include: 'PartitionSchemePartitionSchemeDescription', 'PartitionSchemeNamed', 'PartitionSchemeSingleton', 'PartitionSchemeUniformInt64Range'
	PartitionScheme PartitionScheme `json:"PartitionScheme,omitempty"`
}

PartitionSchemeDescription describes how the service is partitioned.

func (PartitionSchemeDescription) AsBasicPartitionSchemeDescription

func (psd PartitionSchemeDescription) AsBasicPartitionSchemeDescription() (BasicPartitionSchemeDescription, bool)

AsBasicPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for PartitionSchemeDescription.

func (PartitionSchemeDescription) AsNamedPartitionSchemeDescription

func (psd PartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)

AsNamedPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for PartitionSchemeDescription.

func (PartitionSchemeDescription) AsPartitionSchemeDescription

func (psd PartitionSchemeDescription) AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)

AsPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for PartitionSchemeDescription.

func (PartitionSchemeDescription) AsSingletonPartitionSchemeDescription

func (psd PartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)

AsSingletonPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for PartitionSchemeDescription.

func (PartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription

func (psd PartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)

AsUniformInt64RangePartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for PartitionSchemeDescription.

func (PartitionSchemeDescription) MarshalJSON

func (psd PartitionSchemeDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartitionSchemeDescription.

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

func PossiblePartitionStatusValues

func PossiblePartitionStatusValues() []PartitionStatus

PossiblePartitionStatusValues returns an array of possible values for the PartitionStatus const type.

type PartitionsHealthEvaluation

type PartitionsHealthEvaluation struct {
	// MaxPercentUnhealthyPartitionsPerService - Maximum allowed percentage of unhealthy partitions per service from the ServiceTypeHealthPolicy.
	MaxPercentUnhealthyPartitionsPerService *int32 `json:"MaxPercentUnhealthyPartitionsPerService,omitempty"`
	// TotalCount - Total number of partitions of the service from the health store.
	TotalCount *int64 `json:"TotalCount,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy PartitionHealthEvaluation that impacted the aggregated health.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

PartitionsHealthEvaluation represents health evaluation for the partitions of a service, containing health evaluations for each unhealthy partition that impacts current aggregated health state. Can be returned when evaluating service health and the aggregated health state is either Error or Warning.

func (PartitionsHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (phe PartitionsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 PrimaryReplicatorStatus

type PrimaryReplicatorStatus struct {
	// ReplicationQueueStatus - Details about the replication queue on the primary replicator.
	ReplicationQueueStatus *ReplicatorQueueStatus `json:"ReplicationQueueStatus,omitempty"`
	// RemoteReplicators - The status of all the active and idle secondary replicators that the primary is aware of.
	RemoteReplicators *[]RemoteReplicatorStatus `json:"RemoteReplicators,omitempty"`
	// Kind - Possible values include: 'KindReplicatorStatus', 'KindPrimary', 'KindSecondaryReplicatorStatus', 'KindActiveSecondary', 'KindIdleSecondary'
	Kind KindBasicReplicatorStatus `json:"Kind,omitempty"`
}

PrimaryReplicatorStatus ...

func (PrimaryReplicatorStatus) AsBasicReplicatorStatus

func (prs PrimaryReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)

AsBasicReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.

func (PrimaryReplicatorStatus) AsBasicSecondaryReplicatorStatus

func (prs PrimaryReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)

AsBasicSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.

func (PrimaryReplicatorStatus) AsPrimaryReplicatorStatus

func (prs PrimaryReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)

AsPrimaryReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.

func (PrimaryReplicatorStatus) AsReplicatorStatus

func (prs PrimaryReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)

AsReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.

func (PrimaryReplicatorStatus) AsSecondaryActiveReplicatorStatus

func (prs PrimaryReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)

AsSecondaryActiveReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.

func (PrimaryReplicatorStatus) AsSecondaryIdleReplicatorStatus

func (prs PrimaryReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)

AsSecondaryIdleReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.

func (PrimaryReplicatorStatus) AsSecondaryReplicatorStatus

func (prs PrimaryReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)

AsSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.

func (PrimaryReplicatorStatus) MarshalJSON

func (prs PrimaryReplicatorStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrimaryReplicatorStatus.

type ReadCloser

type ReadCloser struct {
	autorest.Response `json:"-"`
	Value             *io.ReadCloser `json:"value,omitempty"`
}

ReadCloser ...

type ReadStatus

type ReadStatus string

ReadStatus enumerates the values for read status.

const (
	// ReadStatusGranted ...
	ReadStatusGranted ReadStatus = "Granted"
	// ReadStatusInvalid ...
	ReadStatusInvalid ReadStatus = "Invalid"
	// ReadStatusNotPrimary ...
	ReadStatusNotPrimary ReadStatus = "NotPrimary"
	// ReadStatusNoWriteQuorum ...
	ReadStatusNoWriteQuorum ReadStatus = "NoWriteQuorum"
	// ReadStatusReconfigurationPending ...
	ReadStatusReconfigurationPending ReadStatus = "ReconfigurationPending"
)

func PossibleReadStatusValues

func PossibleReadStatusValues() []ReadStatus

PossibleReadStatusValues returns an array of possible values for the ReadStatus const type.

type RemoteReplicatorAcknowledgementDetail

type RemoteReplicatorAcknowledgementDetail struct {
	// AverageReceiveDuration - Represents the average duration it takes for the remote replicator to receive an operation.
	AverageReceiveDuration *string `json:"AverageReceiveDuration,omitempty"`
	// AverageApplyDuration - Represents the average duration it takes for the remote replicator to apply an operation. This usually entails writing the operation to disk.
	AverageApplyDuration *string `json:"AverageApplyDuration,omitempty"`
	// NotReceivedCount - Represents the number of operations not yet received by a remote replicator.
	NotReceivedCount *string `json:"NotReceivedCount,omitempty"`
	// ReceivedAndNotAppliedCount - Represents the number of operations received and not yet applied by a remote replicator.
	ReceivedAndNotAppliedCount *string `json:"ReceivedAndNotAppliedCount,omitempty"`
}

RemoteReplicatorAcknowledgementDetail provides various statistics of the acknowledgements that are being received from the remote replicator.

type RemoteReplicatorAcknowledgementStatus

type RemoteReplicatorAcknowledgementStatus struct {
	// ReplicationStreamAcknowledgementDetail - Details about the acknowledgements for operations that are part of the replication stream data.
	ReplicationStreamAcknowledgementDetail *RemoteReplicatorAcknowledgementDetail `json:"ReplicationStreamAcknowledgementDetail,omitempty"`
	// CopyStreamAcknowledgementDetail - Details about the acknowledgements for operations that are part of the copy stream data.
	CopyStreamAcknowledgementDetail *RemoteReplicatorAcknowledgementDetail `json:"CopyStreamAcknowledgementDetail,omitempty"`
}

RemoteReplicatorAcknowledgementStatus provides details about the remote replicators from the primary replicator's point of view.

type RemoteReplicatorStatus

type RemoteReplicatorStatus struct {
	// ReplicaID - Represents the replica id of the remote secondary replicator.
	ReplicaID *string `json:"ReplicaId,omitempty"`
	// LastAcknowledgementProcessedTimeUtc - The last timestamp (in UTC) when an acknowledgement from the secondary replicator was processed on the primary.
	// UTC 0 represents an invalid value, indicating that no acknowledgement messages were ever processed.
	LastAcknowledgementProcessedTimeUtc *date.Time `json:"LastAcknowledgementProcessedTimeUtc,omitempty"`
	// LastReceivedReplicationSequenceNumber - The highest replication operation sequence number that the secondary has received from the primary.
	LastReceivedReplicationSequenceNumber *string `json:"LastReceivedReplicationSequenceNumber,omitempty"`
	// LastAppliedReplicationSequenceNumber - The highest replication operation sequence number that the secondary has applied to its state.
	LastAppliedReplicationSequenceNumber *string `json:"LastAppliedReplicationSequenceNumber,omitempty"`
	// IsInBuild - A value that indicates whether the secondary replica is in the process of being built.
	IsInBuild *bool `json:"IsInBuild,omitempty"`
	// LastReceivedCopySequenceNumber - The highest copy operation sequence number that the secondary has received from the primary.
	// A value of -1 implies that the secondary has received all copy operations.
	LastReceivedCopySequenceNumber *string `json:"LastReceivedCopySequenceNumber,omitempty"`
	// LastAppliedCopySequenceNumber - The highest copy operation sequence number that the secondary has applied to its state.
	// A value of -1 implies that the secondary has applied all copy operations and the copy process is complete.
	LastAppliedCopySequenceNumber *string `json:"LastAppliedCopySequenceNumber,omitempty"`
	// RemoteReplicatorAcknowledgementStatus - Represents the acknowledgement status for the remote secondary replicator.
	RemoteReplicatorAcknowledgementStatus *RemoteReplicatorAcknowledgementStatus `json:"RemoteReplicatorAcknowledgementStatus,omitempty"`
}

RemoteReplicatorStatus represents the state of the secondary replicator from the primary replicator’s point of view.

type ReplicaHealth

type ReplicaHealth struct {
	autorest.Response `json:"-"`
	// PartitionID - Id of the partition to which this replica belongs.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicReplicaHealthServiceKindReplicaHealth', 'ServiceKindBasicReplicaHealthServiceKindStateful', 'ServiceKindBasicReplicaHealthServiceKindStateless'
	ServiceKind ServiceKindBasicReplicaHealth `json:"ServiceKind,omitempty"`
	// AggregatedHealthState - The HealthState representing the aggregated health state of the entity computed by Health Manager.
	// The health evaluation of the entity reflects all events reported on the entity and its children (if any).
	// The aggregation is done by applying the desired health policy.
	// . Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown'
	AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"`
	// HealthEvents - The list of health events reported on the entity.
	HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"`
	// UnhealthyEvaluations - The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
}

ReplicaHealth represents a base class for stateful service replica or stateless service instance health. Contains the replica aggregated health state, the health events and the unhealthy evaluations.

func (ReplicaHealth) AsBasicReplicaHealth

func (rh ReplicaHealth) AsBasicReplicaHealth() (BasicReplicaHealth, bool)

AsBasicReplicaHealth is the BasicReplicaHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsReplicaHealth

func (rh ReplicaHealth) AsReplicaHealth() (*ReplicaHealth, bool)

AsReplicaHealth is the BasicReplicaHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsStatefulServiceReplicaHealth

func (rh ReplicaHealth) AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)

AsStatefulServiceReplicaHealth is the BasicReplicaHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsStatelessServiceInstanceHealth

func (rh ReplicaHealth) AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)

AsStatelessServiceInstanceHealth is the BasicReplicaHealth implementation for ReplicaHealth.

func (ReplicaHealth) MarshalJSON

func (rh ReplicaHealth) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicaHealth.

type ReplicaHealthEvaluation

type ReplicaHealthEvaluation struct {
	// PartitionID - Id of the partition to which the replica belongs.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// ReplicaOrInstanceID - Id of the stateful service replica or the stateless service instance.
	ReplicaOrInstanceID *string `json:"ReplicaOrInstanceId,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the current aggregated health state of the replica. The types of the unhealthy evaluations can be EventHealthEvaluation.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

ReplicaHealthEvaluation represents health evaluation for a replica, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.

func (ReplicaHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 ReplicaHealthModel

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

ReplicaHealthModel ...

func (*ReplicaHealthModel) UnmarshalJSON

func (rhm *ReplicaHealthModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ReplicaHealthModel struct.

type ReplicaHealthState

type ReplicaHealthState struct {
	// PartitionID - The ID of the partition to which this replica belongs.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState', 'ServiceKindBasicReplicaHealthStateServiceKindStateful', 'ServiceKindBasicReplicaHealthStateServiceKindStateless'
	ServiceKind ServiceKindBasicReplicaHealthState `json:"ServiceKind,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown'
	AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"`
}

ReplicaHealthState represents a base class for stateful service replica or stateless service instance health state.

func (ReplicaHealthState) AsBasicReplicaHealthState

func (RHS ReplicaHealthState) AsBasicReplicaHealthState() (BasicReplicaHealthState, bool)

AsBasicReplicaHealthState is the BasicReplicaHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) AsReplicaHealthState

func (RHS ReplicaHealthState) AsReplicaHealthState() (*ReplicaHealthState, bool)

AsReplicaHealthState is the BasicReplicaHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) AsStatefulServiceReplicaHealthState

func (RHS ReplicaHealthState) AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)

AsStatefulServiceReplicaHealthState is the BasicReplicaHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) AsStatelessServiceInstanceHealthState

func (RHS ReplicaHealthState) AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)

AsStatelessServiceInstanceHealthState is the BasicReplicaHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) MarshalJSON

func (RHS ReplicaHealthState) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicaHealthState.

type ReplicaHealthStateChunk

type ReplicaHealthStateChunk struct {
	// ReplicaOrInstanceID - The ID of the stateful service replica or the stateless service instance.
	ReplicaOrInstanceID *string `json:"ReplicaOrInstanceId,omitempty"`
	// HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown'
	HealthState HealthState2 `json:"HealthState,omitempty"`
}

ReplicaHealthStateChunk represents the health state chunk of a stateful service replica or a stateless service instance. The replica health state contains the replica ID and its aggregated health state.

type ReplicaHealthStateChunkList

type ReplicaHealthStateChunkList struct {
	// Items - The list of replica health state chunks that respect the input filters in the chunk query.
	Items *[]ReplicaHealthStateChunk `json:"Items,omitempty"`
}

ReplicaHealthStateChunkList the list of replica health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.

type ReplicaHealthStateFilter

type ReplicaHealthStateFilter struct {
	// ReplicaOrInstanceIDFilter - Id of the stateful service replica or stateles service instance that matches the filter. The filter is applied only to the specified replica, if it exists.
	// If the replica doesn't exist, no replica is returned in the cluster health chunk based on this filter.
	// If the replica exists, it is included in the cluster health chunk if it respects the other filter properties.
	// If not specified, all replicas that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter.
	ReplicaOrInstanceIDFilter *string `json:"ReplicaOrInstanceIdFilter,omitempty"`
	// HealthStateFilter - The filter for the health state of the replicas. It allows selecting replicas if they match the desired health states.
	// The possible values are integer value of one of the following health states. Only replicas that match the filter are returned. All replicas are used to evaluate the parent partition aggregated health state.
	// If not specified, default value is None, unless the replica id is specified. If the filter has default value and replica id is specified, the matching replica is returned.
	// The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.
	// For example, if the provided value is 6, it matches replicas with HealthState value of OK (2) and Warning (4).
	// - Default - Default value. Matches any HealthState. The value is zero.
	// - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.
	// - Ok - Filter that matches input with HealthState value Ok. The value is 2.
	// - Warning - Filter that matches input with HealthState value Warning. The value is 4.
	// - Error - Filter that matches input with HealthState value Error. The value is 8.
	// - All - Filter that matches input with any HealthState value. The value is 65535.
	HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"`
}

ReplicaHealthStateFilter defines matching criteria to determine whether a replica should be included as a child of a partition in the cluster health chunk. The replicas are only returned if the parent entities match a filter specified in the cluster health chunk query description. The parent partition, service and application must be included in the cluster health chunk. One filter can match zero, one or multiple replicas, depending on its properties.

type ReplicaInfo

type ReplicaInfo struct {
	autorest.Response `json:"-"`
	// ReplicaStatus - Possible values include: 'ReplicaStatus1Invalid', 'ReplicaStatus1InBuild', 'ReplicaStatus1Standby', 'ReplicaStatus1Ready', 'ReplicaStatus1Down', 'ReplicaStatus1Dropped'
	ReplicaStatus ReplicaStatus1 `json:"ReplicaStatus,omitempty"`
	// HealthState - Possible values include: 'HealthState6Invalid', 'HealthState6Ok', 'HealthState6Warning', 'HealthState6Error', 'HealthState6Unknown'
	HealthState HealthState6 `json:"HealthState,omitempty"`
	// NodeName - The name of the node.
	NodeName *string `json:"NodeName,omitempty"`
	// Address - The address the replica is listening on.
	Address *string `json:"Address,omitempty"`
	// LastInBuildDurationInSeconds - The last in build duration of the replica in seconds.
	LastInBuildDurationInSeconds *string `json:"LastInBuildDurationInSeconds,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicReplicaInfoServiceKindReplicaInfo', 'ServiceKindBasicReplicaInfoServiceKindStateful', 'ServiceKindBasicReplicaInfoServiceKindStateless'
	ServiceKind ServiceKindBasicReplicaInfo `json:"ServiceKind,omitempty"`
}

ReplicaInfo information about the identity, status, health, node name, uptime, and other details about the replica.

func (ReplicaInfo) AsBasicReplicaInfo

func (ri ReplicaInfo) AsBasicReplicaInfo() (BasicReplicaInfo, bool)

AsBasicReplicaInfo is the BasicReplicaInfo implementation for ReplicaInfo.

func (ReplicaInfo) AsReplicaInfo

func (ri ReplicaInfo) AsReplicaInfo() (*ReplicaInfo, bool)

AsReplicaInfo is the BasicReplicaInfo implementation for ReplicaInfo.

func (ReplicaInfo) AsStatefulServiceReplicaInfo

func (ri ReplicaInfo) AsStatefulServiceReplicaInfo() (*StatefulServiceReplicaInfo, bool)

AsStatefulServiceReplicaInfo is the BasicReplicaInfo implementation for ReplicaInfo.

func (ReplicaInfo) AsStatelessServiceInstanceInfo

func (ri ReplicaInfo) AsStatelessServiceInstanceInfo() (*StatelessServiceInstanceInfo, bool)

AsStatelessServiceInstanceInfo is the BasicReplicaInfo implementation for ReplicaInfo.

func (ReplicaInfo) MarshalJSON

func (ri ReplicaInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicaInfo.

type ReplicaInfoModel

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

ReplicaInfoModel ...

func (*ReplicaInfoModel) UnmarshalJSON

func (rim *ReplicaInfoModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ReplicaInfoModel struct.

type ReplicaRole

type ReplicaRole string

ReplicaRole enumerates the values for replica role.

const (
	// ReplicaRoleActiveSecondary ...
	ReplicaRoleActiveSecondary ReplicaRole = "ActiveSecondary"
	// ReplicaRoleIdleSecondary ...
	ReplicaRoleIdleSecondary ReplicaRole = "IdleSecondary"
	// ReplicaRoleNone ...
	ReplicaRoleNone ReplicaRole = "None"
	// ReplicaRolePrimary ...
	ReplicaRolePrimary ReplicaRole = "Primary"
	// ReplicaRoleUnknown ...
	ReplicaRoleUnknown ReplicaRole = "Unknown"
)

func PossibleReplicaRoleValues

func PossibleReplicaRoleValues() []ReplicaRole

PossibleReplicaRoleValues returns an array of possible values for the ReplicaRole const type.

type ReplicaRole1

type ReplicaRole1 string

ReplicaRole1 enumerates the values for replica role 1.

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

func PossibleReplicaRole1Values

func PossibleReplicaRole1Values() []ReplicaRole1

PossibleReplicaRole1Values returns an array of possible values for the ReplicaRole1 const type.

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

func PossibleReplicaStatusValues

func PossibleReplicaStatusValues() []ReplicaStatus

PossibleReplicaStatusValues returns an array of possible values for the ReplicaStatus const type.

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

func PossibleReplicaStatus1Values

func PossibleReplicaStatus1Values() []ReplicaStatus1

PossibleReplicaStatus1Values returns an array of possible values for the ReplicaStatus1 const type.

type ReplicaStatusBase

type ReplicaStatusBase struct {
	// Kind - Possible values include: 'KindReplicaStatusBase', 'KindKeyValueStore'
	Kind KindBasicReplicaStatusBase `json:"Kind,omitempty"`
}

ReplicaStatusBase information about the replica.

func (ReplicaStatusBase) AsBasicReplicaStatusBase

func (rsb ReplicaStatusBase) AsBasicReplicaStatusBase() (BasicReplicaStatusBase, bool)

AsBasicReplicaStatusBase is the BasicReplicaStatusBase implementation for ReplicaStatusBase.

func (ReplicaStatusBase) AsKeyValueStoreReplicaStatus

func (rsb ReplicaStatusBase) AsKeyValueStoreReplicaStatus() (*KeyValueStoreReplicaStatus, bool)

AsKeyValueStoreReplicaStatus is the BasicReplicaStatusBase implementation for ReplicaStatusBase.

func (ReplicaStatusBase) AsReplicaStatusBase

func (rsb ReplicaStatusBase) AsReplicaStatusBase() (*ReplicaStatusBase, bool)

AsReplicaStatusBase is the BasicReplicaStatusBase implementation for ReplicaStatusBase.

func (ReplicaStatusBase) MarshalJSON

func (rsb ReplicaStatusBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicaStatusBase.

type ReplicasHealthEvaluation

type ReplicasHealthEvaluation struct {
	// MaxPercentUnhealthyReplicasPerPartition - Maximum allowed percentage of unhealthy replicas per partition from the ApplicationHealthPolicy.
	MaxPercentUnhealthyReplicasPerPartition *int32 `json:"MaxPercentUnhealthyReplicasPerPartition,omitempty"`
	// TotalCount - Total number of replicas in the partition from the health store.
	TotalCount *int64 `json:"TotalCount,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ReplicaHealthEvaluation that impacted the aggregated health.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

ReplicasHealthEvaluation represents health evaluation for replicas, containing health evaluations for each unhealthy replica that impacted current aggregated health state. Can be returned when evaluating partition health and the aggregated health state is either Error or Warning.

func (ReplicasHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 ReplicatorQueueStatus

type ReplicatorQueueStatus struct {
	// QueueUtilizationPercentage - Represents the utilization of the queue. A value of 0 indicates that the queue is empty and a value of 100 indicates the queue is full.
	QueueUtilizationPercentage *int32 `json:"QueueUtilizationPercentage,omitempty"`
	// QueueMemorySize - Represents the virtual memory consumed by the queue in bytes.
	QueueMemorySize *string `json:"QueueMemorySize,omitempty"`
	// FirstSequenceNumber - On a primary replicator, this is semantically the sequence number of the operation for which all the secondary replicas have sent an acknowledgement.
	// On a secondary replicator, this is the smallest sequence number of the operation that is present in the queue.
	FirstSequenceNumber *string `json:"FirstSequenceNumber,omitempty"`
	// CompletedSequenceNumber - On a primary replicator, this is semantically the highest sequence number of the operation for which all the secondary replicas have sent an acknowledgement.
	// On a secondary replicator, this is semantically the highest sequence number that has been applied to the persistent state.
	CompletedSequenceNumber *string `json:"CompletedSequenceNumber,omitempty"`
	// CommittedSequenceNumber - On a primary replicator, this is semantically the highest sequence number of the operation for which a write quorum of the secondary replicas have sent an acknowledgement.
	// On a secondary replicator, this is semantically the highest sequence number of the in-order operation received from the primary.
	CommittedSequenceNumber *string `json:"CommittedSequenceNumber,omitempty"`
	// LastSequenceNumber - Represents the latest sequence number of the operation that is available in the queue.
	LastSequenceNumber *string `json:"LastSequenceNumber,omitempty"`
}

ReplicatorQueueStatus provides various statistics of the queue used in the service fabric replicator. Contains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc. Depending on the role of the replicator, the properties in this type imply different meanings.

type ReplicatorStatus

type ReplicatorStatus struct {
	// Kind - Possible values include: 'KindReplicatorStatus', 'KindPrimary', 'KindSecondaryReplicatorStatus', 'KindActiveSecondary', 'KindIdleSecondary'
	Kind KindBasicReplicatorStatus `json:"Kind,omitempty"`
}

ReplicatorStatus represents a base class for primary or secondary replicator status. Contains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc.

func (ReplicatorStatus) AsBasicReplicatorStatus

func (rs ReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)

AsBasicReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.

func (ReplicatorStatus) AsBasicSecondaryReplicatorStatus

func (rs ReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)

AsBasicSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.

func (ReplicatorStatus) AsPrimaryReplicatorStatus

func (rs ReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)

AsPrimaryReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.

func (ReplicatorStatus) AsReplicatorStatus

func (rs ReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)

AsReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.

func (ReplicatorStatus) AsSecondaryActiveReplicatorStatus

func (rs ReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)

AsSecondaryActiveReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.

func (ReplicatorStatus) AsSecondaryIdleReplicatorStatus

func (rs ReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)

AsSecondaryIdleReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.

func (ReplicatorStatus) AsSecondaryReplicatorStatus

func (rs ReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)

AsSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.

func (ReplicatorStatus) MarshalJSON

func (rs ReplicatorStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicatorStatus.

type RepositoryCredential

type RepositoryCredential struct {
	// RepositoryUserName - The user name to connect to container repository.
	RepositoryUserName *string `json:"RepositoryUserName,omitempty"`
	// RepositoryPassword - The password for supplied username to connect to container repository.
	RepositoryPassword *string `json:"RepositoryPassword,omitempty"`
	// PasswordEncrypted - Indicates that supplied container repository password is encrypted.
	PasswordEncrypted *bool `json:"PasswordEncrypted,omitempty"`
}

RepositoryCredential credential information to connect to container repository.

type ResolvedServiceEndpoint

type ResolvedServiceEndpoint struct {
	// Kind - Possible values include: 'KindInvalid', 'KindStateless', 'KindStatefulPrimary', 'KindStatefulSecondary'
	Kind Kind `json:"Kind,omitempty"`
	// Address - The address of the endpoint. If the endpoint has multiple listeners the address is a JSON object with one property per listener with the value as the address of that listener.
	Address *string `json:"Address,omitempty"`
}

ResolvedServiceEndpoint endpoint of a resolved service partition.

type ResolvedServicePartition

type ResolvedServicePartition struct {
	autorest.Response `json:"-"`
	Name              *string `json:"Name,omitempty"`
	// PartitionInformation - A representation of the resolved partition.
	PartitionInformation BasicPartitionInformation  `json:"PartitionInformation,omitempty"`
	Endpoints            *[]ResolvedServiceEndpoint `json:"Endpoints,omitempty"`
	// Version - The version of this resolved service partition result. This version should be passed in the next time the ResolveService call is made via the PreviousRspVersion query parameter.
	Version *string `json:"Version,omitempty"`
}

ResolvedServicePartition information about a service partition and its associated endpoints.

func (*ResolvedServicePartition) UnmarshalJSON

func (rsp *ResolvedServicePartition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ResolvedServicePartition struct.

type RestartDeployedCodePackageDescription

type RestartDeployedCodePackageDescription struct {
	// ServiceManifestName - The name of service manifest that specified this code package.
	ServiceManifestName        *string `json:"ServiceManifestName,omitempty"`
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// CodePackageName - The name of the code package.
	CodePackageName       *string `json:"CodePackageName,omitempty"`
	CodePackageInstanceID *string `json:"CodePackageInstanceId,omitempty"`
}

RestartDeployedCodePackageDescription defines description for restarting a deloyed code package on Service Fabric node.

type RestartNodeDescription

type RestartNodeDescription struct {
	// NodeInstanceID - The instance id of the target node. If instance id is specified the node is restarted only if it matches with the current instance of the node. A default value of "0" would match any instance id. The instance id can be obtained using get node query.
	NodeInstanceID *string `json:"NodeInstanceId,omitempty"`
	// CreateFabricDump - Specify True to create a dump of the fabric node process. This is case sensitive. Possible values include: 'False', 'True'
	CreateFabricDump CreateFabricDump `json:"CreateFabricDump,omitempty"`
}

RestartNodeDescription describes the parameters to restart a Service Fabric node.

type RestartPartitionResult

type RestartPartitionResult struct {
	// ErrorCode - If OperationState is Completed, this is 0.  If OperationState is Faulted, this is an error code indicating the reason.
	ErrorCode         *int32             `json:"ErrorCode,omitempty"`
	SelectedPartition *SelectedPartition `json:"SelectedPartition,omitempty"`
}

RestartPartitionResult represents information about an operation in a terminal state (Completed or Faulted).

type ResumeApplicationUpgradeDescription

type ResumeApplicationUpgradeDescription struct {
	// UpgradeDomainName - The name of the upgrade domain in which to resume the upgrade.
	UpgradeDomainName *string `json:"UpgradeDomainName,omitempty"`
}

ResumeApplicationUpgradeDescription describes the parameters for resuming an unmonitored manual Service Fabric application upgrade

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

func PossibleRollingUpgradeModeValues

func PossibleRollingUpgradeModeValues() []RollingUpgradeMode

PossibleRollingUpgradeModeValues returns an array of possible values for the RollingUpgradeMode const type.

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

func PossibleRollingUpgradeMode1Values

func PossibleRollingUpgradeMode1Values() []RollingUpgradeMode1

PossibleRollingUpgradeMode1Values returns an array of possible values for the RollingUpgradeMode1 const type.

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

func PossibleRollingUpgradeMode2Values

func PossibleRollingUpgradeMode2Values() []RollingUpgradeMode2

PossibleRollingUpgradeMode2Values returns an array of possible values for the RollingUpgradeMode2 const type.

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

func PossibleRollingUpgradeMode3Values

func PossibleRollingUpgradeMode3Values() []RollingUpgradeMode3

PossibleRollingUpgradeMode3Values returns an array of possible values for the RollingUpgradeMode3 const type.

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

func PossibleRollingUpgradeMode4Values

func PossibleRollingUpgradeMode4Values() []RollingUpgradeMode4

PossibleRollingUpgradeMode4Values returns an array of possible values for the RollingUpgradeMode4 const type.

type RollingUpgradeUpdateDescription

type RollingUpgradeUpdateDescription struct {
	// RollingUpgradeMode - Possible values include: 'RollingUpgradeMode4Invalid', 'RollingUpgradeMode4UnmonitoredAuto', 'RollingUpgradeMode4UnmonitoredManual', 'RollingUpgradeMode4Monitored'
	RollingUpgradeMode                   RollingUpgradeMode4 `json:"RollingUpgradeMode,omitempty"`
	ForceRestart                         *bool               `json:"ForceRestart,omitempty"`
	ReplicaSetCheckTimeoutInMilliseconds *int64              `json:"ReplicaSetCheckTimeoutInMilliseconds,omitempty"`
	// FailureAction - Possible values include: 'FailureAction1Invalid', 'FailureAction1Rollback', 'FailureAction1Manual'
	FailureAction                           FailureAction1 `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"`
}

RollingUpgradeUpdateDescription describes the parameters for updating a rolling upgrade of application or cluster.

type SafetyCheck

type SafetyCheck struct {
	// Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration'
	Kind KindBasicSafetyCheck `json:"Kind,omitempty"`
}

SafetyCheck represents a safety check performed by service fabric before continuing with the operations. These checks ensure the avaiability of the service and the reliability of the state.

func (SafetyCheck) AsBasicPartitionSafetyCheck

func (sc SafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)

AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for SafetyCheck.

func (SafetyCheck) AsBasicSafetyCheck

func (sc SafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)

AsBasicSafetyCheck is the BasicSafetyCheck implementation for SafetyCheck.

func (SafetyCheck) AsEnsureAvailabilitySafetyCheck

func (sc SafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)

AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for SafetyCheck.

func (SafetyCheck) AsEnsurePartitionQurumSafetyCheck

func (sc SafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)

AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for SafetyCheck.

func (SafetyCheck) AsPartitionSafetyCheck

func (sc SafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)

AsPartitionSafetyCheck is the BasicSafetyCheck implementation for SafetyCheck.

func (SafetyCheck) AsSafetyCheck

func (sc SafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)

AsSafetyCheck is the BasicSafetyCheck implementation for SafetyCheck.

func (SafetyCheck) AsSeedNodeSafetyCheck

func (sc SafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)

AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for SafetyCheck.

func (SafetyCheck) AsWaitForInbuildReplicaSafetyCheck

func (sc SafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)

AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for SafetyCheck.

func (SafetyCheck) AsWaitForPrimaryPlacementSafetyCheck

func (sc SafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)

AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for SafetyCheck.

func (SafetyCheck) AsWaitForPrimarySwapSafetyCheck

func (sc SafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)

AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for SafetyCheck.

func (SafetyCheck) AsWaitForReconfigurationSafetyCheck

func (sc SafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)

AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for SafetyCheck.

func (SafetyCheck) MarshalJSON

func (sc SafetyCheck) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SafetyCheck.

type SafetyCheckWrapper

type SafetyCheckWrapper struct {
	SafetyCheck BasicSafetyCheck `json:"SafetyCheck,omitempty"`
}

SafetyCheckWrapper a wrapper for the safety check object. Safety checks are performed by service fabric before continuing with the operations. These checks ensure the avaiability of the service and the reliability of the state.

func (*SafetyCheckWrapper) UnmarshalJSON

func (scw *SafetyCheckWrapper) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SafetyCheckWrapper struct.

type Scheme

type Scheme string

Scheme enumerates the values for scheme.

const (
	// SchemeAffinity ...
	SchemeAffinity Scheme = "Affinity"
	// SchemeAlignedAffinity ...
	SchemeAlignedAffinity Scheme = "AlignedAffinity"
	// SchemeInvalid ...
	SchemeInvalid Scheme = "Invalid"
	// SchemeNonAlignedAffinity ...
	SchemeNonAlignedAffinity Scheme = "NonAlignedAffinity"
)

func PossibleSchemeValues

func PossibleSchemeValues() []Scheme

PossibleSchemeValues returns an array of possible values for the Scheme const type.

type SecondaryActiveReplicatorStatus

type SecondaryActiveReplicatorStatus struct {
	// ReplicationQueueStatus - Details about the replication queue on the secondary replicator.
	ReplicationQueueStatus *ReplicatorQueueStatus `json:"ReplicationQueueStatus,omitempty"`
	// LastReplicationOperationReceivedTimeUtc - The last time-stamp (UTC) at which a replication operation was received from the primary.
	// UTC 0 represents an invalid value, indicating that a replication operation message was never received.
	LastReplicationOperationReceivedTimeUtc *date.Time `json:"LastReplicationOperationReceivedTimeUtc,omitempty"`
	// IsInBuild - Value that indicates whether the replica is currently being built.
	IsInBuild *bool `json:"IsInBuild,omitempty"`
	// CopyQueueStatus - Details about the copy queue on the secondary replicator.
	CopyQueueStatus *ReplicatorQueueStatus `json:"CopyQueueStatus,omitempty"`
	// LastCopyOperationReceivedTimeUtc - The last time-stamp (UTC) at which a copy operation was received from the primary.
	// UTC 0 represents an invalid value, indicating that a copy operation message was never received.
	LastCopyOperationReceivedTimeUtc *date.Time `json:"LastCopyOperationReceivedTimeUtc,omitempty"`
	// LastAcknowledgementSentTimeUtc - The last time-stamp (UTC) at which an acknowledgment was sent to the primary replicator.
	// UTC 0 represents an invalid value, indicating that an acknowledgment message was never sent.
	LastAcknowledgementSentTimeUtc *date.Time `json:"LastAcknowledgementSentTimeUtc,omitempty"`
	// Kind - Possible values include: 'KindReplicatorStatus', 'KindPrimary', 'KindSecondaryReplicatorStatus', 'KindActiveSecondary', 'KindIdleSecondary'
	Kind KindBasicReplicatorStatus `json:"Kind,omitempty"`
}

SecondaryActiveReplicatorStatus status of the secondary replicator when it is in active mode and is part of the replica set.

func (SecondaryActiveReplicatorStatus) AsBasicReplicatorStatus

func (sars SecondaryActiveReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)

AsBasicReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryActiveReplicatorStatus.

func (SecondaryActiveReplicatorStatus) AsBasicSecondaryReplicatorStatus

func (sars SecondaryActiveReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)

AsBasicSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryActiveReplicatorStatus.

func (SecondaryActiveReplicatorStatus) AsPrimaryReplicatorStatus

func (sars SecondaryActiveReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)

AsPrimaryReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryActiveReplicatorStatus.

func (SecondaryActiveReplicatorStatus) AsReplicatorStatus

func (sars SecondaryActiveReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)

AsReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryActiveReplicatorStatus.

func (SecondaryActiveReplicatorStatus) AsSecondaryActiveReplicatorStatus

func (sars SecondaryActiveReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)

AsSecondaryActiveReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryActiveReplicatorStatus.

func (SecondaryActiveReplicatorStatus) AsSecondaryIdleReplicatorStatus

func (sars SecondaryActiveReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)

AsSecondaryIdleReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryActiveReplicatorStatus.

func (SecondaryActiveReplicatorStatus) AsSecondaryReplicatorStatus

func (sars SecondaryActiveReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)

AsSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryActiveReplicatorStatus.

func (SecondaryActiveReplicatorStatus) MarshalJSON

func (sars SecondaryActiveReplicatorStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecondaryActiveReplicatorStatus.

type SecondaryIdleReplicatorStatus

type SecondaryIdleReplicatorStatus struct {
	// ReplicationQueueStatus - Details about the replication queue on the secondary replicator.
	ReplicationQueueStatus *ReplicatorQueueStatus `json:"ReplicationQueueStatus,omitempty"`
	// LastReplicationOperationReceivedTimeUtc - The last time-stamp (UTC) at which a replication operation was received from the primary.
	// UTC 0 represents an invalid value, indicating that a replication operation message was never received.
	LastReplicationOperationReceivedTimeUtc *date.Time `json:"LastReplicationOperationReceivedTimeUtc,omitempty"`
	// IsInBuild - Value that indicates whether the replica is currently being built.
	IsInBuild *bool `json:"IsInBuild,omitempty"`
	// CopyQueueStatus - Details about the copy queue on the secondary replicator.
	CopyQueueStatus *ReplicatorQueueStatus `json:"CopyQueueStatus,omitempty"`
	// LastCopyOperationReceivedTimeUtc - The last time-stamp (UTC) at which a copy operation was received from the primary.
	// UTC 0 represents an invalid value, indicating that a copy operation message was never received.
	LastCopyOperationReceivedTimeUtc *date.Time `json:"LastCopyOperationReceivedTimeUtc,omitempty"`
	// LastAcknowledgementSentTimeUtc - The last time-stamp (UTC) at which an acknowledgment was sent to the primary replicator.
	// UTC 0 represents an invalid value, indicating that an acknowledgment message was never sent.
	LastAcknowledgementSentTimeUtc *date.Time `json:"LastAcknowledgementSentTimeUtc,omitempty"`
	// Kind - Possible values include: 'KindReplicatorStatus', 'KindPrimary', 'KindSecondaryReplicatorStatus', 'KindActiveSecondary', 'KindIdleSecondary'
	Kind KindBasicReplicatorStatus `json:"Kind,omitempty"`
}

SecondaryIdleReplicatorStatus status of the secondary replicator when it is in idle mode and is being built by the primary.

func (SecondaryIdleReplicatorStatus) AsBasicReplicatorStatus

func (sirs SecondaryIdleReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)

AsBasicReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryIdleReplicatorStatus.

func (SecondaryIdleReplicatorStatus) AsBasicSecondaryReplicatorStatus

func (sirs SecondaryIdleReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)

AsBasicSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryIdleReplicatorStatus.

func (SecondaryIdleReplicatorStatus) AsPrimaryReplicatorStatus

func (sirs SecondaryIdleReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)

AsPrimaryReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryIdleReplicatorStatus.

func (SecondaryIdleReplicatorStatus) AsReplicatorStatus

func (sirs SecondaryIdleReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)

AsReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryIdleReplicatorStatus.

func (SecondaryIdleReplicatorStatus) AsSecondaryActiveReplicatorStatus

func (sirs SecondaryIdleReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)

AsSecondaryActiveReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryIdleReplicatorStatus.

func (SecondaryIdleReplicatorStatus) AsSecondaryIdleReplicatorStatus

func (sirs SecondaryIdleReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)

AsSecondaryIdleReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryIdleReplicatorStatus.

func (SecondaryIdleReplicatorStatus) AsSecondaryReplicatorStatus

func (sirs SecondaryIdleReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)

AsSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryIdleReplicatorStatus.

func (SecondaryIdleReplicatorStatus) MarshalJSON

func (sirs SecondaryIdleReplicatorStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecondaryIdleReplicatorStatus.

type SecondaryReplicatorStatus

type SecondaryReplicatorStatus struct {
	// ReplicationQueueStatus - Details about the replication queue on the secondary replicator.
	ReplicationQueueStatus *ReplicatorQueueStatus `json:"ReplicationQueueStatus,omitempty"`
	// LastReplicationOperationReceivedTimeUtc - The last time-stamp (UTC) at which a replication operation was received from the primary.
	// UTC 0 represents an invalid value, indicating that a replication operation message was never received.
	LastReplicationOperationReceivedTimeUtc *date.Time `json:"LastReplicationOperationReceivedTimeUtc,omitempty"`
	// IsInBuild - Value that indicates whether the replica is currently being built.
	IsInBuild *bool `json:"IsInBuild,omitempty"`
	// CopyQueueStatus - Details about the copy queue on the secondary replicator.
	CopyQueueStatus *ReplicatorQueueStatus `json:"CopyQueueStatus,omitempty"`
	// LastCopyOperationReceivedTimeUtc - The last time-stamp (UTC) at which a copy operation was received from the primary.
	// UTC 0 represents an invalid value, indicating that a copy operation message was never received.
	LastCopyOperationReceivedTimeUtc *date.Time `json:"LastCopyOperationReceivedTimeUtc,omitempty"`
	// LastAcknowledgementSentTimeUtc - The last time-stamp (UTC) at which an acknowledgment was sent to the primary replicator.
	// UTC 0 represents an invalid value, indicating that an acknowledgment message was never sent.
	LastAcknowledgementSentTimeUtc *date.Time `json:"LastAcknowledgementSentTimeUtc,omitempty"`
	// Kind - Possible values include: 'KindReplicatorStatus', 'KindPrimary', 'KindSecondaryReplicatorStatus', 'KindActiveSecondary', 'KindIdleSecondary'
	Kind KindBasicReplicatorStatus `json:"Kind,omitempty"`
}

SecondaryReplicatorStatus ...

func (SecondaryReplicatorStatus) AsBasicReplicatorStatus

func (srs SecondaryReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)

AsBasicReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.

func (SecondaryReplicatorStatus) AsBasicSecondaryReplicatorStatus

func (srs SecondaryReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)

AsBasicSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.

func (SecondaryReplicatorStatus) AsPrimaryReplicatorStatus

func (srs SecondaryReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)

AsPrimaryReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.

func (SecondaryReplicatorStatus) AsReplicatorStatus

func (srs SecondaryReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)

AsReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.

func (SecondaryReplicatorStatus) AsSecondaryActiveReplicatorStatus

func (srs SecondaryReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)

AsSecondaryActiveReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.

func (SecondaryReplicatorStatus) AsSecondaryIdleReplicatorStatus

func (srs SecondaryReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)

AsSecondaryIdleReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.

func (SecondaryReplicatorStatus) AsSecondaryReplicatorStatus

func (srs SecondaryReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)

AsSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.

func (SecondaryReplicatorStatus) MarshalJSON

func (srs SecondaryReplicatorStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecondaryReplicatorStatus.

type SeedNodeSafetyCheck

type SeedNodeSafetyCheck struct {
	// Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration'
	Kind KindBasicSafetyCheck `json:"Kind,omitempty"`
}

SeedNodeSafetyCheck represents a safety check for the seed nodes being performed by service fabric before continuing with node level operations.

func (SeedNodeSafetyCheck) AsBasicPartitionSafetyCheck

func (snsc SeedNodeSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)

AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.

func (SeedNodeSafetyCheck) AsBasicSafetyCheck

func (snsc SeedNodeSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)

AsBasicSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.

func (SeedNodeSafetyCheck) AsEnsureAvailabilitySafetyCheck

func (snsc SeedNodeSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)

AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.

func (SeedNodeSafetyCheck) AsEnsurePartitionQurumSafetyCheck

func (snsc SeedNodeSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)

AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.

func (SeedNodeSafetyCheck) AsPartitionSafetyCheck

func (snsc SeedNodeSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)

AsPartitionSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.

func (SeedNodeSafetyCheck) AsSafetyCheck

func (snsc SeedNodeSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)

AsSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.

func (SeedNodeSafetyCheck) AsSeedNodeSafetyCheck

func (snsc SeedNodeSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)

AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.

func (SeedNodeSafetyCheck) AsWaitForInbuildReplicaSafetyCheck

func (snsc SeedNodeSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)

AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.

func (SeedNodeSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck

func (snsc SeedNodeSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)

AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.

func (SeedNodeSafetyCheck) AsWaitForPrimarySwapSafetyCheck

func (snsc SeedNodeSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)

AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.

func (SeedNodeSafetyCheck) AsWaitForReconfigurationSafetyCheck

func (snsc SeedNodeSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)

AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.

func (SeedNodeSafetyCheck) MarshalJSON

func (snsc SeedNodeSafetyCheck) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SeedNodeSafetyCheck.

type SelectedPartition

type SelectedPartition struct {
	// ServiceName - The name of the service the partition belongs to.
	ServiceName *string    `json:"ServiceName,omitempty"`
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
}

SelectedPartition this class returns information about the partition that the user-induced operation acted upon.

type ServiceCorrelationDescription

type ServiceCorrelationDescription struct {
	// Scheme - The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName. Possible values include: 'SchemeInvalid', 'SchemeAffinity', 'SchemeAlignedAffinity', 'SchemeNonAlignedAffinity'
	Scheme Scheme `json:"Scheme,omitempty"`
	// ServiceName - The name of the service that the correlation relationship is established with.
	ServiceName *string `json:"ServiceName,omitempty"`
}

ServiceCorrelationDescription creates a particular correlation between services.

type ServiceDescription

type ServiceDescription struct {
	autorest.Response `json:"-"`
	// ApplicationName - The application name.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceName - The service name.
	ServiceName *string `json:"ServiceName,omitempty"`
	// ServiceTypeName - The service type name.
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// InitializationData - The initialization data as an array of bytes. Initialization data is passed to service instances or replicas when they are created.
	InitializationData *[]int32 `json:"InitializationData,omitempty"`
	// PartitionDescription - The partition description as an object.
	PartitionDescription BasicPartitionSchemeDescription `json:"PartitionDescription,omitempty"`
	// PlacementConstraints - The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
	PlacementConstraints *string `json:"PlacementConstraints,omitempty"`
	// CorrelationScheme - The correlation scheme.
	CorrelationScheme *[]ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"`
	// ServiceLoadMetrics - The service load metrics.
	ServiceLoadMetrics *[]ServiceLoadMetricDescription `json:"ServiceLoadMetrics,omitempty"`
	// ServicePlacementPolicies - The service placement policies.
	ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"`
	// DefaultMoveCost - The move cost for the service. Possible values include: 'Zero', 'Low', 'Medium', 'High'
	DefaultMoveCost DefaultMoveCost `json:"DefaultMoveCost,omitempty"`
	// IsDefaultMoveCostSpecified - Indicates if the DefaultMoveCost property is specified.
	IsDefaultMoveCostSpecified *bool `json:"IsDefaultMoveCostSpecified,omitempty"`
	// ServicePackageActivationMode - The activation mode of service package to be used for a service. Possible values include: 'ServicePackageActivationMode1SharedProcess', 'ServicePackageActivationMode1ExclusiveProcess'
	ServicePackageActivationMode ServicePackageActivationMode1 `json:"ServicePackageActivationMode,omitempty"`
	// ServiceDNSName - The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster.
	ServiceDNSName *string `json:"ServiceDnsName,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicServiceDescriptionServiceKindServiceDescription', 'ServiceKindBasicServiceDescriptionServiceKindStateful', 'ServiceKindBasicServiceDescriptionServiceKindStateless'
	ServiceKind ServiceKindBasicServiceDescription `json:"ServiceKind,omitempty"`
}

ServiceDescription a ServiceDescription contains all of the information necessary to create a 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.

func (*ServiceDescription) UnmarshalJSON

func (sd *ServiceDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceDescription struct.

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 ServiceFromTemplateDescription

type ServiceFromTemplateDescription struct {
	// ApplicationName - Full name of the application.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceName - Full name of the service.
	ServiceName *string `json:"ServiceName,omitempty"`
	// ServiceTypeName - The name of the Service Fabric service type.
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// InitializationData - The initialization data for the newly created service instance.
	InitializationData *[]int32 `json:"InitializationData,omitempty"`
	// ServicePackageActivationMode - The activation mode of service package to be used for a service. Possible values include: 'SharedProcess', 'ExclusiveProcess'
	ServicePackageActivationMode ServicePackageActivationMode `json:"ServicePackageActivationMode,omitempty"`
	// ServiceDNSName - The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster.
	ServiceDNSName *string `json:"ServiceDnsName,omitempty"`
}

ServiceFromTemplateDescription defines description for creating a Service Fabric service from a template defined in the application manifest.

type ServiceHealth

type ServiceHealth struct {
	autorest.Response `json:"-"`
	// Name - The name of the service whose health information is described by this object.
	Name *string `json:"Name,omitempty"`
	// PartitionHealthStates - The list of partition health states associated with the service.
	PartitionHealthStates *[]PartitionHealthState `json:"PartitionHealthStates,omitempty"`
	// AggregatedHealthState - The HealthState representing the aggregated health state of the entity computed by Health Manager.
	// The health evaluation of the entity reflects all events reported on the entity and its children (if any).
	// The aggregation is done by applying the desired health policy.
	// . Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown'
	AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"`
	// HealthEvents - The list of health events reported on the entity.
	HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"`
	// UnhealthyEvaluations - The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
}

ServiceHealth information about the health of a Service Fabric service.

type ServiceHealthEvaluation

type ServiceHealthEvaluation struct {
	// ServiceName - Full name of the service.
	ServiceName *string `json:"ServiceName,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the current aggregated health state of the service. The types of the unhealthy evaluations can be PartitionsHealthEvaluation or EventHealthEvaluation.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

ServiceHealthEvaluation represents health evaluation for a service, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.

func (ServiceHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (she ServiceHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 ServiceHealthState

type ServiceHealthState struct {
	// ServiceName - Full name of the service.
	ServiceName *string `json:"ServiceName,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown'
	AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"`
}

ServiceHealthState represents the health state of a service, which contains the service identifier and its aggregated health state.

type ServiceHealthStateChunk

type ServiceHealthStateChunk struct {
	// ServiceName - The name of the service.
	ServiceName *string `json:"ServiceName,omitempty"`
	// PartitionHealthStateChunks - The list of partition health state chunks belonging to the service that respect the filters in the cluster health chunk query description.
	PartitionHealthStateChunks *PartitionHealthStateChunkList `json:"PartitionHealthStateChunks,omitempty"`
	// HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown'
	HealthState HealthState2 `json:"HealthState,omitempty"`
}

ServiceHealthStateChunk represents the health state chunk of a service, which contains the service name, its aggregated health state and any partitions that respect the filters in the cluster health chunk query description.

type ServiceHealthStateChunkList

type ServiceHealthStateChunkList struct {
	// Items - The list of service health state chunks that respect the input filters in the chunk query.
	Items *[]ServiceHealthStateChunk `json:"Items,omitempty"`
}

ServiceHealthStateChunkList the list of service health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.

type ServiceHealthStateFilter

type ServiceHealthStateFilter struct {
	// ServiceNameFilter - The name of the service that matches the filter. The filter is applied only to the specified service, if it exists.
	// If the service doesn't exist, no service is returned in the cluster health chunk based on this filter.
	// If the service exists, it is included as the application's child if the health state matches the other filter properties.
	// If not specified, all services that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter.
	ServiceNameFilter *string `json:"ServiceNameFilter,omitempty"`
	// HealthStateFilter - The filter for the health state of the services. It allows selecting services if they match the desired health states.
	// The possible values are integer value of one of the following health states. Only services that match the filter are returned. All services are used to evaluate the cluster aggregated health state.
	// If not specified, default value is None, unless the service name is specified. If the filter has default value and service name is specified, the matching service is returned.
	// The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator.
	// For example, if the provided value is 6, it matches services with HealthState value of OK (2) and Warning (4).
	// - Default - Default value. Matches any HealthState. The value is zero.
	// - None - Filter that doesn’t match any HealthState value. Used in order to return no results on a given collection of states. The value is 1.
	// - Ok - Filter that matches input with HealthState value Ok. The value is 2.
	// - Warning - Filter that matches input with HealthState value Warning. The value is 4.
	// - Error - Filter that matches input with HealthState value Error. The value is 8.
	// - All - Filter that matches input with any HealthState value. The value is 65535.
	HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"`
	// PartitionFilters - Defines a list of filters that specify which partitions to be included in the returned cluster health chunk as children of the service. The partitions are returned only if the parent service matches a filter.
	// If the list is empty, no partitions are returned. All the partitions are used to evaluate the parent service aggregated health state, regardless of the input filters.
	// The service filter may specify multiple partition filters.
	// For example, it can specify a filter to return all partitions with health state Error and another filter to always include a partition identified by its partition id.
	PartitionFilters *[]PartitionHealthStateFilter `json:"PartitionFilters,omitempty"`
}

ServiceHealthStateFilter defines matching criteria to determine whether a service should be included as a child of an application in the cluster health chunk. The services are only returned if the parent application matches a filter specified in the cluster health chunk query description. One filter can match zero, one or multiple services, depending on its properties.

type ServiceInfo

type ServiceInfo struct {
	autorest.Response `json:"-"`
	ID                *string `json:"Id,omitempty"`
	// Name - Full hierarchical name of the service in URI format starting with `fabric:`.
	Name *string `json:"Name,omitempty"`
	// TypeName - The name of the service type as specified in the service manifest.
	TypeName *string `json:"TypeName,omitempty"`
	// ManifestVersion - The version of the service manifest.
	ManifestVersion *string `json:"ManifestVersion,omitempty"`
	// HealthState - Possible values include: 'HealthState7Invalid', 'HealthState7Ok', 'HealthState7Warning', 'HealthState7Error', 'HealthState7Unknown'
	HealthState HealthState7 `json:"HealthState,omitempty"`
	// ServiceStatus - Possible values include: 'ServiceStatusUnknown', 'ServiceStatusActive', 'ServiceStatusUpgrading', 'ServiceStatusDeleting', 'ServiceStatusCreating', 'ServiceStatusFailed'
	ServiceStatus ServiceStatus `json:"ServiceStatus,omitempty"`
	// IsServiceGroup - Whether the service is in a service group.
	IsServiceGroup *bool `json:"IsServiceGroup,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicServiceInfoServiceKindServiceInfo', 'ServiceKindBasicServiceInfoServiceKindStateful', 'ServiceKindBasicServiceInfoServiceKindStateless'
	ServiceKind ServiceKindBasicServiceInfo `json:"ServiceKind,omitempty"`
}

ServiceInfo information about a Service Fabric service.

func (ServiceInfo) AsBasicServiceInfo

func (si ServiceInfo) AsBasicServiceInfo() (BasicServiceInfo, bool)

AsBasicServiceInfo is the BasicServiceInfo implementation for ServiceInfo.

func (ServiceInfo) AsServiceInfo

func (si ServiceInfo) AsServiceInfo() (*ServiceInfo, bool)

AsServiceInfo is the BasicServiceInfo implementation for ServiceInfo.

func (ServiceInfo) AsStatefulServiceInfo

func (si ServiceInfo) AsStatefulServiceInfo() (*StatefulServiceInfo, bool)

AsStatefulServiceInfo is the BasicServiceInfo implementation for ServiceInfo.

func (ServiceInfo) AsStatelessServiceInfo

func (si ServiceInfo) AsStatelessServiceInfo() (*StatelessServiceInfo, bool)

AsStatelessServiceInfo is the BasicServiceInfo implementation for ServiceInfo.

func (ServiceInfo) MarshalJSON

func (si ServiceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceInfo.

type ServiceInfoModel

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

ServiceInfoModel ...

func (*ServiceInfoModel) UnmarshalJSON

func (sim *ServiceInfoModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceInfoModel struct.

type ServiceKind

type ServiceKind string

ServiceKind enumerates the values for service kind.

const (
	// ServiceKindDeployedServiceReplicaInfo ...
	ServiceKindDeployedServiceReplicaInfo ServiceKind = "DeployedServiceReplicaInfo"
	// ServiceKindStateful ...
	ServiceKindStateful ServiceKind = "Stateful"
	// ServiceKindStateless ...
	ServiceKindStateless ServiceKind = "Stateless"
)

func PossibleServiceKindValues

func PossibleServiceKindValues() []ServiceKind

PossibleServiceKindValues returns an array of possible values for the ServiceKind const type.

type ServiceKindBasicDeployedServiceReplicaDetailInfo

type ServiceKindBasicDeployedServiceReplicaDetailInfo string

ServiceKindBasicDeployedServiceReplicaDetailInfo enumerates the values for service kind basic deployed service replica detail info.

const (
	// ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindDeployedServiceReplicaDetailInfo ...
	ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindDeployedServiceReplicaDetailInfo ServiceKindBasicDeployedServiceReplicaDetailInfo = "DeployedServiceReplicaDetailInfo"
	// ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateful ...
	ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateful ServiceKindBasicDeployedServiceReplicaDetailInfo = "Stateful"
	// ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateless ...
	ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateless ServiceKindBasicDeployedServiceReplicaDetailInfo = "Stateless"
)

func PossibleServiceKindBasicDeployedServiceReplicaDetailInfoValues

func PossibleServiceKindBasicDeployedServiceReplicaDetailInfoValues() []ServiceKindBasicDeployedServiceReplicaDetailInfo

PossibleServiceKindBasicDeployedServiceReplicaDetailInfoValues returns an array of possible values for the ServiceKindBasicDeployedServiceReplicaDetailInfo const type.

type ServiceKindBasicReplicaHealth

type ServiceKindBasicReplicaHealth string

ServiceKindBasicReplicaHealth enumerates the values for service kind basic replica health.

const (
	// ServiceKindBasicReplicaHealthServiceKindReplicaHealth ...
	ServiceKindBasicReplicaHealthServiceKindReplicaHealth ServiceKindBasicReplicaHealth = "ReplicaHealth"
	// ServiceKindBasicReplicaHealthServiceKindStateful ...
	ServiceKindBasicReplicaHealthServiceKindStateful ServiceKindBasicReplicaHealth = "Stateful"
	// ServiceKindBasicReplicaHealthServiceKindStateless ...
	ServiceKindBasicReplicaHealthServiceKindStateless ServiceKindBasicReplicaHealth = "Stateless"
)

func PossibleServiceKindBasicReplicaHealthValues

func PossibleServiceKindBasicReplicaHealthValues() []ServiceKindBasicReplicaHealth

PossibleServiceKindBasicReplicaHealthValues returns an array of possible values for the ServiceKindBasicReplicaHealth const type.

type ServiceKindBasicReplicaHealthState

type ServiceKindBasicReplicaHealthState string

ServiceKindBasicReplicaHealthState enumerates the values for service kind basic replica health state.

const (
	// ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState ...
	ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState ServiceKindBasicReplicaHealthState = "ReplicaHealthState"
	// ServiceKindBasicReplicaHealthStateServiceKindStateful ...
	ServiceKindBasicReplicaHealthStateServiceKindStateful ServiceKindBasicReplicaHealthState = "Stateful"
	// ServiceKindBasicReplicaHealthStateServiceKindStateless ...
	ServiceKindBasicReplicaHealthStateServiceKindStateless ServiceKindBasicReplicaHealthState = "Stateless"
)

func PossibleServiceKindBasicReplicaHealthStateValues

func PossibleServiceKindBasicReplicaHealthStateValues() []ServiceKindBasicReplicaHealthState

PossibleServiceKindBasicReplicaHealthStateValues returns an array of possible values for the ServiceKindBasicReplicaHealthState const type.

type ServiceKindBasicReplicaInfo

type ServiceKindBasicReplicaInfo string

ServiceKindBasicReplicaInfo enumerates the values for service kind basic replica info.

const (
	// ServiceKindBasicReplicaInfoServiceKindReplicaInfo ...
	ServiceKindBasicReplicaInfoServiceKindReplicaInfo ServiceKindBasicReplicaInfo = "ReplicaInfo"
	// ServiceKindBasicReplicaInfoServiceKindStateful ...
	ServiceKindBasicReplicaInfoServiceKindStateful ServiceKindBasicReplicaInfo = "Stateful"
	// ServiceKindBasicReplicaInfoServiceKindStateless ...
	ServiceKindBasicReplicaInfoServiceKindStateless ServiceKindBasicReplicaInfo = "Stateless"
)

func PossibleServiceKindBasicReplicaInfoValues

func PossibleServiceKindBasicReplicaInfoValues() []ServiceKindBasicReplicaInfo

PossibleServiceKindBasicReplicaInfoValues returns an array of possible values for the ServiceKindBasicReplicaInfo const type.

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

func PossibleServiceKindBasicServiceDescriptionValues

func PossibleServiceKindBasicServiceDescriptionValues() []ServiceKindBasicServiceDescription

PossibleServiceKindBasicServiceDescriptionValues returns an array of possible values for the ServiceKindBasicServiceDescription const type.

type ServiceKindBasicServiceInfo

type ServiceKindBasicServiceInfo string

ServiceKindBasicServiceInfo enumerates the values for service kind basic service info.

const (
	// ServiceKindBasicServiceInfoServiceKindServiceInfo ...
	ServiceKindBasicServiceInfoServiceKindServiceInfo ServiceKindBasicServiceInfo = "ServiceInfo"
	// ServiceKindBasicServiceInfoServiceKindStateful ...
	ServiceKindBasicServiceInfoServiceKindStateful ServiceKindBasicServiceInfo = "Stateful"
	// ServiceKindBasicServiceInfoServiceKindStateless ...
	ServiceKindBasicServiceInfoServiceKindStateless ServiceKindBasicServiceInfo = "Stateless"
)

func PossibleServiceKindBasicServiceInfoValues

func PossibleServiceKindBasicServiceInfoValues() []ServiceKindBasicServiceInfo

PossibleServiceKindBasicServiceInfoValues returns an array of possible values for the ServiceKindBasicServiceInfo const type.

type ServiceKindBasicServicePartitionInfo

type ServiceKindBasicServicePartitionInfo string

ServiceKindBasicServicePartitionInfo enumerates the values for service kind basic service partition info.

const (
	// ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo ...
	ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo ServiceKindBasicServicePartitionInfo = "ServicePartitionInfo"
	// ServiceKindBasicServicePartitionInfoServiceKindStateful ...
	ServiceKindBasicServicePartitionInfoServiceKindStateful ServiceKindBasicServicePartitionInfo = "Stateful"
	// ServiceKindBasicServicePartitionInfoServiceKindStateless ...
	ServiceKindBasicServicePartitionInfoServiceKindStateless ServiceKindBasicServicePartitionInfo = "Stateless"
)

func PossibleServiceKindBasicServicePartitionInfoValues

func PossibleServiceKindBasicServicePartitionInfoValues() []ServiceKindBasicServicePartitionInfo

PossibleServiceKindBasicServicePartitionInfoValues returns an array of possible values for the ServiceKindBasicServicePartitionInfo const type.

type ServiceKindBasicServiceUpdateDescription

type ServiceKindBasicServiceUpdateDescription string

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

const (
	// ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription ...
	ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription ServiceKindBasicServiceUpdateDescription = "ServiceUpdateDescription"
	// ServiceKindBasicServiceUpdateDescriptionServiceKindStateful ...
	ServiceKindBasicServiceUpdateDescriptionServiceKindStateful ServiceKindBasicServiceUpdateDescription = "Stateful"
	// ServiceKindBasicServiceUpdateDescriptionServiceKindStateless ...
	ServiceKindBasicServiceUpdateDescriptionServiceKindStateless ServiceKindBasicServiceUpdateDescription = "Stateless"
)

func PossibleServiceKindBasicServiceUpdateDescriptionValues

func PossibleServiceKindBasicServiceUpdateDescriptionValues() []ServiceKindBasicServiceUpdateDescription

PossibleServiceKindBasicServiceUpdateDescriptionValues returns an array of possible values for the ServiceKindBasicServiceUpdateDescription const type.

type ServiceLoadMetricDescription

type ServiceLoadMetricDescription struct {
	// Name - The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive.
	Name *string `json:"Name,omitempty"`
	// Weight - The service load metric relative weight, compared to other metrics configured for this service, as a number. Possible values include: 'WeightZero', 'WeightLow', 'WeightMedium', 'WeightHigh'
	Weight Weight `json:"Weight,omitempty"`
	// PrimaryDefaultLoad - Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica.
	PrimaryDefaultLoad *int32 `json:"PrimaryDefaultLoad,omitempty"`
	// SecondaryDefaultLoad - Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica.
	SecondaryDefaultLoad *int32 `json:"SecondaryDefaultLoad,omitempty"`
	// DefaultLoad - Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric.
	DefaultLoad *int32 `json:"DefaultLoad,omitempty"`
}

ServiceLoadMetricDescription specifies a metric to load balance a service during runtime.

type ServiceNameInfo

type ServiceNameInfo struct {
	autorest.Response `json:"-"`
	ID                *string `json:"Id,omitempty"`
	// Name - The name of the service.
	Name *string `json:"Name,omitempty"`
}

ServiceNameInfo information about the service name.

type ServicePackageActivationMode

type ServicePackageActivationMode string

ServicePackageActivationMode enumerates the values for service package activation mode.

const (
	// ExclusiveProcess ...
	ExclusiveProcess ServicePackageActivationMode = "ExclusiveProcess"
	// SharedProcess ...
	SharedProcess ServicePackageActivationMode = "SharedProcess"
)

func PossibleServicePackageActivationModeValues

func PossibleServicePackageActivationModeValues() []ServicePackageActivationMode

PossibleServicePackageActivationModeValues returns an array of possible values for the ServicePackageActivationMode const type.

type ServicePackageActivationMode1

type ServicePackageActivationMode1 string

ServicePackageActivationMode1 enumerates the values for service package activation mode 1.

const (
	// ServicePackageActivationMode1ExclusiveProcess ...
	ServicePackageActivationMode1ExclusiveProcess ServicePackageActivationMode1 = "ExclusiveProcess"
	// ServicePackageActivationMode1SharedProcess ...
	ServicePackageActivationMode1SharedProcess ServicePackageActivationMode1 = "SharedProcess"
)

func PossibleServicePackageActivationMode1Values

func PossibleServicePackageActivationMode1Values() []ServicePackageActivationMode1

PossibleServicePackageActivationMode1Values returns an array of possible values for the ServicePackageActivationMode1 const type.

type ServicePartitionInfo

type ServicePartitionInfo struct {
	autorest.Response `json:"-"`
	// HealthState - Possible values include: 'HealthState5Invalid', 'HealthState5Ok', 'HealthState5Warning', 'HealthState5Error', 'HealthState5Unknown'
	HealthState HealthState5 `json:"HealthState,omitempty"`
	// PartitionStatus - Possible values include: 'PartitionStatusInvalid', 'PartitionStatusReady', 'PartitionStatusNotReady', 'PartitionStatusInQuorumLoss', 'PartitionStatusReconfiguring', 'PartitionStatusDeleting'
	PartitionStatus      PartitionStatus           `json:"PartitionStatus,omitempty"`
	PartitionInformation BasicPartitionInformation `json:"PartitionInformation,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo', 'ServiceKindBasicServicePartitionInfoServiceKindStateful', 'ServiceKindBasicServicePartitionInfoServiceKindStateless'
	ServiceKind ServiceKindBasicServicePartitionInfo `json:"ServiceKind,omitempty"`
}

ServicePartitionInfo information about a partition of a Service Fabric service.

func (ServicePartitionInfo) AsBasicServicePartitionInfo

func (spi ServicePartitionInfo) AsBasicServicePartitionInfo() (BasicServicePartitionInfo, bool)

AsBasicServicePartitionInfo is the BasicServicePartitionInfo implementation for ServicePartitionInfo.

func (ServicePartitionInfo) AsServicePartitionInfo

func (spi ServicePartitionInfo) AsServicePartitionInfo() (*ServicePartitionInfo, bool)

AsServicePartitionInfo is the BasicServicePartitionInfo implementation for ServicePartitionInfo.

func (ServicePartitionInfo) AsStatefulServicePartitionInfo

func (spi ServicePartitionInfo) AsStatefulServicePartitionInfo() (*StatefulServicePartitionInfo, bool)

AsStatefulServicePartitionInfo is the BasicServicePartitionInfo implementation for ServicePartitionInfo.

func (ServicePartitionInfo) AsStatelessServicePartitionInfo

func (spi ServicePartitionInfo) AsStatelessServicePartitionInfo() (*StatelessServicePartitionInfo, bool)

AsStatelessServicePartitionInfo is the BasicServicePartitionInfo implementation for ServicePartitionInfo.

func (ServicePartitionInfo) MarshalJSON

func (spi ServicePartitionInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServicePartitionInfo.

func (*ServicePartitionInfo) UnmarshalJSON

func (spi *ServicePartitionInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServicePartitionInfo struct.

type ServicePartitionInfoModel

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

ServicePartitionInfoModel ...

func (*ServicePartitionInfoModel) UnmarshalJSON

func (spim *ServicePartitionInfoModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServicePartitionInfoModel struct.

type ServicePartitionKind

type ServicePartitionKind string

ServicePartitionKind enumerates the values for service partition kind.

const (
	// ServicePartitionKindInt64Range ...
	ServicePartitionKindInt64Range ServicePartitionKind = "Int64Range"
	// ServicePartitionKindNamed ...
	ServicePartitionKindNamed ServicePartitionKind = "Named"
	// ServicePartitionKindPartitionInformation ...
	ServicePartitionKindPartitionInformation ServicePartitionKind = "PartitionInformation"
	// ServicePartitionKindSingleton ...
	ServicePartitionKindSingleton ServicePartitionKind = "Singleton"
)

func PossibleServicePartitionKindValues

func PossibleServicePartitionKindValues() []ServicePartitionKind

PossibleServicePartitionKindValues returns an array of possible values for the ServicePartitionKind const type.

type ServicePlacementInvalidDomainPolicyDescription

type ServicePlacementInvalidDomainPolicyDescription struct {
	// DomainName - The name of the domain that should not be used for placement.
	DomainName *string `json:"DomainName,omitempty"`
	// Type - Possible values include: 'TypeServicePlacementPolicyDescription', 'TypeInvalidDomain', 'TypeNonPartiallyPlaceService', 'TypePreferPrimaryDomain', 'TypeRequireDomain', 'TypeRequireDomainDistribution'
	Type TypeBasicServicePlacementPolicyDescription `json:"Type,omitempty"`
}

ServicePlacementInvalidDomainPolicyDescription describes the policy to be used for placement of a Service Fabric service where a particular fault or upgrade domain should not be used for placement of the instances or replicas of that service.

func (ServicePlacementInvalidDomainPolicyDescription) AsBasicServicePlacementPolicyDescription

func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)

AsBasicServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.

func (ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription

func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)

AsServicePlacementInvalidDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.

func (ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription

func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)

AsServicePlacementNonPartiallyPlaceServicePolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.

func (ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementPolicyDescription

func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)

AsServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.

func (ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription

func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)

AsServicePlacementPreferPrimaryDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.

func (ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription

func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)

AsServicePlacementRequireDomainDistributionPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.

func (ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription

func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)

AsServicePlacementRequiredDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.

func (ServicePlacementInvalidDomainPolicyDescription) MarshalJSON

func (spidpd ServicePlacementInvalidDomainPolicyDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServicePlacementInvalidDomainPolicyDescription.

type ServicePlacementNonPartiallyPlaceServicePolicyDescription

type ServicePlacementNonPartiallyPlaceServicePolicyDescription struct {
	// Type - Possible values include: 'TypeServicePlacementPolicyDescription', 'TypeInvalidDomain', 'TypeNonPartiallyPlaceService', 'TypePreferPrimaryDomain', 'TypeRequireDomain', 'TypeRequireDomainDistribution'
	Type TypeBasicServicePlacementPolicyDescription `json:"Type,omitempty"`
}

ServicePlacementNonPartiallyPlaceServicePolicyDescription describes the policy to be used for placement of a Service Fabric service where all replicas must be able to be placed in order for any replicas to be created.

func (ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsBasicServicePlacementPolicyDescription

func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)

AsBasicServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementNonPartiallyPlaceServicePolicyDescription.

func (ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementInvalidDomainPolicyDescription

func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)

AsServicePlacementInvalidDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementNonPartiallyPlaceServicePolicyDescription.

func (ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription

func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)

AsServicePlacementNonPartiallyPlaceServicePolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementNonPartiallyPlaceServicePolicyDescription.

func (ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementPolicyDescription

AsServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementNonPartiallyPlaceServicePolicyDescription.

func (ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription

func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)

AsServicePlacementPreferPrimaryDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementNonPartiallyPlaceServicePolicyDescription.

func (ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription

func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)

AsServicePlacementRequireDomainDistributionPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementNonPartiallyPlaceServicePolicyDescription.

func (ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementRequiredDomainPolicyDescription

func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)

AsServicePlacementRequiredDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementNonPartiallyPlaceServicePolicyDescription.

func (ServicePlacementNonPartiallyPlaceServicePolicyDescription) MarshalJSON

MarshalJSON is the custom marshaler for ServicePlacementNonPartiallyPlaceServicePolicyDescription.

type ServicePlacementPolicyDescription

type ServicePlacementPolicyDescription struct {
	// Type - Possible values include: 'TypeServicePlacementPolicyDescription', 'TypeInvalidDomain', 'TypeNonPartiallyPlaceService', 'TypePreferPrimaryDomain', 'TypeRequireDomain', 'TypeRequireDomainDistribution'
	Type TypeBasicServicePlacementPolicyDescription `json:"Type,omitempty"`
}

ServicePlacementPolicyDescription describes the policy to be used for placement of a Service Fabric service.

func (ServicePlacementPolicyDescription) AsBasicServicePlacementPolicyDescription

func (sppd ServicePlacementPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)

AsBasicServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.

func (ServicePlacementPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription

func (sppd ServicePlacementPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)

AsServicePlacementInvalidDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.

func (ServicePlacementPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription

func (sppd ServicePlacementPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)

AsServicePlacementNonPartiallyPlaceServicePolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.

func (ServicePlacementPolicyDescription) AsServicePlacementPolicyDescription

func (sppd ServicePlacementPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)

AsServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.

func (ServicePlacementPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription

func (sppd ServicePlacementPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)

AsServicePlacementPreferPrimaryDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.

func (ServicePlacementPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription

func (sppd ServicePlacementPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)

AsServicePlacementRequireDomainDistributionPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.

func (ServicePlacementPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription

func (sppd ServicePlacementPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)

AsServicePlacementRequiredDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.

func (ServicePlacementPolicyDescription) MarshalJSON

func (sppd ServicePlacementPolicyDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServicePlacementPolicyDescription.

type ServicePlacementPreferPrimaryDomainPolicyDescription

type ServicePlacementPreferPrimaryDomainPolicyDescription struct {
	// DomainName - The name of the domain that should used for placement as per this policy.
	DomainName *string `json:"DomainName,omitempty"`
	// Type - Possible values include: 'TypeServicePlacementPolicyDescription', 'TypeInvalidDomain', 'TypeNonPartiallyPlaceService', 'TypePreferPrimaryDomain', 'TypeRequireDomain', 'TypeRequireDomainDistribution'
	Type TypeBasicServicePlacementPolicyDescription `json:"Type,omitempty"`
}

ServicePlacementPreferPrimaryDomainPolicyDescription describes the policy to be used for placement of a Service Fabric service where the service's Primary replicas should optimally be placed in a particular domain.

This placement policy is usually used with fault domains in scenarios where the Service Fabric cluster is geographically distributed in order to indicate that a service�s primary replica should be located in a particular fault domain, which in geo-distributed scenarios usually aligns with regional or datacenter boundaries. Note that since this is an optimization it is possible that the Primary replica may not end up located in this domain due to failures, capacity limits, or other constraints.

func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsBasicServicePlacementPolicyDescription

func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)

AsBasicServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.

func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription

func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)

AsServicePlacementInvalidDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.

func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription

func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)

AsServicePlacementNonPartiallyPlaceServicePolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.

func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementPolicyDescription

func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)

AsServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.

func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription

func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)

AsServicePlacementPreferPrimaryDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.

func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription

func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)

AsServicePlacementRequireDomainDistributionPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.

func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription

func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)

AsServicePlacementRequiredDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.

func (ServicePlacementPreferPrimaryDomainPolicyDescription) MarshalJSON

MarshalJSON is the custom marshaler for ServicePlacementPreferPrimaryDomainPolicyDescription.

type ServicePlacementRequireDomainDistributionPolicyDescription

type ServicePlacementRequireDomainDistributionPolicyDescription struct {
	// DomainName - The name of the domain that should used for placement as per this policy.
	DomainName *string `json:"DomainName,omitempty"`
	// Type - Possible values include: 'TypeServicePlacementPolicyDescription', 'TypeInvalidDomain', 'TypeNonPartiallyPlaceService', 'TypePreferPrimaryDomain', 'TypeRequireDomain', 'TypeRequireDomainDistribution'
	Type TypeBasicServicePlacementPolicyDescription `json:"Type,omitempty"`
}

ServicePlacementRequireDomainDistributionPolicyDescription describes the policy to be used for placement of a Service Fabric service where two replicas from the same partition should never be placed in the same fault or upgrade domain.

While this is not common it can expose the service to an increased risk of concurrent failures due to unplanned outages or other cases of subsequent/concurrent failures. As an example, consider a case where replicas are deployed across different data center, with one replica per location. In the event that one of the datacenters goes offline, normally the replica that was placed in that datacenter will be packed into one of the remaining datacenters. If this is not desirable then this policy should be set.

func (ServicePlacementRequireDomainDistributionPolicyDescription) AsBasicServicePlacementPolicyDescription

AsBasicServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequireDomainDistributionPolicyDescription.

func (ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription

func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)

AsServicePlacementInvalidDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequireDomainDistributionPolicyDescription.

func (ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription

func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)

AsServicePlacementNonPartiallyPlaceServicePolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequireDomainDistributionPolicyDescription.

func (ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementPolicyDescription

AsServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequireDomainDistributionPolicyDescription.

func (ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription

func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)

AsServicePlacementPreferPrimaryDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequireDomainDistributionPolicyDescription.

func (ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription

func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)

AsServicePlacementRequireDomainDistributionPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequireDomainDistributionPolicyDescription.

func (ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription

func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)

AsServicePlacementRequiredDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequireDomainDistributionPolicyDescription.

func (ServicePlacementRequireDomainDistributionPolicyDescription) MarshalJSON

MarshalJSON is the custom marshaler for ServicePlacementRequireDomainDistributionPolicyDescription.

type ServicePlacementRequiredDomainPolicyDescription

type ServicePlacementRequiredDomainPolicyDescription struct {
	// DomainName - The name of the domain that should used for placement as per this policy.
	DomainName *string `json:"DomainName,omitempty"`
	// Type - Possible values include: 'TypeServicePlacementPolicyDescription', 'TypeInvalidDomain', 'TypeNonPartiallyPlaceService', 'TypePreferPrimaryDomain', 'TypeRequireDomain', 'TypeRequireDomainDistribution'
	Type TypeBasicServicePlacementPolicyDescription `json:"Type,omitempty"`
}

ServicePlacementRequiredDomainPolicyDescription describes the policy to be used for placement of a Service Fabric service where the instances or replicas of that service must be placed in a particular domain

func (ServicePlacementRequiredDomainPolicyDescription) AsBasicServicePlacementPolicyDescription

func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)

AsBasicServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.

func (ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription

func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)

AsServicePlacementInvalidDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.

func (ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription

func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)

AsServicePlacementNonPartiallyPlaceServicePolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.

func (ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementPolicyDescription

func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)

AsServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.

func (ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription

func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)

AsServicePlacementPreferPrimaryDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.

func (ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription

func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)

AsServicePlacementRequireDomainDistributionPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.

func (ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription

func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)

AsServicePlacementRequiredDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.

func (ServicePlacementRequiredDomainPolicyDescription) MarshalJSON

MarshalJSON is the custom marshaler for ServicePlacementRequiredDomainPolicyDescription.

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"
	// ServiceStatusFailed ...
	ServiceStatusFailed ServiceStatus = "Failed"
	// ServiceStatusUnknown ...
	ServiceStatusUnknown ServiceStatus = "Unknown"
	// ServiceStatusUpgrading ...
	ServiceStatusUpgrading ServiceStatus = "Upgrading"
)

func PossibleServiceStatusValues

func PossibleServiceStatusValues() []ServiceStatus

PossibleServiceStatusValues returns an array of possible values for the ServiceStatus const type.

type ServiceTypeDescription

type ServiceTypeDescription struct {
	// IsStateful - Indicates whether the service type is a stateful service type or a stateless service type. This property is true if the service type is a stateful service type, false otherwise.
	IsStateful *bool `json:"IsStateful,omitempty"`
	// ServiceTypeName - Name of the service type.
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// PlacementConstraints - The placement constraint to be used when instantiating this service in a Service Fabric cluster.
	PlacementConstraints     *string                                   `json:"PlacementConstraints,omitempty"`
	ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"`
	Extensions               *[]ServiceTypeExtensionDescription        `json:"Extensions,omitempty"`
	// Kind - Possible values include: 'KindServiceTypeDescription', 'KindStateful', 'KindStateless1'
	Kind KindBasicServiceTypeDescription `json:"Kind,omitempty"`
}

ServiceTypeDescription describes a service type defined in the service manifest of a provisioned application type. The properties the the ones defined in the service manifest.

func (ServiceTypeDescription) AsBasicServiceTypeDescription

func (std ServiceTypeDescription) AsBasicServiceTypeDescription() (BasicServiceTypeDescription, bool)

AsBasicServiceTypeDescription is the BasicServiceTypeDescription implementation for ServiceTypeDescription.

func (ServiceTypeDescription) AsServiceTypeDescription

func (std ServiceTypeDescription) AsServiceTypeDescription() (*ServiceTypeDescription, bool)

AsServiceTypeDescription is the BasicServiceTypeDescription implementation for ServiceTypeDescription.

func (ServiceTypeDescription) AsStatefulServiceTypeDescription

func (std ServiceTypeDescription) AsStatefulServiceTypeDescription() (*StatefulServiceTypeDescription, bool)

AsStatefulServiceTypeDescription is the BasicServiceTypeDescription implementation for ServiceTypeDescription.

func (ServiceTypeDescription) AsStatelessServiceTypeDescription

func (std ServiceTypeDescription) AsStatelessServiceTypeDescription() (*StatelessServiceTypeDescription, bool)

AsStatelessServiceTypeDescription is the BasicServiceTypeDescription implementation for ServiceTypeDescription.

func (ServiceTypeDescription) MarshalJSON

func (std ServiceTypeDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceTypeDescription.

func (*ServiceTypeDescription) UnmarshalJSON

func (std *ServiceTypeDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceTypeDescription struct.

type ServiceTypeExtensionDescription

type ServiceTypeExtensionDescription struct {
	// Key - The name of the extension.
	Key *string `json:"Key,omitempty"`
	// Value - The extension value.
	Value *string `json:"Value,omitempty"`
}

ServiceTypeExtensionDescription describes extension of a service type defined in the service manifest.

type ServiceTypeHealthPolicy

type ServiceTypeHealthPolicy struct {
	// MaxPercentUnhealthyPartitionsPerService - The maximum allowed percentage of unhealthy partitions per service. Allowed values are Byte values from zero to 100
	// The percentage represents the maximum tolerated percentage of partitions that can be unhealthy before the service is considered in error.
	// If the percentage is respected but there is at least one unhealthy partition, the health is evaluated as Warning.
	// The percentage is calculated by dividing the number of unhealthy partitions over the total number of partitions in the service.
	// The computation rounds up to tolerate one failure on small numbers of partitions. Default percentage is zero.
	MaxPercentUnhealthyPartitionsPerService *int32 `json:"MaxPercentUnhealthyPartitionsPerService,omitempty"`
	// MaxPercentUnhealthyReplicasPerPartition - The maximum allowed percentage of unhealthy replicas per partition. Allowed values are Byte values from zero to 100.
	// The percentage represents the maximum tolerated percentage of replicas that can be unhealthy before the partition is considered in error.
	// If the percentage is respected but there is at least one unhealthy replica, the health is evaluated as Warning.
	// The percentage is calculated by dividing the number of unhealthy replicas over the total number of replicas in the partition.
	// The computation rounds up to tolerate one failure on small numbers of replicas. Default percentage is zero.
	MaxPercentUnhealthyReplicasPerPartition *int32 `json:"MaxPercentUnhealthyReplicasPerPartition,omitempty"`
	// MaxPercentUnhealthyServices - The maximum maximum allowed percentage of unhealthy services. Allowed values are Byte values from zero to 100.
	// The percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error.
	// If the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning.
	// This is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type.
	// The computation rounds up to tolerate one failure on small numbers of services. Default percentage is zero.
	MaxPercentUnhealthyServices *int32 `json:"MaxPercentUnhealthyServices,omitempty"`
}

ServiceTypeHealthPolicy represents the health policy used to evaluate the health of services belonging to a service type.

type ServiceTypeHealthPolicyMapItem

type ServiceTypeHealthPolicyMapItem struct {
	// Key - The key of the service type health policy map item. This is the name of the service type.
	Key *string `json:"Key,omitempty"`
	// Value - The value of the service type health policy map item. This is the ServiceTypeHealthPolicy for this service type.
	Value *ServiceTypeHealthPolicy `json:"Value,omitempty"`
}

ServiceTypeHealthPolicyMapItem defines an item in ServiceTypeHealthPolicyMap.

type ServiceTypeInfo

type ServiceTypeInfo struct {
	ServiceTypeDescription BasicServiceTypeDescription `json:"ServiceTypeDescription,omitempty"`
	// ServiceManifestName - The name of the service manifest in which this service type is defined.
	ServiceManifestName *string `json:"ServiceManifestName,omitempty"`
	// ServiceManifestVersion - The version of the service manifest in which this service type is defined.
	ServiceManifestVersion *string `json:"ServiceManifestVersion,omitempty"`
	// IsServiceGroup - Indicates whether the service is a service group. If it is, the property value is true otherwise false.
	IsServiceGroup *bool `json:"IsServiceGroup,omitempty"`
}

ServiceTypeInfo information about a service type that is defined in a service manifest of a provisioned application type.

func (*ServiceTypeInfo) UnmarshalJSON

func (sti *ServiceTypeInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceTypeInfo struct.

type ServiceTypeManifest

type ServiceTypeManifest struct {
	autorest.Response `json:"-"`
	// Manifest - The XML manifest as a string.
	Manifest *string `json:"Manifest,omitempty"`
}

ServiceTypeManifest contains the manifest describing a service type registered as part of an application in a Service Fabric cluster.

type ServiceUpdateDescription

type ServiceUpdateDescription struct {
	// Flags - Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified.
	// This property can be a combination of those flags obtained using bitwise 'OR' operator.
	// For example, if the provided value is 6 then the flags for ReplicaRestartWaitDuration (2) and QuorumLossWaitDuration (4) are set.
	// - None - Does not indicate any other properties are set. The value is zero.
	// - TargetReplicaSetSize/InstanceCount - Indicates whether the TargetReplicaSetSize property (for Stateful services) or the InstanceCount property (for Stateless services) is set. The value is 1.
	// - ReplicaRestartWaitDuration - Indicates the ReplicaRestartWaitDuration property is set. The value is  2.
	// - QuorumLossWaitDuration - Indicates the QuorumLossWaitDuration property is set. The value is 4.
	// - StandByReplicaKeepDuration - Indicates the StandByReplicaKeepDuration property is set. The value is 8.
	// - MinReplicaSetSize - Indicates the MinReplicaSetSize property is set. The value is 16.
	// - PlacementConstraints - Indicates the PlacementConstraints property is set. The value is 32.
	// - PlacementPolicyList - Indicates the ServicePlacementPolicies property is set. The value is 64.
	// - Correlation - Indicates the CorrelationScheme property is set. The value is 128.
	// - Metrics - Indicates the ServiceLoadMetrics property is set. The value is 256.
	// - DefaultMoveCost - Indicates the DefaultMoveCost property is set. The value is 512.
	Flags *string `json:"Flags,omitempty"`
	// PlacementConstraints - The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
	PlacementConstraints *string `json:"PlacementConstraints,omitempty"`
	// CorrelationScheme - The correlation scheme.
	CorrelationScheme *[]ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"`
	// LoadMetrics - The service load metrics.
	LoadMetrics *[]ServiceLoadMetricDescription `json:"LoadMetrics,omitempty"`
	// ServicePlacementPolicies - The service placement policies.
	ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"`
	// DefaultMoveCost - The move cost for the service. Possible values include: 'DefaultMoveCost1Zero', 'DefaultMoveCost1Low', 'DefaultMoveCost1Medium', 'DefaultMoveCost1High'
	DefaultMoveCost DefaultMoveCost1 `json:"DefaultMoveCost,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription', 'ServiceKindBasicServiceUpdateDescriptionServiceKindStateful', 'ServiceKindBasicServiceUpdateDescriptionServiceKindStateless'
	ServiceKind ServiceKindBasicServiceUpdateDescription `json:"ServiceKind,omitempty"`
}

ServiceUpdateDescription a ServiceUpdateDescription contains all of the information necessary to update a service.

func (ServiceUpdateDescription) AsBasicServiceUpdateDescription

func (sud ServiceUpdateDescription) AsBasicServiceUpdateDescription() (BasicServiceUpdateDescription, bool)

AsBasicServiceUpdateDescription is the BasicServiceUpdateDescription implementation for ServiceUpdateDescription.

func (ServiceUpdateDescription) AsServiceUpdateDescription

func (sud ServiceUpdateDescription) AsServiceUpdateDescription() (*ServiceUpdateDescription, bool)

AsServiceUpdateDescription is the BasicServiceUpdateDescription implementation for ServiceUpdateDescription.

func (ServiceUpdateDescription) AsStatefulServiceUpdateDescription

func (sud ServiceUpdateDescription) AsStatefulServiceUpdateDescription() (*StatefulServiceUpdateDescription, bool)

AsStatefulServiceUpdateDescription is the BasicServiceUpdateDescription implementation for ServiceUpdateDescription.

func (ServiceUpdateDescription) AsStatelessServiceUpdateDescription

func (sud ServiceUpdateDescription) AsStatelessServiceUpdateDescription() (*StatelessServiceUpdateDescription, bool)

AsStatelessServiceUpdateDescription is the BasicServiceUpdateDescription implementation for ServiceUpdateDescription.

func (ServiceUpdateDescription) MarshalJSON

func (sud ServiceUpdateDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceUpdateDescription.

func (*ServiceUpdateDescription) UnmarshalJSON

func (sud *ServiceUpdateDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceUpdateDescription struct.

type ServicesHealthEvaluation

type ServicesHealthEvaluation struct {
	// ServiceTypeName - Name of the service type of the services.
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// MaxPercentUnhealthyServices - Maximum allowed percentage of unhealthy services from the ServiceTypeHealthPolicy.
	MaxPercentUnhealthyServices *int32 `json:"MaxPercentUnhealthyServices,omitempty"`
	// TotalCount - Total number of services of the current service type in the application from the health store.
	TotalCount *int64 `json:"TotalCount,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy ServiceHealthEvaluation that impacted the aggregated health.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

ServicesHealthEvaluation represents health evaluation for services of a certain service type belonging to an application, containing health evaluations for each unhealthy service that impacted current aggregated health state. Can be returned when evaluating application health and the aggregated health state is either Error or Warning.

func (ServicesHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (she ServicesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 SingletonPartitionInformation

type SingletonPartitionInformation struct {
	ID *uuid.UUID `json:"Id,omitempty"`
	// ServicePartitionKind - Possible values include: 'ServicePartitionKindPartitionInformation', 'ServicePartitionKindInt64Range', 'ServicePartitionKindNamed', 'ServicePartitionKindSingleton'
	ServicePartitionKind ServicePartitionKind `json:"ServicePartitionKind,omitempty"`
}

SingletonPartitionInformation information about a partition that is singleton. The services with singletone partitioning scheme are effectively non-partitioned. They only have one partition.

func (SingletonPartitionInformation) AsBasicPartitionInformation

func (spi SingletonPartitionInformation) AsBasicPartitionInformation() (BasicPartitionInformation, bool)

AsBasicPartitionInformation is the BasicPartitionInformation implementation for SingletonPartitionInformation.

func (SingletonPartitionInformation) AsInt64RangePartitionInformation

func (spi SingletonPartitionInformation) AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)

AsInt64RangePartitionInformation is the BasicPartitionInformation implementation for SingletonPartitionInformation.

func (SingletonPartitionInformation) AsNamedPartitionInformation

func (spi SingletonPartitionInformation) AsNamedPartitionInformation() (*NamedPartitionInformation, bool)

AsNamedPartitionInformation is the BasicPartitionInformation implementation for SingletonPartitionInformation.

func (SingletonPartitionInformation) AsPartitionInformation

func (spi SingletonPartitionInformation) AsPartitionInformation() (*PartitionInformation, bool)

AsPartitionInformation is the BasicPartitionInformation implementation for SingletonPartitionInformation.

func (SingletonPartitionInformation) AsSingletonPartitionInformation

func (spi SingletonPartitionInformation) AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)

AsSingletonPartitionInformation is the BasicPartitionInformation implementation for SingletonPartitionInformation.

func (SingletonPartitionInformation) MarshalJSON

func (spi SingletonPartitionInformation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SingletonPartitionInformation.

type SingletonPartitionSchemeDescription

type SingletonPartitionSchemeDescription struct {
	// PartitionScheme - Possible values include: 'PartitionSchemePartitionSchemeDescription', 'PartitionSchemeNamed', 'PartitionSchemeSingleton', 'PartitionSchemeUniformInt64Range'
	PartitionScheme PartitionScheme `json:"PartitionScheme,omitempty"`
}

SingletonPartitionSchemeDescription describes the partition scheme of a singleton-partitioned, or non-partitioned service.

func (SingletonPartitionSchemeDescription) AsBasicPartitionSchemeDescription

func (spsd SingletonPartitionSchemeDescription) AsBasicPartitionSchemeDescription() (BasicPartitionSchemeDescription, bool)

AsBasicPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.

func (SingletonPartitionSchemeDescription) AsNamedPartitionSchemeDescription

func (spsd SingletonPartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)

AsNamedPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.

func (SingletonPartitionSchemeDescription) AsPartitionSchemeDescription

func (spsd SingletonPartitionSchemeDescription) AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)

AsPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.

func (SingletonPartitionSchemeDescription) AsSingletonPartitionSchemeDescription

func (spsd SingletonPartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)

AsSingletonPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.

func (SingletonPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription

func (spsd SingletonPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)

AsUniformInt64RangePartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.

func (SingletonPartitionSchemeDescription) MarshalJSON

func (spsd SingletonPartitionSchemeDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SingletonPartitionSchemeDescription.

type StartNodeDescription

type StartNodeDescription struct {
	// NodeInstanceID - The instance id of the node that is stopped. If instance id is specified the node is started only if it matches with the current instance of the stopped node. A default value of "0" would match any instance id. The instance id can be obtained using get node query.
	NodeInstanceID *string `json:"NodeInstanceId,omitempty"`
}

StartNodeDescription describes the parameter for starting a stopped Service Fabric node.

type StartedChaosEvent

type StartedChaosEvent struct {
	ChaosParameters *ChaosParameters `json:"ChaosParameters,omitempty"`
	TimeStampUtc    *date.Time       `json:"TimeStampUtc,omitempty"`
	// Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting'
	Kind KindBasicChaosEvent `json:"Kind,omitempty"`
}

StartedChaosEvent describes a Chaos event that gets generated when Chaos is started.

func (StartedChaosEvent) AsBasicChaosEvent

func (sce StartedChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)

AsBasicChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.

func (StartedChaosEvent) AsChaosEvent

func (sce StartedChaosEvent) AsChaosEvent() (*ChaosEvent, bool)

AsChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.

func (StartedChaosEvent) AsExecutingFaultsChaosEvent

func (sce StartedChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)

AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.

func (StartedChaosEvent) AsStartedChaosEvent

func (sce StartedChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)

AsStartedChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.

func (StartedChaosEvent) AsStoppedChaosEvent

func (sce StartedChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)

AsStoppedChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.

func (StartedChaosEvent) AsTestErrorChaosEvent

func (sce StartedChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)

AsTestErrorChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.

func (StartedChaosEvent) AsValidationFailedChaosEvent

func (sce StartedChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)

AsValidationFailedChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.

func (StartedChaosEvent) AsWaitingChaosEvent

func (sce StartedChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)

AsWaitingChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.

func (StartedChaosEvent) MarshalJSON

func (sce StartedChaosEvent) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StartedChaosEvent.

type State

type State string

State enumerates the values for state.

const (
	// StateCompleted ...
	StateCompleted State = "Completed"
	// StateInProgress ...
	StateInProgress State = "InProgress"
	// StateInvalid ...
	StateInvalid State = "Invalid"
	// StatePending ...
	StatePending State = "Pending"
)

func PossibleStateValues

func PossibleStateValues() []State

PossibleStateValues returns an array of possible values for the State const type.

type State1

type State1 string

State1 enumerates the values for state 1.

const (
	// State1Cancelled ...
	State1Cancelled State1 = "Cancelled"
	// State1Completed ...
	State1Completed State1 = "Completed"
	// State1Faulted ...
	State1Faulted State1 = "Faulted"
	// State1ForceCancelled ...
	State1ForceCancelled State1 = "ForceCancelled"
	// State1Invalid ...
	State1Invalid State1 = "Invalid"
	// State1RollingBack ...
	State1RollingBack State1 = "RollingBack"
	// State1Running ...
	State1Running State1 = "Running"
)

func PossibleState1Values

func PossibleState1Values() []State1

PossibleState1Values returns an array of possible values for the State1 const type.

type State2

type State2 string

State2 enumerates the values for state 2.

const (
	// State2Cancelled ...
	State2Cancelled State2 = "Cancelled"
	// State2Completed ...
	State2Completed State2 = "Completed"
	// State2Faulted ...
	State2Faulted State2 = "Faulted"
	// State2ForceCancelled ...
	State2ForceCancelled State2 = "ForceCancelled"
	// State2Invalid ...
	State2Invalid State2 = "Invalid"
	// State2RollingBack ...
	State2RollingBack State2 = "RollingBack"
	// State2Running ...
	State2Running State2 = "Running"
)

func PossibleState2Values

func PossibleState2Values() []State2

PossibleState2Values returns an array of possible values for the State2 const type.

type State3

type State3 string

State3 enumerates the values for state 3.

const (
	// State3Cancelled ...
	State3Cancelled State3 = "Cancelled"
	// State3Completed ...
	State3Completed State3 = "Completed"
	// State3Faulted ...
	State3Faulted State3 = "Faulted"
	// State3ForceCancelled ...
	State3ForceCancelled State3 = "ForceCancelled"
	// State3Invalid ...
	State3Invalid State3 = "Invalid"
	// State3RollingBack ...
	State3RollingBack State3 = "RollingBack"
	// State3Running ...
	State3Running State3 = "Running"
)

func PossibleState3Values

func PossibleState3Values() []State3

PossibleState3Values returns an array of possible values for the State3 const type.

type State4

type State4 string

State4 enumerates the values for state 4.

const (
	// State4Cancelled ...
	State4Cancelled State4 = "Cancelled"
	// State4Completed ...
	State4Completed State4 = "Completed"
	// State4Faulted ...
	State4Faulted State4 = "Faulted"
	// State4ForceCancelled ...
	State4ForceCancelled State4 = "ForceCancelled"
	// State4Invalid ...
	State4Invalid State4 = "Invalid"
	// State4RollingBack ...
	State4RollingBack State4 = "RollingBack"
	// State4Running ...
	State4Running State4 = "Running"
)

func PossibleState4Values

func PossibleState4Values() []State4

PossibleState4Values returns an array of possible values for the State4 const type.

type State5

type State5 string

State5 enumerates the values for state 5.

const (
	// State5Cancelled ...
	State5Cancelled State5 = "Cancelled"
	// State5Completed ...
	State5Completed State5 = "Completed"
	// State5Faulted ...
	State5Faulted State5 = "Faulted"
	// State5ForceCancelled ...
	State5ForceCancelled State5 = "ForceCancelled"
	// State5Invalid ...
	State5Invalid State5 = "Invalid"
	// State5RollingBack ...
	State5RollingBack State5 = "RollingBack"
	// State5Running ...
	State5Running State5 = "Running"
)

func PossibleState5Values

func PossibleState5Values() []State5

PossibleState5Values returns an array of possible values for the State5 const type.

type StatefulServiceDescription

type StatefulServiceDescription struct {
	// TargetReplicaSetSize - The target replica set size as a number.
	TargetReplicaSetSize *int32 `json:"TargetReplicaSetSize,omitempty"`
	// MinReplicaSetSize - The minimum replica set size as a number.
	MinReplicaSetSize *int32 `json:"MinReplicaSetSize,omitempty"`
	// HasPersistedState - A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false.
	HasPersistedState *bool `json:"HasPersistedState,omitempty"`
	// Flags - Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified.
	// This property can be a combination of those flags obtained using bitwise 'OR' operator.
	// For example, if the provided value is 6 then the flags for QuorumLossWaitDuration (2) and StandByReplicaKeepDuration(4) are set.
	// - None - Does not indicate any other properties are set. The value is zero.
	// - ReplicaRestartWaitDuration - Indicates the ReplicaRestartWaitDuration property is set. The value is 1.
	// - QuorumLossWaitDuration - Indicates the QuorumLossWaitDuration property is set. The value is 2.
	// - StandByReplicaKeepDuration - Indicates the StandByReplicaKeepDuration property is set. The value is 4.
	Flags *int32 `json:"Flags,omitempty"`
	// ReplicaRestartWaitDurationSeconds - The duration, in seconds, between when a replica goes down and when a new replica is created.
	ReplicaRestartWaitDurationSeconds *int64 `json:"ReplicaRestartWaitDurationSeconds,omitempty"`
	// QuorumLossWaitDurationSeconds - The maximum duration, in seconds, for which a partition is allowed to be in a state of quorum loss.
	QuorumLossWaitDurationSeconds *int64 `json:"QuorumLossWaitDurationSeconds,omitempty"`
	// StandByReplicaKeepDurationSeconds - The definition on how long StandBy replicas should be maintained before being removed.
	StandByReplicaKeepDurationSeconds *int64 `json:"StandByReplicaKeepDurationSeconds,omitempty"`
	// ApplicationName - The application name.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceName - The service name.
	ServiceName *string `json:"ServiceName,omitempty"`
	// ServiceTypeName - The service type name.
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// InitializationData - The initialization data as an array of bytes. Initialization data is passed to service instances or replicas when they are created.
	InitializationData *[]int32 `json:"InitializationData,omitempty"`
	// PartitionDescription - The partition description as an object.
	PartitionDescription BasicPartitionSchemeDescription `json:"PartitionDescription,omitempty"`
	// PlacementConstraints - The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
	PlacementConstraints *string `json:"PlacementConstraints,omitempty"`
	// CorrelationScheme - The correlation scheme.
	CorrelationScheme *[]ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"`
	// ServiceLoadMetrics - The service load metrics.
	ServiceLoadMetrics *[]ServiceLoadMetricDescription `json:"ServiceLoadMetrics,omitempty"`
	// ServicePlacementPolicies - The service placement policies.
	ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"`
	// DefaultMoveCost - The move cost for the service. Possible values include: 'Zero', 'Low', 'Medium', 'High'
	DefaultMoveCost DefaultMoveCost `json:"DefaultMoveCost,omitempty"`
	// IsDefaultMoveCostSpecified - Indicates if the DefaultMoveCost property is specified.
	IsDefaultMoveCostSpecified *bool `json:"IsDefaultMoveCostSpecified,omitempty"`
	// ServicePackageActivationMode - The activation mode of service package to be used for a service. Possible values include: 'ServicePackageActivationMode1SharedProcess', 'ServicePackageActivationMode1ExclusiveProcess'
	ServicePackageActivationMode ServicePackageActivationMode1 `json:"ServicePackageActivationMode,omitempty"`
	// ServiceDNSName - The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster.
	ServiceDNSName *string `json:"ServiceDnsName,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicServiceDescriptionServiceKindServiceDescription', 'ServiceKindBasicServiceDescriptionServiceKindStateful', 'ServiceKindBasicServiceDescriptionServiceKindStateless'
	ServiceKind ServiceKindBasicServiceDescription `json:"ServiceKind,omitempty"`
}

StatefulServiceDescription describes a 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.

func (*StatefulServiceDescription) UnmarshalJSON

func (ssd *StatefulServiceDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StatefulServiceDescription struct.

type StatefulServiceInfo

type StatefulServiceInfo struct {
	// HasPersistedState - Whether the service has persisted state.
	HasPersistedState *bool   `json:"HasPersistedState,omitempty"`
	ID                *string `json:"Id,omitempty"`
	// Name - Full hierarchical name of the service in URI format starting with `fabric:`.
	Name *string `json:"Name,omitempty"`
	// TypeName - The name of the service type as specified in the service manifest.
	TypeName *string `json:"TypeName,omitempty"`
	// ManifestVersion - The version of the service manifest.
	ManifestVersion *string `json:"ManifestVersion,omitempty"`
	// HealthState - Possible values include: 'HealthState7Invalid', 'HealthState7Ok', 'HealthState7Warning', 'HealthState7Error', 'HealthState7Unknown'
	HealthState HealthState7 `json:"HealthState,omitempty"`
	// ServiceStatus - Possible values include: 'ServiceStatusUnknown', 'ServiceStatusActive', 'ServiceStatusUpgrading', 'ServiceStatusDeleting', 'ServiceStatusCreating', 'ServiceStatusFailed'
	ServiceStatus ServiceStatus `json:"ServiceStatus,omitempty"`
	// IsServiceGroup - Whether the service is in a service group.
	IsServiceGroup *bool `json:"IsServiceGroup,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicServiceInfoServiceKindServiceInfo', 'ServiceKindBasicServiceInfoServiceKindStateful', 'ServiceKindBasicServiceInfoServiceKindStateless'
	ServiceKind ServiceKindBasicServiceInfo `json:"ServiceKind,omitempty"`
}

StatefulServiceInfo information about a stateful Service Fabric service.

func (StatefulServiceInfo) AsBasicServiceInfo

func (ssi StatefulServiceInfo) AsBasicServiceInfo() (BasicServiceInfo, bool)

AsBasicServiceInfo is the BasicServiceInfo implementation for StatefulServiceInfo.

func (StatefulServiceInfo) AsServiceInfo

func (ssi StatefulServiceInfo) AsServiceInfo() (*ServiceInfo, bool)

AsServiceInfo is the BasicServiceInfo implementation for StatefulServiceInfo.

func (StatefulServiceInfo) AsStatefulServiceInfo

func (ssi StatefulServiceInfo) AsStatefulServiceInfo() (*StatefulServiceInfo, bool)

AsStatefulServiceInfo is the BasicServiceInfo implementation for StatefulServiceInfo.

func (StatefulServiceInfo) AsStatelessServiceInfo

func (ssi StatefulServiceInfo) AsStatelessServiceInfo() (*StatelessServiceInfo, bool)

AsStatelessServiceInfo is the BasicServiceInfo implementation for StatefulServiceInfo.

func (StatefulServiceInfo) MarshalJSON

func (ssi StatefulServiceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulServiceInfo.

type StatefulServicePartitionInfo

type StatefulServicePartitionInfo struct {
	// TargetReplicaSetSize - The target replica set size as a number.
	TargetReplicaSetSize *int64 `json:"TargetReplicaSetSize,omitempty"`
	// MinReplicaSetSize - The minimum replica set size as a number.
	MinReplicaSetSize *int64 `json:"MinReplicaSetSize,omitempty"`
	// LastQuorumLossDuration - The duration for which this partition was in quorum loss. If the partition is currently in quorum loss, it returns the duration since it has been in that state. This field is using ISO8601 format for specifying the duration.
	LastQuorumLossDuration    *string `json:"LastQuorumLossDuration,omitempty"`
	CurrentConfigurationEpoch *Epoch  `json:"CurrentConfigurationEpoch,omitempty"`
	// HealthState - Possible values include: 'HealthState5Invalid', 'HealthState5Ok', 'HealthState5Warning', 'HealthState5Error', 'HealthState5Unknown'
	HealthState HealthState5 `json:"HealthState,omitempty"`
	// PartitionStatus - Possible values include: 'PartitionStatusInvalid', 'PartitionStatusReady', 'PartitionStatusNotReady', 'PartitionStatusInQuorumLoss', 'PartitionStatusReconfiguring', 'PartitionStatusDeleting'
	PartitionStatus      PartitionStatus           `json:"PartitionStatus,omitempty"`
	PartitionInformation BasicPartitionInformation `json:"PartitionInformation,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo', 'ServiceKindBasicServicePartitionInfoServiceKindStateful', 'ServiceKindBasicServicePartitionInfoServiceKindStateless'
	ServiceKind ServiceKindBasicServicePartitionInfo `json:"ServiceKind,omitempty"`
}

StatefulServicePartitionInfo information about a partition of a stateful Service Fabric service..

func (StatefulServicePartitionInfo) AsBasicServicePartitionInfo

func (sspi StatefulServicePartitionInfo) AsBasicServicePartitionInfo() (BasicServicePartitionInfo, bool)

AsBasicServicePartitionInfo is the BasicServicePartitionInfo implementation for StatefulServicePartitionInfo.

func (StatefulServicePartitionInfo) AsServicePartitionInfo

func (sspi StatefulServicePartitionInfo) AsServicePartitionInfo() (*ServicePartitionInfo, bool)

AsServicePartitionInfo is the BasicServicePartitionInfo implementation for StatefulServicePartitionInfo.

func (StatefulServicePartitionInfo) AsStatefulServicePartitionInfo

func (sspi StatefulServicePartitionInfo) AsStatefulServicePartitionInfo() (*StatefulServicePartitionInfo, bool)

AsStatefulServicePartitionInfo is the BasicServicePartitionInfo implementation for StatefulServicePartitionInfo.

func (StatefulServicePartitionInfo) AsStatelessServicePartitionInfo

func (sspi StatefulServicePartitionInfo) AsStatelessServicePartitionInfo() (*StatelessServicePartitionInfo, bool)

AsStatelessServicePartitionInfo is the BasicServicePartitionInfo implementation for StatefulServicePartitionInfo.

func (StatefulServicePartitionInfo) MarshalJSON

func (sspi StatefulServicePartitionInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulServicePartitionInfo.

func (*StatefulServicePartitionInfo) UnmarshalJSON

func (sspi *StatefulServicePartitionInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StatefulServicePartitionInfo struct.

type StatefulServiceReplicaHealth

type StatefulServiceReplicaHealth struct {
	// ReplicaID - Id of the stateful service replica.
	ReplicaID *string `json:"ReplicaId,omitempty"`
	// PartitionID - Id of the partition to which this replica belongs.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicReplicaHealthServiceKindReplicaHealth', 'ServiceKindBasicReplicaHealthServiceKindStateful', 'ServiceKindBasicReplicaHealthServiceKindStateless'
	ServiceKind ServiceKindBasicReplicaHealth `json:"ServiceKind,omitempty"`
	// AggregatedHealthState - The HealthState representing the aggregated health state of the entity computed by Health Manager.
	// The health evaluation of the entity reflects all events reported on the entity and its children (if any).
	// The aggregation is done by applying the desired health policy.
	// . Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown'
	AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"`
	// HealthEvents - The list of health events reported on the entity.
	HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"`
	// UnhealthyEvaluations - The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
}

StatefulServiceReplicaHealth represents the health of the stateful service replica. Contains the replica aggregated health state, the health events and the unhealthy evaluations.

func (StatefulServiceReplicaHealth) AsBasicReplicaHealth

func (ssrh StatefulServiceReplicaHealth) AsBasicReplicaHealth() (BasicReplicaHealth, bool)

AsBasicReplicaHealth is the BasicReplicaHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsReplicaHealth

func (ssrh StatefulServiceReplicaHealth) AsReplicaHealth() (*ReplicaHealth, bool)

AsReplicaHealth is the BasicReplicaHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsStatefulServiceReplicaHealth

func (ssrh StatefulServiceReplicaHealth) AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)

AsStatefulServiceReplicaHealth is the BasicReplicaHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsStatelessServiceInstanceHealth

func (ssrh StatefulServiceReplicaHealth) AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)

AsStatelessServiceInstanceHealth is the BasicReplicaHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) MarshalJSON

func (ssrh StatefulServiceReplicaHealth) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulServiceReplicaHealth.

type StatefulServiceReplicaHealthState

type StatefulServiceReplicaHealthState struct {
	// ReplicaID - The ID of the stateful service replica.
	ReplicaID *string `json:"ReplicaId,omitempty"`
	// PartitionID - The ID of the partition to which this replica belongs.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState', 'ServiceKindBasicReplicaHealthStateServiceKindStateful', 'ServiceKindBasicReplicaHealthStateServiceKindStateless'
	ServiceKind ServiceKindBasicReplicaHealthState `json:"ServiceKind,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown'
	AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"`
}

StatefulServiceReplicaHealthState represents the health state of the stateful service replica, which contains the replica id and the aggregated health state.

func (StatefulServiceReplicaHealthState) AsBasicReplicaHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsBasicReplicaHealthState() (BasicReplicaHealthState, bool)

AsBasicReplicaHealthState is the BasicReplicaHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) AsReplicaHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsReplicaHealthState() (*ReplicaHealthState, bool)

AsReplicaHealthState is the BasicReplicaHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) AsStatefulServiceReplicaHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)

AsStatefulServiceReplicaHealthState is the BasicReplicaHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) AsStatelessServiceInstanceHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)

AsStatelessServiceInstanceHealthState is the BasicReplicaHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) MarshalJSON

func (ssrhs StatefulServiceReplicaHealthState) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulServiceReplicaHealthState.

type StatefulServiceReplicaInfo

type StatefulServiceReplicaInfo struct {
	// ReplicaRole - Possible values include: 'ReplicaRole1Unknown', 'ReplicaRole1None', 'ReplicaRole1Primary', 'ReplicaRole1IdleSecondary', 'ReplicaRole1ActiveSecondary'
	ReplicaRole ReplicaRole1 `json:"ReplicaRole,omitempty"`
	ReplicaID   *string      `json:"ReplicaId,omitempty"`
	// ReplicaStatus - Possible values include: 'ReplicaStatus1Invalid', 'ReplicaStatus1InBuild', 'ReplicaStatus1Standby', 'ReplicaStatus1Ready', 'ReplicaStatus1Down', 'ReplicaStatus1Dropped'
	ReplicaStatus ReplicaStatus1 `json:"ReplicaStatus,omitempty"`
	// HealthState - Possible values include: 'HealthState6Invalid', 'HealthState6Ok', 'HealthState6Warning', 'HealthState6Error', 'HealthState6Unknown'
	HealthState HealthState6 `json:"HealthState,omitempty"`
	// NodeName - The name of the node.
	NodeName *string `json:"NodeName,omitempty"`
	// Address - The address the replica is listening on.
	Address *string `json:"Address,omitempty"`
	// LastInBuildDurationInSeconds - The last in build duration of the replica in seconds.
	LastInBuildDurationInSeconds *string `json:"LastInBuildDurationInSeconds,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicReplicaInfoServiceKindReplicaInfo', 'ServiceKindBasicReplicaInfoServiceKindStateful', 'ServiceKindBasicReplicaInfoServiceKindStateless'
	ServiceKind ServiceKindBasicReplicaInfo `json:"ServiceKind,omitempty"`
}

StatefulServiceReplicaInfo represents a stateful service replica. This includes information about the identity, role, status, health, node name, uptime, and other details about the replica.

func (StatefulServiceReplicaInfo) AsBasicReplicaInfo

func (ssri StatefulServiceReplicaInfo) AsBasicReplicaInfo() (BasicReplicaInfo, bool)

AsBasicReplicaInfo is the BasicReplicaInfo implementation for StatefulServiceReplicaInfo.

func (StatefulServiceReplicaInfo) AsReplicaInfo

func (ssri StatefulServiceReplicaInfo) AsReplicaInfo() (*ReplicaInfo, bool)

AsReplicaInfo is the BasicReplicaInfo implementation for StatefulServiceReplicaInfo.

func (StatefulServiceReplicaInfo) AsStatefulServiceReplicaInfo

func (ssri StatefulServiceReplicaInfo) AsStatefulServiceReplicaInfo() (*StatefulServiceReplicaInfo, bool)

AsStatefulServiceReplicaInfo is the BasicReplicaInfo implementation for StatefulServiceReplicaInfo.

func (StatefulServiceReplicaInfo) AsStatelessServiceInstanceInfo

func (ssri StatefulServiceReplicaInfo) AsStatelessServiceInstanceInfo() (*StatelessServiceInstanceInfo, bool)

AsStatelessServiceInstanceInfo is the BasicReplicaInfo implementation for StatefulServiceReplicaInfo.

func (StatefulServiceReplicaInfo) MarshalJSON

func (ssri StatefulServiceReplicaInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulServiceReplicaInfo.

type StatefulServiceTypeDescription

type StatefulServiceTypeDescription struct {
	// HasPersistedState - A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false.
	HasPersistedState *bool `json:"HasPersistedState,omitempty"`
	// IsStateful - Indicates whether the service type is a stateful service type or a stateless service type. This property is true if the service type is a stateful service type, false otherwise.
	IsStateful *bool `json:"IsStateful,omitempty"`
	// ServiceTypeName - Name of the service type.
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// PlacementConstraints - The placement constraint to be used when instantiating this service in a Service Fabric cluster.
	PlacementConstraints     *string                                   `json:"PlacementConstraints,omitempty"`
	ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"`
	Extensions               *[]ServiceTypeExtensionDescription        `json:"Extensions,omitempty"`
	// Kind - Possible values include: 'KindServiceTypeDescription', 'KindStateful', 'KindStateless1'
	Kind KindBasicServiceTypeDescription `json:"Kind,omitempty"`
}

StatefulServiceTypeDescription describes a stateful service type defined in the service manifest of a provisioned application type.

func (StatefulServiceTypeDescription) AsBasicServiceTypeDescription

func (sstd StatefulServiceTypeDescription) AsBasicServiceTypeDescription() (BasicServiceTypeDescription, bool)

AsBasicServiceTypeDescription is the BasicServiceTypeDescription implementation for StatefulServiceTypeDescription.

func (StatefulServiceTypeDescription) AsServiceTypeDescription

func (sstd StatefulServiceTypeDescription) AsServiceTypeDescription() (*ServiceTypeDescription, bool)

AsServiceTypeDescription is the BasicServiceTypeDescription implementation for StatefulServiceTypeDescription.

func (StatefulServiceTypeDescription) AsStatefulServiceTypeDescription

func (sstd StatefulServiceTypeDescription) AsStatefulServiceTypeDescription() (*StatefulServiceTypeDescription, bool)

AsStatefulServiceTypeDescription is the BasicServiceTypeDescription implementation for StatefulServiceTypeDescription.

func (StatefulServiceTypeDescription) AsStatelessServiceTypeDescription

func (sstd StatefulServiceTypeDescription) AsStatelessServiceTypeDescription() (*StatelessServiceTypeDescription, bool)

AsStatelessServiceTypeDescription is the BasicServiceTypeDescription implementation for StatefulServiceTypeDescription.

func (StatefulServiceTypeDescription) MarshalJSON

func (sstd StatefulServiceTypeDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulServiceTypeDescription.

func (*StatefulServiceTypeDescription) UnmarshalJSON

func (sstd *StatefulServiceTypeDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StatefulServiceTypeDescription struct.

type StatefulServiceUpdateDescription

type StatefulServiceUpdateDescription struct {
	// TargetReplicaSetSize - The target replica set size as a number.
	TargetReplicaSetSize *int32 `json:"TargetReplicaSetSize,omitempty"`
	// MinReplicaSetSize - The minimum replica set size as a number.
	MinReplicaSetSize *int32 `json:"MinReplicaSetSize,omitempty"`
	// ReplicaRestartWaitDurationSeconds - The duration, in seconds, between when a replica goes down and when a new replica is created.
	ReplicaRestartWaitDurationSeconds *string `json:"ReplicaRestartWaitDurationSeconds,omitempty"`
	// QuorumLossWaitDurationSeconds - The maximum duration, in seconds, for which a partition is allowed to be in a state of quorum loss.
	QuorumLossWaitDurationSeconds *string `json:"QuorumLossWaitDurationSeconds,omitempty"`
	// StandByReplicaKeepDurationSeconds - The definition on how long StandBy replicas should be maintained before being removed.
	StandByReplicaKeepDurationSeconds *string `json:"StandByReplicaKeepDurationSeconds,omitempty"`
	// Flags - Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified.
	// This property can be a combination of those flags obtained using bitwise 'OR' operator.
	// For example, if the provided value is 6 then the flags for ReplicaRestartWaitDuration (2) and QuorumLossWaitDuration (4) are set.
	// - None - Does not indicate any other properties are set. The value is zero.
	// - TargetReplicaSetSize/InstanceCount - Indicates whether the TargetReplicaSetSize property (for Stateful services) or the InstanceCount property (for Stateless services) is set. The value is 1.
	// - ReplicaRestartWaitDuration - Indicates the ReplicaRestartWaitDuration property is set. The value is  2.
	// - QuorumLossWaitDuration - Indicates the QuorumLossWaitDuration property is set. The value is 4.
	// - StandByReplicaKeepDuration - Indicates the StandByReplicaKeepDuration property is set. The value is 8.
	// - MinReplicaSetSize - Indicates the MinReplicaSetSize property is set. The value is 16.
	// - PlacementConstraints - Indicates the PlacementConstraints property is set. The value is 32.
	// - PlacementPolicyList - Indicates the ServicePlacementPolicies property is set. The value is 64.
	// - Correlation - Indicates the CorrelationScheme property is set. The value is 128.
	// - Metrics - Indicates the ServiceLoadMetrics property is set. The value is 256.
	// - DefaultMoveCost - Indicates the DefaultMoveCost property is set. The value is 512.
	Flags *string `json:"Flags,omitempty"`
	// PlacementConstraints - The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
	PlacementConstraints *string `json:"PlacementConstraints,omitempty"`
	// CorrelationScheme - The correlation scheme.
	CorrelationScheme *[]ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"`
	// LoadMetrics - The service load metrics.
	LoadMetrics *[]ServiceLoadMetricDescription `json:"LoadMetrics,omitempty"`
	// ServicePlacementPolicies - The service placement policies.
	ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"`
	// DefaultMoveCost - The move cost for the service. Possible values include: 'DefaultMoveCost1Zero', 'DefaultMoveCost1Low', 'DefaultMoveCost1Medium', 'DefaultMoveCost1High'
	DefaultMoveCost DefaultMoveCost1 `json:"DefaultMoveCost,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription', 'ServiceKindBasicServiceUpdateDescriptionServiceKindStateful', 'ServiceKindBasicServiceUpdateDescriptionServiceKindStateless'
	ServiceKind ServiceKindBasicServiceUpdateDescription `json:"ServiceKind,omitempty"`
}

StatefulServiceUpdateDescription describes an update for a stateful service.

func (StatefulServiceUpdateDescription) AsBasicServiceUpdateDescription

func (ssud StatefulServiceUpdateDescription) AsBasicServiceUpdateDescription() (BasicServiceUpdateDescription, bool)

AsBasicServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatefulServiceUpdateDescription.

func (StatefulServiceUpdateDescription) AsServiceUpdateDescription

func (ssud StatefulServiceUpdateDescription) AsServiceUpdateDescription() (*ServiceUpdateDescription, bool)

AsServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatefulServiceUpdateDescription.

func (StatefulServiceUpdateDescription) AsStatefulServiceUpdateDescription

func (ssud StatefulServiceUpdateDescription) AsStatefulServiceUpdateDescription() (*StatefulServiceUpdateDescription, bool)

AsStatefulServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatefulServiceUpdateDescription.

func (StatefulServiceUpdateDescription) AsStatelessServiceUpdateDescription

func (ssud StatefulServiceUpdateDescription) AsStatelessServiceUpdateDescription() (*StatelessServiceUpdateDescription, bool)

AsStatelessServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatefulServiceUpdateDescription.

func (StatefulServiceUpdateDescription) MarshalJSON

func (ssud StatefulServiceUpdateDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulServiceUpdateDescription.

func (*StatefulServiceUpdateDescription) UnmarshalJSON

func (ssud *StatefulServiceUpdateDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StatefulServiceUpdateDescription struct.

type StatelessServiceDescription

type StatelessServiceDescription struct {
	// InstanceCount - The instance count.
	InstanceCount *int32 `json:"InstanceCount,omitempty"`
	// ApplicationName - The application name.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceName - The service name.
	ServiceName *string `json:"ServiceName,omitempty"`
	// ServiceTypeName - The service type name.
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// InitializationData - The initialization data as an array of bytes. Initialization data is passed to service instances or replicas when they are created.
	InitializationData *[]int32 `json:"InitializationData,omitempty"`
	// PartitionDescription - The partition description as an object.
	PartitionDescription BasicPartitionSchemeDescription `json:"PartitionDescription,omitempty"`
	// PlacementConstraints - The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
	PlacementConstraints *string `json:"PlacementConstraints,omitempty"`
	// CorrelationScheme - The correlation scheme.
	CorrelationScheme *[]ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"`
	// ServiceLoadMetrics - The service load metrics.
	ServiceLoadMetrics *[]ServiceLoadMetricDescription `json:"ServiceLoadMetrics,omitempty"`
	// ServicePlacementPolicies - The service placement policies.
	ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"`
	// DefaultMoveCost - The move cost for the service. Possible values include: 'Zero', 'Low', 'Medium', 'High'
	DefaultMoveCost DefaultMoveCost `json:"DefaultMoveCost,omitempty"`
	// IsDefaultMoveCostSpecified - Indicates if the DefaultMoveCost property is specified.
	IsDefaultMoveCostSpecified *bool `json:"IsDefaultMoveCostSpecified,omitempty"`
	// ServicePackageActivationMode - The activation mode of service package to be used for a service. Possible values include: 'ServicePackageActivationMode1SharedProcess', 'ServicePackageActivationMode1ExclusiveProcess'
	ServicePackageActivationMode ServicePackageActivationMode1 `json:"ServicePackageActivationMode,omitempty"`
	// ServiceDNSName - The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster.
	ServiceDNSName *string `json:"ServiceDnsName,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicServiceDescriptionServiceKindServiceDescription', 'ServiceKindBasicServiceDescriptionServiceKindStateful', 'ServiceKindBasicServiceDescriptionServiceKindStateless'
	ServiceKind ServiceKindBasicServiceDescription `json:"ServiceKind,omitempty"`
}

StatelessServiceDescription describes a 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.

func (*StatelessServiceDescription) UnmarshalJSON

func (ssd *StatelessServiceDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StatelessServiceDescription struct.

type StatelessServiceInfo

type StatelessServiceInfo struct {
	ID *string `json:"Id,omitempty"`
	// Name - Full hierarchical name of the service in URI format starting with `fabric:`.
	Name *string `json:"Name,omitempty"`
	// TypeName - The name of the service type as specified in the service manifest.
	TypeName *string `json:"TypeName,omitempty"`
	// ManifestVersion - The version of the service manifest.
	ManifestVersion *string `json:"ManifestVersion,omitempty"`
	// HealthState - Possible values include: 'HealthState7Invalid', 'HealthState7Ok', 'HealthState7Warning', 'HealthState7Error', 'HealthState7Unknown'
	HealthState HealthState7 `json:"HealthState,omitempty"`
	// ServiceStatus - Possible values include: 'ServiceStatusUnknown', 'ServiceStatusActive', 'ServiceStatusUpgrading', 'ServiceStatusDeleting', 'ServiceStatusCreating', 'ServiceStatusFailed'
	ServiceStatus ServiceStatus `json:"ServiceStatus,omitempty"`
	// IsServiceGroup - Whether the service is in a service group.
	IsServiceGroup *bool `json:"IsServiceGroup,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicServiceInfoServiceKindServiceInfo', 'ServiceKindBasicServiceInfoServiceKindStateful', 'ServiceKindBasicServiceInfoServiceKindStateless'
	ServiceKind ServiceKindBasicServiceInfo `json:"ServiceKind,omitempty"`
}

StatelessServiceInfo information about a stateless Service Fabric service.

func (StatelessServiceInfo) AsBasicServiceInfo

func (ssi StatelessServiceInfo) AsBasicServiceInfo() (BasicServiceInfo, bool)

AsBasicServiceInfo is the BasicServiceInfo implementation for StatelessServiceInfo.

func (StatelessServiceInfo) AsServiceInfo

func (ssi StatelessServiceInfo) AsServiceInfo() (*ServiceInfo, bool)

AsServiceInfo is the BasicServiceInfo implementation for StatelessServiceInfo.

func (StatelessServiceInfo) AsStatefulServiceInfo

func (ssi StatelessServiceInfo) AsStatefulServiceInfo() (*StatefulServiceInfo, bool)

AsStatefulServiceInfo is the BasicServiceInfo implementation for StatelessServiceInfo.

func (StatelessServiceInfo) AsStatelessServiceInfo

func (ssi StatelessServiceInfo) AsStatelessServiceInfo() (*StatelessServiceInfo, bool)

AsStatelessServiceInfo is the BasicServiceInfo implementation for StatelessServiceInfo.

func (StatelessServiceInfo) MarshalJSON

func (ssi StatelessServiceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessServiceInfo.

type StatelessServiceInstanceHealth

type StatelessServiceInstanceHealth struct {
	// InstanceID - Id of the stateless service instance.
	InstanceID *string `json:"InstanceId,omitempty"`
	// PartitionID - Id of the partition to which this replica belongs.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicReplicaHealthServiceKindReplicaHealth', 'ServiceKindBasicReplicaHealthServiceKindStateful', 'ServiceKindBasicReplicaHealthServiceKindStateless'
	ServiceKind ServiceKindBasicReplicaHealth `json:"ServiceKind,omitempty"`
	// AggregatedHealthState - The HealthState representing the aggregated health state of the entity computed by Health Manager.
	// The health evaluation of the entity reflects all events reported on the entity and its children (if any).
	// The aggregation is done by applying the desired health policy.
	// . Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown'
	AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"`
	// HealthEvents - The list of health events reported on the entity.
	HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"`
	// UnhealthyEvaluations - The unhealthy evaluations that show why the current aggregated health state was returned by Health Manager.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
}

StatelessServiceInstanceHealth represents the health of the statelss service instance. Contains the instance aggregated health state, the health events and the unhealthy evaluations.

func (StatelessServiceInstanceHealth) AsBasicReplicaHealth

func (ssih StatelessServiceInstanceHealth) AsBasicReplicaHealth() (BasicReplicaHealth, bool)

AsBasicReplicaHealth is the BasicReplicaHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsReplicaHealth

func (ssih StatelessServiceInstanceHealth) AsReplicaHealth() (*ReplicaHealth, bool)

AsReplicaHealth is the BasicReplicaHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsStatefulServiceReplicaHealth

func (ssih StatelessServiceInstanceHealth) AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)

AsStatefulServiceReplicaHealth is the BasicReplicaHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsStatelessServiceInstanceHealth

func (ssih StatelessServiceInstanceHealth) AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)

AsStatelessServiceInstanceHealth is the BasicReplicaHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) MarshalJSON

func (ssih StatelessServiceInstanceHealth) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessServiceInstanceHealth.

type StatelessServiceInstanceHealthState

type StatelessServiceInstanceHealthState struct {
	// ReplicaID - Id of the stateless service instance on the wire this field is called ReplicaId.
	ReplicaID *string `json:"ReplicaId,omitempty"`
	// PartitionID - The ID of the partition to which this replica belongs.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState', 'ServiceKindBasicReplicaHealthStateServiceKindStateful', 'ServiceKindBasicReplicaHealthStateServiceKindStateless'
	ServiceKind ServiceKindBasicReplicaHealthState `json:"ServiceKind,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown'
	AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"`
}

StatelessServiceInstanceHealthState represents the health state of the stateless service instance, which contains the instance id and the aggregated health state.

func (StatelessServiceInstanceHealthState) AsBasicReplicaHealthState

func (ssihs StatelessServiceInstanceHealthState) AsBasicReplicaHealthState() (BasicReplicaHealthState, bool)

AsBasicReplicaHealthState is the BasicReplicaHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) AsReplicaHealthState

func (ssihs StatelessServiceInstanceHealthState) AsReplicaHealthState() (*ReplicaHealthState, bool)

AsReplicaHealthState is the BasicReplicaHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) AsStatefulServiceReplicaHealthState

func (ssihs StatelessServiceInstanceHealthState) AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)

AsStatefulServiceReplicaHealthState is the BasicReplicaHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) AsStatelessServiceInstanceHealthState

func (ssihs StatelessServiceInstanceHealthState) AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)

AsStatelessServiceInstanceHealthState is the BasicReplicaHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) MarshalJSON

func (ssihs StatelessServiceInstanceHealthState) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessServiceInstanceHealthState.

type StatelessServiceInstanceInfo

type StatelessServiceInstanceInfo struct {
	// InstanceID - Id of the stateless service instance.
	InstanceID *string `json:"InstanceId,omitempty"`
	// ReplicaStatus - Possible values include: 'ReplicaStatus1Invalid', 'ReplicaStatus1InBuild', 'ReplicaStatus1Standby', 'ReplicaStatus1Ready', 'ReplicaStatus1Down', 'ReplicaStatus1Dropped'
	ReplicaStatus ReplicaStatus1 `json:"ReplicaStatus,omitempty"`
	// HealthState - Possible values include: 'HealthState6Invalid', 'HealthState6Ok', 'HealthState6Warning', 'HealthState6Error', 'HealthState6Unknown'
	HealthState HealthState6 `json:"HealthState,omitempty"`
	// NodeName - The name of the node.
	NodeName *string `json:"NodeName,omitempty"`
	// Address - The address the replica is listening on.
	Address *string `json:"Address,omitempty"`
	// LastInBuildDurationInSeconds - The last in build duration of the replica in seconds.
	LastInBuildDurationInSeconds *string `json:"LastInBuildDurationInSeconds,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicReplicaInfoServiceKindReplicaInfo', 'ServiceKindBasicReplicaInfoServiceKindStateful', 'ServiceKindBasicReplicaInfoServiceKindStateless'
	ServiceKind ServiceKindBasicReplicaInfo `json:"ServiceKind,omitempty"`
}

StatelessServiceInstanceInfo represents a stateless service instance. This includes information about the identity, status, health, node name, uptime, and other details about the instance.

func (StatelessServiceInstanceInfo) AsBasicReplicaInfo

func (ssii StatelessServiceInstanceInfo) AsBasicReplicaInfo() (BasicReplicaInfo, bool)

AsBasicReplicaInfo is the BasicReplicaInfo implementation for StatelessServiceInstanceInfo.

func (StatelessServiceInstanceInfo) AsReplicaInfo

func (ssii StatelessServiceInstanceInfo) AsReplicaInfo() (*ReplicaInfo, bool)

AsReplicaInfo is the BasicReplicaInfo implementation for StatelessServiceInstanceInfo.

func (StatelessServiceInstanceInfo) AsStatefulServiceReplicaInfo

func (ssii StatelessServiceInstanceInfo) AsStatefulServiceReplicaInfo() (*StatefulServiceReplicaInfo, bool)

AsStatefulServiceReplicaInfo is the BasicReplicaInfo implementation for StatelessServiceInstanceInfo.

func (StatelessServiceInstanceInfo) AsStatelessServiceInstanceInfo

func (ssii StatelessServiceInstanceInfo) AsStatelessServiceInstanceInfo() (*StatelessServiceInstanceInfo, bool)

AsStatelessServiceInstanceInfo is the BasicReplicaInfo implementation for StatelessServiceInstanceInfo.

func (StatelessServiceInstanceInfo) MarshalJSON

func (ssii StatelessServiceInstanceInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessServiceInstanceInfo.

type StatelessServicePartitionInfo

type StatelessServicePartitionInfo struct {
	// InstanceCount - Number of instances of this partition.
	InstanceCount *int64 `json:"InstanceCount,omitempty"`
	// HealthState - Possible values include: 'HealthState5Invalid', 'HealthState5Ok', 'HealthState5Warning', 'HealthState5Error', 'HealthState5Unknown'
	HealthState HealthState5 `json:"HealthState,omitempty"`
	// PartitionStatus - Possible values include: 'PartitionStatusInvalid', 'PartitionStatusReady', 'PartitionStatusNotReady', 'PartitionStatusInQuorumLoss', 'PartitionStatusReconfiguring', 'PartitionStatusDeleting'
	PartitionStatus      PartitionStatus           `json:"PartitionStatus,omitempty"`
	PartitionInformation BasicPartitionInformation `json:"PartitionInformation,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo', 'ServiceKindBasicServicePartitionInfoServiceKindStateful', 'ServiceKindBasicServicePartitionInfoServiceKindStateless'
	ServiceKind ServiceKindBasicServicePartitionInfo `json:"ServiceKind,omitempty"`
}

StatelessServicePartitionInfo information about a partition of a stateless Service Fabric service.

func (StatelessServicePartitionInfo) AsBasicServicePartitionInfo

func (sspi StatelessServicePartitionInfo) AsBasicServicePartitionInfo() (BasicServicePartitionInfo, bool)

AsBasicServicePartitionInfo is the BasicServicePartitionInfo implementation for StatelessServicePartitionInfo.

func (StatelessServicePartitionInfo) AsServicePartitionInfo

func (sspi StatelessServicePartitionInfo) AsServicePartitionInfo() (*ServicePartitionInfo, bool)

AsServicePartitionInfo is the BasicServicePartitionInfo implementation for StatelessServicePartitionInfo.

func (StatelessServicePartitionInfo) AsStatefulServicePartitionInfo

func (sspi StatelessServicePartitionInfo) AsStatefulServicePartitionInfo() (*StatefulServicePartitionInfo, bool)

AsStatefulServicePartitionInfo is the BasicServicePartitionInfo implementation for StatelessServicePartitionInfo.

func (StatelessServicePartitionInfo) AsStatelessServicePartitionInfo

func (sspi StatelessServicePartitionInfo) AsStatelessServicePartitionInfo() (*StatelessServicePartitionInfo, bool)

AsStatelessServicePartitionInfo is the BasicServicePartitionInfo implementation for StatelessServicePartitionInfo.

func (StatelessServicePartitionInfo) MarshalJSON

func (sspi StatelessServicePartitionInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessServicePartitionInfo.

func (*StatelessServicePartitionInfo) UnmarshalJSON

func (sspi *StatelessServicePartitionInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StatelessServicePartitionInfo struct.

type StatelessServiceTypeDescription

type StatelessServiceTypeDescription struct {
	// UseImplicitHost - A flag indicating if this type is not implemented and hosted by a user service process, but is implicitly hosted by a system created process. This value is true for services using the guest executable services, false otherwise.
	UseImplicitHost *bool `json:"UseImplicitHost,omitempty"`
	// IsStateful - Indicates whether the service type is a stateful service type or a stateless service type. This property is true if the service type is a stateful service type, false otherwise.
	IsStateful *bool `json:"IsStateful,omitempty"`
	// ServiceTypeName - Name of the service type.
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// PlacementConstraints - The placement constraint to be used when instantiating this service in a Service Fabric cluster.
	PlacementConstraints     *string                                   `json:"PlacementConstraints,omitempty"`
	ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"`
	Extensions               *[]ServiceTypeExtensionDescription        `json:"Extensions,omitempty"`
	// Kind - Possible values include: 'KindServiceTypeDescription', 'KindStateful', 'KindStateless1'
	Kind KindBasicServiceTypeDescription `json:"Kind,omitempty"`
}

StatelessServiceTypeDescription describes a stateless service type defined in the service manifest of a provisioned application type.

func (StatelessServiceTypeDescription) AsBasicServiceTypeDescription

func (sstd StatelessServiceTypeDescription) AsBasicServiceTypeDescription() (BasicServiceTypeDescription, bool)

AsBasicServiceTypeDescription is the BasicServiceTypeDescription implementation for StatelessServiceTypeDescription.

func (StatelessServiceTypeDescription) AsServiceTypeDescription

func (sstd StatelessServiceTypeDescription) AsServiceTypeDescription() (*ServiceTypeDescription, bool)

AsServiceTypeDescription is the BasicServiceTypeDescription implementation for StatelessServiceTypeDescription.

func (StatelessServiceTypeDescription) AsStatefulServiceTypeDescription

func (sstd StatelessServiceTypeDescription) AsStatefulServiceTypeDescription() (*StatefulServiceTypeDescription, bool)

AsStatefulServiceTypeDescription is the BasicServiceTypeDescription implementation for StatelessServiceTypeDescription.

func (StatelessServiceTypeDescription) AsStatelessServiceTypeDescription

func (sstd StatelessServiceTypeDescription) AsStatelessServiceTypeDescription() (*StatelessServiceTypeDescription, bool)

AsStatelessServiceTypeDescription is the BasicServiceTypeDescription implementation for StatelessServiceTypeDescription.

func (StatelessServiceTypeDescription) MarshalJSON

func (sstd StatelessServiceTypeDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessServiceTypeDescription.

func (*StatelessServiceTypeDescription) UnmarshalJSON

func (sstd *StatelessServiceTypeDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StatelessServiceTypeDescription struct.

type StatelessServiceUpdateDescription

type StatelessServiceUpdateDescription struct {
	// InstanceCount - The instance count.
	InstanceCount *int32 `json:"InstanceCount,omitempty"`
	// Flags - Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified.
	// This property can be a combination of those flags obtained using bitwise 'OR' operator.
	// For example, if the provided value is 6 then the flags for ReplicaRestartWaitDuration (2) and QuorumLossWaitDuration (4) are set.
	// - None - Does not indicate any other properties are set. The value is zero.
	// - TargetReplicaSetSize/InstanceCount - Indicates whether the TargetReplicaSetSize property (for Stateful services) or the InstanceCount property (for Stateless services) is set. The value is 1.
	// - ReplicaRestartWaitDuration - Indicates the ReplicaRestartWaitDuration property is set. The value is  2.
	// - QuorumLossWaitDuration - Indicates the QuorumLossWaitDuration property is set. The value is 4.
	// - StandByReplicaKeepDuration - Indicates the StandByReplicaKeepDuration property is set. The value is 8.
	// - MinReplicaSetSize - Indicates the MinReplicaSetSize property is set. The value is 16.
	// - PlacementConstraints - Indicates the PlacementConstraints property is set. The value is 32.
	// - PlacementPolicyList - Indicates the ServicePlacementPolicies property is set. The value is 64.
	// - Correlation - Indicates the CorrelationScheme property is set. The value is 128.
	// - Metrics - Indicates the ServiceLoadMetrics property is set. The value is 256.
	// - DefaultMoveCost - Indicates the DefaultMoveCost property is set. The value is 512.
	Flags *string `json:"Flags,omitempty"`
	// PlacementConstraints - The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)".
	PlacementConstraints *string `json:"PlacementConstraints,omitempty"`
	// CorrelationScheme - The correlation scheme.
	CorrelationScheme *[]ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"`
	// LoadMetrics - The service load metrics.
	LoadMetrics *[]ServiceLoadMetricDescription `json:"LoadMetrics,omitempty"`
	// ServicePlacementPolicies - The service placement policies.
	ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"`
	// DefaultMoveCost - The move cost for the service. Possible values include: 'DefaultMoveCost1Zero', 'DefaultMoveCost1Low', 'DefaultMoveCost1Medium', 'DefaultMoveCost1High'
	DefaultMoveCost DefaultMoveCost1 `json:"DefaultMoveCost,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription', 'ServiceKindBasicServiceUpdateDescriptionServiceKindStateful', 'ServiceKindBasicServiceUpdateDescriptionServiceKindStateless'
	ServiceKind ServiceKindBasicServiceUpdateDescription `json:"ServiceKind,omitempty"`
}

StatelessServiceUpdateDescription describes an update for a stateless service.

func (StatelessServiceUpdateDescription) AsBasicServiceUpdateDescription

func (ssud StatelessServiceUpdateDescription) AsBasicServiceUpdateDescription() (BasicServiceUpdateDescription, bool)

AsBasicServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatelessServiceUpdateDescription.

func (StatelessServiceUpdateDescription) AsServiceUpdateDescription

func (ssud StatelessServiceUpdateDescription) AsServiceUpdateDescription() (*ServiceUpdateDescription, bool)

AsServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatelessServiceUpdateDescription.

func (StatelessServiceUpdateDescription) AsStatefulServiceUpdateDescription

func (ssud StatelessServiceUpdateDescription) AsStatefulServiceUpdateDescription() (*StatefulServiceUpdateDescription, bool)

AsStatefulServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatelessServiceUpdateDescription.

func (StatelessServiceUpdateDescription) AsStatelessServiceUpdateDescription

func (ssud StatelessServiceUpdateDescription) AsStatelessServiceUpdateDescription() (*StatelessServiceUpdateDescription, bool)

AsStatelessServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatelessServiceUpdateDescription.

func (StatelessServiceUpdateDescription) MarshalJSON

func (ssud StatelessServiceUpdateDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessServiceUpdateDescription.

func (*StatelessServiceUpdateDescription) UnmarshalJSON

func (ssud *StatelessServiceUpdateDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for StatelessServiceUpdateDescription struct.

type Status

type Status string

Status enumerates the values for status.

const (
	// StatusCreating ...
	StatusCreating Status = "Creating"
	// StatusDeleting ...
	StatusDeleting Status = "Deleting"
	// StatusFailed ...
	StatusFailed Status = "Failed"
	// StatusInvalid ...
	StatusInvalid Status = "Invalid"
	// StatusReady ...
	StatusReady Status = "Ready"
	// StatusUpgrading ...
	StatusUpgrading Status = "Upgrading"
)

func PossibleStatusValues

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type Status1

type Status1 string

Status1 enumerates the values for status 1.

const (
	// Status1Available ...
	Status1Available Status1 = "Available"
	// Status1Failed ...
	Status1Failed Status1 = "Failed"
	// Status1Invalid ...
	Status1Invalid Status1 = "Invalid"
	// Status1Provisioning ...
	Status1Provisioning Status1 = "Provisioning"
	// Status1Unprovisioning ...
	Status1Unprovisioning Status1 = "Unprovisioning"
)

func PossibleStatus1Values

func PossibleStatus1Values() []Status1

PossibleStatus1Values returns an array of possible values for the Status1 const type.

type Status2

type Status2 string

Status2 enumerates the values for status 2.

const (
	// Status2Activating ...
	Status2Activating Status2 = "Activating"
	// Status2Active ...
	Status2Active Status2 = "Active"
	// Status2Deactivating ...
	Status2Deactivating Status2 = "Deactivating"
	// Status2Downloading ...
	Status2Downloading Status2 = "Downloading"
	// Status2Invalid ...
	Status2Invalid Status2 = "Invalid"
	// Status2Upgrading ...
	Status2Upgrading Status2 = "Upgrading"
)

func PossibleStatus2Values

func PossibleStatus2Values() []Status2

PossibleStatus2Values returns an array of possible values for the Status2 const type.

type Status3

type Status3 string

Status3 enumerates the values for status 3.

const (
	// Status3Invalid ...
	Status3Invalid Status3 = "Invalid"
	// Status3Pending ...
	Status3Pending Status3 = "Pending"
	// Status3Started ...
	Status3Started Status3 = "Started"
	// Status3Starting ...
	Status3Starting Status3 = "Starting"
	// Status3Stopped ...
	Status3Stopped Status3 = "Stopped"
	// Status3Stopping ...
	Status3Stopping Status3 = "Stopping"
)

func PossibleStatus3Values

func PossibleStatus3Values() []Status3

PossibleStatus3Values returns an array of possible values for the Status3 const type.

type Status4

type Status4 string

Status4 enumerates the values for status 4.

const (
	// Status4Activating ...
	Status4Activating Status4 = "Activating"
	// Status4Active ...
	Status4Active Status4 = "Active"
	// Status4Deactivating ...
	Status4Deactivating Status4 = "Deactivating"
	// Status4Downloading ...
	Status4Downloading Status4 = "Downloading"
	// Status4Invalid ...
	Status4Invalid Status4 = "Invalid"
	// Status4Upgrading ...
	Status4Upgrading Status4 = "Upgrading"
)

func PossibleStatus4Values

func PossibleStatus4Values() []Status4

PossibleStatus4Values returns an array of possible values for the Status4 const type.

type Status5

type Status5 string

Status5 enumerates the values for status 5.

const (
	// Status5Invalid ...
	Status5Invalid Status5 = "Invalid"
	// Status5Running ...
	Status5Running Status5 = "Running"
	// Status5Stopped ...
	Status5Stopped Status5 = "Stopped"
)

func PossibleStatus5Values

func PossibleStatus5Values() []Status5

PossibleStatus5Values returns an array of possible values for the Status5 const type.

type Status6

type Status6 string

Status6 enumerates the values for status 6.

const (
	// Status6Created ...
	Status6Created Status6 = "Created"
	// Status6Creating ...
	Status6Creating Status6 = "Creating"
	// Status6Deleting ...
	Status6Deleting Status6 = "Deleting"
	// Status6Failed ...
	Status6Failed Status6 = "Failed"
	// Status6Invalid ...
	Status6Invalid Status6 = "Invalid"
	// Status6Provisioning ...
	Status6Provisioning Status6 = "Provisioning"
	// Status6Unprovisioning ...
	Status6Unprovisioning Status6 = "Unprovisioning"
)

func PossibleStatus6Values

func PossibleStatus6Values() []Status6

PossibleStatus6Values returns an array of possible values for the Status6 const type.

type Status7

type Status7 string

Status7 enumerates the values for status 7.

const (
	// Status7Activating ...
	Status7Activating Status7 = "Activating"
	// Status7Active ...
	Status7Active Status7 = "Active"
	// Status7Deactivating ...
	Status7Deactivating Status7 = "Deactivating"
	// Status7Downloading ...
	Status7Downloading Status7 = "Downloading"
	// Status7Invalid ...
	Status7Invalid Status7 = "Invalid"
	// Status7Upgrading ...
	Status7Upgrading Status7 = "Upgrading"
)

func PossibleStatus7Values

func PossibleStatus7Values() []Status7

PossibleStatus7Values returns an array of possible values for the Status7 const type.

type Status8

type Status8 string

Status8 enumerates the values for status 8.

const (
	// Status8Disabled ...
	Status8Disabled Status8 = "Disabled"
	// Status8Enabled ...
	Status8Enabled Status8 = "Enabled"
	// Status8Invalid ...
	Status8Invalid Status8 = "Invalid"
	// Status8Registered ...
	Status8Registered Status8 = "Registered"
)

func PossibleStatus8Values

func PossibleStatus8Values() []Status8

PossibleStatus8Values returns an array of possible values for the Status8 const type.

type StopNodeDescription

type StopNodeDescription struct {
	// NodeInstanceID - The instance id of the target node. If instance id is specified the node is stopped only if it matches with the current instance of the node. A default value of "0" would match any instance id. The instance id can be obtained using get node query.
	NodeInstanceID *string `json:"NodeInstanceId,omitempty"`
}

StopNodeDescription describes the parameter for stopping a Service Fabric node.

type StoppedChaosEvent

type StoppedChaosEvent struct {
	Reason       *string    `json:"Reason,omitempty"`
	TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"`
	// Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting'
	Kind KindBasicChaosEvent `json:"Kind,omitempty"`
}

StoppedChaosEvent describes a Chaos event that gets generated when Chaos stops because either the user issued a stop or the time to run was up.

func (StoppedChaosEvent) AsBasicChaosEvent

func (sce StoppedChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)

AsBasicChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.

func (StoppedChaosEvent) AsChaosEvent

func (sce StoppedChaosEvent) AsChaosEvent() (*ChaosEvent, bool)

AsChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.

func (StoppedChaosEvent) AsExecutingFaultsChaosEvent

func (sce StoppedChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)

AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.

func (StoppedChaosEvent) AsStartedChaosEvent

func (sce StoppedChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)

AsStartedChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.

func (StoppedChaosEvent) AsStoppedChaosEvent

func (sce StoppedChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)

AsStoppedChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.

func (StoppedChaosEvent) AsTestErrorChaosEvent

func (sce StoppedChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)

AsTestErrorChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.

func (StoppedChaosEvent) AsValidationFailedChaosEvent

func (sce StoppedChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)

AsValidationFailedChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.

func (StoppedChaosEvent) AsWaitingChaosEvent

func (sce StoppedChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)

AsWaitingChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.

func (StoppedChaosEvent) MarshalJSON

func (sce StoppedChaosEvent) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StoppedChaosEvent.

type SystemApplicationHealthEvaluation

type SystemApplicationHealthEvaluation struct {
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the current aggregated health state of the system application. The types of the unhealthy evaluations can be DeployedApplicationsHealthEvaluation, ServicesHealthEvaluation or EventHealthEvaluation.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

SystemApplicationHealthEvaluation represents health evaluation for the fabric:/System application, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state of the cluster is either Error or Warning.

func (SystemApplicationHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 TestErrorChaosEvent

type TestErrorChaosEvent struct {
	Reason       *string    `json:"Reason,omitempty"`
	TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"`
	// Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting'
	Kind KindBasicChaosEvent `json:"Kind,omitempty"`
}

TestErrorChaosEvent describes a Chaos event that gets generated when an unexpected event occurs in the Chaos engine. For example, due to the cluster snapshot being inconsistent, while faulting a faultable entity, Chaos found that the entity was alreay faulted -- which would be an unexpected event.

func (TestErrorChaosEvent) AsBasicChaosEvent

func (tece TestErrorChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)

AsBasicChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.

func (TestErrorChaosEvent) AsChaosEvent

func (tece TestErrorChaosEvent) AsChaosEvent() (*ChaosEvent, bool)

AsChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.

func (TestErrorChaosEvent) AsExecutingFaultsChaosEvent

func (tece TestErrorChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)

AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.

func (TestErrorChaosEvent) AsStartedChaosEvent

func (tece TestErrorChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)

AsStartedChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.

func (TestErrorChaosEvent) AsStoppedChaosEvent

func (tece TestErrorChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)

AsStoppedChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.

func (TestErrorChaosEvent) AsTestErrorChaosEvent

func (tece TestErrorChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)

AsTestErrorChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.

func (TestErrorChaosEvent) AsValidationFailedChaosEvent

func (tece TestErrorChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)

AsValidationFailedChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.

func (TestErrorChaosEvent) AsWaitingChaosEvent

func (tece TestErrorChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)

AsWaitingChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.

func (TestErrorChaosEvent) MarshalJSON

func (tece TestErrorChaosEvent) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TestErrorChaosEvent.

type Type

type Type string

Type enumerates the values for type.

const (
	// TypeInvalid ...
	TypeInvalid Type = "Invalid"
	// TypeNodeTransition ...
	TypeNodeTransition Type = "NodeTransition"
	// TypePartitionDataLoss ...
	TypePartitionDataLoss Type = "PartitionDataLoss"
	// TypePartitionQuorumLoss ...
	TypePartitionQuorumLoss Type = "PartitionQuorumLoss"
	// TypePartitionRestart ...
	TypePartitionRestart Type = "PartitionRestart"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type TypeBasicServicePlacementPolicyDescription

type TypeBasicServicePlacementPolicyDescription string

TypeBasicServicePlacementPolicyDescription enumerates the values for type basic service placement policy description.

const (
	// TypeInvalidDomain ...
	TypeInvalidDomain TypeBasicServicePlacementPolicyDescription = "InvalidDomain"
	// TypeNonPartiallyPlaceService ...
	TypeNonPartiallyPlaceService TypeBasicServicePlacementPolicyDescription = "NonPartiallyPlaceService"
	// TypePreferPrimaryDomain ...
	TypePreferPrimaryDomain TypeBasicServicePlacementPolicyDescription = "PreferPrimaryDomain"
	// TypeRequireDomain ...
	TypeRequireDomain TypeBasicServicePlacementPolicyDescription = "RequireDomain"
	// TypeRequireDomainDistribution ...
	TypeRequireDomainDistribution TypeBasicServicePlacementPolicyDescription = "RequireDomainDistribution"
	// TypeServicePlacementPolicyDescription ...
	TypeServicePlacementPolicyDescription TypeBasicServicePlacementPolicyDescription = "ServicePlacementPolicyDescription"
)

func PossibleTypeBasicServicePlacementPolicyDescriptionValues

func PossibleTypeBasicServicePlacementPolicyDescriptionValues() []TypeBasicServicePlacementPolicyDescription

PossibleTypeBasicServicePlacementPolicyDescriptionValues returns an array of possible values for the TypeBasicServicePlacementPolicyDescription const type.

type UniformInt64RangePartitionSchemeDescription

type UniformInt64RangePartitionSchemeDescription struct {
	// Count - The number of partitions.
	Count *int32 `json:"Count,omitempty"`
	// LowKey - String indicating the lower bound of the partition key range that
	// should be split between the partition ‘Count’
	LowKey *string `json:"LowKey,omitempty"`
	// HighKey - String indicating the upper bound of the partition key range that
	// should be split between the partition ‘Count’
	HighKey *string `json:"HighKey,omitempty"`
	// PartitionScheme - Possible values include: 'PartitionSchemePartitionSchemeDescription', 'PartitionSchemeNamed', 'PartitionSchemeSingleton', 'PartitionSchemeUniformInt64Range'
	PartitionScheme PartitionScheme `json:"PartitionScheme,omitempty"`
}

UniformInt64RangePartitionSchemeDescription describes a partitioning scheme where an integer range is allocated evenly across a number of partitions.

func (UniformInt64RangePartitionSchemeDescription) AsBasicPartitionSchemeDescription

func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsBasicPartitionSchemeDescription() (BasicPartitionSchemeDescription, bool)

AsBasicPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.

func (UniformInt64RangePartitionSchemeDescription) AsNamedPartitionSchemeDescription

func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)

AsNamedPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.

func (UniformInt64RangePartitionSchemeDescription) AsPartitionSchemeDescription

func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)

AsPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.

func (UniformInt64RangePartitionSchemeDescription) AsSingletonPartitionSchemeDescription

func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)

AsSingletonPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.

func (UniformInt64RangePartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription

func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)

AsUniformInt64RangePartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.

func (UniformInt64RangePartitionSchemeDescription) MarshalJSON

func (ui6rpsd UniformInt64RangePartitionSchemeDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UniformInt64RangePartitionSchemeDescription.

type UpgradeDomainDeltaNodesCheckHealthEvaluation

type UpgradeDomainDeltaNodesCheckHealthEvaluation struct {
	// UpgradeDomainName - Name of the upgrade domain where nodes health is currently evaluated.
	UpgradeDomainName *string `json:"UpgradeDomainName,omitempty"`
	// BaselineErrorCount - Number of upgrade domain nodes with aggregated heath state Error in the health store at the beginning of the cluster upgrade.
	BaselineErrorCount *int64 `json:"BaselineErrorCount,omitempty"`
	// BaselineTotalCount - Total number of upgrade domain nodes in the health store at the beginning of the cluster upgrade.
	BaselineTotalCount *int64 `json:"BaselineTotalCount,omitempty"`
	// MaxPercentDeltaUnhealthyNodes - Maximum allowed percentage of upgrade domain delta unhealthy nodes from the ClusterUpgradeHealthPolicy.
	MaxPercentDeltaUnhealthyNodes *int32 `json:"MaxPercentDeltaUnhealthyNodes,omitempty"`
	// TotalCount - Total number of upgrade domain nodes in the health store.
	TotalCount *int64 `json:"TotalCount,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy NodeHealthEvaluation that impacted the aggregated health.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

UpgradeDomainDeltaNodesCheckHealthEvaluation represents health evaluation for delta unhealthy cluster nodes in an upgrade domain, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned during cluster upgrade when cluster aggregated health state is Warning or Error.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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 UpgradeDomainInfo

type UpgradeDomainInfo struct {
	Name *string `json:"Name,omitempty"`
	// State - Possible values include: 'StateInvalid', 'StatePending', 'StateInProgress', 'StateCompleted'
	State State `json:"State,omitempty"`
}

UpgradeDomainInfo information about an upgrade domain.

type UpgradeDomainNodesHealthEvaluation

type UpgradeDomainNodesHealthEvaluation struct {
	// UpgradeDomainName - Name of the upgrade domain where nodes health is currently evaluated.
	UpgradeDomainName *string `json:"UpgradeDomainName,omitempty"`
	// MaxPercentUnhealthyNodes - Maximum allowed percentage of unhealthy nodes from the ClusterHealthPolicy.
	MaxPercentUnhealthyNodes *int32 `json:"MaxPercentUnhealthyNodes,omitempty"`
	// TotalCount - Total number of nodes in the current upgrade domain.
	TotalCount *int64 `json:"TotalCount,omitempty"`
	// UnhealthyEvaluations - List of unhealthy evaluations that led to the aggregated health state. Includes all the unhealthy NodeHealthEvaluation that impacted the aggregated health.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Description - Description of the health evaluation, which represents a summary of the evaluation process.
	Description *string `json:"Description,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes'
	Kind KindBasicHealthEvaluation `json:"Kind,omitempty"`
}

UpgradeDomainNodesHealthEvaluation represents health evaluation for cluster nodes in an upgrade domain, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned when evaluating cluster health during cluster upgrade and the aggregated health state is either Error or Warning.

func (UpgradeDomainNodesHealthEvaluation) AsApplicationHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)

AsApplicationTypeApplicationsHealthEvaluation 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) 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"
)

func PossibleUpgradeKindValues

func PossibleUpgradeKindValues() []UpgradeKind

PossibleUpgradeKindValues returns an array of possible values for the UpgradeKind const type.

type UpgradeKind1

type UpgradeKind1 string

UpgradeKind1 enumerates the values for upgrade kind 1.

const (
	// UpgradeKind1Invalid ...
	UpgradeKind1Invalid UpgradeKind1 = "Invalid"
	// UpgradeKind1Rolling ...
	UpgradeKind1Rolling UpgradeKind1 = "Rolling"
)

func PossibleUpgradeKind1Values

func PossibleUpgradeKind1Values() []UpgradeKind1

PossibleUpgradeKind1Values returns an array of possible values for the UpgradeKind1 const type.

type UpgradeKind2

type UpgradeKind2 string

UpgradeKind2 enumerates the values for upgrade kind 2.

const (
	// UpgradeKind2Invalid ...
	UpgradeKind2Invalid UpgradeKind2 = "Invalid"
	// UpgradeKind2Rolling ...
	UpgradeKind2Rolling UpgradeKind2 = "Rolling"
)

func PossibleUpgradeKind2Values

func PossibleUpgradeKind2Values() []UpgradeKind2

PossibleUpgradeKind2Values returns an array of possible values for the UpgradeKind2 const type.

type UpgradePhase

type UpgradePhase string

UpgradePhase enumerates the values for upgrade phase.

const (
	// UpgradePhaseInvalid ...
	UpgradePhaseInvalid UpgradePhase = "Invalid"
	// UpgradePhasePostUpgradeSafetyCheck ...
	UpgradePhasePostUpgradeSafetyCheck UpgradePhase = "PostUpgradeSafetyCheck"
	// UpgradePhasePreUpgradeSafetyCheck ...
	UpgradePhasePreUpgradeSafetyCheck UpgradePhase = "PreUpgradeSafetyCheck"
	// UpgradePhaseUpgrading ...
	UpgradePhaseUpgrading UpgradePhase = "Upgrading"
)

func PossibleUpgradePhaseValues

func PossibleUpgradePhaseValues() []UpgradePhase

PossibleUpgradePhaseValues returns an array of possible values for the UpgradePhase const type.

type UpgradeState

type UpgradeState string

UpgradeState enumerates the values for upgrade state.

const (
	// UpgradeStateFailed ...
	UpgradeStateFailed UpgradeState = "Failed"
	// UpgradeStateInvalid ...
	UpgradeStateInvalid UpgradeState = "Invalid"
	// UpgradeStateRollingBackCompleted ...
	UpgradeStateRollingBackCompleted UpgradeState = "RollingBackCompleted"
	// UpgradeStateRollingBackInProgress ...
	UpgradeStateRollingBackInProgress UpgradeState = "RollingBackInProgress"
	// UpgradeStateRollingForwardCompleted ...
	UpgradeStateRollingForwardCompleted UpgradeState = "RollingForwardCompleted"
	// UpgradeStateRollingForwardInProgress ...
	UpgradeStateRollingForwardInProgress UpgradeState = "RollingForwardInProgress"
	// UpgradeStateRollingForwardPending ...
	UpgradeStateRollingForwardPending UpgradeState = "RollingForwardPending"
)

func PossibleUpgradeStateValues

func PossibleUpgradeStateValues() []UpgradeState

PossibleUpgradeStateValues returns an array of possible values for the UpgradeState const type.

type UpgradeState1

type UpgradeState1 string

UpgradeState1 enumerates the values for upgrade state 1.

const (
	// UpgradeState1Failed ...
	UpgradeState1Failed UpgradeState1 = "Failed"
	// UpgradeState1Invalid ...
	UpgradeState1Invalid UpgradeState1 = "Invalid"
	// UpgradeState1RollingBackCompleted ...
	UpgradeState1RollingBackCompleted UpgradeState1 = "RollingBackCompleted"
	// UpgradeState1RollingBackInProgress ...
	UpgradeState1RollingBackInProgress UpgradeState1 = "RollingBackInProgress"
	// UpgradeState1RollingForwardCompleted ...
	UpgradeState1RollingForwardCompleted UpgradeState1 = "RollingForwardCompleted"
	// UpgradeState1RollingForwardInProgress ...
	UpgradeState1RollingForwardInProgress UpgradeState1 = "RollingForwardInProgress"
	// UpgradeState1RollingForwardPending ...
	UpgradeState1RollingForwardPending UpgradeState1 = "RollingForwardPending"
)

func PossibleUpgradeState1Values

func PossibleUpgradeState1Values() []UpgradeState1

PossibleUpgradeState1Values returns an array of possible values for the UpgradeState1 const type.

type ValidationFailedChaosEvent

type ValidationFailedChaosEvent struct {
	Reason       *string    `json:"Reason,omitempty"`
	TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"`
	// Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting'
	Kind KindBasicChaosEvent `json:"Kind,omitempty"`
}

ValidationFailedChaosEvent chaos event corresponding to a failure during validation.

func (ValidationFailedChaosEvent) AsBasicChaosEvent

func (vfce ValidationFailedChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)

AsBasicChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.

func (ValidationFailedChaosEvent) AsChaosEvent

func (vfce ValidationFailedChaosEvent) AsChaosEvent() (*ChaosEvent, bool)

AsChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.

func (ValidationFailedChaosEvent) AsExecutingFaultsChaosEvent

func (vfce ValidationFailedChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)

AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.

func (ValidationFailedChaosEvent) AsStartedChaosEvent

func (vfce ValidationFailedChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)

AsStartedChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.

func (ValidationFailedChaosEvent) AsStoppedChaosEvent

func (vfce ValidationFailedChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)

AsStoppedChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.

func (ValidationFailedChaosEvent) AsTestErrorChaosEvent

func (vfce ValidationFailedChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)

AsTestErrorChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.

func (ValidationFailedChaosEvent) AsValidationFailedChaosEvent

func (vfce ValidationFailedChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)

AsValidationFailedChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.

func (ValidationFailedChaosEvent) AsWaitingChaosEvent

func (vfce ValidationFailedChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)

AsWaitingChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.

func (ValidationFailedChaosEvent) MarshalJSON

func (vfce ValidationFailedChaosEvent) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ValidationFailedChaosEvent.

type WaitForInbuildReplicaSafetyCheck

type WaitForInbuildReplicaSafetyCheck struct {
	// PartitionID - Id of the partition which is undergoing the safety check.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration'
	Kind KindBasicSafetyCheck `json:"Kind,omitempty"`
}

WaitForInbuildReplicaSafetyCheck safety check that waits for the replica build operation to finish. This indiciates that there is a replica that is going through the copy or is providing data for building another replica. Bring the node down will abort this copy operation which are typoically expensive involving data movements.

func (WaitForInbuildReplicaSafetyCheck) AsBasicPartitionSafetyCheck

func (wfirsc WaitForInbuildReplicaSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)

AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.

func (WaitForInbuildReplicaSafetyCheck) AsBasicSafetyCheck

func (wfirsc WaitForInbuildReplicaSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)

AsBasicSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.

func (WaitForInbuildReplicaSafetyCheck) AsEnsureAvailabilitySafetyCheck

func (wfirsc WaitForInbuildReplicaSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)

AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.

func (WaitForInbuildReplicaSafetyCheck) AsEnsurePartitionQurumSafetyCheck

func (wfirsc WaitForInbuildReplicaSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)

AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.

func (WaitForInbuildReplicaSafetyCheck) AsPartitionSafetyCheck

func (wfirsc WaitForInbuildReplicaSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)

AsPartitionSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.

func (WaitForInbuildReplicaSafetyCheck) AsSafetyCheck

func (wfirsc WaitForInbuildReplicaSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)

AsSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.

func (WaitForInbuildReplicaSafetyCheck) AsSeedNodeSafetyCheck

func (wfirsc WaitForInbuildReplicaSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)

AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.

func (WaitForInbuildReplicaSafetyCheck) AsWaitForInbuildReplicaSafetyCheck

func (wfirsc WaitForInbuildReplicaSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)

AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.

func (WaitForInbuildReplicaSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck

func (wfirsc WaitForInbuildReplicaSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)

AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.

func (WaitForInbuildReplicaSafetyCheck) AsWaitForPrimarySwapSafetyCheck

func (wfirsc WaitForInbuildReplicaSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)

AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.

func (WaitForInbuildReplicaSafetyCheck) AsWaitForReconfigurationSafetyCheck

func (wfirsc WaitForInbuildReplicaSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)

AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.

func (WaitForInbuildReplicaSafetyCheck) MarshalJSON

func (wfirsc WaitForInbuildReplicaSafetyCheck) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WaitForInbuildReplicaSafetyCheck.

type WaitForPrimaryPlacementSafetyCheck

type WaitForPrimaryPlacementSafetyCheck struct {
	// PartitionID - Id of the partition which is undergoing the safety check.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration'
	Kind KindBasicSafetyCheck `json:"Kind,omitempty"`
}

WaitForPrimaryPlacementSafetyCheck safety check that waits for the primary replica that was moved out of the node due to upgrade to be placed back again on that node.

func (WaitForPrimaryPlacementSafetyCheck) AsBasicPartitionSafetyCheck

func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)

AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimaryPlacementSafetyCheck.

func (WaitForPrimaryPlacementSafetyCheck) AsBasicSafetyCheck

func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)

AsBasicSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimaryPlacementSafetyCheck.

func (WaitForPrimaryPlacementSafetyCheck) AsEnsureAvailabilitySafetyCheck

func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)

AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for WaitForPrimaryPlacementSafetyCheck.

func (WaitForPrimaryPlacementSafetyCheck) AsEnsurePartitionQurumSafetyCheck

func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)

AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimaryPlacementSafetyCheck.

func (WaitForPrimaryPlacementSafetyCheck) AsPartitionSafetyCheck

func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)

AsPartitionSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimaryPlacementSafetyCheck.

func (WaitForPrimaryPlacementSafetyCheck) AsSafetyCheck

func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)

AsSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimaryPlacementSafetyCheck.

func (WaitForPrimaryPlacementSafetyCheck) AsSeedNodeSafetyCheck

func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)

AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimaryPlacementSafetyCheck.

func (WaitForPrimaryPlacementSafetyCheck) AsWaitForInbuildReplicaSafetyCheck

func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)

AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimaryPlacementSafetyCheck.

func (WaitForPrimaryPlacementSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck

func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)

AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimaryPlacementSafetyCheck.

func (WaitForPrimaryPlacementSafetyCheck) AsWaitForPrimarySwapSafetyCheck

func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)

AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimaryPlacementSafetyCheck.

func (WaitForPrimaryPlacementSafetyCheck) AsWaitForReconfigurationSafetyCheck

func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)

AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimaryPlacementSafetyCheck.

func (WaitForPrimaryPlacementSafetyCheck) MarshalJSON

func (wfppsc WaitForPrimaryPlacementSafetyCheck) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WaitForPrimaryPlacementSafetyCheck.

type WaitForPrimarySwapSafetyCheck

type WaitForPrimarySwapSafetyCheck struct {
	// PartitionID - Id of the partition which is undergoing the safety check.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration'
	Kind KindBasicSafetyCheck `json:"Kind,omitempty"`
}

WaitForPrimarySwapSafetyCheck safety check that waits for the primary replica to be moved out of the node before starting an upgrade to ensure the avaiability of the primary replica for the partition.

func (WaitForPrimarySwapSafetyCheck) AsBasicPartitionSafetyCheck

func (wfpssc WaitForPrimarySwapSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)

AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimarySwapSafetyCheck.

func (WaitForPrimarySwapSafetyCheck) AsBasicSafetyCheck

func (wfpssc WaitForPrimarySwapSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)

AsBasicSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimarySwapSafetyCheck.

func (WaitForPrimarySwapSafetyCheck) AsEnsureAvailabilitySafetyCheck

func (wfpssc WaitForPrimarySwapSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)

AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for WaitForPrimarySwapSafetyCheck.

func (WaitForPrimarySwapSafetyCheck) AsEnsurePartitionQurumSafetyCheck

func (wfpssc WaitForPrimarySwapSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)

AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimarySwapSafetyCheck.

func (WaitForPrimarySwapSafetyCheck) AsPartitionSafetyCheck

func (wfpssc WaitForPrimarySwapSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)

AsPartitionSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimarySwapSafetyCheck.

func (WaitForPrimarySwapSafetyCheck) AsSafetyCheck

func (wfpssc WaitForPrimarySwapSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)

AsSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimarySwapSafetyCheck.

func (WaitForPrimarySwapSafetyCheck) AsSeedNodeSafetyCheck

func (wfpssc WaitForPrimarySwapSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)

AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimarySwapSafetyCheck.

func (WaitForPrimarySwapSafetyCheck) AsWaitForInbuildReplicaSafetyCheck

func (wfpssc WaitForPrimarySwapSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)

AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimarySwapSafetyCheck.

func (WaitForPrimarySwapSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck

func (wfpssc WaitForPrimarySwapSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)

AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimarySwapSafetyCheck.

func (WaitForPrimarySwapSafetyCheck) AsWaitForPrimarySwapSafetyCheck

func (wfpssc WaitForPrimarySwapSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)

AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimarySwapSafetyCheck.

func (WaitForPrimarySwapSafetyCheck) AsWaitForReconfigurationSafetyCheck

func (wfpssc WaitForPrimarySwapSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)

AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for WaitForPrimarySwapSafetyCheck.

func (WaitForPrimarySwapSafetyCheck) MarshalJSON

func (wfpssc WaitForPrimarySwapSafetyCheck) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WaitForPrimarySwapSafetyCheck.

type WaitForReconfigurationSafetyCheck

type WaitForReconfigurationSafetyCheck struct {
	// PartitionID - Id of the partition which is undergoing the safety check.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration'
	Kind KindBasicSafetyCheck `json:"Kind,omitempty"`
}

WaitForReconfigurationSafetyCheck safety check that waits for the current reconfiguration of the partition to be completed before starting an upgrade.

func (WaitForReconfigurationSafetyCheck) AsBasicPartitionSafetyCheck

func (wfrsc WaitForReconfigurationSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)

AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.

func (WaitForReconfigurationSafetyCheck) AsBasicSafetyCheck

func (wfrsc WaitForReconfigurationSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)

AsBasicSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.

func (WaitForReconfigurationSafetyCheck) AsEnsureAvailabilitySafetyCheck

func (wfrsc WaitForReconfigurationSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)

AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.

func (WaitForReconfigurationSafetyCheck) AsEnsurePartitionQurumSafetyCheck

func (wfrsc WaitForReconfigurationSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)

AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.

func (WaitForReconfigurationSafetyCheck) AsPartitionSafetyCheck

func (wfrsc WaitForReconfigurationSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)

AsPartitionSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.

func (WaitForReconfigurationSafetyCheck) AsSafetyCheck

func (wfrsc WaitForReconfigurationSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)

AsSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.

func (WaitForReconfigurationSafetyCheck) AsSeedNodeSafetyCheck

func (wfrsc WaitForReconfigurationSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)

AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.

func (WaitForReconfigurationSafetyCheck) AsWaitForInbuildReplicaSafetyCheck

func (wfrsc WaitForReconfigurationSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)

AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.

func (WaitForReconfigurationSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck

func (wfrsc WaitForReconfigurationSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)

AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.

func (WaitForReconfigurationSafetyCheck) AsWaitForPrimarySwapSafetyCheck

func (wfrsc WaitForReconfigurationSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)

AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.

func (WaitForReconfigurationSafetyCheck) AsWaitForReconfigurationSafetyCheck

func (wfrsc WaitForReconfigurationSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)

AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.

func (WaitForReconfigurationSafetyCheck) MarshalJSON

func (wfrsc WaitForReconfigurationSafetyCheck) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WaitForReconfigurationSafetyCheck.

type WaitingChaosEvent

type WaitingChaosEvent struct {
	Reason       *string    `json:"Reason,omitempty"`
	TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"`
	// Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting'
	Kind KindBasicChaosEvent `json:"Kind,omitempty"`
}

WaitingChaosEvent describes a Chaos event that gets generated when Chaos is waiting for the cluster to become ready for faulting, for example, Chaos may be waiting for the on-going upgrade to finish.

func (WaitingChaosEvent) AsBasicChaosEvent

func (wce WaitingChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)

AsBasicChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.

func (WaitingChaosEvent) AsChaosEvent

func (wce WaitingChaosEvent) AsChaosEvent() (*ChaosEvent, bool)

AsChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.

func (WaitingChaosEvent) AsExecutingFaultsChaosEvent

func (wce WaitingChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)

AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.

func (WaitingChaosEvent) AsStartedChaosEvent

func (wce WaitingChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)

AsStartedChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.

func (WaitingChaosEvent) AsStoppedChaosEvent

func (wce WaitingChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)

AsStoppedChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.

func (WaitingChaosEvent) AsTestErrorChaosEvent

func (wce WaitingChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)

AsTestErrorChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.

func (WaitingChaosEvent) AsValidationFailedChaosEvent

func (wce WaitingChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)

AsValidationFailedChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.

func (WaitingChaosEvent) AsWaitingChaosEvent

func (wce WaitingChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)

AsWaitingChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.

func (WaitingChaosEvent) MarshalJSON

func (wce WaitingChaosEvent) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WaitingChaosEvent.

type Weight

type Weight string

Weight enumerates the values for weight.

const (
	// WeightHigh ...
	WeightHigh Weight = "High"
	// WeightLow ...
	WeightLow Weight = "Low"
	// WeightMedium ...
	WeightMedium Weight = "Medium"
	// WeightZero ...
	WeightZero Weight = "Zero"
)

func PossibleWeightValues

func PossibleWeightValues() []Weight

PossibleWeightValues returns an array of possible values for the Weight const type.

type WriteStatus

type WriteStatus string

WriteStatus enumerates the values for write status.

const (
	// WriteStatusGranted ...
	WriteStatusGranted WriteStatus = "Granted"
	// WriteStatusInvalid ...
	WriteStatusInvalid WriteStatus = "Invalid"
	// WriteStatusNotPrimary ...
	WriteStatusNotPrimary WriteStatus = "NotPrimary"
	// WriteStatusNoWriteQuorum ...
	WriteStatusNoWriteQuorum WriteStatus = "NoWriteQuorum"
	// WriteStatusReconfigurationPending ...
	WriteStatusReconfigurationPending WriteStatus = "ReconfigurationPending"
)

func PossibleWriteStatusValues

func PossibleWriteStatusValues() []WriteStatus

PossibleWriteStatusValues returns an array of possible values for the WriteStatus const type.

Jump to

Keyboard shortcuts

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