servicefabric

package
v14.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

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 - Azure Active Directory metadata used for secured connection to cluster.
	Metadata *AadMetadata `json:"metadata,omitempty"`
}

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

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 - List of application capacity metric description.
	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 ApplicationDefinitionKind

type ApplicationDefinitionKind string

ApplicationDefinitionKind enumerates the values for application definition kind.

const (
	// Compose Indicates the application is defined by compose file(s). The value is 1.
	Compose ApplicationDefinitionKind = "Compose"
	// Invalid Indicates the application definition kind is invalid. All Service Fabric enumerations have the
	// invalid type. The value is 65535.
	Invalid ApplicationDefinitionKind = "Invalid"
	// ServiceFabricApplicationDescription Indicates the application is defined by a Service Fabric application
	// description. The value is 0.
	ServiceFabricApplicationDescription ApplicationDefinitionKind = "ServiceFabricApplicationDescription"
)

type ApplicationDescription

type ApplicationDescription struct {
	// Name - The name of the application, including the 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
	// TypeName - The application type name as defined in the application manifest.
	TypeName *string `json:"TypeName,omitempty"`
	// TypeVersion - The version of the application type as defined in the application manifest.
	TypeVersion *string `json:"TypeVersion,omitempty"`
	// ParameterList - List of application parameters with overridden values from their default values specified in the application manifest.
	ParameterList *[]ApplicationParameter `json:"ParameterList,omitempty"`
	// ApplicationCapacity - 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
	ApplicationCapacity *ApplicationCapacityDescription `json:"ApplicationCapacity,omitempty"`
}

ApplicationDescription describes a Service Fabric application.

type ApplicationHealth

type ApplicationHealth struct {
	autorest.Response `json:"-"`
	// Name - The name of the application, including the 'fabric:' URI scheme.
	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: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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"`
	// HealthStatistics - Shows the health statistics for all children types of the queried entity.
	HealthStatistics *HealthStatistics `json:"HealthStatistics,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 - The name of the application, including the 'fabric:' URI scheme.
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 - The name of the application, including the 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
	// AggregatedHealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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, including the 'fabric:' URI scheme.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ApplicationTypeName - The application type name as defined in the application manifest.
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `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 - The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.
	// Starting in version 6.0, hierarchical names are delimited with the "\~" character. For example, if the application name is "fabric:/myapp/app1",
	// the application identity would be "myapp\~app1" in 6.0+ and "myapp/app1" in previous versions.
	ID *string `json:"Id,omitempty"`
	// Name - The name of the application, including the 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
	// TypeName - The application type name as defined in the application manifest.
	TypeName *string `json:"TypeName,omitempty"`
	// TypeVersion - The version of the application type as defined in the application manifest.
	TypeVersion *string `json:"TypeVersion,omitempty"`
	// Status - The status of the application.
	// . Possible values include: 'ApplicationStatusInvalid', 'ApplicationStatusReady', 'ApplicationStatusUpgrading', 'ApplicationStatusCreating', 'ApplicationStatusDeleting', 'ApplicationStatusFailed'
	Status ApplicationStatus `json:"Status,omitempty"`
	// Parameters - List of application parameters with overridden values from their default values specified in the application manifest.
	Parameters *[]ApplicationParameter `json:"Parameters,omitempty"`
	// HealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `json:"HealthState,omitempty"`
	// ApplicationDefinitionKind - The mechanism used to define a Service Fabric application.
	// . Possible values include: 'Invalid', 'ServiceFabricApplicationDescription', 'Compose'
	ApplicationDefinitionKind ApplicationDefinitionKind `json:"ApplicationDefinitionKind,omitempty"`
}

ApplicationInfo information about a Service Fabric application.

type ApplicationLoadInfo

type ApplicationLoadInfo struct {
	autorest.Response `json:"-"`
	// ID - The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.
	// Starting in version 6.0, hierarchical names are delimited with the "\~" character. For example, if the application name is "fabric:/myapp/app1",
	// the application identity would be "myapp\~app1" in 6.0+ and "myapp/app1" in previous versions.
	ID *string `json:"Id,omitempty"`
	// MinimumNodes - The minimum number of nodes for this application.
	// It is the number of nodes where Service Fabric will reserve Capacity in the cluster which equals to ReservedLoad * MinimumNodes for this Application instance.
	// For applications that do not have application capacity defined this value will be zero.
	MinimumNodes *int64 `json:"MinimumNodes,omitempty"`
	// MaximumNodes - The maximum number of nodes where this application can be instantiated.
	// It is the number of nodes this application is allowed to span.
	// For applications that do not have application capacity defined this value will be zero.
	MaximumNodes *int64 `json:"MaximumNodes,omitempty"`
	// NodeCount - The number of nodes on which this application is instantiated.
	// For applications that do not have application capacity defined this value will be zero.
	NodeCount *int64 `json:"NodeCount,omitempty"`
	// ApplicationLoadMetricInformation - List of application capacity metric description.
	ApplicationLoadMetricInformation *[]ApplicationMetricDescription `json:"ApplicationLoadMetricInformation,omitempty"`
}

ApplicationLoadInfo load 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 - The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.
	// Starting in version 6.0, hierarchical names are delimited with the "\~" character. For example, if the application name is "fabric:/myapp/app1",
	// the application identity would be "myapp\~app1" in 6.0+ and "myapp/app1" in previous versions.
	ID *string `json:"Id,omitempty"`
	// Name - The name of the application, including the 'fabric:' URI scheme.
	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 ApplicationStatus

type ApplicationStatus string

ApplicationStatus enumerates the values for application status.

const (
	// ApplicationStatusCreating Indicates the application status is creating. The value is 3.
	ApplicationStatusCreating ApplicationStatus = "Creating"
	// ApplicationStatusDeleting Indicates the application status is deleting. The value is 4.
	ApplicationStatusDeleting ApplicationStatus = "Deleting"
	// ApplicationStatusFailed Indicates the creation or deletion of application was terminated due to
	// persistent failures. Another create/delete request can be accepted to resume a failed application. The
	// value is 5.
	ApplicationStatusFailed ApplicationStatus = "Failed"
	// ApplicationStatusInvalid Indicates the application status is invalid. All Service Fabric enumerations
	// have the invalid type. The value is zero.
	ApplicationStatusInvalid ApplicationStatus = "Invalid"
	// ApplicationStatusReady Indicates the application status is ready. The value is 1.
	ApplicationStatusReady ApplicationStatus = "Ready"
	// ApplicationStatusUpgrading Indicates the application status is upgrading. The value is 2.
	ApplicationStatusUpgrading ApplicationStatus = "Upgrading"
)

type ApplicationTypeApplicationsHealthEvaluation

type ApplicationTypeApplicationsHealthEvaluation struct {
	// ApplicationTypeName - The application type name as defined in the application manifest.
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 ApplicationTypeDefinitionKind

type ApplicationTypeDefinitionKind string

ApplicationTypeDefinitionKind enumerates the values for application type definition kind.

const (
	// ApplicationTypeDefinitionKindCompose Indicates the application type is defined and created implicitly as
	// part of a compose deployment. The value is 2.
	ApplicationTypeDefinitionKindCompose ApplicationTypeDefinitionKind = "Compose"
	// ApplicationTypeDefinitionKindInvalid Indicates the application type definition kind is invalid. All
	// Service Fabric enumerations have the invalid type. The value is 0.
	ApplicationTypeDefinitionKindInvalid ApplicationTypeDefinitionKind = "Invalid"
	// ApplicationTypeDefinitionKindServiceFabricApplicationPackage Indicates the application type is defined
	// and created by a Service Fabric application package provided by the user. The value is 1.
	ApplicationTypeDefinitionKindServiceFabricApplicationPackage ApplicationTypeDefinitionKind = "ServiceFabricApplicationPackage"
)

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 ApplicationTypeInfo

type ApplicationTypeInfo struct {
	// Name - The application type name as defined in the application manifest.
	Name *string `json:"Name,omitempty"`
	// Version - The version of the application type as defined in the application manifest.
	Version *string `json:"Version,omitempty"`
	// DefaultParameterList - List of application type parameters that can be overridden when creating or updating the application.
	DefaultParameterList *[]ApplicationParameter `json:"DefaultParameterList,omitempty"`
	// Status - The status of the application type.
	// . Possible values include: 'ApplicationTypeStatusInvalid', 'ApplicationTypeStatusProvisioning', 'ApplicationTypeStatusAvailable', 'ApplicationTypeStatusUnprovisioning', 'ApplicationTypeStatusFailed'
	Status ApplicationTypeStatus `json:"Status,omitempty"`
	// StatusDetails - Additional detailed information about the status of the application type.
	StatusDetails *string `json:"StatusDetails,omitempty"`
	// ApplicationTypeDefinitionKind - The mechanism used to define a Service Fabric application type.
	// . Possible values include: 'ApplicationTypeDefinitionKindInvalid', 'ApplicationTypeDefinitionKindServiceFabricApplicationPackage', 'ApplicationTypeDefinitionKindCompose'
	ApplicationTypeDefinitionKind ApplicationTypeDefinitionKind `json:"ApplicationTypeDefinitionKind,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 ApplicationTypeStatus

type ApplicationTypeStatus string

ApplicationTypeStatus enumerates the values for application type status.

const (
	// ApplicationTypeStatusAvailable Indicates that the application type is fully provisioned and is available
	// for use. An application of this type and version can be created. The value is 2.
	ApplicationTypeStatusAvailable ApplicationTypeStatus = "Available"
	// ApplicationTypeStatusFailed Indicates that the application type provisioning failed and it is
	// unavailable for use. The failure details can be obtained from the application type information query.
	// The failed application type information remains in the cluster until it is unprovisioned or
	// reprovisioned successfully. The value is 4.
	ApplicationTypeStatusFailed ApplicationTypeStatus = "Failed"
	// ApplicationTypeStatusInvalid Indicates the application type status is invalid. All Service Fabric
	// enumerations have the invalid type. The value is zero.
	ApplicationTypeStatusInvalid ApplicationTypeStatus = "Invalid"
	// ApplicationTypeStatusProvisioning Indicates that the application type is being provisioned in the
	// cluster. The value is 1.
	ApplicationTypeStatusProvisioning ApplicationTypeStatus = "Provisioning"
	// ApplicationTypeStatusUnprovisioning Indicates that the application type is in process of being
	// unprovisioned from the cluster. The value is 3.
	ApplicationTypeStatusUnprovisioning ApplicationTypeStatus = "Unprovisioning"
)

type ApplicationUpgradeDescription

type ApplicationUpgradeDescription struct {
	// Name - The name of the target application, including the 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
	// TargetApplicationTypeVersion - The target application type version (found in the application manifest) for the application upgrade.
	TargetApplicationTypeVersion *string `json:"TargetApplicationTypeVersion,omitempty"`
	// Parameters - List of application parameters with overridden values from their default values specified in the application manifest.
	Parameters *[]ApplicationParameter `json:"Parameters,omitempty"`
	// UpgradeKind - The kind of upgrade out of the following possible values. Possible values include: 'UpgradeKindInvalid', 'UpgradeKindRolling'
	UpgradeKind UpgradeKind `json:"UpgradeKind,omitempty"`
	// RollingUpgradeMode - The mode used to monitor health during a rolling upgrade. Possible values include: 'UpgradeModeInvalid', 'UpgradeModeUnmonitoredAuto', 'UpgradeModeUnmonitoredManual', 'UpgradeModeMonitored'
	RollingUpgradeMode UpgradeMode `json:"RollingUpgradeMode,omitempty"`
	// UpgradeReplicaSetCheckTimeoutInSeconds - The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).
	UpgradeReplicaSetCheckTimeoutInSeconds *int64 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	// ForceRestart - If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).
	ForceRestart *bool `json:"ForceRestart,omitempty"`
	// MonitoringPolicy - Describes the parameters for monitoring an upgrade in Monitored mode.
	MonitoringPolicy *MonitoringPolicyDescription `json:"MonitoringPolicy,omitempty"`
	// ApplicationHealthPolicy - Defines a health policy used to evaluate the health of an application or one of its children entities.
	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 - The name of the target application, including the 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
	// TypeName - The application type name as defined in the application manifest.
	TypeName *string `json:"TypeName,omitempty"`
	// TargetApplicationTypeVersion - The target application type version (found in the application manifest) for the application upgrade.
	TargetApplicationTypeVersion *string `json:"TargetApplicationTypeVersion,omitempty"`
	// UpgradeDomains - List of upgrade domains and their statuses.
	UpgradeDomains *[]UpgradeDomainInfo `json:"UpgradeDomains,omitempty"`
	// UpgradeState - The state of the upgrade domain. Possible values include: 'UpgradeStateInvalid', 'UpgradeStateRollingBackInProgress', 'UpgradeStateRollingBackCompleted', 'UpgradeStateRollingForwardPending', 'UpgradeStateRollingForwardInProgress', 'UpgradeStateRollingForwardCompleted', 'UpgradeStateFailed'
	UpgradeState UpgradeState `json:"UpgradeState,omitempty"`
	// NextUpgradeDomain - The name of the next upgrade domain to be processed.
	NextUpgradeDomain *string `json:"NextUpgradeDomain,omitempty"`
	// RollingUpgradeMode - The mode used to monitor health during a rolling upgrade. Possible values include: 'UpgradeModeInvalid', 'UpgradeModeUnmonitoredAuto', 'UpgradeModeUnmonitoredManual', 'UpgradeModeMonitored'
	RollingUpgradeMode UpgradeMode `json:"RollingUpgradeMode,omitempty"`
	// UpgradeDescription - 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.
	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 - List of health evaluations that resulted in the current aggregated health state.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// CurrentUpgradeDomainProgress - Information about the current in-progress upgrade domain.
	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 - The cause of an upgrade failure that resulted in FailureAction being executed. Possible values include: 'None', 'Interrupted', 'HealthCheck', 'UpgradeDomainTimeout', 'OverallUpgradeTimeout'
	FailureReason FailureReason `json:"FailureReason,omitempty"`
	// UpgradeDomainProgressAtFailure - Information about the upgrade domain progress at the time of upgrade failure.
	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 - The name of the application, including the 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
	// UpgradeKind - The kind of upgrade out of the following possible values. Possible values include: 'UpgradeKindInvalid', 'UpgradeKindRolling'
	UpgradeKind UpgradeKind `json:"UpgradeKind,omitempty"`
	// ApplicationHealthPolicy - Defines a health policy used to evaluate the health of an application or one of its children entities.
	ApplicationHealthPolicy *ApplicationHealthPolicy `json:"ApplicationHealthPolicy,omitempty"`
	// UpdateDescription - Describes the parameters for updating a rolling upgrade of application or cluster.
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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.

operationID is a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API force is indicates whether to gracefully rollback and clean up internal system state modified by executing the user-induced operation. timeout is 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) CancelRepairTask

func (client BaseClient) CancelRepairTask(ctx context.Context, repairTaskCancelDescription RepairTaskCancelDescription) (result RepairTaskUpdateInfo, err error)

CancelRepairTask this API supports the Service Fabric platform; it is not meant to be used directly from your code.

repairTaskCancelDescription is describes the repair task to be cancelled.

func (BaseClient) CancelRepairTaskPreparer

func (client BaseClient) CancelRepairTaskPreparer(ctx context.Context, repairTaskCancelDescription RepairTaskCancelDescription) (*http.Request, error)

CancelRepairTaskPreparer prepares the CancelRepairTask request.

func (BaseClient) CancelRepairTaskResponder

func (client BaseClient) CancelRepairTaskResponder(resp *http.Response) (result RepairTaskUpdateInfo, err error)

CancelRepairTaskResponder handles the response to the CancelRepairTask request. The method always closes the http.Response Body.

func (BaseClient) CancelRepairTaskSender

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

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

func (BaseClient) CommitImageStoreUploadSession

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

CommitImageStoreUploadSession when all file chunks have been uploaded, the upload session needs to be committed explicitly to complete the upload. Image store preserves the upload session until the expiration time, which is 30 minutes after the last chunk received.

sessionID is a GUID generated by the user for a file uploading. It identifies an image store upload session which keeps track of all file chunks until it is committed. timeout is 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) CommitImageStoreUploadSessionPreparer

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

CommitImageStoreUploadSessionPreparer prepares the CommitImageStoreUploadSession request.

func (BaseClient) CommitImageStoreUploadSessionResponder

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

CommitImageStoreUploadSessionResponder handles the response to the CommitImageStoreUploadSession request. The method always closes the http.Response Body.

func (BaseClient) CommitImageStoreUploadSessionSender

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

CommitImageStoreUploadSessionSender sends the CommitImageStoreUploadSession 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.

imageStoreCopyDescription is describes the copy description for the image store. timeout is 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.

applicationDescription is description for creating an application. timeout is 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) CreateComposeDeployment

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

CreateComposeDeployment compose is a file format that describes multi-container applications. This API allows deploying container based applications defined in compose format in a Service Fabric cluster. Once the deployment is created it's status can be tracked via `GetComposeDeploymentStatus` API.

createComposeDeploymentDescription is describes the compose deployment that needs to be created. timeout is 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) CreateComposeDeploymentPreparer

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

CreateComposeDeploymentPreparer prepares the CreateComposeDeployment request.

func (BaseClient) CreateComposeDeploymentResponder

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

CreateComposeDeploymentResponder handles the response to the CreateComposeDeployment request. The method always closes the http.Response Body.

func (BaseClient) CreateComposeDeploymentSender

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

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

func (BaseClient) CreateName

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

CreateName creates the specified Service Fabric name.

nameDescription is describes the Service Fabric name to be created. timeout is 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) CreateNamePreparer

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

CreateNamePreparer prepares the CreateName request.

func (BaseClient) CreateNameResponder

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

CreateNameResponder handles the response to the CreateName request. The method always closes the http.Response Body.

func (BaseClient) CreateNameSender

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

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

func (BaseClient) CreateRepairTask

func (client BaseClient) CreateRepairTask(ctx context.Context, repairTask RepairTask) (result RepairTaskUpdateInfo, err error)

CreateRepairTask for clusters that have the Repair Manager Service configured, this API provides a way to create repair tasks that run automatically or manually. For repair tasks that run automatically, an appropriate repair executor must be running for each repair action to run automatically. These are currently only available in specially-configured Azure Cloud Services.

To create a manual repair task, provide the set of impacted node names and the expected impact. When the state of the created repair task changes to approved, you can safely perform repair actions on those nodes.

This API supports the Service Fabric platform; it is not meant to be used directly from your code.

repairTask is describes the repair task to be created or updated.

func (BaseClient) CreateRepairTaskPreparer

func (client BaseClient) CreateRepairTaskPreparer(ctx context.Context, repairTask RepairTask) (*http.Request, error)

CreateRepairTaskPreparer prepares the CreateRepairTask request.

func (BaseClient) CreateRepairTaskResponder

func (client BaseClient) CreateRepairTaskResponder(resp *http.Response) (result RepairTaskUpdateInfo, err error)

CreateRepairTaskResponder handles the response to the CreateRepairTask request. The method always closes the http.Response Body.

func (BaseClient) CreateRepairTaskSender

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

CreateRepairTaskSender sends the CreateRepairTask 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 this api allows creating a new Service Fabric stateless or stateful service under a specified Service Fabric application. The description for creating the service includes partitioning information and optional properties for placement and load balancing. Some of the properties can later be modified using `UpdateService` API.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. serviceDescription is the information necessary to create a service. timeout is 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. A service template contains the properties that will be same for the service instance of the same type. The API allows overriding the properties that are usually different for different services of the same service type.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. serviceFromTemplateDescription is describes the service that needs to be created from the template defined in the application manifest. timeout is 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.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. forceRemove is 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 is 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.

contentPath is relative path to file or folder in the image store from its root. timeout is 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) DeleteImageStoreUploadSession

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

DeleteImageStoreUploadSession the DELETE request will cause the existing upload session to expire and remove any previously uploaded file chunks.

sessionID is a GUID generated by the user for a file uploading. It identifies an image store upload session which keeps track of all file chunks until it is committed. timeout is 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) DeleteImageStoreUploadSessionPreparer

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

DeleteImageStoreUploadSessionPreparer prepares the DeleteImageStoreUploadSession request.

func (BaseClient) DeleteImageStoreUploadSessionResponder

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

DeleteImageStoreUploadSessionResponder handles the response to the DeleteImageStoreUploadSession request. The method always closes the http.Response Body.

func (BaseClient) DeleteImageStoreUploadSessionSender

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

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

func (BaseClient) DeleteName

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

DeleteName deletes the specified Service Fabric name. A name must be created before it can be deleted. Deleting a name with child properties will fail.

nameID is the Service Fabric name, without the 'fabric:' URI scheme. timeout is 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) DeleteNamePreparer

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

DeleteNamePreparer prepares the DeleteName request.

func (BaseClient) DeleteNameResponder

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

DeleteNameResponder handles the response to the DeleteName request. The method always closes the http.Response Body.

func (BaseClient) DeleteNameSender

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

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

func (BaseClient) DeleteProperty

func (client BaseClient) DeleteProperty(ctx context.Context, nameID string, propertyName string, timeout *int64) (result autorest.Response, err error)

DeleteProperty deletes the specified Service Fabric property under a given name. A property must be created before it can be deleted.

nameID is the Service Fabric name, without the 'fabric:' URI scheme. propertyName is specifies the name of the property to get. timeout is 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) DeletePropertyPreparer

func (client BaseClient) DeletePropertyPreparer(ctx context.Context, nameID string, propertyName string, timeout *int64) (*http.Request, error)

DeletePropertyPreparer prepares the DeleteProperty request.

func (BaseClient) DeletePropertyResponder

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

DeletePropertyResponder handles the response to the DeleteProperty request. The method always closes the http.Response Body.

func (BaseClient) DeletePropertySender

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

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

func (BaseClient) DeleteRepairTask

func (client BaseClient) DeleteRepairTask(ctx context.Context, repairTaskDeleteDescription RepairTaskDeleteDescription) (result autorest.Response, err error)

DeleteRepairTask this API supports the Service Fabric platform; it is not meant to be used directly from your code.

repairTaskDeleteDescription is describes the repair task to be deleted.

func (BaseClient) DeleteRepairTaskPreparer

func (client BaseClient) DeleteRepairTaskPreparer(ctx context.Context, repairTaskDeleteDescription RepairTaskDeleteDescription) (*http.Request, error)

DeleteRepairTaskPreparer prepares the DeleteRepairTask request.

func (BaseClient) DeleteRepairTaskResponder

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

DeleteRepairTaskResponder handles the response to the DeleteRepairTask request. The method always closes the http.Response Body.

func (BaseClient) DeleteRepairTaskSender

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

DeleteRepairTaskSender sends the DeleteRepairTask 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. forceRemove is 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 is 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 this API provides a way to download code packages including the container images on a specific node outside of the normal application deployment and upgrade path. This is useful for the large code packages and container iamges to be present on the node before the actual application deployment and upgrade, thus significantly reducing the total time required for the deployment or upgrade.

nodeName is the name of the node. deployServicePackageToNodeDescription is describes information for deploying a service package to a Service Fabric node. timeout is 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.

nodeName is the name of the node. deactivationIntentDescription is describes the intent or reason for deactivating the node. timeout is 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.

nodeName is the name of the node. timeout is 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) ForceApproveRepairTask

func (client BaseClient) ForceApproveRepairTask(ctx context.Context, repairTaskApproveDescription RepairTaskApproveDescription) (result RepairTaskUpdateInfo, err error)

ForceApproveRepairTask this API supports the Service Fabric platform; it is not meant to be used directly from your code.

repairTaskApproveDescription is describes the repair task to be approved.

func (BaseClient) ForceApproveRepairTaskPreparer

func (client BaseClient) ForceApproveRepairTaskPreparer(ctx context.Context, repairTaskApproveDescription RepairTaskApproveDescription) (*http.Request, error)

ForceApproveRepairTaskPreparer prepares the ForceApproveRepairTask request.

func (BaseClient) ForceApproveRepairTaskResponder

func (client BaseClient) ForceApproveRepairTaskResponder(resp *http.Response) (result RepairTaskUpdateInfo, err error)

ForceApproveRepairTaskResponder handles the response to the ForceApproveRepairTask request. The method always closes the http.Response Body.

func (BaseClient) ForceApproveRepairTaskSender

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

ForceApproveRepairTaskSender sends the ForceApproveRepairTask 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.

timeout is 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, excludeHealthStatistics *bool, 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 health store, it will return Error.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. eventsHealthStateFilter is 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 is 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 is 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. excludeHealthStatistics is indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error. timeout is 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, excludeHealthStatistics *bool, 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, excludeHealthStatistics *bool, 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.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. eventsHealthStateFilter is 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 is 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 is 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. excludeHealthStatistics is indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error. applicationHealthPolicy is 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 is 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, excludeHealthStatistics *bool, 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.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. excludeApplicationParameters is the flag that specifies whether application parameters will be excluded from the result. timeout is 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, applicationDefinitionKindFilter *int32, applicationTypeName string, excludeApplicationParameters *bool, continuationToken string, maxResults *int64, 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. Filters ApplicationTypeName and ApplicationDefinitionKindFilter cannot be specified at the same time.

applicationDefinitionKindFilter is used to filter on ApplicationDefinitionKind which is the mechanism used to define a Service Fabric application. - Default - Default value, which performs the same function as selecting "All". The value is 0. - All - Filter that matches input with any ApplicationDefinitionKind value. The value is 65535. - ServiceFabricApplicationDescription - Filter that matches input with ApplicationDefinitionKind value ServiceFabricApplicationDescription. The value is 1. - Compose - Filter that matches input with ApplicationDefinitionKind value Compose. The value is 2. applicationTypeName is the application type name used to filter the applications to query for. This value should not contain the application type version. excludeApplicationParameters is the flag that specifies whether application parameters will be excluded from the result. continuationToken is 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 is 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 is 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, applicationDefinitionKindFilter *int32, applicationTypeName string, excludeApplicationParameters *bool, continuationToken string, maxResults *int64, 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) GetApplicationLoadInfo

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

GetApplicationLoadInfo returns the load 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, minimum nodes, maximum nodes, the number of nodes the app is occupying currently, and application load metric information about the application.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. timeout is 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) GetApplicationLoadInfoPreparer

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

GetApplicationLoadInfoPreparer prepares the GetApplicationLoadInfo request.

func (BaseClient) GetApplicationLoadInfoResponder

func (client BaseClient) GetApplicationLoadInfoResponder(resp *http.Response) (result ApplicationLoadInfo, err error)

GetApplicationLoadInfoResponder handles the response to the GetApplicationLoadInfo request. The method always closes the http.Response Body.

func (BaseClient) GetApplicationLoadInfoSender

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

GetApplicationLoadInfoSender sends the GetApplicationLoadInfo 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.

applicationTypeName is the name of the application type. applicationTypeVersion is the version of the application type. timeout is 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. timeout is 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, applicationTypeDefinitionKindFilter *int32, 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.

applicationTypeDefinitionKindFilter is used to filter on ApplicationTypeDefinitionKind which is the mechanism used to define a Service Fabric application type. - Default - Default value, which performs the same function as selecting "All". The value is 0. - All - Filter that matches input with any ApplicationTypeDefinitionKind value. The value is 65535. - ServiceFabricApplicationPackage - Filter that matches input with ApplicationTypeDefinitionKind value ServiceFabricApplicationPackage. The value is 1. - Compose - Filter that matches input with ApplicationTypeDefinitionKind value Compose. The value is 2. excludeApplicationParameters is the flag that specifies whether application parameters will be excluded from the result. continuationToken is 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 is 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 is 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, applicationTypeVersion 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.

applicationTypeName is the name of the application type. applicationTypeVersion is the version of the application type. excludeApplicationParameters is the flag that specifies whether application parameters will be excluded from the result. continuationToken is 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 is 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 is 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, applicationTypeVersion 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, applicationTypeDefinitionKindFilter *int32, 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.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. timeout is 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.

continuationToken is 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 is the Windows file time representing the start time of the time range for which a Chaos report is to be generated. Please consult [DateTime.ToFileTimeUtc Method](https://msdn.microsoft.com/en-us/library/system.datetime.tofiletimeutc(v=vs.110).aspx) for details. endTimeUtc is the Windows file time representing the end time of the time range for which a Chaos report is to be generated. Please consult [DateTime.ToFileTimeUtc Method](https://msdn.microsoft.com/en-us/library/system.datetime.tofiletimeutc(v=vs.110).aspx) for details. timeout is 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) GetClusterConfiguration

func (client BaseClient) GetClusterConfiguration(ctx context.Context, configurationAPIVersion string, timeout *int64) (result ClusterConfiguration, err error)

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

configurationAPIVersion is the API version of the Standalone cluster json configuration. timeout is 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) GetClusterConfigurationPreparer

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

GetClusterConfigurationPreparer prepares the GetClusterConfiguration request.

func (BaseClient) GetClusterConfigurationResponder

func (client BaseClient) GetClusterConfigurationResponder(resp *http.Response) (result ClusterConfiguration, err error)

GetClusterConfigurationResponder handles the response to the GetClusterConfiguration request. The method always closes the http.Response Body.

func (BaseClient) GetClusterConfigurationSender

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

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

func (BaseClient) GetClusterConfigurationUpgradeStatus

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

GetClusterConfigurationUpgradeStatus get the cluster configuration upgrade status details of a Service Fabric standalone cluster.

timeout is 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) GetClusterConfigurationUpgradeStatusPreparer

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

GetClusterConfigurationUpgradeStatusPreparer prepares the GetClusterConfigurationUpgradeStatus request.

func (BaseClient) GetClusterConfigurationUpgradeStatusResponder

func (client BaseClient) GetClusterConfigurationUpgradeStatusResponder(resp *http.Response) (result ClusterConfigurationUpgradeStatusInfo, err error)

GetClusterConfigurationUpgradeStatusResponder handles the response to the GetClusterConfigurationUpgradeStatus request. The method always closes the http.Response Body.

func (BaseClient) GetClusterConfigurationUpgradeStatusSender

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

GetClusterConfigurationUpgradeStatusSender sends the GetClusterConfigurationUpgradeStatus 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, excludeHealthStatistics *bool, includeSystemApplicationHealthStatistics *bool, 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.

nodesHealthStateFilter is 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 is 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 is 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. excludeHealthStatistics is indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error. includeSystemApplicationHealthStatistics is indicates whether the health statistics should include the fabric:/System application health statistics. False by default. If IncludeSystemApplicationHealthStatistics is set to true, the health statistics include the entities that belong to the fabric:/System application. Otherwise, the query result includes health statistics only for user applications. The health statistics must be included in the query result for this parameter to be applied. timeout is 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.

timeout is 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.

clusterHealthChunkQueryDescription is 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 is 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, excludeHealthStatistics *bool, includeSystemApplicationHealthStatistics *bool, 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, excludeHealthStatistics *bool, includeSystemApplicationHealthStatistics *bool, 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.

nodesHealthStateFilter is 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 is 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 is 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. excludeHealthStatistics is indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error. includeSystemApplicationHealthStatistics is indicates whether the health statistics should include the fabric:/System application health statistics. False by default. If IncludeSystemApplicationHealthStatistics is set to true, the health statistics include the entities that belong to the fabric:/System application. Otherwise, the query result includes health statistics only for user applications. The health statistics must be included in the query result for this parameter to be applied. clusterHealthPolicies is 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 is 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, excludeHealthStatistics *bool, includeSystemApplicationHealthStatistics *bool, 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 azure 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.

timeout is 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.

timeout is 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) GetComposeDeploymentStatus

func (client BaseClient) GetComposeDeploymentStatus(ctx context.Context, deploymentName string, timeout *int64) (result ComposeDeploymentStatusInfo, err error)

GetComposeDeploymentStatus returns the status of the compose deployment 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 deployment.

deploymentName is the identity of the deployment. timeout is 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) GetComposeDeploymentStatusList

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

GetComposeDeploymentStatusList gets the status about the compose deployments 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 deployments. If the list of deployments 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.

continuationToken is 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 is 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 is 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) GetComposeDeploymentStatusListPreparer

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

GetComposeDeploymentStatusListPreparer prepares the GetComposeDeploymentStatusList request.

func (BaseClient) GetComposeDeploymentStatusListResponder

func (client BaseClient) GetComposeDeploymentStatusListResponder(resp *http.Response) (result PagedComposeDeploymentStatusInfoList, err error)

GetComposeDeploymentStatusListResponder handles the response to the GetComposeDeploymentStatusList request. The method always closes the http.Response Body.

func (BaseClient) GetComposeDeploymentStatusListSender

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

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

func (BaseClient) GetComposeDeploymentStatusPreparer

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

GetComposeDeploymentStatusPreparer prepares the GetComposeDeploymentStatus request.

func (BaseClient) GetComposeDeploymentStatusResponder

func (client BaseClient) GetComposeDeploymentStatusResponder(resp *http.Response) (result ComposeDeploymentStatusInfo, err error)

GetComposeDeploymentStatusResponder handles the response to the GetComposeDeploymentStatus request. The method always closes the http.Response Body.

func (BaseClient) GetComposeDeploymentStatusSender

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

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

func (BaseClient) GetComposeDeploymentUpgradeProgress

func (client BaseClient) GetComposeDeploymentUpgradeProgress(ctx context.Context, deploymentName string, timeout *int64) (result ComposeDeploymentUpgradeProgressInfo, err error)

GetComposeDeploymentUpgradeProgress returns the information about the state of the compose deployment upgrade along with details to aid debugging application health issues.

deploymentName is the identity of the deployment. timeout is 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) GetComposeDeploymentUpgradeProgressPreparer

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

GetComposeDeploymentUpgradeProgressPreparer prepares the GetComposeDeploymentUpgradeProgress request.

func (BaseClient) GetComposeDeploymentUpgradeProgressResponder

func (client BaseClient) GetComposeDeploymentUpgradeProgressResponder(resp *http.Response) (result ComposeDeploymentUpgradeProgressInfo, err error)

GetComposeDeploymentUpgradeProgressResponder handles the response to the GetComposeDeploymentUpgradeProgress request. The method always closes the http.Response Body.

func (BaseClient) GetComposeDeploymentUpgradeProgressSender

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

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

func (BaseClient) GetContainerLogsDeployedOnNode

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

GetContainerLogsDeployedOnNode gets the container logs for container deployed on a Service Fabric node for the given code package.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. serviceManifestName is the name of a service manifest registered as part of an application type in a Service Fabric cluster. codePackageName is the name of code package specified in service manifest registered as part of an application type in a Service Fabric cluster. tail is number of lines to fetch from tail end. timeout is 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) GetContainerLogsDeployedOnNodePreparer

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

GetContainerLogsDeployedOnNodePreparer prepares the GetContainerLogsDeployedOnNode request.

func (BaseClient) GetContainerLogsDeployedOnNodeResponder

func (client BaseClient) GetContainerLogsDeployedOnNodeResponder(resp *http.Response) (result ContainerLogs, err error)

GetContainerLogsDeployedOnNodeResponder handles the response to the GetContainerLogsDeployedOnNode request. The method always closes the http.Response Body.

func (BaseClient) GetContainerLogsDeployedOnNodeSender

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

GetContainerLogsDeployedOnNodeSender sends the GetContainerLogsDeployedOnNode 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. partitionID is the identity of the partition. operationID is a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API timeout is 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, excludeHealthStatistics *bool, 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.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. eventsHealthStateFilter is 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 is 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. excludeHealthStatistics is indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error. timeout is 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, excludeHealthStatistics *bool, 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, excludeHealthStatistics *bool, 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.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. eventsHealthStateFilter is 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 is 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 is 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. excludeHealthStatistics is indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error. timeout is 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, excludeHealthStatistics *bool, 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, includeHealthState *bool) (result DeployedApplicationInfo, err error)

GetDeployedApplicationInfo gets the information about an application deployed on a Service Fabric node. This query returns system application information if the application ID provided is for system application. Results encompass deployed applications in active, activating, and downloading states. This query requires that the node name corresponds to a node on the cluster. The query fails if the provided node name does not point to any active Service Fabric nodes on the cluster.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. timeout is 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. includeHealthState is include the health state of an entity. If this parameter is false or not specified, then the health state returned is "Unknown". When set to true, the query goes in parallel to the node and the health system service before the results are merged. As a result, the query is more expensive and may take a longer time.

func (BaseClient) GetDeployedApplicationInfoList

func (client BaseClient) GetDeployedApplicationInfoList(ctx context.Context, nodeName string, timeout *int64, includeHealthState *bool, continuationToken string, maxResults *int64) (result PagedDeployedApplicationInfoList, err error)

GetDeployedApplicationInfoList gets the list of applications deployed on a Service Fabric node. The results do not include information about deployed system applications unless explicitly queried for by ID. Results encompass deployed applications in active, activating, and downloading states. This query requires that the node name corresponds to a node on the cluster. The query fails if the provided node name does not point to any active Service Fabric nodes on the cluster.

nodeName is the name of the node. timeout is 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. includeHealthState is include the health state of an entity. If this parameter is false or not specified, then the health state returned is "Unknown". When set to true, the query goes in parallel to the node and the health system service before the results are merged. As a result, the query is more expensive and may take a longer time. continuationToken is 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 is 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.

func (BaseClient) GetDeployedApplicationInfoListPreparer

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

GetDeployedApplicationInfoListPreparer prepares the GetDeployedApplicationInfoList request.

func (BaseClient) GetDeployedApplicationInfoListResponder

func (client BaseClient) GetDeployedApplicationInfoListResponder(resp *http.Response) (result PagedDeployedApplicationInfoList, 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, includeHealthState *bool) (*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.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. serviceManifestName is the name of a service manifest registered as part of an application type in a Service Fabric cluster. codePackageName is the name of code package specified in service manifest registered as part of an application type in a Service Fabric cluster. timeout is 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.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. servicePackageName is the name of the service package. eventsHealthStateFilter is 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 is 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.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. servicePackageName is the name of the service package. eventsHealthStateFilter is 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 is 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 is 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.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. timeout is 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.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. servicePackageName is the name of the service package. timeout is 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.

nodeName is the name of the node. partitionID is the identity of the partition. replicaID is the identifier of the replica. timeout is 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) GetDeployedServiceReplicaDetailInfoByPartitionID

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

GetDeployedServiceReplicaDetailInfoByPartitionID 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.

nodeName is the name of the node. partitionID is the identity of the partition. timeout is 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) GetDeployedServiceReplicaDetailInfoByPartitionIDPreparer

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

GetDeployedServiceReplicaDetailInfoByPartitionIDPreparer prepares the GetDeployedServiceReplicaDetailInfoByPartitionID request.

func (BaseClient) GetDeployedServiceReplicaDetailInfoByPartitionIDResponder

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

GetDeployedServiceReplicaDetailInfoByPartitionIDResponder handles the response to the GetDeployedServiceReplicaDetailInfoByPartitionID request. The method always closes the http.Response Body.

func (BaseClient) GetDeployedServiceReplicaDetailInfoByPartitionIDSender

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

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

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.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. partitionID is the identity of the partition. serviceManifestName is the name of a service manifest registered as part of an application type in a Service Fabric cluster. timeout is 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 ListDeployedServiceTypeInfo, err error)

GetDeployedServiceTypeInfoByName gets the list containing the information about a specific service type 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. Each entry represents one activation of a service type, differentiated by the activation id.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. serviceTypeName is specifies the name of a Service Fabric service type. serviceManifestName is 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 is 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 ListDeployedServiceTypeInfo, 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.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. serviceManifestName is 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 is 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.

typeFilter is 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 is 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 is 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.

contentPath is relative path to file or folder in the image store from its root. timeout is 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.

timeout is 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) GetImageStoreUploadSessionByID

func (client BaseClient) GetImageStoreUploadSessionByID(ctx context.Context, sessionID uuid.UUID, timeout *int64) (result UploadSession, err error)

GetImageStoreUploadSessionByID gets the image store upload session identified by the given ID. User can query the upload session at any time during uploading.

sessionID is a GUID generated by the user for a file uploading. It identifies an image store upload session which keeps track of all file chunks until it is committed. timeout is 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) GetImageStoreUploadSessionByIDPreparer

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

GetImageStoreUploadSessionByIDPreparer prepares the GetImageStoreUploadSessionByID request.

func (BaseClient) GetImageStoreUploadSessionByIDResponder

func (client BaseClient) GetImageStoreUploadSessionByIDResponder(resp *http.Response) (result UploadSession, err error)

GetImageStoreUploadSessionByIDResponder handles the response to the GetImageStoreUploadSessionByID request. The method always closes the http.Response Body.

func (BaseClient) GetImageStoreUploadSessionByIDSender

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

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

func (BaseClient) GetImageStoreUploadSessionByPath

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

GetImageStoreUploadSessionByPath gets the image store upload session associated with the given image store relative path. User can query the upload session at any time during uploading.

contentPath is relative path to file or folder in the image store from its root. timeout is 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) GetImageStoreUploadSessionByPathPreparer

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

GetImageStoreUploadSessionByPathPreparer prepares the GetImageStoreUploadSessionByPath request.

func (BaseClient) GetImageStoreUploadSessionByPathResponder

func (client BaseClient) GetImageStoreUploadSessionByPathResponder(resp *http.Response) (result UploadSession, err error)

GetImageStoreUploadSessionByPathResponder handles the response to the GetImageStoreUploadSessionByPath request. The method always closes the http.Response Body.

func (BaseClient) GetImageStoreUploadSessionByPathSender

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

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

func (BaseClient) GetNameExistsInfo

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

GetNameExistsInfo returns whether the specified Service Fabric name exists.

nameID is the Service Fabric name, without the 'fabric:' URI scheme. timeout is 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) GetNameExistsInfoPreparer

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

GetNameExistsInfoPreparer prepares the GetNameExistsInfo request.

func (BaseClient) GetNameExistsInfoResponder

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

GetNameExistsInfoResponder handles the response to the GetNameExistsInfo request. The method always closes the http.Response Body.

func (BaseClient) GetNameExistsInfoSender

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

GetNameExistsInfoSender sends the GetNameExistsInfo 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.

nodeName is the name of the node. eventsHealthStateFilter is 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 is 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.

nodeName is the name of the node. eventsHealthStateFilter is 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 is 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 is 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 response include the name, status, id, health, uptime and other details about the node.

nodeName is the name of the node. timeout is 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 NodeStatusFilterOptionalQueryParam, timeout *int64) (result PagedNodeInfoList, err error)

GetNodeInfoList gets the list of nodes in the Service Fabric cluster. The response include the name, status, id, health, uptime and other details about the node.

continuationToken is 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 is 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. timeout is 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 NodeStatusFilterOptionalQueryParam, 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 retrieves the load information of a Service Fabric node for all the metrics that have load or capacity defined.

nodeName is the name of the node. timeout is 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.

nodeName is the name of the node. operationID is a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API timeout is 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, excludeHealthStatistics *bool, 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.

partitionID is the identity of the partition. eventsHealthStateFilter is 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 is 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. excludeHealthStatistics is indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error. timeout is 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, excludeHealthStatistics *bool, 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, excludeHealthStatistics *bool, 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.

partitionID is the identity of the partition. eventsHealthStateFilter is 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 is 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 is 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. excludeHealthStatistics is indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error. timeout is 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, excludeHealthStatistics *bool, 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.

partitionID is the identity of the partition. timeout is 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. continuationToken is 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 is 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.

partitionID is the identity of the partition. timeout is 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. partitionID is the identity of the partition. operationID is a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API timeout is 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) GetPropertyInfo

func (client BaseClient) GetPropertyInfo(ctx context.Context, nameID string, propertyName string, timeout *int64) (result PropertyInfo, err error)

GetPropertyInfo gets the specified Service Fabric property under a given name. This will always return both value and metadata.

nameID is the Service Fabric name, without the 'fabric:' URI scheme. propertyName is specifies the name of the property to get. timeout is 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) GetPropertyInfoList

func (client BaseClient) GetPropertyInfoList(ctx context.Context, nameID string, includeValues *bool, continuationToken string, timeout *int64) (result PagedPropertyInfoList, err error)

GetPropertyInfoList a Service Fabric name can have one or more named properties that stores custom information. This operation gets the information about these properties in a paged list. The information include name, value and metadata about each of the properties.

nameID is the Service Fabric name, without the 'fabric:' URI scheme. includeValues is allows specifying whether to include the values of the properties returned. True if values should be returned with the metadata; False to return only property metadata. continuationToken is 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 is 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) GetPropertyInfoListPreparer

func (client BaseClient) GetPropertyInfoListPreparer(ctx context.Context, nameID string, includeValues *bool, continuationToken string, timeout *int64) (*http.Request, error)

GetPropertyInfoListPreparer prepares the GetPropertyInfoList request.

func (BaseClient) GetPropertyInfoListResponder

func (client BaseClient) GetPropertyInfoListResponder(resp *http.Response) (result PagedPropertyInfoList, err error)

GetPropertyInfoListResponder handles the response to the GetPropertyInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetPropertyInfoListSender

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

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

func (BaseClient) GetPropertyInfoPreparer

func (client BaseClient) GetPropertyInfoPreparer(ctx context.Context, nameID string, propertyName string, timeout *int64) (*http.Request, error)

GetPropertyInfoPreparer prepares the GetPropertyInfo request.

func (BaseClient) GetPropertyInfoResponder

func (client BaseClient) GetPropertyInfoResponder(resp *http.Response) (result PropertyInfo, err error)

GetPropertyInfoResponder handles the response to the GetPropertyInfo request. The method always closes the http.Response Body.

func (BaseClient) GetPropertyInfoSender

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

GetPropertyInfoSender sends the GetPropertyInfo 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.

codeVersion is the product version of Service Fabric. timeout is 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.

configVersion is the config version of Service Fabric. timeout is 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. partitionID is the identity of the partition. operationID is a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API timeout is 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) GetRepairTaskList

func (client BaseClient) GetRepairTaskList(ctx context.Context, taskIDFilter string, stateFilter *int32, executorFilter string) (result ListRepairTask, err error)

GetRepairTaskList this API supports the Service Fabric platform; it is not meant to be used directly from your code.

taskIDFilter is the repair task ID prefix to be matched. stateFilter is a bitwise-OR of the following values, specifying which task states should be included in the result list. - 1 - Created - 2 - Claimed - 4 - Preparing - 8 - Approved - 16 - Executing - 32 - Restoring - 64 - Completed executorFilter is the name of the repair executor whose claimed tasks should be included in the list.

func (BaseClient) GetRepairTaskListPreparer

func (client BaseClient) GetRepairTaskListPreparer(ctx context.Context, taskIDFilter string, stateFilter *int32, executorFilter string) (*http.Request, error)

GetRepairTaskListPreparer prepares the GetRepairTaskList request.

func (BaseClient) GetRepairTaskListResponder

func (client BaseClient) GetRepairTaskListResponder(resp *http.Response) (result ListRepairTask, err error)

GetRepairTaskListResponder handles the response to the GetRepairTaskList request. The method always closes the http.Response Body.

func (BaseClient) GetRepairTaskListSender

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

GetRepairTaskListSender sends the GetRepairTaskList 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.

partitionID is the identity of the partition. replicaID is the identifier of the replica. eventsHealthStateFilter is 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 is 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.

partitionID is the identity of the partition. replicaID is the identifier of the replica. eventsHealthStateFilter is 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 is 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 is 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 response include the id, role, status, health, node name, uptime, and other details about the replica.

partitionID is the identity of the partition. replicaID is the identifier of the replica. continuationToken is 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 is 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.

partitionID is the identity of the partition. continuationToken is 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 is 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. timeout is 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, excludeHealthStatistics *bool, 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. eventsHealthStateFilter is 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 is 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. excludeHealthStatistics is indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error. timeout is 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, excludeHealthStatistics *bool, 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, excludeHealthStatistics *bool, 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. eventsHealthStateFilter is 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 is 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 is 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. excludeHealthStatistics is indicates whether the health statistics should be returned as part of the query result. False by default. The statistics show the number of children entities in health state Ok, Warning, and Error. timeout is 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, excludeHealthStatistics *bool, 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.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. timeout is 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.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. serviceTypeName is the service type name used to filter the services to query for. continuationToken is 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 is 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.

applicationTypeName is the name of the application type. applicationTypeVersion is the version of the application type. serviceManifestName is the name of a service manifest registered as part of an application type in a Service Fabric cluster. timeout is 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.

partitionID is the identity of the partition. timeout is 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.

applicationTypeName is the name of the application type. applicationTypeVersion is the version of the application type. timeout is 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) GetSubNameInfoList

func (client BaseClient) GetSubNameInfoList(ctx context.Context, nameID string, recursive *bool, continuationToken string, timeout *int64) (result PagedSubNameInfoList, err error)

GetSubNameInfoList enumerates all the Service Fabric names under a given name. If the subnames 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. Querying a name that doesn't exist will fail.

nameID is the Service Fabric name, without the 'fabric:' URI scheme. recursive is allows specifying that the search performed should be recursive. continuationToken is 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 is 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) GetSubNameInfoListPreparer

func (client BaseClient) GetSubNameInfoListPreparer(ctx context.Context, nameID string, recursive *bool, continuationToken string, timeout *int64) (*http.Request, error)

GetSubNameInfoListPreparer prepares the GetSubNameInfoList request.

func (BaseClient) GetSubNameInfoListResponder

func (client BaseClient) GetSubNameInfoListResponder(resp *http.Response) (result PagedSubNameInfoList, err error)

GetSubNameInfoListResponder handles the response to the GetSubNameInfoList request. The method always closes the http.Response Body.

func (BaseClient) GetSubNameInfoListSender

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

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

func (BaseClient) GetUpgradeOrchestrationServiceState

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

GetUpgradeOrchestrationServiceState get the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes.

timeout is 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) GetUpgradeOrchestrationServiceStatePreparer

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

GetUpgradeOrchestrationServiceStatePreparer prepares the GetUpgradeOrchestrationServiceState request.

func (BaseClient) GetUpgradeOrchestrationServiceStateResponder

func (client BaseClient) GetUpgradeOrchestrationServiceStateResponder(resp *http.Response) (result UpgradeOrchestrationServiceState, err error)

GetUpgradeOrchestrationServiceStateResponder handles the response to the GetUpgradeOrchestrationServiceState request. The method always closes the http.Response Body.

func (BaseClient) GetUpgradeOrchestrationServiceStateSender

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

GetUpgradeOrchestrationServiceStateSender sends the GetUpgradeOrchestrationServiceState 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 String, 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.

command is the text of the command to be invoked. The content of the command is infrastructure-specific. serviceID is 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 is 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 String, 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 String, 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.

command is the text of the command to be invoked. The content of the command is infrastructure-specific. serviceID is 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 is 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 String, 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, provisionApplicationTypeDescriptionBaseRequiredBodyParam BasicProvisionApplicationTypeDescriptionBase, timeout *int64) (result autorest.Response, err error)

ProvisionApplicationType provisions a Service Fabric application type with the cluster. This is required before any new applications can be instantiated. The provision operation can be performed either on the application package specified by the relativePathInImageStore, or by using the URI of the external .sfpkg.

provisionApplicationTypeDescriptionBaseRequiredBodyParam is the base type of provision application type description which supports either image store based provision or external store based provision. timeout is 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, provisionApplicationTypeDescriptionBaseRequiredBodyParam BasicProvisionApplicationTypeDescriptionBase, 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) ProvisionCluster

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

ProvisionCluster validate and provision the code or configuration packages of a Service Fabric cluster.

provisionFabricDescription is describes the parameters for provisioning a cluster. timeout is 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) ProvisionClusterPreparer

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

ProvisionClusterPreparer prepares the ProvisionCluster request.

func (BaseClient) ProvisionClusterResponder

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

ProvisionClusterResponder handles the response to the ProvisionCluster request. The method always closes the http.Response Body.

func (BaseClient) ProvisionClusterSender

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

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

func (BaseClient) PutProperty

func (client BaseClient) PutProperty(ctx context.Context, nameID string, propertyDescription PropertyDescription, timeout *int64) (result autorest.Response, err error)

PutProperty creates or updates the specified Service Fabric property under a given name.

nameID is the Service Fabric name, without the 'fabric:' URI scheme. propertyDescription is describes the Service Fabric property to be created. timeout is 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) PutPropertyPreparer

func (client BaseClient) PutPropertyPreparer(ctx context.Context, nameID string, propertyDescription PropertyDescription, timeout *int64) (*http.Request, error)

PutPropertyPreparer prepares the PutProperty request.

func (BaseClient) PutPropertyResponder

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

PutPropertyResponder handles the response to the PutProperty request. The method always closes the http.Response Body.

func (BaseClient) PutPropertySender

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

PutPropertySender sends the PutProperty 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.

timeout is 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.

partitionID is the identity of the partition. timeout is 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. timeout is 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.

timeout is 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) RemoveComposeDeployment

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

RemoveComposeDeployment deletes an existing Service Fabric compose deployment.

deploymentName is the identity of the deployment. timeout is 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) RemoveComposeDeploymentPreparer

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

RemoveComposeDeploymentPreparer prepares the RemoveComposeDeployment request.

func (BaseClient) RemoveComposeDeploymentResponder

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

RemoveComposeDeploymentResponder handles the response to the RemoveComposeDeployment request. The method always closes the http.Response Body.

func (BaseClient) RemoveComposeDeploymentSender

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

RemoveComposeDeploymentSender sends the RemoveComposeDeployment 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.

nodeName is the name of the node. timeout is 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.

nodeName is the name of the node. partitionID is the identity of the partition. replicaID is the identifier of the replica. forceRemove is 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 is 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, immediate *bool, 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, get application health and check that the report appears in the HealthEvents section.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. healthInformation is 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. immediate is a flag which indicates whether the report should be sent immediately. A health report is sent to a Service Fabric gateway Application, which forwards to the health store. If Immediate is set to true, the report is sent immediately from Http Gateway to the health store, regardless of the fabric client settings that the Http Gateway Application is using. This is useful for critical reports that should be sent as soon as possible. Depending on timing and other conditions, sending the report may still fail, for example if the Http Gateway is closed or the message doesn't reach the Gateway. If Immediate is set to false, the report is sent based on the health client settings from the Http Gateway. Therefore, it will be batched according to the HealthReportSendInterval configuration. This is the recommended setting because it allows the health client to optimize health reporting messages to health store as well as health report processing. By default, reports are not sent immediately. timeout is 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, immediate *bool, 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, immediate *bool, 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.

healthInformation is 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. immediate is a flag which indicates whether the report should be sent immediately. A health report is sent to a Service Fabric gateway Application, which forwards to the health store. If Immediate is set to true, the report is sent immediately from Http Gateway to the health store, regardless of the fabric client settings that the Http Gateway Application is using. This is useful for critical reports that should be sent as soon as possible. Depending on timing and other conditions, sending the report may still fail, for example if the Http Gateway is closed or the message doesn't reach the Gateway. If Immediate is set to false, the report is sent based on the health client settings from the Http Gateway. Therefore, it will be batched according to the HealthReportSendInterval configuration. This is the recommended setting because it allows the health client to optimize health reporting messages to health store as well as health report processing. By default, reports are not sent immediately. timeout is 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, immediate *bool, 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, immediate *bool, 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.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. healthInformation is 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. immediate is a flag which indicates whether the report should be sent immediately. A health report is sent to a Service Fabric gateway Application, which forwards to the health store. If Immediate is set to true, the report is sent immediately from Http Gateway to the health store, regardless of the fabric client settings that the Http Gateway Application is using. This is useful for critical reports that should be sent as soon as possible. Depending on timing and other conditions, sending the report may still fail, for example if the Http Gateway is closed or the message doesn't reach the Gateway. If Immediate is set to false, the report is sent based on the health client settings from the Http Gateway. Therefore, it will be batched according to the HealthReportSendInterval configuration. This is the recommended setting because it allows the health client to optimize health reporting messages to health store as well as health report processing. By default, reports are not sent immediately. timeout is 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, immediate *bool, 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, immediate *bool, 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.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. servicePackageName is the name of the service package. healthInformation is 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. immediate is a flag which indicates whether the report should be sent immediately. A health report is sent to a Service Fabric gateway Application, which forwards to the health store. If Immediate is set to true, the report is sent immediately from Http Gateway to the health store, regardless of the fabric client settings that the Http Gateway Application is using. This is useful for critical reports that should be sent as soon as possible. Depending on timing and other conditions, sending the report may still fail, for example if the Http Gateway is closed or the message doesn't reach the Gateway. If Immediate is set to false, the report is sent based on the health client settings from the Http Gateway. Therefore, it will be batched according to the HealthReportSendInterval configuration. This is the recommended setting because it allows the health client to optimize health reporting messages to health store as well as health report processing. By default, reports are not sent immediately. timeout is 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, immediate *bool, 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, immediate *bool, 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.

nodeName is the name of the node. healthInformation is 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. immediate is a flag which indicates whether the report should be sent immediately. A health report is sent to a Service Fabric gateway Application, which forwards to the health store. If Immediate is set to true, the report is sent immediately from Http Gateway to the health store, regardless of the fabric client settings that the Http Gateway Application is using. This is useful for critical reports that should be sent as soon as possible. Depending on timing and other conditions, sending the report may still fail, for example if the Http Gateway is closed or the message doesn't reach the Gateway. If Immediate is set to false, the report is sent based on the health client settings from the Http Gateway. Therefore, it will be batched according to the HealthReportSendInterval configuration. This is the recommended setting because it allows the health client to optimize health reporting messages to health store as well as health report processing. By default, reports are not sent immediately. timeout is 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, immediate *bool, 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, immediate *bool, 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.

partitionID is the identity of the partition. healthInformation is 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. immediate is a flag which indicates whether the report should be sent immediately. A health report is sent to a Service Fabric gateway Application, which forwards to the health store. If Immediate is set to true, the report is sent immediately from Http Gateway to the health store, regardless of the fabric client settings that the Http Gateway Application is using. This is useful for critical reports that should be sent as soon as possible. Depending on timing and other conditions, sending the report may still fail, for example if the Http Gateway is closed or the message doesn't reach the Gateway. If Immediate is set to false, the report is sent based on the health client settings from the Http Gateway. Therefore, it will be batched according to the HealthReportSendInterval configuration. This is the recommended setting because it allows the health client to optimize health reporting messages to health store as well as health report processing. By default, reports are not sent immediately. timeout is 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, immediate *bool, 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 ReplicaHealthReportServiceKindRequiredQueryParam, healthInformation HealthInformation, immediate *bool, 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.

partitionID is the identity of the partition. replicaID is the identifier of the replica. serviceKind is the kind of service replica (Stateless or Stateful) for which the health is being reported. Following are the possible values. healthInformation is 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. immediate is a flag which indicates whether the report should be sent immediately. A health report is sent to a Service Fabric gateway Application, which forwards to the health store. If Immediate is set to true, the report is sent immediately from Http Gateway to the health store, regardless of the fabric client settings that the Http Gateway Application is using. This is useful for critical reports that should be sent as soon as possible. Depending on timing and other conditions, sending the report may still fail, for example if the Http Gateway is closed or the message doesn't reach the Gateway. If Immediate is set to false, the report is sent based on the health client settings from the Http Gateway. Therefore, it will be batched according to the HealthReportSendInterval configuration. This is the recommended setting because it allows the health client to optimize health reporting messages to health store as well as health report processing. By default, reports are not sent immediately. timeout is 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 ReplicaHealthReportServiceKindRequiredQueryParam, healthInformation HealthInformation, immediate *bool, 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, immediate *bool, 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. healthInformation is 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. immediate is a flag which indicates whether the report should be sent immediately. A health report is sent to a Service Fabric gateway Application, which forwards to the health store. If Immediate is set to true, the report is sent immediately from Http Gateway to the health store, regardless of the fabric client settings that the Http Gateway Application is using. This is useful for critical reports that should be sent as soon as possible. Depending on timing and other conditions, sending the report may still fail, for example if the Http Gateway is closed or the message doesn't reach the Gateway. If Immediate is set to false, the report is sent based on the health client settings from the Http Gateway. Therefore, it will be batched according to the HealthReportSendInterval configuration. This is the recommended setting because it allows the health client to optimize health reporting messages to health store as well as health report processing. By default, reports are not sent immediately. timeout is 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, immediate *bool, 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.

partitionID is the identity of the partition. timeout is 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. partitionKeyType is 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 is partition key. This is required if the partition scheme for the service is Int64Range or Named. previousRspVersion is 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 is 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.

nodeName is the name of the node. applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. restartDeployedCodePackageDescription is describes the deployed code package on Service Fabric node to restart. timeout is 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.

nodeName is the name of the node. restartNodeDescription is the instance of the node to be restarted and a flag indicating the need to take dump of the fabric process. timeout is 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.

nodeName is the name of the node. partitionID is the identity of the partition. replicaID is the identifier of the replica. timeout is 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.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. resumeApplicationUpgradeDescription is describes the parameters for resuming an application upgrade. timeout is 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) ResumeClusterUpgrade

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

ResumeClusterUpgrade make the cluster code or configuration upgrade move on to the next upgrade domain if appropriate.

resumeClusterUpgradeDescription is describes the parameters for resuming a cluster upgrade. timeout is 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) ResumeClusterUpgradePreparer

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

ResumeClusterUpgradePreparer prepares the ResumeClusterUpgrade request.

func (BaseClient) ResumeClusterUpgradeResponder

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

ResumeClusterUpgradeResponder handles the response to the ResumeClusterUpgrade request. The method always closes the http.Response Body.

func (BaseClient) ResumeClusterUpgradeSender

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

ResumeClusterUpgradeSender sends the ResumeClusterUpgrade 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.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. timeout is 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) RollbackClusterUpgrade

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

RollbackClusterUpgrade rollback the code or configuration upgrade of a Service Fabric cluster.

timeout is 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) RollbackClusterUpgradePreparer

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

RollbackClusterUpgradePreparer prepares the RollbackClusterUpgrade request.

func (BaseClient) RollbackClusterUpgradeResponder

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

RollbackClusterUpgradeResponder handles the response to the RollbackClusterUpgrade request. The method always closes the http.Response Body.

func (BaseClient) RollbackClusterUpgradeSender

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

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

func (BaseClient) SetUpgradeOrchestrationServiceState

func (client BaseClient) SetUpgradeOrchestrationServiceState(ctx context.Context, upgradeOrchestrationServiceState UpgradeOrchestrationServiceState, timeout *int64) (result UpgradeOrchestrationServiceStateSummary, err error)

SetUpgradeOrchestrationServiceState update the service state of Service Fabric Upgrade Orchestration Service. This API is internally used for support purposes.

upgradeOrchestrationServiceState is service state of Service Fabric Upgrade Orchestration Service. timeout is 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) SetUpgradeOrchestrationServiceStatePreparer

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

SetUpgradeOrchestrationServiceStatePreparer prepares the SetUpgradeOrchestrationServiceState request.

func (BaseClient) SetUpgradeOrchestrationServiceStateResponder

func (client BaseClient) SetUpgradeOrchestrationServiceStateResponder(resp *http.Response) (result UpgradeOrchestrationServiceStateSummary, err error)

SetUpgradeOrchestrationServiceStateResponder handles the response to the SetUpgradeOrchestrationServiceState request. The method always closes the http.Response Body.

func (BaseClient) SetUpgradeOrchestrationServiceStateSender

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

SetUpgradeOrchestrationServiceStateSender sends the SetUpgradeOrchestrationServiceState 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.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. applicationUpgradeDescription is parameters for an application upgrade. timeout is 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.

chaosParameters is describes all the parameters to configure a Chaos run. timeout is 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) StartClusterConfigurationUpgrade

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

StartClusterConfigurationUpgrade validate the supplied configuration upgrade parameters and start upgrading the cluster configuration if the parameters are valid.

clusterConfigurationUpgradeDescription is parameters for a standalone cluster configuration upgrade. timeout is 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) StartClusterConfigurationUpgradePreparer

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

StartClusterConfigurationUpgradePreparer prepares the StartClusterConfigurationUpgrade request.

func (BaseClient) StartClusterConfigurationUpgradeResponder

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

StartClusterConfigurationUpgradeResponder handles the response to the StartClusterConfigurationUpgrade request. The method always closes the http.Response Body.

func (BaseClient) StartClusterConfigurationUpgradeSender

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

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

func (BaseClient) StartClusterUpgrade

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

StartClusterUpgrade validate the supplied upgrade parameters and start upgrading the code or configuration version of a Service Fabric cluster if the parameters are valid.

startClusterUpgradeDescription is describes the parameters for starting a cluster upgrade. timeout is 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) StartClusterUpgradePreparer

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

StartClusterUpgradePreparer prepares the StartClusterUpgrade request.

func (BaseClient) StartClusterUpgradeResponder

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

StartClusterUpgradeResponder handles the response to the StartClusterUpgrade request. The method always closes the http.Response Body.

func (BaseClient) StartClusterUpgradeSender

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

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

func (BaseClient) StartComposeDeploymentUpgrade

func (client BaseClient) StartComposeDeploymentUpgrade(ctx context.Context, deploymentName string, composeDeploymentUpgradeDescription ComposeDeploymentUpgradeDescription, timeout *int64) (result autorest.Response, err error)

StartComposeDeploymentUpgrade validates the supplied upgrade parameters and starts upgrading the deployment if the parameters are valid.

deploymentName is the identity of the deployment. composeDeploymentUpgradeDescription is parameters for upgrading compose deployment. timeout is 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) StartComposeDeploymentUpgradePreparer

func (client BaseClient) StartComposeDeploymentUpgradePreparer(ctx context.Context, deploymentName string, composeDeploymentUpgradeDescription ComposeDeploymentUpgradeDescription, timeout *int64) (*http.Request, error)

StartComposeDeploymentUpgradePreparer prepares the StartComposeDeploymentUpgrade request.

func (BaseClient) StartComposeDeploymentUpgradeResponder

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

StartComposeDeploymentUpgradeResponder handles the response to the StartComposeDeploymentUpgrade request. The method always closes the http.Response Body.

func (BaseClient) StartComposeDeploymentUpgradeSender

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

StartComposeDeploymentUpgradeSender sends the StartComposeDeploymentUpgrade 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 DataLossModeRequiredQueryParam, 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. partitionID is the identity of the partition. operationID is a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API dataLossMode is this enum is passed to the StartDataLoss API to indicate what type of data loss to induce. timeout is 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 DataLossModeRequiredQueryParam, 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) StartNodeTransition

func (client BaseClient) StartNodeTransition(ctx context.Context, nodeName string, operationID uuid.UUID, nodeTransitionType NodeTransitionTypeRequiredQueryParam, 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.

nodeName is the name of the node. operationID is a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API nodeTransitionType is indicates the type of transition to perform. NodeTransitionType.Start will start a stopped node. NodeTransitionType.Stop will stop a node that is up. nodeInstanceID is the node instance ID of the target node. This can be determined through GetNodeInfo API. stopDurationInSeconds is 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 is 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 NodeTransitionTypeRequiredQueryParam, 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 RestartPartitionModeRequiredQueryParam, 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. partitionID is the identity of the partition. operationID is a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API restartPartitionMode is describe which partitions to restart. timeout is 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 RestartPartitionModeRequiredQueryParam, 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 QuorumLossModeRequiredQueryParam, 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.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. partitionID is the identity of the partition. operationID is a GUID that identifies a call of this API. This is passed into the corresponding GetProgress API quorumLossMode is this enum is passed to the StartQuorumLoss API to indicate what type of quorum loss to induce. quorumLossDuration is the amount of time for which the partition will be kept in quorum loss. This must be specified in seconds. timeout is 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 QuorumLossModeRequiredQueryParam, 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.

timeout is 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) SubmitPropertyBatch

func (client BaseClient) SubmitPropertyBatch(ctx context.Context, nameID string, propertyBatchDescriptionList PropertyBatchDescriptionList, timeout *int64) (result PropertyBatchInfoModel, err error)

SubmitPropertyBatch submits a batch of property operations. Either all or none of the operations will be committed.

nameID is the Service Fabric name, without the 'fabric:' URI scheme. propertyBatchDescriptionList is describes the property batch operations to be submitted. timeout is 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) SubmitPropertyBatchPreparer

func (client BaseClient) SubmitPropertyBatchPreparer(ctx context.Context, nameID string, propertyBatchDescriptionList PropertyBatchDescriptionList, timeout *int64) (*http.Request, error)

SubmitPropertyBatchPreparer prepares the SubmitPropertyBatch request.

func (BaseClient) SubmitPropertyBatchResponder

func (client BaseClient) SubmitPropertyBatchResponder(resp *http.Response) (result PropertyBatchInfoModel, err error)

SubmitPropertyBatchResponder handles the response to the SubmitPropertyBatch request. The method always closes the http.Response Body.

func (BaseClient) SubmitPropertyBatchSender

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

SubmitPropertyBatchSender sends the SubmitPropertyBatch 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, unprovisionApplicationTypeDescriptionInfo UnprovisionApplicationTypeDescriptionInfo, 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 instances of the application type has been deleted. Once the application type is unregistered, no new application instances can be created for this particular application type.

applicationTypeName is the name of the application type. unprovisionApplicationTypeDescriptionInfo is the relative path for the application package in the image store specified during the prior copy operation. timeout is 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, unprovisionApplicationTypeDescriptionInfo UnprovisionApplicationTypeDescriptionInfo, 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) UnprovisionCluster

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

UnprovisionCluster unprovision the code or configuration packages of a Service Fabric cluster. It is supported to unprovision code and configuration separately.

unprovisionFabricDescription is describes the parameters for unprovisioning a cluster. timeout is 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) UnprovisionClusterPreparer

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

UnprovisionClusterPreparer prepares the UnprovisionCluster request.

func (BaseClient) UnprovisionClusterResponder

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

UnprovisionClusterResponder handles the response to the UnprovisionCluster request. The method always closes the http.Response Body.

func (BaseClient) UnprovisionClusterSender

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

UnprovisionClusterSender sends the UnprovisionCluster 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.

applicationID is the identity of the application. This is typically the full name of the application without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions. applicationUpgradeUpdateDescription is parameters for updating an existing application upgrade. timeout is 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) UpdateClusterUpgrade

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

UpdateClusterUpgrade update the upgrade parameters used during a Service Fabric cluster upgrade.

updateClusterUpgradeDescription is parameters for updating a cluster upgrade. timeout is 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) UpdateClusterUpgradePreparer

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

UpdateClusterUpgradePreparer prepares the UpdateClusterUpgrade request.

func (BaseClient) UpdateClusterUpgradeResponder

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

UpdateClusterUpgradeResponder handles the response to the UpdateClusterUpgrade request. The method always closes the http.Response Body.

func (BaseClient) UpdateClusterUpgradeSender

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

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

func (BaseClient) UpdateRepairExecutionState

func (client BaseClient) UpdateRepairExecutionState(ctx context.Context, repairTask RepairTask) (result RepairTaskUpdateInfo, err error)

UpdateRepairExecutionState this API supports the Service Fabric platform; it is not meant to be used directly from your code.

repairTask is describes the repair task to be created or updated.

func (BaseClient) UpdateRepairExecutionStatePreparer

func (client BaseClient) UpdateRepairExecutionStatePreparer(ctx context.Context, repairTask RepairTask) (*http.Request, error)

UpdateRepairExecutionStatePreparer prepares the UpdateRepairExecutionState request.

func (BaseClient) UpdateRepairExecutionStateResponder

func (client BaseClient) UpdateRepairExecutionStateResponder(resp *http.Response) (result RepairTaskUpdateInfo, err error)

UpdateRepairExecutionStateResponder handles the response to the UpdateRepairExecutionState request. The method always closes the http.Response Body.

func (BaseClient) UpdateRepairExecutionStateSender

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

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

func (BaseClient) UpdateRepairTaskHealthPolicy

func (client BaseClient) UpdateRepairTaskHealthPolicy(ctx context.Context, repairTaskUpdateHealthPolicyDescription RepairTaskUpdateHealthPolicyDescription) (result RepairTaskUpdateInfo, err error)

UpdateRepairTaskHealthPolicy this API supports the Service Fabric platform; it is not meant to be used directly from your code.

repairTaskUpdateHealthPolicyDescription is describes the repair task healthy policy to be updated.

func (BaseClient) UpdateRepairTaskHealthPolicyPreparer

func (client BaseClient) UpdateRepairTaskHealthPolicyPreparer(ctx context.Context, repairTaskUpdateHealthPolicyDescription RepairTaskUpdateHealthPolicyDescription) (*http.Request, error)

UpdateRepairTaskHealthPolicyPreparer prepares the UpdateRepairTaskHealthPolicy request.

func (BaseClient) UpdateRepairTaskHealthPolicyResponder

func (client BaseClient) UpdateRepairTaskHealthPolicyResponder(resp *http.Response) (result RepairTaskUpdateInfo, err error)

UpdateRepairTaskHealthPolicyResponder handles the response to the UpdateRepairTaskHealthPolicy request. The method always closes the http.Response Body.

func (BaseClient) UpdateRepairTaskHealthPolicySender

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

UpdateRepairTaskHealthPolicySender sends the UpdateRepairTaskHealthPolicy 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 this API allows updating properties of a running Service Fabric service. The set of properties that can be updated are a subset of the properties that were specified at the time of creating the service. The current set of properties can be obtained using `GetServiceDescription` API. Please note that updating the properties of a running service is different than upgrading your application using `StartApplicationUpgrade` API. The upgrade is a long running background operation that involves moving the application from one version to another, one upgrade domain at a time, whereas update applies the new properties immediately to the service.

serviceID is the identity of the service. This is typically the full name of the service without the 'fabric:' URI scheme. Starting from version 6.0, hierarchical names are delimited with the "~" character. For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions. serviceUpdateDescription is the information necessary to update a service. timeout is 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. Image store service uses a mark file to indicate the availability of the folder. The mark file is an empty file named "_.dir". The mark file is generated by the image store service when all files in a folder are uploaded. When using File-by-File approach to upload application package in REST, the image store service isn't aware of the file hierarchy of the application package; you need to create a mark file per folder and upload it last, to let the image store service know that the folder is complete.

contentPath is relative path to file or folder in the image store from its root. timeout is 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) UploadFileChunk

func (client BaseClient) UploadFileChunk(ctx context.Context, contentPath string, sessionID uuid.UUID, contentRange string, timeout *int64) (result autorest.Response, err error)

UploadFileChunk uploads a file chunk to the image store with the specified upload session ID and image store relative path. This API allows user to resume the file upload operation. user doesn't have to restart the file upload from scratch whenever there is a network interruption. Use this option if the file size is large.

To perform a resumable file upload, user need to break the file into multiple chunks and upload these chunks to the image store one-by-one. Chunks don't have to be uploaded in order. If the file represented by the image store relative path already exists, it will be overwritten when the upload session commits.

contentPath is relative path to file or folder in the image store from its root. sessionID is a GUID generated by the user for a file uploading. It identifies an image store upload session which keeps track of all file chunks until it is committed. contentRange is when uploading file chunks to the image store, the Content-Range header field need to be configured and sent with a request. The format should looks like "bytes {First-Byte-Position}-{Last-Byte-Position}/{File-Length}". For example, Content-Range:bytes 300-5000/20000 indicates that user is sending bytes 300 through 5,000 and the total file length is 20,000 bytes. timeout is 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) UploadFileChunkPreparer

func (client BaseClient) UploadFileChunkPreparer(ctx context.Context, contentPath string, sessionID uuid.UUID, contentRange string, timeout *int64) (*http.Request, error)

UploadFileChunkPreparer prepares the UploadFileChunk request.

func (BaseClient) UploadFileChunkResponder

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

UploadFileChunkResponder handles the response to the UploadFileChunk request. The method always closes the http.Response Body.

func (BaseClient) UploadFileChunkSender

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

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

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 BasicPropertyBatchInfo

type BasicPropertyBatchInfo interface {
	AsSuccessfulPropertyBatchInfo() (*SuccessfulPropertyBatchInfo, bool)
	AsFailedPropertyBatchInfo() (*FailedPropertyBatchInfo, bool)
	AsPropertyBatchInfo() (*PropertyBatchInfo, bool)
}

BasicPropertyBatchInfo information about the results of a property batch.

type BasicPropertyBatchOperation

type BasicPropertyBatchOperation interface {
	AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)
	AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)
	AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)
	AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)
	AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)
	AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)
	AsPropertyBatchOperation() (*PropertyBatchOperation, bool)
}

BasicPropertyBatchOperation represents the base type for property operations that can be put into a batch and submitted.

type BasicPropertyValue

type BasicPropertyValue interface {
	AsBinaryPropertyValue() (*BinaryPropertyValue, bool)
	AsInt64PropertyValue() (*Int64PropertyValue, bool)
	AsDoublePropertyValue() (*DoublePropertyValue, bool)
	AsStringPropertyValue() (*StringPropertyValue, bool)
	AsGUIDPropertyValue() (*GUIDPropertyValue, bool)
	AsPropertyValue() (*PropertyValue, bool)
}

BasicPropertyValue describes a Service Fabric property value.

type BasicProvisionApplicationTypeDescriptionBase

type BasicProvisionApplicationTypeDescriptionBase interface {
	AsProvisionApplicationTypeDescription() (*ProvisionApplicationTypeDescription, bool)
	AsExternalStoreProvisionApplicationTypeDescription() (*ExternalStoreProvisionApplicationTypeDescription, bool)
	AsProvisionApplicationTypeDescriptionBase() (*ProvisionApplicationTypeDescriptionBase, bool)
}

BasicProvisionApplicationTypeDescriptionBase represents the type of registration or provision requested, and if the operation needs to be asynchronous or not. Supported types of provision operations are from either image store or external store.

type BasicRepairImpactDescriptionBase

type BasicRepairImpactDescriptionBase interface {
	AsNodeRepairImpactDescription() (*NodeRepairImpactDescription, bool)
	AsRepairImpactDescriptionBase() (*RepairImpactDescriptionBase, bool)
}

BasicRepairImpactDescriptionBase describes the expected impact of executing a repair task.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

type BasicRepairTargetDescriptionBase

type BasicRepairTargetDescriptionBase interface {
	AsNodeRepairTargetDescription() (*NodeRepairTargetDescription, bool)
	AsRepairTargetDescriptionBase() (*RepairTargetDescriptionBase, bool)
}

BasicRepairTargetDescriptionBase describes the entities targeted by a repair action.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

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 availability of the service and the reliability of the state.

type BasicSecondaryReplicatorStatus

type BasicSecondaryReplicatorStatus interface {
	AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)
	AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)
	AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)
}

BasicSecondaryReplicatorStatus provides statistics about the Service Fabric Replicator, when it is functioning in a ActiveSecondary role.

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 BinaryPropertyValue

type BinaryPropertyValue struct {
	// Data - Array of bytes to be sent as an integer array. Each element of array is a number between 0 and 255.
	Data *[]int32 `json:"Data,omitempty"`
	// Kind - Possible values include: 'KindPropertyValue', 'KindBinary', 'KindInt64', 'KindDouble', 'KindString', 'KindGUID'
	Kind KindBasicPropertyValue `json:"Kind,omitempty"`
}

BinaryPropertyValue describes a Service Fabric property value of type Binary.

func (BinaryPropertyValue) AsBasicPropertyValue

func (bpv BinaryPropertyValue) AsBasicPropertyValue() (BasicPropertyValue, bool)

AsBasicPropertyValue is the BasicPropertyValue implementation for BinaryPropertyValue.

func (BinaryPropertyValue) AsBinaryPropertyValue

func (bpv BinaryPropertyValue) AsBinaryPropertyValue() (*BinaryPropertyValue, bool)

AsBinaryPropertyValue is the BasicPropertyValue implementation for BinaryPropertyValue.

func (BinaryPropertyValue) AsDoublePropertyValue

func (bpv BinaryPropertyValue) AsDoublePropertyValue() (*DoublePropertyValue, bool)

AsDoublePropertyValue is the BasicPropertyValue implementation for BinaryPropertyValue.

func (BinaryPropertyValue) AsGUIDPropertyValue

func (bpv BinaryPropertyValue) AsGUIDPropertyValue() (*GUIDPropertyValue, bool)

AsGUIDPropertyValue is the BasicPropertyValue implementation for BinaryPropertyValue.

func (BinaryPropertyValue) AsInt64PropertyValue

func (bpv BinaryPropertyValue) AsInt64PropertyValue() (*Int64PropertyValue, bool)

AsInt64PropertyValue is the BasicPropertyValue implementation for BinaryPropertyValue.

func (BinaryPropertyValue) AsPropertyValue

func (bpv BinaryPropertyValue) AsPropertyValue() (*PropertyValue, bool)

AsPropertyValue is the BasicPropertyValue implementation for BinaryPropertyValue.

func (BinaryPropertyValue) AsStringPropertyValue

func (bpv BinaryPropertyValue) AsStringPropertyValue() (*StringPropertyValue, bool)

AsStringPropertyValue is the BasicPropertyValue implementation for BinaryPropertyValue.

func (BinaryPropertyValue) MarshalJSON

func (bpv BinaryPropertyValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BinaryPropertyValue.

type ChaosContext

type ChaosContext struct {
	// Map - Describes a map that contains a collection of ChaosContextMapItem's.
	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 - The UTC timestamp when this Chaos event was generated.
	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 ChaosEventKind

type ChaosEventKind string

ChaosEventKind enumerates the values for chaos event kind.

const (
	// ChaosEventKindExecutingFaults Indicates 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.
	ChaosEventKindExecutingFaults ChaosEventKind = "ExecutingFaults"
	// ChaosEventKindInvalid Indicates an invalid Chaos event kind. All Service Fabric enumerations have the
	// invalid type.
	ChaosEventKindInvalid ChaosEventKind = "Invalid"
	// ChaosEventKindStarted Indicates a Chaos event that gets generated when Chaos is started.
	ChaosEventKindStarted ChaosEventKind = "Started"
	// ChaosEventKindStopped Indicates a Chaos event that gets generated when Chaos stops because either the
	// user issued a stop or the time to run was up.
	ChaosEventKindStopped ChaosEventKind = "Stopped"
	// ChaosEventKindTestError Indicates a Chaos event that gets generated when an unexpected event has
	// occurred in the Chaos engine, for example, due to the cluster snapshot being inconsistent, while
	// faulting a faultable entity Chaos found that the entity was already faulted.
	ChaosEventKindTestError ChaosEventKind = "TestError"
	// ChaosEventKindValidationFailed Indicates a Chaos event that gets generated when the cluster entities do
	// not become stable and healthy within ChaosParameters.MaxClusterStabilizationTimeoutInSeconds.
	ChaosEventKindValidationFailed ChaosEventKind = "ValidationFailed"
	// ChaosEventKindWaiting Indicates 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.
	ChaosEventKindWaiting ChaosEventKind = "Waiting"
)

type ChaosEventWrapper

type ChaosEventWrapper struct {
	// ChaosEvent - Represents an event generated during a Chaos run.
	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).
	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 - 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.
	Context *ChaosContext `json:"Context,omitempty"`
	// ChaosTargetFilter - List of cluster entities to target for Chaos faults.
	// This filter can be used to target Chaos faults only to certain node types or only to certain application instances. If ChaosTargetFilter is not used, Chaos faults all cluster entities.
	// If ChaosTargetFilter is used, Chaos faults only the entities that meet the ChaosTargetFilter specification.
	ChaosTargetFilter *ChaosTargetFilter `json:"ChaosTargetFilter,omitempty"`
}

ChaosParameters defines all the parameters to configure a Chaos run.

type ChaosReport

type ChaosReport struct {
	autorest.Response `json:"-"`
	// ChaosParameters - Defines all the parameters to configure a Chaos run.
	ChaosParameters *ChaosParameters `json:"ChaosParameters,omitempty"`
	// Status - Current status of the Chaos run.
	// . Possible values include: 'StatusInvalid', 'StatusRunning', 'StatusStopped'
	Status Status `json:"Status,omitempty"`
	// ContinuationToken - The continuation token parameter is used to obtain next set of results. The continuation token 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 is not included in the response.
	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 ChaosTargetFilter

type ChaosTargetFilter struct {
	// NodeTypeInclusionList - A list of node types to include in Chaos faults.
	// All types of faults (restart node, restart code package, remove replica, restart replica, move primary, and move secondary) are enabled for the nodes of these node types.
	// If a nodetype (say NodeTypeX) does not appear in the NodeTypeInclusionList, then node level faults (like NodeRestart) will never be enabled for the nodes of
	// NodeTypeX, but code package and replica faults can still be enabled for NodeTypeX if an application in the ApplicationInclusionList.
	// happens to reside on a node of NodeTypeX.
	// At most 100 node type names can be included in this list, to increase this number, a config upgrade is required for MaxNumberOfNodeTypesInChaosEntityFilter configuration.
	NodeTypeInclusionList *[]string `json:"NodeTypeInclusionList,omitempty"`
	// ApplicationInclusionList - A list of application URI's to include in Chaos faults.
	// All replicas belonging to services of these applications are amenable to replica faults (restart replica, remove replica, move primary, and move secondary) by Chaos.
	// Chaos may restart a code package only if the code package hosts replicas of these applications only.
	// If an application does not appear in this list, it can still be faulted in some Chaos iteration if the application ends up on a node of a node type that is included in NodeTypeInclusionList.
	// However if applicationX is tied to nodeTypeY through placement constraints and applicationX is absent from ApplicationInclusionList and nodeTypeY is absent from NodeTypeInclusionList, then applicationX will never be faulted.
	// At most 1000 application names can be included in this list, to increase this number, a config upgrade is required for MaxNumberOfApplicationsInChaosEntityFilter configuration.
	ApplicationInclusionList *[]string `json:"ApplicationInclusionList,omitempty"`
}

ChaosTargetFilter defines all filters for targeted Chaos faults, for example, faulting only certain node types or faulting only certain applications. If ChaosTargetFilter is not used, Chaos faults all cluster entities. If ChaosTargetFilter is used, Chaos faults only the entities that meet the ChaosTargetFilter specification. NodeTypeInclusionList and ApplicationInclusionList allow a union semantics only. It is not possible to specify an intersection of NodeTypeInclusionList and ApplicationInclusionList. For example, it is not possible to specify "fault this application only when it is on that node type." Once an entity is included in either NodeTypeInclusionList or ApplicationInclusionList, that entity cannot be excluded using ChaosTargetFilter. Even if applicationX does not appear in ApplicationInclusionList, in some Chaos iteration applicationX can be faulted because it happens to be on a node of nodeTypeY that is included in NodeTypeInclusionList. If both NodeTypeInclusionList and ApplicationInclusionList are null or empty, an ArgumentException is thrown.

type CheckExistsPropertyBatchOperation

type CheckExistsPropertyBatchOperation struct {
	// Exists - Whether or not the property should exist for the operation to pass.
	Exists *bool `json:"Exists,omitempty"`
	// PropertyName - The name of the Service Fabric property.
	PropertyName *string `json:"PropertyName,omitempty"`
	// Kind - Possible values include: 'KindPropertyBatchOperation', 'KindCheckExists', 'KindCheckSequence', 'KindCheckValue', 'KindDelete', 'KindGet', 'KindPut'
	Kind KindBasicPropertyBatchOperation `json:"Kind,omitempty"`
}

CheckExistsPropertyBatchOperation represents a PropertyBatchOperation that compares the Boolean existence of a property with the Exists argument. The PropertyBatchOperation operation fails if the property's existence is not equal to the Exists argument. The CheckExistsPropertyBatchOperation is generally used as a precondition for the write operations in the batch. Note that if one PropertyBatchOperation in a PropertyBatch fails, the entire batch fails and cannot be committed in a transactional manner.

func (CheckExistsPropertyBatchOperation) AsBasicPropertyBatchOperation

func (cepbo CheckExistsPropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)

AsBasicPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckExistsPropertyBatchOperation.

func (CheckExistsPropertyBatchOperation) AsCheckExistsPropertyBatchOperation

func (cepbo CheckExistsPropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)

AsCheckExistsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckExistsPropertyBatchOperation.

func (CheckExistsPropertyBatchOperation) AsCheckSequencePropertyBatchOperation

func (cepbo CheckExistsPropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)

AsCheckSequencePropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckExistsPropertyBatchOperation.

func (CheckExistsPropertyBatchOperation) AsCheckValuePropertyBatchOperation

func (cepbo CheckExistsPropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)

AsCheckValuePropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckExistsPropertyBatchOperation.

func (CheckExistsPropertyBatchOperation) AsDeletePropertyBatchOperation

func (cepbo CheckExistsPropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)

AsDeletePropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckExistsPropertyBatchOperation.

func (CheckExistsPropertyBatchOperation) AsGetPropertyBatchOperation

func (cepbo CheckExistsPropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)

AsGetPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckExistsPropertyBatchOperation.

func (CheckExistsPropertyBatchOperation) AsPropertyBatchOperation

func (cepbo CheckExistsPropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)

AsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckExistsPropertyBatchOperation.

func (CheckExistsPropertyBatchOperation) AsPutPropertyBatchOperation

func (cepbo CheckExistsPropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)

AsPutPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckExistsPropertyBatchOperation.

func (CheckExistsPropertyBatchOperation) MarshalJSON

func (cepbo CheckExistsPropertyBatchOperation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CheckExistsPropertyBatchOperation.

type CheckSequencePropertyBatchOperation

type CheckSequencePropertyBatchOperation struct {
	// SequenceNumber - The expected sequence number.
	SequenceNumber *string `json:"SequenceNumber,omitempty"`
	// PropertyName - The name of the Service Fabric property.
	PropertyName *string `json:"PropertyName,omitempty"`
	// Kind - Possible values include: 'KindPropertyBatchOperation', 'KindCheckExists', 'KindCheckSequence', 'KindCheckValue', 'KindDelete', 'KindGet', 'KindPut'
	Kind KindBasicPropertyBatchOperation `json:"Kind,omitempty"`
}

CheckSequencePropertyBatchOperation compares the Sequence Number of a property with the SequenceNumber argument. A property's sequence number can be thought of as that property's version. Every time the property is modified, its sequence number is increased. The sequence number can be found in a property's metadata. The comparison fails if the sequence numbers are not equal. CheckSequencePropertyBatchOperation is generally used as a precondition for the write operations in the batch. Note that if one PropertyBatchOperation in a PropertyBatch fails, the entire batch fails and cannot be committed in a transactional manner.

func (CheckSequencePropertyBatchOperation) AsBasicPropertyBatchOperation

func (cspbo CheckSequencePropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)

AsBasicPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckSequencePropertyBatchOperation.

func (CheckSequencePropertyBatchOperation) AsCheckExistsPropertyBatchOperation

func (cspbo CheckSequencePropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)

AsCheckExistsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckSequencePropertyBatchOperation.

func (CheckSequencePropertyBatchOperation) AsCheckSequencePropertyBatchOperation

func (cspbo CheckSequencePropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)

AsCheckSequencePropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckSequencePropertyBatchOperation.

func (CheckSequencePropertyBatchOperation) AsCheckValuePropertyBatchOperation

func (cspbo CheckSequencePropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)

AsCheckValuePropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckSequencePropertyBatchOperation.

func (CheckSequencePropertyBatchOperation) AsDeletePropertyBatchOperation

func (cspbo CheckSequencePropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)

AsDeletePropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckSequencePropertyBatchOperation.

func (CheckSequencePropertyBatchOperation) AsGetPropertyBatchOperation

func (cspbo CheckSequencePropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)

AsGetPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckSequencePropertyBatchOperation.

func (CheckSequencePropertyBatchOperation) AsPropertyBatchOperation

func (cspbo CheckSequencePropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)

AsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckSequencePropertyBatchOperation.

func (CheckSequencePropertyBatchOperation) AsPutPropertyBatchOperation

func (cspbo CheckSequencePropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)

AsPutPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckSequencePropertyBatchOperation.

func (CheckSequencePropertyBatchOperation) MarshalJSON

func (cspbo CheckSequencePropertyBatchOperation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CheckSequencePropertyBatchOperation.

type CheckValuePropertyBatchOperation

type CheckValuePropertyBatchOperation struct {
	// Value - The expected property value.
	Value BasicPropertyValue `json:"Value,omitempty"`
	// PropertyName - The name of the Service Fabric property.
	PropertyName *string `json:"PropertyName,omitempty"`
	// Kind - Possible values include: 'KindPropertyBatchOperation', 'KindCheckExists', 'KindCheckSequence', 'KindCheckValue', 'KindDelete', 'KindGet', 'KindPut'
	Kind KindBasicPropertyBatchOperation `json:"Kind,omitempty"`
}

CheckValuePropertyBatchOperation represents a PropertyBatchOperation that compares the value of the property with the expected value. The CheckValuePropertyBatchOperation is generally used as a precondition for the write operations in the batch. Note that if one PropertyBatchOperation in a PropertyBatch fails, the entire batch fails and cannot be committed in a transactional manner.

func (CheckValuePropertyBatchOperation) AsBasicPropertyBatchOperation

func (cvpbo CheckValuePropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)

AsBasicPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckValuePropertyBatchOperation.

func (CheckValuePropertyBatchOperation) AsCheckExistsPropertyBatchOperation

func (cvpbo CheckValuePropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)

AsCheckExistsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckValuePropertyBatchOperation.

func (CheckValuePropertyBatchOperation) AsCheckSequencePropertyBatchOperation

func (cvpbo CheckValuePropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)

AsCheckSequencePropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckValuePropertyBatchOperation.

func (CheckValuePropertyBatchOperation) AsCheckValuePropertyBatchOperation

func (cvpbo CheckValuePropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)

AsCheckValuePropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckValuePropertyBatchOperation.

func (CheckValuePropertyBatchOperation) AsDeletePropertyBatchOperation

func (cvpbo CheckValuePropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)

AsDeletePropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckValuePropertyBatchOperation.

func (CheckValuePropertyBatchOperation) AsGetPropertyBatchOperation

func (cvpbo CheckValuePropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)

AsGetPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckValuePropertyBatchOperation.

func (CheckValuePropertyBatchOperation) AsPropertyBatchOperation

func (cvpbo CheckValuePropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)

AsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckValuePropertyBatchOperation.

func (CheckValuePropertyBatchOperation) AsPutPropertyBatchOperation

func (cvpbo CheckValuePropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)

AsPutPropertyBatchOperation is the BasicPropertyBatchOperation implementation for CheckValuePropertyBatchOperation.

func (CheckValuePropertyBatchOperation) MarshalJSON

func (cvpbo CheckValuePropertyBatchOperation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CheckValuePropertyBatchOperation.

func (*CheckValuePropertyBatchOperation) UnmarshalJSON

func (cvpbo *CheckValuePropertyBatchOperation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CheckValuePropertyBatchOperation struct.

type ClusterConfiguration

type ClusterConfiguration struct {
	autorest.Response `json:"-"`
	// ClusterConfiguration - The contents of the cluster configuration file.
	ClusterConfiguration *string `json:"ClusterConfiguration,omitempty"`
}

ClusterConfiguration information about the standalone cluster configuration.

type ClusterConfigurationUpgradeDescription

type ClusterConfigurationUpgradeDescription struct {
	// ClusterConfig - The cluster configuration.
	ClusterConfig *string `json:"ClusterConfig,omitempty"`
	// HealthCheckRetryTimeout - The length of time between attempts to perform a health checks if the application or cluster is not healthy.
	HealthCheckRetryTimeout *string `json:"HealthCheckRetryTimeout,omitempty"`
	// HealthCheckWaitDurationInSeconds - The length of time to wait after completing an upgrade domain before starting the health checks process.
	HealthCheckWaitDurationInSeconds *string `json:"HealthCheckWaitDurationInSeconds,omitempty"`
	// HealthCheckStableDurationInSeconds - The length of time that the application or cluster must remain healthy.
	HealthCheckStableDurationInSeconds *string `json:"HealthCheckStableDurationInSeconds,omitempty"`
	// UpgradeDomainTimeoutInSeconds - The timeout for the upgrade domain.
	UpgradeDomainTimeoutInSeconds *string `json:"UpgradeDomainTimeoutInSeconds,omitempty"`
	// UpgradeTimeoutInSeconds - The upgrade timeout.
	UpgradeTimeoutInSeconds *string `json:"UpgradeTimeoutInSeconds,omitempty"`
	// MaxPercentUnhealthyApplications - The maximum allowed percentage of unhealthy applications during the upgrade. Allowed values are integer values from zero to 100.
	MaxPercentUnhealthyApplications *int32 `json:"MaxPercentUnhealthyApplications,omitempty"`
	// MaxPercentUnhealthyNodes - The maximum allowed percentage of unhealthy nodes during the upgrade. Allowed values are integer values from zero to 100.
	MaxPercentUnhealthyNodes *int32 `json:"MaxPercentUnhealthyNodes,omitempty"`
	// MaxPercentDeltaUnhealthyNodes - The maximum allowed percentage of delta health degradation during the upgrade. Allowed values are integer values from zero to 100.
	MaxPercentDeltaUnhealthyNodes *int32 `json:"MaxPercentDeltaUnhealthyNodes,omitempty"`
	// MaxPercentUpgradeDomainDeltaUnhealthyNodes - The maximum allowed percentage of upgrade domain delta health degradation during the upgrade. Allowed values are integer values from zero to 100.
	MaxPercentUpgradeDomainDeltaUnhealthyNodes *int32 `json:"MaxPercentUpgradeDomainDeltaUnhealthyNodes,omitempty"`
}

ClusterConfigurationUpgradeDescription describes the parameters for a standalone cluster configuration upgrade.

type ClusterConfigurationUpgradeStatusInfo

type ClusterConfigurationUpgradeStatusInfo struct {
	autorest.Response `json:"-"`
	// UpgradeState - The state of the upgrade domain. Possible values include: 'UpgradeStateInvalid', 'UpgradeStateRollingBackInProgress', 'UpgradeStateRollingBackCompleted', 'UpgradeStateRollingForwardPending', 'UpgradeStateRollingForwardInProgress', 'UpgradeStateRollingForwardCompleted', 'UpgradeStateFailed'
	UpgradeState UpgradeState `json:"UpgradeState,omitempty"`
	// ProgressStatus - The cluster manifest version.
	ProgressStatus *int32 `json:"ProgressStatus,omitempty"`
	// ConfigVersion - The cluster configuration version.
	ConfigVersion *string `json:"ConfigVersion,omitempty"`
	// Details - The cluster upgrade status details.
	Details *string `json:"Details,omitempty"`
}

ClusterConfigurationUpgradeStatusInfo information about a standalone cluster configuration upgrade status.

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: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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"`
	// HealthStatistics - Shows the health statistics for all children types of the queried entity.
	HealthStatistics *HealthStatistics `json:"HealthStatistics,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: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `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 - Defines a health policy used to evaluate the health of the cluster or of a cluster node.
	ClusterHealthPolicy *ClusterHealthPolicy `json:"ClusterHealthPolicy,omitempty"`
	// ApplicationHealthPolicies - Defines the application health policy map used to evaluate the health of an application or one of its children entities.
	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 - Defines a map that contains specific application health policies for different applications.
	// Each entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health.
	// If an application is not specified in the map, the application health evaluation uses the ApplicationHealthPolicy found in its application manifest or the default application health policy (if no health policy is defined in the manifest).
	// The map is empty by default.
	ApplicationHealthPolicyMap *[]ApplicationHealthPolicyMapItem `json:"ApplicationHealthPolicyMap,omitempty"`
	// ClusterHealthPolicy - Defines a health policy used to evaluate the health of the cluster or of a cluster node.
	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 - Defines a map with max percentage unhealthy applications for specific application types.
	// Each entry specifies as key the application type name and as value an integer that represents the MaxPercentUnhealthyApplications percentage used to evaluate the applications of the specified application type.
	// The application type health policy map can be used during cluster health evaluation to describe special application types.
	// The application types included in the map are evaluated against the percentage specified in the map, and not with the global MaxPercentUnhealthyApplications defined in the cluster health policy.
	// The applications of application types specified in the map are not counted against the global pool of applications.
	// For example, if some applications of a type are critical, the cluster administrator can add an entry to the map for that application type
	// and assign it a value of 0% (that is, do not tolerate any failures).
	// All other applications can be evaluated with MaxPercentUnhealthyApplications set to 20% to tolerate some failures out of the thousands of application instances.
	// The application type health policy map is used only if the cluster manifest enables application type health evaluation using the configuration entry for HealthManager/EnableApplicationTypeHealthEvaluation.
	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 - The cluster configuration version (specified in the cluster manifest).
	ConfigVersion *string `json:"ConfigVersion,omitempty"`
	// CodeVersion - The ServiceFabric code version of the cluster.
	CodeVersion *string `json:"CodeVersion,omitempty"`
	// UpgradeKind - The kind of upgrade out of the following possible values. Possible values include: 'UpgradeKindInvalid', 'UpgradeKindRolling'
	UpgradeKind UpgradeKind `json:"UpgradeKind,omitempty"`
	// RollingUpgradeMode - The mode used to monitor health during a rolling upgrade. Possible values include: 'UpgradeModeInvalid', 'UpgradeModeUnmonitoredAuto', 'UpgradeModeUnmonitoredManual', 'UpgradeModeMonitored'
	RollingUpgradeMode UpgradeMode `json:"RollingUpgradeMode,omitempty"`
	// UpgradeReplicaSetCheckTimeoutInSeconds - The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).
	UpgradeReplicaSetCheckTimeoutInSeconds *int64 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	// ForceRestart - If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).
	ForceRestart *bool `json:"ForceRestart,omitempty"`
	// EnableDeltaHealthEvaluation - When true, enables delta health evaluation rather than absolute health evaluation after completion of each upgrade domain.
	EnableDeltaHealthEvaluation *bool `json:"EnableDeltaHealthEvaluation,omitempty"`
	// MonitoringPolicy - Describes the parameters for monitoring an upgrade in Monitored mode.
	MonitoringPolicy *MonitoringPolicyDescription `json:"MonitoringPolicy,omitempty"`
	// ClusterHealthPolicy - Defines a health policy used to evaluate the health of the cluster or of a cluster node.
	ClusterHealthPolicy *ClusterHealthPolicy `json:"ClusterHealthPolicy,omitempty"`
	// ClusterUpgradeHealthPolicy - Defines a health policy used to evaluate the health of the cluster during a cluster upgrade.
	ClusterUpgradeHealthPolicy *ClusterUpgradeHealthPolicyObject `json:"ClusterUpgradeHealthPolicy,omitempty"`
	// ApplicationHealthPolicyMap - Defines a map that contains specific application health policies for different applications.
	// Each entry specifies as key the application name and as value an ApplicationHealthPolicy used to evaluate the application health.
	// If an application is not specified in the map, the application health evaluation uses the ApplicationHealthPolicy found in its application manifest or the default application health policy (if no health policy is defined in the manifest).
	// The map is empty by default.
	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 - The ServiceFabric code version of the cluster.
	CodeVersion *string `json:"CodeVersion,omitempty"`
	// ConfigVersion - The cluster configuration version (specified in the cluster manifest).
	ConfigVersion *string `json:"ConfigVersion,omitempty"`
	// UpgradeDomains - List of upgrade domains and their statuses.
	UpgradeDomains *[]UpgradeDomainInfo `json:"UpgradeDomains,omitempty"`
	// UpgradeState - The state of the upgrade domain. Possible values include: 'UpgradeStateInvalid', 'UpgradeStateRollingBackInProgress', 'UpgradeStateRollingBackCompleted', 'UpgradeStateRollingForwardPending', 'UpgradeStateRollingForwardInProgress', 'UpgradeStateRollingForwardCompleted', 'UpgradeStateFailed'
	UpgradeState UpgradeState `json:"UpgradeState,omitempty"`
	// NextUpgradeDomain - The name of the next upgrade domain to be processed.
	NextUpgradeDomain *string `json:"NextUpgradeDomain,omitempty"`
	// RollingUpgradeMode - The mode used to monitor health during a rolling upgrade. Possible values include: 'UpgradeModeInvalid', 'UpgradeModeUnmonitoredAuto', 'UpgradeModeUnmonitoredManual', 'UpgradeModeMonitored'
	RollingUpgradeMode UpgradeMode `json:"RollingUpgradeMode,omitempty"`
	// UpgradeDescription - Represents a ServiceFabric cluster upgrade
	UpgradeDescription *ClusterUpgradeDescriptionObject `json:"UpgradeDescription,omitempty"`
	// UpgradeDurationInMilliseconds - The estimated elapsed time spent processing the current overall upgrade.
	UpgradeDurationInMilliseconds *string `json:"UpgradeDurationInMilliseconds,omitempty"`
	// UpgradeDomainDurationInMilliseconds - The estimated elapsed time spent processing the current upgrade domain.
	UpgradeDomainDurationInMilliseconds *string `json:"UpgradeDomainDurationInMilliseconds,omitempty"`
	// UnhealthyEvaluations - List of health evaluations that resulted in the current aggregated health state.
	UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"`
	// CurrentUpgradeDomainProgress - Information about the current in-progress upgrade domain.
	CurrentUpgradeDomainProgress *CurrentUpgradeDomainProgressInfo `json:"CurrentUpgradeDomainProgress,omitempty"`
	// StartTimestampUtc - The start time of the upgrade in UTC.
	StartTimestampUtc *string `json:"StartTimestampUtc,omitempty"`
	// FailureTimestampUtc - The failure time of the upgrade in UTC.
	FailureTimestampUtc *string `json:"FailureTimestampUtc,omitempty"`
	// FailureReason - The cause of an upgrade failure that resulted in FailureAction being executed. Possible values include: 'None', 'Interrupted', 'HealthCheck', 'UpgradeDomainTimeout', 'OverallUpgradeTimeout'
	FailureReason FailureReason `json:"FailureReason,omitempty"`
	// UpgradeDomainProgressAtFailure - The detailed upgrade progress for nodes in the current upgrade domain at the point of failure.
	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"
)

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 - Statistics about setup or main entry point  of a code package deployed on a Service Fabric node.
	CodePackageEntryPointStatistics *CodePackageEntryPointStatistics `json:"CodePackageEntryPointStatistics,omitempty"`
	// Status - Specifies the status of the code package entry point deployed on a Service Fabric node. Possible values include: 'EntryPointStatusInvalid', 'EntryPointStatusPending', 'EntryPointStatusStarting', 'EntryPointStatusStarted', 'EntryPointStatusStopping', 'EntryPointStatusStopped'
	Status EntryPointStatus `json:"Status,omitempty"`
	// NextActivationTime - The time (in UTC) when the entry point executable will be run next.
	NextActivationTime *date.Time `json:"NextActivationTime,omitempty"`
	// InstanceID - The instance id for current running entry point. For a code package setup entry point (if specified) runs first and after it finishes main entry point is started. Each time entry point executable is run, its instance id will change.
	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 ComposeDeploymentStatus

type ComposeDeploymentStatus string

ComposeDeploymentStatus enumerates the values for compose deployment status.

const (
	// ComposeDeploymentStatusCreating Indicates that the compose deployment is being created in background.
	// The value is 2.
	ComposeDeploymentStatusCreating ComposeDeploymentStatus = "Creating"
	// ComposeDeploymentStatusDeleting Indicates that the compose deployment is being deleted in background.
	// The value is 5.
	ComposeDeploymentStatusDeleting ComposeDeploymentStatus = "Deleting"
	// ComposeDeploymentStatusFailed Indicates that the compose deployment was terminated due to persistent
	// failures. The value is 6.
	ComposeDeploymentStatusFailed ComposeDeploymentStatus = "Failed"
	// ComposeDeploymentStatusInvalid Indicates that the compose deployment status is invalid. The value is
	// zero.
	ComposeDeploymentStatusInvalid ComposeDeploymentStatus = "Invalid"
	// ComposeDeploymentStatusProvisioning Indicates that the compose deployment is being provisioned in
	// background. The value is 1.
	ComposeDeploymentStatusProvisioning ComposeDeploymentStatus = "Provisioning"
	// ComposeDeploymentStatusReady Indicates that the compose deployment has been successfully created or
	// upgraded. The value is 3.
	ComposeDeploymentStatusReady ComposeDeploymentStatus = "Ready"
	// ComposeDeploymentStatusUnprovisioning Indicates that the compose deployment is being unprovisioned in
	// background. The value is 4.
	ComposeDeploymentStatusUnprovisioning ComposeDeploymentStatus = "Unprovisioning"
	// ComposeDeploymentStatusUpgrading Indicates that the compose deployment is being upgraded in the
	// background. The value is 7.
	ComposeDeploymentStatusUpgrading ComposeDeploymentStatus = "Upgrading"
)

type ComposeDeploymentStatusInfo

type ComposeDeploymentStatusInfo struct {
	autorest.Response `json:"-"`
	// Name - The name of the deployment.
	Name *string `json:"Name,omitempty"`
	// ApplicationName - The name of the application, including the 'fabric:' URI scheme.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// Status - The status of the compose deployment. Possible values include: 'ComposeDeploymentStatusInvalid', 'ComposeDeploymentStatusProvisioning', 'ComposeDeploymentStatusCreating', 'ComposeDeploymentStatusReady', 'ComposeDeploymentStatusUnprovisioning', 'ComposeDeploymentStatusDeleting', 'ComposeDeploymentStatusFailed', 'ComposeDeploymentStatusUpgrading'
	Status ComposeDeploymentStatus `json:"Status,omitempty"`
	// StatusDetails - The status details of compose deployment including failure message.
	StatusDetails *string `json:"StatusDetails,omitempty"`
}

ComposeDeploymentStatusInfo information about a Service Fabric compose deployment.

type ComposeDeploymentUpgradeDescription

type ComposeDeploymentUpgradeDescription struct {
	// DeploymentName - The name of the deployment.
	DeploymentName *string `json:"DeploymentName,omitempty"`
	// ComposeFileContent - The content of the compose file that describes the deployment to create.
	ComposeFileContent *string `json:"ComposeFileContent,omitempty"`
	// RegistryCredential - Credential information to connect to container registry.
	RegistryCredential *RegistryCredential `json:"RegistryCredential,omitempty"`
	// UpgradeKind - The kind of upgrade out of the following possible values. Possible values include: 'UpgradeKindInvalid', 'UpgradeKindRolling'
	UpgradeKind UpgradeKind `json:"UpgradeKind,omitempty"`
	// RollingUpgradeMode - The mode used to monitor health during a rolling upgrade. Possible values include: 'UpgradeModeInvalid', 'UpgradeModeUnmonitoredAuto', 'UpgradeModeUnmonitoredManual', 'UpgradeModeMonitored'
	RollingUpgradeMode UpgradeMode `json:"RollingUpgradeMode,omitempty"`
	// UpgradeReplicaSetCheckTimeoutInSeconds - The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).
	UpgradeReplicaSetCheckTimeoutInSeconds *int64 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	// ForceRestart - If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).
	ForceRestart *bool `json:"ForceRestart,omitempty"`
	// MonitoringPolicy - Describes the parameters for monitoring an upgrade in Monitored mode.
	MonitoringPolicy *MonitoringPolicyDescription `json:"MonitoringPolicy,omitempty"`
	// ApplicationHealthPolicy - Defines a health policy used to evaluate the health of an application or one of its children entities.
	ApplicationHealthPolicy *ApplicationHealthPolicy `json:"ApplicationHealthPolicy,omitempty"`
}

ComposeDeploymentUpgradeDescription describes the parameters for a compose deployment upgrade.

type ComposeDeploymentUpgradeProgressInfo

type ComposeDeploymentUpgradeProgressInfo struct {
	autorest.Response `json:"-"`
	// DeploymentName - The name of the target deployment.
	DeploymentName *string `json:"DeploymentName,omitempty"`
	// ApplicationName - The name of the target application, including the 'fabric:' URI scheme.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// UpgradeState - The state of the compose deployment upgrade.
	// . Possible values include: 'ComposeDeploymentUpgradeStateInvalid', 'ComposeDeploymentUpgradeStateProvisioningTarget', 'ComposeDeploymentUpgradeStateRollingForwardInProgress', 'ComposeDeploymentUpgradeStateRollingForwardPending', 'ComposeDeploymentUpgradeStateUnprovisioningCurrent', 'ComposeDeploymentUpgradeStateRollingForwardCompleted', 'ComposeDeploymentUpgradeStateRollingBackInProgress', 'ComposeDeploymentUpgradeStateUnprovisioningTarget', 'ComposeDeploymentUpgradeStateRollingBackCompleted', 'ComposeDeploymentUpgradeStateFailed'
	UpgradeState ComposeDeploymentUpgradeState `json:"UpgradeState,omitempty"`
	// UpgradeStatusDetails - Additional detailed information about the status of the pending upgrade.
	UpgradeStatusDetails *string `json:"UpgradeStatusDetails,omitempty"`
	// UpgradeKind - The kind of upgrade out of the following possible values. Possible values include: 'UpgradeKindInvalid', 'UpgradeKindRolling'
	UpgradeKind UpgradeKind `json:"UpgradeKind,omitempty"`
	// RollingUpgradeMode - The mode used to monitor health during a rolling upgrade. Possible values include: 'UpgradeModeInvalid', 'UpgradeModeUnmonitoredAuto', 'UpgradeModeUnmonitoredManual', 'UpgradeModeMonitored'
	RollingUpgradeMode UpgradeMode `json:"RollingUpgradeMode,omitempty"`
	// ForceRestart - If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).
	ForceRestart *bool `json:"ForceRestart,omitempty"`
	// UpgradeReplicaSetCheckTimeoutInSeconds - The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).
	UpgradeReplicaSetCheckTimeoutInSeconds *int64 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	// MonitoringPolicy - Describes the parameters for monitoring an upgrade in Monitored mode.
	MonitoringPolicy *MonitoringPolicyDescription `json:"MonitoringPolicy,omitempty"`
	// ApplicationHealthPolicy - Defines a health policy used to evaluate the health of an application or one of its children entities.
	ApplicationHealthPolicy *ApplicationHealthPolicy `json:"ApplicationHealthPolicy,omitempty"`
	// TargetApplicationTypeVersion - The target application type version (found in the application manifest) for the application upgrade.
	TargetApplicationTypeVersion *string `json:"TargetApplicationTypeVersion,omitempty"`
	// UpgradeDuration - The estimated amount of time that the overall upgrade elapsed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
	UpgradeDuration *string `json:"UpgradeDuration,omitempty"`
	// CurrentUpgradeDomainDuration - The estimated amount of time spent processing current Upgrade Domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
	CurrentUpgradeDomainDuration *string `json:"CurrentUpgradeDomainDuration,omitempty"`
	// ApplicationUnhealthyEvaluations - List of health evaluations that resulted in the current aggregated health state.
	ApplicationUnhealthyEvaluations *[]HealthEvaluationWrapper `json:"ApplicationUnhealthyEvaluations,omitempty"`
	// CurrentUpgradeDomainProgress - Information about the current in-progress upgrade domain.
	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 - The cause of an upgrade failure that resulted in FailureAction being executed. Possible values include: 'None', 'Interrupted', 'HealthCheck', 'UpgradeDomainTimeout', 'OverallUpgradeTimeout'
	FailureReason FailureReason `json:"FailureReason,omitempty"`
	// UpgradeDomainProgressAtFailure - Information about the upgrade domain progress at the time of upgrade failure.
	UpgradeDomainProgressAtFailure *FailureUpgradeDomainProgressInfo `json:"UpgradeDomainProgressAtFailure,omitempty"`
	// ApplicationUpgradeStatusDetails - Additional details of application upgrade including failure message.
	ApplicationUpgradeStatusDetails *string `json:"ApplicationUpgradeStatusDetails,omitempty"`
}

ComposeDeploymentUpgradeProgressInfo describes the parameters for a compose deployment upgrade.

type ComposeDeploymentUpgradeState

type ComposeDeploymentUpgradeState string

ComposeDeploymentUpgradeState enumerates the values for compose deployment upgrade state.

const (
	// ComposeDeploymentUpgradeStateFailed The upgrade has failed and is unable to execute FailureAction. The
	// value is 9.
	ComposeDeploymentUpgradeStateFailed ComposeDeploymentUpgradeState = "Failed"
	// ComposeDeploymentUpgradeStateInvalid Indicates the upgrade state is invalid. All Service Fabric
	// enumerations have the invalid type. The value is zero.
	ComposeDeploymentUpgradeStateInvalid ComposeDeploymentUpgradeState = "Invalid"
	// ComposeDeploymentUpgradeStateProvisioningTarget The upgrade is in the progress of provisioning target
	// application type version. The value is 1.
	ComposeDeploymentUpgradeStateProvisioningTarget ComposeDeploymentUpgradeState = "ProvisioningTarget"
	// ComposeDeploymentUpgradeStateRollingBackCompleted The upgrade has finished rolling back. The value is 8.
	ComposeDeploymentUpgradeStateRollingBackCompleted ComposeDeploymentUpgradeState = "RollingBackCompleted"
	// ComposeDeploymentUpgradeStateRollingBackInProgress The upgrade is rolling back to the previous version
	// but is not complete yet. The value is 6.
	ComposeDeploymentUpgradeStateRollingBackInProgress ComposeDeploymentUpgradeState = "RollingBackInProgress"
	// ComposeDeploymentUpgradeStateRollingForwardCompleted The upgrade has finished rolling forward. The value
	// is 5.
	ComposeDeploymentUpgradeStateRollingForwardCompleted ComposeDeploymentUpgradeState = "RollingForwardCompleted"
	// ComposeDeploymentUpgradeStateRollingForwardInProgress The upgrade is rolling forward to the target
	// version but is not complete yet. The value is 2.
	ComposeDeploymentUpgradeStateRollingForwardInProgress ComposeDeploymentUpgradeState = "RollingForwardInProgress"
	// ComposeDeploymentUpgradeStateRollingForwardPending The current upgrade domain has finished upgrading.
	// The overall upgrade is waiting for an explicit move next request in UnmonitoredManual mode or performing
	// health checks in Monitored mode. The value is 3
	ComposeDeploymentUpgradeStateRollingForwardPending ComposeDeploymentUpgradeState = "RollingForwardPending"
	// ComposeDeploymentUpgradeStateUnprovisioningCurrent The upgrade is in the progress of unprovisioning
	// current application type version and rolling forward to the target version is completed. The value is 4.
	ComposeDeploymentUpgradeStateUnprovisioningCurrent ComposeDeploymentUpgradeState = "UnprovisioningCurrent"
	// ComposeDeploymentUpgradeStateUnprovisioningTarget The upgrade is in the progress of unprovisioning
	// target application type version and rolling back to the current version is completed. The value is 7.
	ComposeDeploymentUpgradeStateUnprovisioningTarget ComposeDeploymentUpgradeState = "UnprovisioningTarget"
)

type ContainerLogs

type ContainerLogs struct {
	autorest.Response `json:"-"`
	// Content - Container logs.
	Content *string `json:"Content,omitempty"`
}

ContainerLogs container logs.

type CreateComposeDeploymentDescription

type CreateComposeDeploymentDescription struct {
	// DeploymentName - The name of the deployment.
	DeploymentName *string `json:"DeploymentName,omitempty"`
	// ComposeFileContent - The content of the compose file that describes the deployment to create.
	ComposeFileContent *string `json:"ComposeFileContent,omitempty"`
	// RegistryCredential - Credential information to connect to container registry.
	RegistryCredential *RegistryCredential `json:"RegistryCredential,omitempty"`
}

CreateComposeDeploymentDescription defines description for creating a Service Fabric compose deployment.

type CreateFabricDump

type CreateFabricDump string

CreateFabricDump enumerates the values for create fabric dump.

const (
	// False ...
	False CreateFabricDump = "False"
	// True ...
	True CreateFabricDump = "True"
)

type CurrentUpgradeDomainProgressInfo

type CurrentUpgradeDomainProgressInfo struct {
	// DomainName - The name of the upgrade domain
	DomainName *string `json:"DomainName,omitempty"`
	// NodeUpgradeProgressList - List of upgrading nodes and their statuses
	NodeUpgradeProgressList *[]NodeUpgradeProgressInfo `json:"NodeUpgradeProgressList,omitempty"`
}

CurrentUpgradeDomainProgressInfo information about the current in-progress upgrade domain.

type DataLossModeRequiredQueryParam

type DataLossModeRequiredQueryParam string

DataLossModeRequiredQueryParam enumerates the values for data loss mode required query param.

const (
	// DataLossModeRequiredQueryParamFullDataLoss FullDataLoss option will drop all the replicas which means
	// that all the data will be lost.
	DataLossModeRequiredQueryParamFullDataLoss DataLossModeRequiredQueryParam = "FullDataLoss"
	// DataLossModeRequiredQueryParamInvalid Reserved.  Do not pass into API.
	DataLossModeRequiredQueryParamInvalid DataLossModeRequiredQueryParam = "Invalid"
	// DataLossModeRequiredQueryParamPartialDataLoss PartialDataLoss option will cause a quorum of replicas to
	// go down, triggering an OnDataLoss event in the system for the given partition.
	DataLossModeRequiredQueryParamPartialDataLoss DataLossModeRequiredQueryParam = "PartialDataLoss"
)

type DeactivationIntent

type DeactivationIntent string

DeactivationIntent enumerates the values for deactivation intent.

const (
	// Pause Indicates that the node should be paused. The value is 1.
	Pause DeactivationIntent = "Pause"
	// RemoveData Indicates the intent is for the node to remove data. The value is 3.
	RemoveData DeactivationIntent = "RemoveData"
	// Restart Indicates that the intent is for the node to be restarted after a short period of time. The
	// value is 2.
	Restart DeactivationIntent = "Restart"
)

type DeactivationIntentDescription

type DeactivationIntentDescription struct {
	// DeactivationIntent - Describes the intent or reason for deactivating the node. The possible values are following.
	// . Possible values include: 'Pause', 'Restart', 'RemoveData'
	DeactivationIntent DeactivationIntent `json:"DeactivationIntent,omitempty"`
}

DeactivationIntentDescription describes the intent or reason for deactivating the node.

type DeletePropertyBatchOperation

type DeletePropertyBatchOperation struct {
	// PropertyName - The name of the Service Fabric property.
	PropertyName *string `json:"PropertyName,omitempty"`
	// Kind - Possible values include: 'KindPropertyBatchOperation', 'KindCheckExists', 'KindCheckSequence', 'KindCheckValue', 'KindDelete', 'KindGet', 'KindPut'
	Kind KindBasicPropertyBatchOperation `json:"Kind,omitempty"`
}

DeletePropertyBatchOperation represents a PropertyBatchOperation that deletes a specified property if it exists. Note that if one PropertyBatchOperation in a PropertyBatch fails, the entire batch fails and cannot be committed in a transactional manner.

func (DeletePropertyBatchOperation) AsBasicPropertyBatchOperation

func (dpbo DeletePropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)

AsBasicPropertyBatchOperation is the BasicPropertyBatchOperation implementation for DeletePropertyBatchOperation.

func (DeletePropertyBatchOperation) AsCheckExistsPropertyBatchOperation

func (dpbo DeletePropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)

AsCheckExistsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for DeletePropertyBatchOperation.

func (DeletePropertyBatchOperation) AsCheckSequencePropertyBatchOperation

func (dpbo DeletePropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)

AsCheckSequencePropertyBatchOperation is the BasicPropertyBatchOperation implementation for DeletePropertyBatchOperation.

func (DeletePropertyBatchOperation) AsCheckValuePropertyBatchOperation

func (dpbo DeletePropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)

AsCheckValuePropertyBatchOperation is the BasicPropertyBatchOperation implementation for DeletePropertyBatchOperation.

func (DeletePropertyBatchOperation) AsDeletePropertyBatchOperation

func (dpbo DeletePropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)

AsDeletePropertyBatchOperation is the BasicPropertyBatchOperation implementation for DeletePropertyBatchOperation.

func (DeletePropertyBatchOperation) AsGetPropertyBatchOperation

func (dpbo DeletePropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)

AsGetPropertyBatchOperation is the BasicPropertyBatchOperation implementation for DeletePropertyBatchOperation.

func (DeletePropertyBatchOperation) AsPropertyBatchOperation

func (dpbo DeletePropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)

AsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for DeletePropertyBatchOperation.

func (DeletePropertyBatchOperation) AsPutPropertyBatchOperation

func (dpbo DeletePropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)

AsPutPropertyBatchOperation is the BasicPropertyBatchOperation implementation for DeletePropertyBatchOperation.

func (DeletePropertyBatchOperation) MarshalJSON

func (dpbo DeletePropertyBatchOperation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeletePropertyBatchOperation.

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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 - The application type name as defined in the application manifest.
	ApplicationTypeName *string `json:"ApplicationTypeName,omitempty"`
	// ApplicationTypeVersion - The version of the application type as defined in the application manifest.
	ApplicationTypeVersion *string `json:"ApplicationTypeVersion,omitempty"`
	// NodeName - The name of a Service Fabric node.
	NodeName *string `json:"NodeName,omitempty"`
	// PackageSharingPolicy - List of package sharing policy information.
	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: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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"`
	// HealthStatistics - Shows the health statistics for all children types of the queried entity.
	HealthStatistics *HealthStatistics `json:"HealthStatistics,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 - The name of the application, including the 'fabric:' URI scheme.
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 - The name of the application, including the 'fabric:' URI scheme.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// AggregatedHealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 package 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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `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 - The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource.
	// Starting in version 6.0, hierarchical names are delimited with the "\~" character. For example, if the application name is "fabric:/myapp/app1",
	// the application identity would be "myapp\~app1" in 6.0+ and "myapp/app1" in previous versions.
	ID *string `json:"Id,omitempty"`
	// Name - The name of the application, including the 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
	// TypeName - The application type name as defined in the application manifest.
	TypeName *string `json:"TypeName,omitempty"`
	// Status - The status of the application deployed on the node. Following are the possible values.
	// . Possible values include: 'DeployedApplicationStatusInvalid', 'DeployedApplicationStatusDownloading', 'DeployedApplicationStatusActivating', 'DeployedApplicationStatusActive', 'DeployedApplicationStatusUpgrading', 'DeployedApplicationStatusDeactivating'
	Status DeployedApplicationStatus `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"`
	// HealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `json:"HealthState,omitempty"`
}

DeployedApplicationInfo information about application deployed on the node.

type DeployedApplicationStatus

type DeployedApplicationStatus string

DeployedApplicationStatus enumerates the values for deployed application status.

const (
	// DeployedApplicationStatusActivating Indicates that the package is activating. The value is 2.
	DeployedApplicationStatusActivating DeployedApplicationStatus = "Activating"
	// DeployedApplicationStatusActive Indicates that the package is active. The value is 3.
	DeployedApplicationStatusActive DeployedApplicationStatus = "Active"
	// DeployedApplicationStatusDeactivating Indicates that the package is deactivating. The value is 5.
	DeployedApplicationStatusDeactivating DeployedApplicationStatus = "Deactivating"
	// DeployedApplicationStatusDownloading Indicates that the package is downloading from the ImageStore. The
	// value is 1.
	DeployedApplicationStatusDownloading DeployedApplicationStatus = "Downloading"
	// DeployedApplicationStatusInvalid Indicates that deployment status is not valid. All Service Fabric
	// enumerations have the invalid type. The value is zero.
	DeployedApplicationStatusInvalid DeployedApplicationStatus = "Invalid"
	// DeployedApplicationStatusUpgrading Indicates that the package is upgrading. The value is 4.
	DeployedApplicationStatusUpgrading DeployedApplicationStatus = "Upgrading"
)

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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 - The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service
	// is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId
	// is always an empty string.
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// HostType - Specifies the type of host for main entry point of a code package as specified in service manifest. Possible values include: 'HostTypeInvalid', 'HostTypeExeHost', 'HostTypeContainerHost'
	HostType HostType `json:"HostType,omitempty"`
	// HostIsolationMode - Specifies the isolation mode of main entry point of a code package when it's host type is ContainerHost. This is specified as part of container host policies in application manifest while importing service manifest. Possible values include: 'HostIsolationModeNone', 'HostIsolationModeProcess', 'HostIsolationModeHyperV'
	HostIsolationMode HostIsolationMode `json:"HostIsolationMode,omitempty"`
	// Status - Specifies the status of a deployed application or service package on a Service Fabric node.
	// . Possible values include: 'DeploymentStatusInvalid', 'DeploymentStatusDownloading', 'DeploymentStatusActivating', 'DeploymentStatusActive', 'DeploymentStatusUpgrading', 'DeploymentStatusDeactivating'
	Status DeploymentStatus `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 - Information about setup or main entry point of a code package deployed on a Service Fabric node.
	SetupEntryPoint *CodePackageEntryPoint `json:"SetupEntryPoint,omitempty"`
	// MainEntryPoint - Information about setup or main entry point of a code package deployed on a Service Fabric node.
	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 - The name of the application, including the 'fabric:' URI scheme.
	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: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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"`
	// HealthStatistics - Shows the health statistics for all children types of the queried entity.
	HealthStatistics *HealthStatistics `json:"HealthStatistics,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 - The name of a Service Fabric node.
	NodeName *string `json:"NodeName,omitempty"`
	// ApplicationName - The name of the application, including the 'fabric:' URI scheme.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceManifestName - The 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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 - The name of the application, including the 'fabric:' URI scheme.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceManifestName - Name of the manifest describing the service package.
	ServiceManifestName *string `json:"ServiceManifestName,omitempty"`
	// ServicePackageActivationID - The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service
	// is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId
	// is always an empty string.
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// AggregatedHealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 - The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service
	// is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId
	// is always an empty string.
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// HealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `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 as specified in the service manifest.
	Name *string `json:"Name,omitempty"`
	// Version - The version of the service package specified in service manifest.
	Version *string `json:"Version,omitempty"`
	// Status - Specifies the status of a deployed application or service package on a Service Fabric node.
	// . Possible values include: 'DeploymentStatusInvalid', 'DeploymentStatusDownloading', 'DeploymentStatusActivating', 'DeploymentStatusActive', 'DeploymentStatusUpgrading', 'DeploymentStatusDeactivating'
	Status DeploymentStatus `json:"Status,omitempty"`
	// ServicePackageActivationID - The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service
	// is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId
	// is always an empty string.
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 - An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition id is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the ids of its partitions would be different.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// CurrentServiceOperation - Specifies the current active life-cycle operation on a stateful service replica or stateless service instance. Possible values include: 'ServiceOperationNameUnknown', 'ServiceOperationNameNone', 'ServiceOperationNameOpen', 'ServiceOperationNameChangeRole', 'ServiceOperationNameClose', 'ServiceOperationNameAbort'
	CurrentServiceOperation ServiceOperationName `json:"CurrentServiceOperation,omitempty"`
	// CurrentServiceOperationStartTimeUtc - The start time of the current service operation in UTC format.
	CurrentServiceOperationStartTimeUtc *date.Time `json:"CurrentServiceOperationStartTimeUtc,omitempty"`
	// ReportedLoad - List of load reported by replica.
	ReportedLoad *[]LoadMetricReportInfo `json:"ReportedLoad,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindDeployedServiceReplicaDetailInfo', 'ServiceKindStateful1', 'ServiceKindStateless1'
	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 - The full name of the service with 'fabric:' URI scheme.
	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 - An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition id is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the ids of its partitions would be different.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// ReplicaStatus - The status of a replica of a service. Possible values are following.
	//   -Invalid - Indicates the replica status is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
	//   -InBuild - The replica is being built. This means that a primary replica is seeding this replica. The value is 1.
	//   -Standby - The replica is in standby. The value is 2.
	//   -Ready - The replica is ready. The value is 3.
	//   -Down - The replica is down. The value is 4.
	//   -Dropped - Replica is dropped. This means that the replica has been removed from the replica set. If it is persisted, its state has been deleted. The value is 5.
	// . 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 - The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service
	// is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId
	// is always an empty string.
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// HostProcessID - Host process id of the process that is hosting the replica. This will be zero if the replica is down. In hyper-v containers this host process id will be from different kernel.
	HostProcessID *string `json:"HostProcessId,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicDeployedServiceReplicaInfoServiceKindDeployedServiceReplicaInfo', 'ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateful', 'ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateless'
	ServiceKind ServiceKindBasicDeployedServiceReplicaInfo `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 {
	// 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 registered the service type.
	CodePackageName *string `json:"CodePackageName,omitempty"`
	// Status - The status of the service type registration on the node. Possible values include: 'ServiceTypeRegistrationStatusInvalid', 'ServiceTypeRegistrationStatusDisabled', 'ServiceTypeRegistrationStatusEnabled', 'ServiceTypeRegistrationStatusRegistered'
	Status ServiceTypeRegistrationStatus `json:"Status,omitempty"`
	// ServicePackageActivationID - The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service
	// is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId
	// is always an empty string.
	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 a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id.
	ReplicaID *string `json:"ReplicaId,omitempty"`
	// CurrentReplicatorOperation - Specifies the operation currently being executed by the Replicator. Possible values include: 'ReplicatorOperationNameInvalid', 'ReplicatorOperationNameNone', 'ReplicatorOperationNameOpen', 'ReplicatorOperationNameChangeRole', 'ReplicatorOperationNameUpdateEpoch', 'ReplicatorOperationNameClose', 'ReplicatorOperationNameAbort', 'ReplicatorOperationNameOnDataLoss', 'ReplicatorOperationNameWaitForCatchup', 'ReplicatorOperationNameBuild'
	CurrentReplicatorOperation ReplicatorOperationName `json:"CurrentReplicatorOperation,omitempty"`
	// ReadStatus - Specifies the access status of the partition. Possible values include: 'PartitionAccessStatusInvalid', 'PartitionAccessStatusGranted', 'PartitionAccessStatusReconfigurationPending', 'PartitionAccessStatusNotPrimary', 'PartitionAccessStatusNoWriteQuorum'
	ReadStatus PartitionAccessStatus `json:"ReadStatus,omitempty"`
	// WriteStatus - Specifies the access status of the partition. Possible values include: 'PartitionAccessStatusInvalid', 'PartitionAccessStatusGranted', 'PartitionAccessStatusReconfigurationPending', 'PartitionAccessStatusNotPrimary', 'PartitionAccessStatusNoWriteQuorum'
	WriteStatus PartitionAccessStatus `json:"WriteStatus,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.
	ReplicatorStatus BasicReplicatorStatus `json:"ReplicatorStatus,omitempty"`
	// ReplicaStatus - Key value store related information for the replica.
	ReplicaStatus *KeyValueStoreReplicaStatus `json:"ReplicaStatus,omitempty"`
	// DeployedServiceReplicaQueryResult - Information about a stateful service replica deployed on a node.
	DeployedServiceReplicaQueryResult *DeployedStatefulServiceReplicaInfo `json:"DeployedServiceReplicaQueryResult,omitempty"`
	// ServiceName - Full hierarchical name of the service in URI format starting with `fabric:`.
	ServiceName *string `json:"ServiceName,omitempty"`
	// PartitionID - An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition id is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the ids of its partitions would be different.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// CurrentServiceOperation - Specifies the current active life-cycle operation on a stateful service replica or stateless service instance. Possible values include: 'ServiceOperationNameUnknown', 'ServiceOperationNameNone', 'ServiceOperationNameOpen', 'ServiceOperationNameChangeRole', 'ServiceOperationNameClose', 'ServiceOperationNameAbort'
	CurrentServiceOperation ServiceOperationName `json:"CurrentServiceOperation,omitempty"`
	// CurrentServiceOperationStartTimeUtc - The start time of the current service operation in UTC format.
	CurrentServiceOperationStartTimeUtc *date.Time `json:"CurrentServiceOperationStartTimeUtc,omitempty"`
	// ReportedLoad - List of load reported by replica.
	ReportedLoad *[]LoadMetricReportInfo `json:"ReportedLoad,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindDeployedServiceReplicaDetailInfo', 'ServiceKindStateful1', 'ServiceKindStateless1'
	ServiceKind ServiceKindBasicDeployedServiceReplicaDetailInfo `json:"ServiceKind,omitempty"`
}

DeployedStatefulServiceReplicaDetailInfo information about a stateful replica running in a code package. Please note DeployedServiceReplicaQueryResult will contain duplicate data like ServiceKind, ServiceName, PartitionId and replicaId.

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 a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id.
	ReplicaID *string `json:"ReplicaId,omitempty"`
	// ReplicaRole - The role of a replica of a stateful service. Possible values include: 'ReplicaRoleUnknown', 'ReplicaRoleNone', 'ReplicaRolePrimary', 'ReplicaRoleIdleSecondary', 'ReplicaRoleActiveSecondary'
	ReplicaRole ReplicaRole `json:"ReplicaRole,omitempty"`
	// ReconfigurationInformation - Information about current reconfiguration like phase, type, previous configuration role of replica and reconfiguration start date time.
	ReconfigurationInformation *ReconfigurationInformation `json:"ReconfigurationInformation,omitempty"`
	// ServiceName - The full name of the service with 'fabric:' URI scheme.
	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 - An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition id is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the ids of its partitions would be different.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// ReplicaStatus - The status of a replica of a service. Possible values are following.
	//   -Invalid - Indicates the replica status is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
	//   -InBuild - The replica is being built. This means that a primary replica is seeding this replica. The value is 1.
	//   -Standby - The replica is in standby. The value is 2.
	//   -Ready - The replica is ready. The value is 3.
	//   -Down - The replica is down. The value is 4.
	//   -Dropped - Replica is dropped. This means that the replica has been removed from the replica set. If it is persisted, its state has been deleted. The value is 5.
	// . 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 - The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service
	// is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId
	// is always an empty string.
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// HostProcessID - Host process id of the process that is hosting the replica. This will be zero if the replica is down. In hyper-v containers this host process id will be from different kernel.
	HostProcessID *string `json:"HostProcessId,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicDeployedServiceReplicaInfoServiceKindDeployedServiceReplicaInfo', 'ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateful', 'ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateless'
	ServiceKind ServiceKindBasicDeployedServiceReplicaInfo `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 a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId.
	InstanceID *string `json:"InstanceId,omitempty"`
	// DeployedServiceReplicaQueryResult - Information about a stateless service instance deployed on a node.
	DeployedServiceReplicaQueryResult *DeployedStatelessServiceInstanceInfo `json:"DeployedServiceReplicaQueryResult,omitempty"`
	// ServiceName - Full hierarchical name of the service in URI format starting with `fabric:`.
	ServiceName *string `json:"ServiceName,omitempty"`
	// PartitionID - An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition id is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the ids of its partitions would be different.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// CurrentServiceOperation - Specifies the current active life-cycle operation on a stateful service replica or stateless service instance. Possible values include: 'ServiceOperationNameUnknown', 'ServiceOperationNameNone', 'ServiceOperationNameOpen', 'ServiceOperationNameChangeRole', 'ServiceOperationNameClose', 'ServiceOperationNameAbort'
	CurrentServiceOperation ServiceOperationName `json:"CurrentServiceOperation,omitempty"`
	// CurrentServiceOperationStartTimeUtc - The start time of the current service operation in UTC format.
	CurrentServiceOperationStartTimeUtc *date.Time `json:"CurrentServiceOperationStartTimeUtc,omitempty"`
	// ReportedLoad - List of load reported by replica.
	ReportedLoad *[]LoadMetricReportInfo `json:"ReportedLoad,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindDeployedServiceReplicaDetailInfo', 'ServiceKindStateful1', 'ServiceKindStateless1'
	ServiceKind ServiceKindBasicDeployedServiceReplicaDetailInfo `json:"ServiceKind,omitempty"`
}

DeployedStatelessServiceInstanceDetailInfo information about a stateless instance running in a code package. Please note that DeployedServiceReplicaQueryResult will contain duplicate data like ServiceKind, ServiceName, PartitionId and InstanceId.

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 a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId.
	InstanceID *string `json:"InstanceId,omitempty"`
	// ServiceName - The full name of the service with 'fabric:' URI scheme.
	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 - An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition id is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the ids of its partitions would be different.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// ReplicaStatus - The status of a replica of a service. Possible values are following.
	//   -Invalid - Indicates the replica status is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
	//   -InBuild - The replica is being built. This means that a primary replica is seeding this replica. The value is 1.
	//   -Standby - The replica is in standby. The value is 2.
	//   -Ready - The replica is ready. The value is 3.
	//   -Down - The replica is down. The value is 4.
	//   -Dropped - Replica is dropped. This means that the replica has been removed from the replica set. If it is persisted, its state has been deleted. The value is 5.
	// . 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 - The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service
	// is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId
	// is always an empty string.
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// HostProcessID - Host process id of the process that is hosting the replica. This will be zero if the replica is down. In hyper-v containers this host process id will be from different kernel.
	HostProcessID *string `json:"HostProcessId,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicDeployedServiceReplicaInfoServiceKindDeployedServiceReplicaInfo', 'ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateful', 'ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateless'
	ServiceKind ServiceKindBasicDeployedServiceReplicaInfo `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 DeploymentStatus

type DeploymentStatus string

DeploymentStatus enumerates the values for deployment status.

const (
	// DeploymentStatusActivating Indicates the application or service package is being activated. The value is
	// 2.
	DeploymentStatusActivating DeploymentStatus = "Activating"
	// DeploymentStatusActive Indicates the application or service package is active the node. The value is 3.
	DeploymentStatusActive DeploymentStatus = "Active"
	// DeploymentStatusDeactivating Indicates the application or service package is being deactivated. The
	// value is 5.
	DeploymentStatusDeactivating DeploymentStatus = "Deactivating"
	// DeploymentStatusDownloading Indicates the application or service package is being downloaded to the node
	// from the ImageStore. The value is 1.
	DeploymentStatusDownloading DeploymentStatus = "Downloading"
	// DeploymentStatusInvalid Indicates status of the application or service package is not known or invalid.
	// The value is 0.
	DeploymentStatusInvalid DeploymentStatus = "Invalid"
	// DeploymentStatusUpgrading Indicates the application or service package is being upgraded. The value is
	// 4.
	DeploymentStatusUpgrading DeploymentStatus = "Upgrading"
)

type DoublePropertyValue

type DoublePropertyValue struct {
	// Data - The data of the property value.
	Data *float64 `json:"Data,omitempty"`
	// Kind - Possible values include: 'KindPropertyValue', 'KindBinary', 'KindInt64', 'KindDouble', 'KindString', 'KindGUID'
	Kind KindBasicPropertyValue `json:"Kind,omitempty"`
}

DoublePropertyValue describes a Service Fabric property value of type Double.

func (DoublePropertyValue) AsBasicPropertyValue

func (dpv DoublePropertyValue) AsBasicPropertyValue() (BasicPropertyValue, bool)

AsBasicPropertyValue is the BasicPropertyValue implementation for DoublePropertyValue.

func (DoublePropertyValue) AsBinaryPropertyValue

func (dpv DoublePropertyValue) AsBinaryPropertyValue() (*BinaryPropertyValue, bool)

AsBinaryPropertyValue is the BasicPropertyValue implementation for DoublePropertyValue.

func (DoublePropertyValue) AsDoublePropertyValue

func (dpv DoublePropertyValue) AsDoublePropertyValue() (*DoublePropertyValue, bool)

AsDoublePropertyValue is the BasicPropertyValue implementation for DoublePropertyValue.

func (DoublePropertyValue) AsGUIDPropertyValue

func (dpv DoublePropertyValue) AsGUIDPropertyValue() (*GUIDPropertyValue, bool)

AsGUIDPropertyValue is the BasicPropertyValue implementation for DoublePropertyValue.

func (DoublePropertyValue) AsInt64PropertyValue

func (dpv DoublePropertyValue) AsInt64PropertyValue() (*Int64PropertyValue, bool)

AsInt64PropertyValue is the BasicPropertyValue implementation for DoublePropertyValue.

func (DoublePropertyValue) AsPropertyValue

func (dpv DoublePropertyValue) AsPropertyValue() (*PropertyValue, bool)

AsPropertyValue is the BasicPropertyValue implementation for DoublePropertyValue.

func (DoublePropertyValue) AsStringPropertyValue

func (dpv DoublePropertyValue) AsStringPropertyValue() (*StringPropertyValue, bool)

AsStringPropertyValue is the BasicPropertyValue implementation for DoublePropertyValue.

func (DoublePropertyValue) MarshalJSON

func (dpv DoublePropertyValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DoublePropertyValue.

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 to ensure the availability of the partition. It waits until there are replicas available such that bringing down this replica will not cause availability 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: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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"`
	// HealthStatistics - Shows the health statistics for all children types of the queried entity.
	HealthStatistics *HealthStatistics `json:"HealthStatistics,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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `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 EntityKind

type EntityKind string

EntityKind enumerates the values for entity kind.

const (
	// EntityKindApplication Indicates the entity is a Service Fabric application. The value is 4.
	EntityKindApplication EntityKind = "Application"
	// EntityKindCluster Indicates the entity is a Service Fabric cluster. The value is 8.
	EntityKindCluster EntityKind = "Cluster"
	// EntityKindDeployedApplication Indicates the entity is a Service Fabric deployed application. The value
	// is 6.
	EntityKindDeployedApplication EntityKind = "DeployedApplication"
	// EntityKindDeployedServicePackage Indicates the entity is a Service Fabric deployed service package. The
	// value is 7.
	EntityKindDeployedServicePackage EntityKind = "DeployedServicePackage"
	// EntityKindInvalid Indicates an invalid entity kind. All Service Fabric enumerations have the invalid
	// type. The value is zero.
	EntityKindInvalid EntityKind = "Invalid"
	// EntityKindNode Indicates the entity is a Service Fabric node. The value is 1.
	EntityKindNode EntityKind = "Node"
	// EntityKindPartition Indicates the entity is a Service Fabric partition. The value is 2.
	EntityKindPartition EntityKind = "Partition"
	// EntityKindReplica Indicates the entity is a Service Fabric replica. The value is 5.
	EntityKindReplica EntityKind = "Replica"
	// EntityKindService Indicates the entity is a Service Fabric service. The value is 3.
	EntityKindService EntityKind = "Service"
)

type EntityKindHealthStateCount

type EntityKindHealthStateCount struct {
	// EntityKind - The entity kind for which health states are evaluated. Possible values include: 'EntityKindInvalid', 'EntityKindNode', 'EntityKindPartition', 'EntityKindService', 'EntityKindApplication', 'EntityKindReplica', 'EntityKindDeployedApplication', 'EntityKindDeployedServicePackage', 'EntityKindCluster'
	EntityKind EntityKind `json:"EntityKind,omitempty"`
	// HealthStateCount - The health state count for the entities of the specified kind.
	HealthStateCount *HealthStateCount `json:"HealthStateCount,omitempty"`
}

EntityKindHealthStateCount represents health state count for entities of the specified entity kind.

type EntryPointStatus

type EntryPointStatus string

EntryPointStatus enumerates the values for entry point status.

const (
	// EntryPointStatusInvalid Indicates status of entry point is not known or invalid. The value is 0.
	EntryPointStatusInvalid EntryPointStatus = "Invalid"
	// EntryPointStatusPending Indicates the entry point is scheduled to be started. The value is 1.
	EntryPointStatusPending EntryPointStatus = "Pending"
	// EntryPointStatusStarted Indicates the entry point was started successfully and is running. The value is
	// 3.
	EntryPointStatusStarted EntryPointStatus = "Started"
	// EntryPointStatusStarting Indicates the entry point is being started. The value is 2.
	EntryPointStatusStarting EntryPointStatus = "Starting"
	// EntryPointStatusStopped Indicates the entry point is not running. The value is 5.
	EntryPointStatusStopped EntryPointStatus = "Stopped"
	// EntryPointStatusStopping Indicates the entry point is being stopped. The value is 4.
	EntryPointStatusStopping EntryPointStatus = "Stopping"
)

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 - Represents health information reported on a health entity, such as cluster, application or node, with additional metadata added by the Health Manager.
	UnhealthyEvent *HealthEvent `json:"UnhealthyEvent,omitempty"`
	// AggregatedHealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 - List of string description of the faults that Chaos decided to execute in an iteration.
	Faults *[]string `json:"Faults,omitempty"`
	// TimeStampUtc - The UTC timestamp when this Chaos event was generated.
	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 ExternalStoreProvisionApplicationTypeDescription

type ExternalStoreProvisionApplicationTypeDescription struct {
	// ApplicationPackageDownloadURI - The path to the '.sfpkg' application package from where the application package can be downloaded using HTTP or HTTPS protocols. The application package can be stored in an external store that provides GET operation to download the file. Supported protocols are HTTP and HTTPS, and the path must allow READ access.
	ApplicationPackageDownloadURI *string `json:"ApplicationPackageDownloadUri,omitempty"`
	// ApplicationTypeName - The application type name represents the name of the application type found in the application manifest.
	ApplicationTypeName *string `json:"ApplicationTypeName,omitempty"`
	// ApplicationTypeVersion - The application type version represents the version of the application type found in the application manifest.
	ApplicationTypeVersion *string `json:"ApplicationTypeVersion,omitempty"`
	// Async - Indicates whether or not provisioning should occur asynchronously. When set to true, the provision operation returns when the request is accepted by the system, and the provision operation continues without any timeout limit. The default value is false. For large application packages, we recommend setting the value to true.
	Async *bool `json:"Async,omitempty"`
	// Kind - Possible values include: 'KindProvisionApplicationTypeDescriptionBase', 'KindImageStorePath', 'KindExternalStore'
	Kind KindBasicProvisionApplicationTypeDescriptionBase `json:"Kind,omitempty"`
}

ExternalStoreProvisionApplicationTypeDescription describes the operation to register or provision an application type using an application package from an external store instead of a package uploaded to the Service Fabric image store.

func (ExternalStoreProvisionApplicationTypeDescription) AsBasicProvisionApplicationTypeDescriptionBase

func (espatd ExternalStoreProvisionApplicationTypeDescription) AsBasicProvisionApplicationTypeDescriptionBase() (BasicProvisionApplicationTypeDescriptionBase, bool)

AsBasicProvisionApplicationTypeDescriptionBase is the BasicProvisionApplicationTypeDescriptionBase implementation for ExternalStoreProvisionApplicationTypeDescription.

func (ExternalStoreProvisionApplicationTypeDescription) AsExternalStoreProvisionApplicationTypeDescription

func (espatd ExternalStoreProvisionApplicationTypeDescription) AsExternalStoreProvisionApplicationTypeDescription() (*ExternalStoreProvisionApplicationTypeDescription, bool)

AsExternalStoreProvisionApplicationTypeDescription is the BasicProvisionApplicationTypeDescriptionBase implementation for ExternalStoreProvisionApplicationTypeDescription.

func (ExternalStoreProvisionApplicationTypeDescription) AsProvisionApplicationTypeDescription

func (espatd ExternalStoreProvisionApplicationTypeDescription) AsProvisionApplicationTypeDescription() (*ProvisionApplicationTypeDescription, bool)

AsProvisionApplicationTypeDescription is the BasicProvisionApplicationTypeDescriptionBase implementation for ExternalStoreProvisionApplicationTypeDescription.

func (ExternalStoreProvisionApplicationTypeDescription) AsProvisionApplicationTypeDescriptionBase

func (espatd ExternalStoreProvisionApplicationTypeDescription) AsProvisionApplicationTypeDescriptionBase() (*ProvisionApplicationTypeDescriptionBase, bool)

AsProvisionApplicationTypeDescriptionBase is the BasicProvisionApplicationTypeDescriptionBase implementation for ExternalStoreProvisionApplicationTypeDescription.

func (ExternalStoreProvisionApplicationTypeDescription) MarshalJSON

MarshalJSON is the custom marshaler for ExternalStoreProvisionApplicationTypeDescription.

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 - Error object containing error code and error message.
	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 - Defines the fabric error codes that be returned as part of the error object in response to Service Fabric API operations that are not successful. Following are the error code values that can be returned for a specific HTTP status code.
	//   - Possible values of the error code for HTTP status code 400 (Bad Request)
	//     - "FABRIC_E_INVALID_PARTITION_KEY"
	//     - "FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR"
	//     - "FABRIC_E_INVALID_ADDRESS"
	//     - "FABRIC_E_APPLICATION_NOT_UPGRADING"
	//     - "FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR"
	//     - "FABRIC_E_FABRIC_NOT_UPGRADING"
	//     - "FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR"
	//     - "FABRIC_E_INVALID_CONFIGURATION"
	//     - "FABRIC_E_INVALID_NAME_URI"
	//     - "FABRIC_E_PATH_TOO_LONG"
	//     - "FABRIC_E_KEY_TOO_LARGE"
	//     - "FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED"
	//     - "FABRIC_E_INVALID_ATOMIC_GROUP"
	//     - "FABRIC_E_VALUE_EMPTY"
	//   - Possible values of the error code for HTTP status code 404 (Not Found)
	//     - "FABRIC_E_NODE_NOT_FOUND"
	//     - "FABRIC_E_APPLICATION_TYPE_NOT_FOUND"
	//     - "FABRIC_E_APPLICATION_NOT_FOUND"
	//     - "FABRIC_E_SERVICE_TYPE_NOT_FOUND"
	//     - "FABRIC_E_SERVICE_DOES_NOT_EXIST"
	//     - "FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND"
	//     - "FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND"
	//     - "FABRIC_E_PARTITION_NOT_FOUND"
	//     - "FABRIC_E_REPLICA_DOES_NOT_EXIST"
	//     - "FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST"
	//     - "FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND"
	//     - "FABRIC_E_DIRECTORY_NOT_FOUND"
	//     - "FABRIC_E_FABRIC_VERSION_NOT_FOUND"
	//     - "FABRIC_E_FILE_NOT_FOUND"
	//     - "FABRIC_E_NAME_DOES_NOT_EXIST"
	//     - "FABRIC_E_PROPERTY_DOES_NOT_EXIST"
	//     - "FABRIC_E_ENUMERATION_COMPLETED"
	//     - "FABRIC_E_SERVICE_MANIFEST_NOT_FOUND"
	//     - "FABRIC_E_KEY_NOT_FOUND"
	//     - "FABRIC_E_HEALTH_ENTITY_NOT_FOUND"
	//   - Possible values of the error code for HTTP status code 409 (Conflict)
	//     - "FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS"
	//     - "FABRIC_E_APPLICATION_ALREADY_EXISTS"
	//     - "FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION"
	//     - "FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS"
	//     - "FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS"
	//     - "FABRIC_E_SERVICE_ALREADY_EXISTS"
	//     - "FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS"
	//     - "FABRIC_E_APPLICATION_TYPE_IN_USE"
	//     - "FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION"
	//     - "FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS"
	//     - "FABRIC_E_FABRIC_VERSION_IN_USE"
	//     - "FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS"
	//     - "FABRIC_E_NAME_ALREADY_EXISTS"
	//     - "FABRIC_E_NAME_NOT_EMPTY"
	//     - "FABRIC_E_PROPERTY_CHECK_FAILED"
	//     - "FABRIC_E_SERVICE_METADATA_MISMATCH"
	//     - "FABRIC_E_SERVICE_TYPE_MISMATCH"
	//     - "FABRIC_E_HEALTH_STALE_REPORT"
	//     - "FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED"
	//     - "FABRIC_E_NODE_HAS_NOT_STOPPED_YET"
	//     - "FABRIC_E_INSTANCE_ID_MISMATCH"
	//   - Possible values of the error code for HTTP status code 413 (Request Entity Too Large)
	//     - "FABRIC_E_VALUE_TOO_LARGE"
	//   - Possible values of the error code for HTTP status code 500 (Internal Server Error)
	//     - "FABRIC_E_NODE_IS_UP"
	//   - Possible values of the error code for HTTP status code 503 (Service Unavailable)
	//     - "FABRIC_E_NO_WRITE_QUORUM"
	//     - "FABRIC_E_NOT_PRIMARY"
	//     - "FABRIC_E_NOT_READY"
	//     - "FABRIC_E_RECONFIGURATION_PENDING"
	//     - "FABRIC_E_SERVICE_OFFLINE"
	//     - "E_ABORT"
	//     - "FABRIC_E_VALUE_TOO_LARGE"
	//   - Possible values of the error code for HTTP status code 504 (Gateway Timeout)
	//     - "FABRIC_E_COMMUNICATION_ERROR"
	//     - "FABRIC_E_OPERATION_NOT_COMPLETE"
	//     - "FABRIC_E_TIMEOUT"
	// . 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 FabricReplicaStatus

type FabricReplicaStatus string

FabricReplicaStatus enumerates the values for fabric replica status.

const (
	// FabricReplicaStatusDown Indicates that the replica is down.
	FabricReplicaStatusDown FabricReplicaStatus = "Down"
	// FabricReplicaStatusInvalid Indicates that the read or write operation access status is not valid. This
	// value is not returned to the caller.
	FabricReplicaStatusInvalid FabricReplicaStatus = "Invalid"
	// FabricReplicaStatusUp Indicates that the replica is up.
	FabricReplicaStatusUp FabricReplicaStatus = "Up"
)

type FailedPropertyBatchInfo

type FailedPropertyBatchInfo struct {
	// ErrorMessage - The error message of the failed operation. Describes the exception thrown due to the first unsuccessful operation in the property batch.
	ErrorMessage *string `json:"ErrorMessage,omitempty"`
	// OperationIndex - The index of the unsuccessful operation in the property batch.
	OperationIndex *int32 `json:"OperationIndex,omitempty"`
	// Kind - Possible values include: 'KindPropertyBatchInfo', 'KindSuccessful', 'KindFailed'
	Kind KindBasicPropertyBatchInfo `json:"Kind,omitempty"`
}

FailedPropertyBatchInfo derived from PropertyBatchInfo. Represents the property batch failing. Contains information about the specific batch failure.

func (FailedPropertyBatchInfo) AsBasicPropertyBatchInfo

func (fpbi FailedPropertyBatchInfo) AsBasicPropertyBatchInfo() (BasicPropertyBatchInfo, bool)

AsBasicPropertyBatchInfo is the BasicPropertyBatchInfo implementation for FailedPropertyBatchInfo.

func (FailedPropertyBatchInfo) AsFailedPropertyBatchInfo

func (fpbi FailedPropertyBatchInfo) AsFailedPropertyBatchInfo() (*FailedPropertyBatchInfo, bool)

AsFailedPropertyBatchInfo is the BasicPropertyBatchInfo implementation for FailedPropertyBatchInfo.

func (FailedPropertyBatchInfo) AsPropertyBatchInfo

func (fpbi FailedPropertyBatchInfo) AsPropertyBatchInfo() (*PropertyBatchInfo, bool)

AsPropertyBatchInfo is the BasicPropertyBatchInfo implementation for FailedPropertyBatchInfo.

func (FailedPropertyBatchInfo) AsSuccessfulPropertyBatchInfo

func (fpbi FailedPropertyBatchInfo) AsSuccessfulPropertyBatchInfo() (*SuccessfulPropertyBatchInfo, bool)

AsSuccessfulPropertyBatchInfo is the BasicPropertyBatchInfo implementation for FailedPropertyBatchInfo.

func (FailedPropertyBatchInfo) MarshalJSON

func (fpbi FailedPropertyBatchInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FailedPropertyBatchInfo.

type FailedUpgradeDomainProgressObject

type FailedUpgradeDomainProgressObject struct {
	// DomainName - The name of the upgrade domain
	DomainName *string `json:"DomainName,omitempty"`
	// NodeUpgradeProgressList - List of upgrading nodes and their statuses
	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 Indicates the failure action is invalid. All Service Fabric enumerations have the
	// invalid type. The value is zero.
	FailureActionInvalid FailureAction = "Invalid"
	// FailureActionManual The upgrade will switch to UnmonitoredManual upgrade mode. The value is 2
	FailureActionManual FailureAction = "Manual"
	// FailureActionRollback The upgrade will start rolling back automatically. The value is 1
	FailureActionRollback FailureAction = "Rollback"
)

type FailureReason

type FailureReason string

FailureReason enumerates the values for failure reason.

const (
	// HealthCheck The upgrade failed due to health policy violations. The value is 2
	HealthCheck FailureReason = "HealthCheck"
	// Interrupted There was an external request to rollback the upgrade. The value is 1
	Interrupted FailureReason = "Interrupted"
	// None Indicates the reason is invalid or unknown. All Service Fabric enumerations have the invalid type.
	// The value is zero.
	None FailureReason = "None"
	// OverallUpgradeTimeout The overall upgrade took longer than the allowed upgrade timeout to process. The
	// value is 4
	OverallUpgradeTimeout FailureReason = "OverallUpgradeTimeout"
	// UpgradeDomainTimeout An upgrade domain took longer than the allowed upgrade domain timeout to process.
	// The value is 3
	UpgradeDomainTimeout FailureReason = "UpgradeDomainTimeout"
)

type FailureUpgradeDomainProgressInfo

type FailureUpgradeDomainProgressInfo struct {
	// DomainName - The name of the upgrade domain
	DomainName *string `json:"DomainName,omitempty"`
	// NodeUpgradeProgressList - List of upgrading nodes and their statuses
	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 - Information about the version of image store file.
	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 image 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 replica when this file entry was updated or created.
	EpochDataLossNumber *string `json:"EpochDataLossNumber,omitempty"`
	// EpochConfigurationNumber - The epoch configuration version number of the image store replica when this file entry was created or updated.
	EpochConfigurationNumber *string `json:"EpochConfigurationNumber,omitempty"`
}

FileVersion information about the version of image store file.

type FolderInfo

type FolderInfo struct {
	// StoreRelativePath - The remote location within image store. This path is relative to the image store root.
	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 includes how many files this folder contains and its image store relative path.

type GUIDPropertyValue

type GUIDPropertyValue struct {
	// Data - The data of the property value.
	Data *uuid.UUID `json:"Data,omitempty"`
	// Kind - Possible values include: 'KindPropertyValue', 'KindBinary', 'KindInt64', 'KindDouble', 'KindString', 'KindGUID'
	Kind KindBasicPropertyValue `json:"Kind,omitempty"`
}

GUIDPropertyValue describes a Service Fabric property value of type Guid.

func (GUIDPropertyValue) AsBasicPropertyValue

func (gpv GUIDPropertyValue) AsBasicPropertyValue() (BasicPropertyValue, bool)

AsBasicPropertyValue is the BasicPropertyValue implementation for GUIDPropertyValue.

func (GUIDPropertyValue) AsBinaryPropertyValue

func (gpv GUIDPropertyValue) AsBinaryPropertyValue() (*BinaryPropertyValue, bool)

AsBinaryPropertyValue is the BasicPropertyValue implementation for GUIDPropertyValue.

func (GUIDPropertyValue) AsDoublePropertyValue

func (gpv GUIDPropertyValue) AsDoublePropertyValue() (*DoublePropertyValue, bool)

AsDoublePropertyValue is the BasicPropertyValue implementation for GUIDPropertyValue.

func (GUIDPropertyValue) AsGUIDPropertyValue

func (gpv GUIDPropertyValue) AsGUIDPropertyValue() (*GUIDPropertyValue, bool)

AsGUIDPropertyValue is the BasicPropertyValue implementation for GUIDPropertyValue.

func (GUIDPropertyValue) AsInt64PropertyValue

func (gpv GUIDPropertyValue) AsInt64PropertyValue() (*Int64PropertyValue, bool)

AsInt64PropertyValue is the BasicPropertyValue implementation for GUIDPropertyValue.

func (GUIDPropertyValue) AsPropertyValue

func (gpv GUIDPropertyValue) AsPropertyValue() (*PropertyValue, bool)

AsPropertyValue is the BasicPropertyValue implementation for GUIDPropertyValue.

func (GUIDPropertyValue) AsStringPropertyValue

func (gpv GUIDPropertyValue) AsStringPropertyValue() (*StringPropertyValue, bool)

AsStringPropertyValue is the BasicPropertyValue implementation for GUIDPropertyValue.

func (GUIDPropertyValue) MarshalJSON

func (gpv GUIDPropertyValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GUIDPropertyValue.

type GetPropertyBatchOperation

type GetPropertyBatchOperation struct {
	// IncludeValue - Whether or not to return the property value with the metadata.
	// True if values should be returned with the metadata; False to return only property metadata.
	IncludeValue *bool `json:"IncludeValue,omitempty"`
	// PropertyName - The name of the Service Fabric property.
	PropertyName *string `json:"PropertyName,omitempty"`
	// Kind - Possible values include: 'KindPropertyBatchOperation', 'KindCheckExists', 'KindCheckSequence', 'KindCheckValue', 'KindDelete', 'KindGet', 'KindPut'
	Kind KindBasicPropertyBatchOperation `json:"Kind,omitempty"`
}

GetPropertyBatchOperation represents a PropertyBatchOperation that gets the specified property if it exists. Note that if one PropertyBatchOperation in a PropertyBatch fails, the entire batch fails and cannot be committed in a transactional manner.

func (GetPropertyBatchOperation) AsBasicPropertyBatchOperation

func (gpbo GetPropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)

AsBasicPropertyBatchOperation is the BasicPropertyBatchOperation implementation for GetPropertyBatchOperation.

func (GetPropertyBatchOperation) AsCheckExistsPropertyBatchOperation

func (gpbo GetPropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)

AsCheckExistsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for GetPropertyBatchOperation.

func (GetPropertyBatchOperation) AsCheckSequencePropertyBatchOperation

func (gpbo GetPropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)

AsCheckSequencePropertyBatchOperation is the BasicPropertyBatchOperation implementation for GetPropertyBatchOperation.

func (GetPropertyBatchOperation) AsCheckValuePropertyBatchOperation

func (gpbo GetPropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)

AsCheckValuePropertyBatchOperation is the BasicPropertyBatchOperation implementation for GetPropertyBatchOperation.

func (GetPropertyBatchOperation) AsDeletePropertyBatchOperation

func (gpbo GetPropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)

AsDeletePropertyBatchOperation is the BasicPropertyBatchOperation implementation for GetPropertyBatchOperation.

func (GetPropertyBatchOperation) AsGetPropertyBatchOperation

func (gpbo GetPropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)

AsGetPropertyBatchOperation is the BasicPropertyBatchOperation implementation for GetPropertyBatchOperation.

func (GetPropertyBatchOperation) AsPropertyBatchOperation

func (gpbo GetPropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)

AsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for GetPropertyBatchOperation.

func (GetPropertyBatchOperation) AsPutPropertyBatchOperation

func (gpbo GetPropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)

AsPutPropertyBatchOperation is the BasicPropertyBatchOperation implementation for GetPropertyBatchOperation.

func (GetPropertyBatchOperation) MarshalJSON

func (gpbo GetPropertyBatchOperation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GetPropertyBatchOperation.

type HealthEvaluation

type HealthEvaluation struct {
	// AggregatedHealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 HealthEvaluationKind

type HealthEvaluationKind string

HealthEvaluationKind enumerates the values for health evaluation kind.

const (
	// HealthEvaluationKindApplication Indicates that the health evaluation is for an application. The value is
	// 18.
	HealthEvaluationKindApplication HealthEvaluationKind = "Application"
	// HealthEvaluationKindApplications Indicates that the health evaluation is for the cluster applications.
	// The value is 8.
	HealthEvaluationKindApplications HealthEvaluationKind = "Applications"
	// HealthEvaluationKindApplicationTypeApplications – Indicates that the health evaluation is for
	// applications of an application type. The value is 21.
	HealthEvaluationKindApplicationTypeApplications HealthEvaluationKind = "ApplicationTypeApplications"
	// HealthEvaluationKindDeltaNodesCheck Indicates that the health evaluation is for the delta of unhealthy
	// cluster nodes. The value is 19.
	HealthEvaluationKindDeltaNodesCheck HealthEvaluationKind = "DeltaNodesCheck"
	// HealthEvaluationKindDeployedApplication Indicates that the health evaluation is for a deployed
	// application. The value is 17.
	HealthEvaluationKindDeployedApplication HealthEvaluationKind = "DeployedApplication"
	// HealthEvaluationKindDeployedApplications Indicates that the health evaluation is for the deployed
	// applications of an application. The value is 5.
	HealthEvaluationKindDeployedApplications HealthEvaluationKind = "DeployedApplications"
	// HealthEvaluationKindDeployedServicePackage Indicates that the health evaluation is for a deployed
	// service package. The value is 16.
	HealthEvaluationKindDeployedServicePackage HealthEvaluationKind = "DeployedServicePackage"
	// HealthEvaluationKindDeployedServicePackages Indicates that the health evaluation is for the deployed
	// service packages of a deployed application. The value is 4.
	HealthEvaluationKindDeployedServicePackages HealthEvaluationKind = "DeployedServicePackages"
	// HealthEvaluationKindEvent Indicates that the health evaluation is for a health event. The value is 1.
	HealthEvaluationKindEvent HealthEvaluationKind = "Event"
	// HealthEvaluationKindInvalid Indicates that the health evaluation is invalid. The value is zero.
	HealthEvaluationKindInvalid HealthEvaluationKind = "Invalid"
	// HealthEvaluationKindNode Indicates that the health evaluation is for a node. The value is 12.
	HealthEvaluationKindNode HealthEvaluationKind = "Node"
	// HealthEvaluationKindNodes Indicates that the health evaluation is for the cluster nodes. The value is 7.
	HealthEvaluationKindNodes HealthEvaluationKind = "Nodes"
	// HealthEvaluationKindPartition Indicates that the health evaluation is for a partition. The value is 14.
	HealthEvaluationKindPartition HealthEvaluationKind = "Partition"
	// HealthEvaluationKindPartitions Indicates that the health evaluation is for the partitions of a service.
	// The value is 3.
	HealthEvaluationKindPartitions HealthEvaluationKind = "Partitions"
	// HealthEvaluationKindReplica Indicates that the health evaluation is for a replica. The value is 13.
	HealthEvaluationKindReplica HealthEvaluationKind = "Replica"
	// HealthEvaluationKindReplicas Indicates that the health evaluation is for the replicas of a partition.
	// The value is 2.
	HealthEvaluationKindReplicas HealthEvaluationKind = "Replicas"
	// HealthEvaluationKindService Indicates that the health evaluation is for a service. The value is 15.
	HealthEvaluationKindService HealthEvaluationKind = "Service"
	// HealthEvaluationKindServices Indicates that the health evaluation is for services of an application. The
	// value is 6.
	HealthEvaluationKindServices HealthEvaluationKind = "Services"
	// HealthEvaluationKindSystemApplication Indicates that the health evaluation is for the system
	// application. The value is 9.
	HealthEvaluationKindSystemApplication HealthEvaluationKind = "SystemApplication"
	// HealthEvaluationKindUpgradeDomainDeltaNodesCheck Indicates that the health evaluation is for the delta
	// of unhealthy upgrade domain cluster nodes. The value is 20.
	HealthEvaluationKindUpgradeDomainDeltaNodesCheck HealthEvaluationKind = "UpgradeDomainDeltaNodesCheck"
	// HealthEvaluationKindUpgradeDomainDeployedApplications Indicates that the health evaluation is for the
	// deployed applications of an application in an upgrade domain. The value is 10.
	HealthEvaluationKindUpgradeDomainDeployedApplications HealthEvaluationKind = "UpgradeDomainDeployedApplications"
	// HealthEvaluationKindUpgradeDomainNodes Indicates that the health evaluation is for the cluster nodes in
	// an upgrade domain. The value is 11.
	HealthEvaluationKindUpgradeDomainNodes HealthEvaluationKind = "UpgradeDomainNodes"
)

type HealthEvaluationWrapper

type HealthEvaluationWrapper struct {
	// HealthEvaluation - Represents a health evaluation which describes the data and the algorithm used by health manager to evaluate the health of an entity.
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `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 removed 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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `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 removed 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 Indicates the health state is at an error level. Error health state should be
	// investigated, as they can impact the correct functionality of the cluster. The value is 3.
	HealthStateError HealthState = "Error"
	// HealthStateInvalid Indicates an invalid health state. All Service Fabric enumerations have the invalid
	// type. The value is zero.
	HealthStateInvalid HealthState = "Invalid"
	// HealthStateOk Indicates the health state is okay. The value is 1.
	HealthStateOk HealthState = "Ok"
	// HealthStateUnknown Indicates an unknown health status. The value is 65535.
	HealthStateUnknown HealthState = "Unknown"
	// HealthStateWarning Indicates the health state is at a warning level. The value is 2.
	HealthStateWarning HealthState = "Warning"
)

type HealthStateCount

type HealthStateCount struct {
	// OkCount - The number of health entities with aggregated health state Ok.
	OkCount *int64 `json:"OkCount,omitempty"`
	// WarningCount - The number of health entities with aggregated health state Warning.
	WarningCount *int64 `json:"WarningCount,omitempty"`
	// ErrorCount - The number of health entities with aggregated health state Error.
	ErrorCount *int64 `json:"ErrorCount,omitempty"`
}

HealthStateCount represents information about how many health entities are in Ok, Warning and Error health state.

type HealthStatistics

type HealthStatistics struct {
	// HealthStateCountList - List of health state counts per entity kind, which keeps track of how many children of the queried entity are in Ok, Warning and Error state.
	HealthStateCountList *[]EntityKindHealthStateCount `json:"HealthStateCountList,omitempty"`
}

HealthStatistics the health statistics of an entity, returned as part of the health query result when the query description is configured to include statistics. The statistics include health state counts for all children types of the current entity. For example, for cluster, the health statistics include health state counts for nodes, applications, services, partitions, replicas, deployed applications and deployed service packages. For partition, the health statistics include health counts for replicas.

type HostIsolationMode

type HostIsolationMode string

HostIsolationMode enumerates the values for host isolation mode.

const (
	// HostIsolationModeHyperV Indicates the ContainerHost is a Hyper-V container. This applies to only Windows
	// containers. The value is 2.
	HostIsolationModeHyperV HostIsolationMode = "HyperV"
	// HostIsolationModeNone Indicates the isolation mode is not applicable for given HostType. The value is 0.
	HostIsolationModeNone HostIsolationMode = "None"
	// HostIsolationModeProcess This is the default isolation mode for a ContainerHost. The value is 1.
	HostIsolationModeProcess HostIsolationMode = "Process"
)

type HostType

type HostType string

HostType enumerates the values for host type.

const (
	// HostTypeContainerHost Indicates the host is a container. The value is 2.
	HostTypeContainerHost HostType = "ContainerHost"
	// HostTypeExeHost Indicates the host is an executable. The value is 1.
	HostTypeExeHost HostType = "ExeHost"
	// HostTypeInvalid Indicates the type of host is not known or invalid. The value is 0.
	HostTypeInvalid HostType = "Invalid"
)

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 objects 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 ImpactLevel

type ImpactLevel string

ImpactLevel enumerates the values for impact level.

const (
	// ImpactLevelInvalid ...
	ImpactLevelInvalid ImpactLevel = "Invalid"
	// ImpactLevelNone ...
	ImpactLevelNone ImpactLevel = "None"
	// ImpactLevelRemoveData ...
	ImpactLevelRemoveData ImpactLevel = "RemoveData"
	// ImpactLevelRemoveNode ...
	ImpactLevelRemoveNode ImpactLevel = "RemoveNode"
	// ImpactLevelRestart ...
	ImpactLevelRestart ImpactLevel = "Restart"
)

type Int64PropertyValue

type Int64PropertyValue struct {
	// Data - The data of the property value.
	Data *string `json:"Data,omitempty"`
	// Kind - Possible values include: 'KindPropertyValue', 'KindBinary', 'KindInt64', 'KindDouble', 'KindString', 'KindGUID'
	Kind KindBasicPropertyValue `json:"Kind,omitempty"`
}

Int64PropertyValue describes a Service Fabric property value of type Int64.

func (Int64PropertyValue) AsBasicPropertyValue

func (i6pv Int64PropertyValue) AsBasicPropertyValue() (BasicPropertyValue, bool)

AsBasicPropertyValue is the BasicPropertyValue implementation for Int64PropertyValue.

func (Int64PropertyValue) AsBinaryPropertyValue

func (i6pv Int64PropertyValue) AsBinaryPropertyValue() (*BinaryPropertyValue, bool)

AsBinaryPropertyValue is the BasicPropertyValue implementation for Int64PropertyValue.

func (Int64PropertyValue) AsDoublePropertyValue

func (i6pv Int64PropertyValue) AsDoublePropertyValue() (*DoublePropertyValue, bool)

AsDoublePropertyValue is the BasicPropertyValue implementation for Int64PropertyValue.

func (Int64PropertyValue) AsGUIDPropertyValue

func (i6pv Int64PropertyValue) AsGUIDPropertyValue() (*GUIDPropertyValue, bool)

AsGUIDPropertyValue is the BasicPropertyValue implementation for Int64PropertyValue.

func (Int64PropertyValue) AsInt64PropertyValue

func (i6pv Int64PropertyValue) AsInt64PropertyValue() (*Int64PropertyValue, bool)

AsInt64PropertyValue is the BasicPropertyValue implementation for Int64PropertyValue.

func (Int64PropertyValue) AsPropertyValue

func (i6pv Int64PropertyValue) AsPropertyValue() (*PropertyValue, bool)

AsPropertyValue is the BasicPropertyValue implementation for Int64PropertyValue.

func (Int64PropertyValue) AsStringPropertyValue

func (i6pv Int64PropertyValue) AsStringPropertyValue() (*StringPropertyValue, bool)

AsStringPropertyValue is the BasicPropertyValue implementation for Int64PropertyValue.

func (Int64PropertyValue) MarshalJSON

func (i6pv Int64PropertyValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Int64PropertyValue.

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 - An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition id is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the ids of its partitions would be different.
	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 - This class returns information about the partition that the user-induced operation acted upon.
	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 - This class returns information about the partition that the user-induced operation acted upon.
	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 (
	// KindApplication ...
	KindApplication Kind = "Application"
	// KindApplications ...
	KindApplications Kind = "Applications"
	// KindApplicationTypeApplications ...
	KindApplicationTypeApplications Kind = "ApplicationTypeApplications"
	// KindDeltaNodesCheck ...
	KindDeltaNodesCheck Kind = "DeltaNodesCheck"
	// KindDeployedApplication ...
	KindDeployedApplication Kind = "DeployedApplication"
	// KindDeployedApplications ...
	KindDeployedApplications Kind = "DeployedApplications"
	// KindDeployedServicePackage ...
	KindDeployedServicePackage Kind = "DeployedServicePackage"
	// KindDeployedServicePackages ...
	KindDeployedServicePackages Kind = "DeployedServicePackages"
	// KindEvent ...
	KindEvent Kind = "Event"
	// KindHealthEvaluation ...
	KindHealthEvaluation Kind = "HealthEvaluation"
	// KindNode ...
	KindNode Kind = "Node"
	// KindNodes ...
	KindNodes Kind = "Nodes"
	// KindPartition ...
	KindPartition Kind = "Partition"
	// KindPartitions ...
	KindPartitions Kind = "Partitions"
	// KindReplica ...
	KindReplica Kind = "Replica"
	// KindReplicas ...
	KindReplicas Kind = "Replicas"
	// KindService ...
	KindService Kind = "Service"
	// KindServices ...
	KindServices Kind = "Services"
	// KindSystemApplication ...
	KindSystemApplication Kind = "SystemApplication"
	// KindUpgradeDomainDeltaNodesCheck ...
	KindUpgradeDomainDeltaNodesCheck Kind = "UpgradeDomainDeltaNodesCheck"
	// KindUpgradeDomainNodes ...
	KindUpgradeDomainNodes Kind = "UpgradeDomainNodes"
)

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

type KindBasicPropertyBatchInfo

type KindBasicPropertyBatchInfo string

KindBasicPropertyBatchInfo enumerates the values for kind basic property batch info.

const (
	// KindFailed ...
	KindFailed KindBasicPropertyBatchInfo = "Failed"
	// KindPropertyBatchInfo ...
	KindPropertyBatchInfo KindBasicPropertyBatchInfo = "PropertyBatchInfo"
	// KindSuccessful ...
	KindSuccessful KindBasicPropertyBatchInfo = "Successful"
)

type KindBasicPropertyBatchOperation

type KindBasicPropertyBatchOperation string

KindBasicPropertyBatchOperation enumerates the values for kind basic property batch operation.

const (
	// KindCheckExists ...
	KindCheckExists KindBasicPropertyBatchOperation = "CheckExists"
	// KindCheckSequence ...
	KindCheckSequence KindBasicPropertyBatchOperation = "CheckSequence"
	// KindCheckValue ...
	KindCheckValue KindBasicPropertyBatchOperation = "CheckValue"
	// KindDelete ...
	KindDelete KindBasicPropertyBatchOperation = "Delete"
	// KindGet ...
	KindGet KindBasicPropertyBatchOperation = "Get"
	// KindPropertyBatchOperation ...
	KindPropertyBatchOperation KindBasicPropertyBatchOperation = "PropertyBatchOperation"
	// KindPut ...
	KindPut KindBasicPropertyBatchOperation = "Put"
)

type KindBasicPropertyValue

type KindBasicPropertyValue string

KindBasicPropertyValue enumerates the values for kind basic property value.

const (
	// KindBinary ...
	KindBinary KindBasicPropertyValue = "Binary"
	// KindDouble ...
	KindDouble KindBasicPropertyValue = "Double"
	// KindGUID ...
	KindGUID KindBasicPropertyValue = "Guid"
	// KindInt64 ...
	KindInt64 KindBasicPropertyValue = "Int64"
	// KindPropertyValue ...
	KindPropertyValue KindBasicPropertyValue = "PropertyValue"
	// KindString ...
	KindString KindBasicPropertyValue = "String"
)

type KindBasicProvisionApplicationTypeDescriptionBase

type KindBasicProvisionApplicationTypeDescriptionBase string

KindBasicProvisionApplicationTypeDescriptionBase enumerates the values for kind basic provision application type description base.

const (
	// KindExternalStore ...
	KindExternalStore KindBasicProvisionApplicationTypeDescriptionBase = "ExternalStore"
	// KindImageStorePath ...
	KindImageStorePath KindBasicProvisionApplicationTypeDescriptionBase = "ImageStorePath"
	// KindProvisionApplicationTypeDescriptionBase ...
	KindProvisionApplicationTypeDescriptionBase KindBasicProvisionApplicationTypeDescriptionBase = "ProvisionApplicationTypeDescriptionBase"
)

type KindBasicRepairImpactDescriptionBase

type KindBasicRepairImpactDescriptionBase string

KindBasicRepairImpactDescriptionBase enumerates the values for kind basic repair impact description base.

const (
	// KindBasicRepairImpactDescriptionBaseKindNode ...
	KindBasicRepairImpactDescriptionBaseKindNode KindBasicRepairImpactDescriptionBase = "Node"
	// KindBasicRepairImpactDescriptionBaseKindRepairImpactDescriptionBase ...
	KindBasicRepairImpactDescriptionBaseKindRepairImpactDescriptionBase KindBasicRepairImpactDescriptionBase = "RepairImpactDescriptionBase"
)

type KindBasicRepairTargetDescriptionBase

type KindBasicRepairTargetDescriptionBase string

KindBasicRepairTargetDescriptionBase enumerates the values for kind basic repair target description base.

const (
	// KindBasicRepairTargetDescriptionBaseKindNode ...
	KindBasicRepairTargetDescriptionBaseKindNode KindBasicRepairTargetDescriptionBase = "Node"
	// KindBasicRepairTargetDescriptionBaseKindRepairTargetDescriptionBase ...
	KindBasicRepairTargetDescriptionBaseKindRepairTargetDescriptionBase KindBasicRepairTargetDescriptionBase = "RepairTargetDescriptionBase"
)

type KindBasicReplicaStatusBase

type KindBasicReplicaStatusBase string

KindBasicReplicaStatusBase enumerates the values for kind basic replica status base.

const (
	// KindKeyValueStore ...
	KindKeyValueStore KindBasicReplicaStatusBase = "KeyValueStore"
	// KindReplicaStatusBase ...
	KindReplicaStatusBase KindBasicReplicaStatusBase = "ReplicaStatusBase"
)

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

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

type KindBasicServiceTypeDescription

type KindBasicServiceTypeDescription string

KindBasicServiceTypeDescription enumerates the values for kind basic service type description.

const (
	// KindServiceTypeDescription ...
	KindServiceTypeDescription KindBasicServiceTypeDescription = "ServiceTypeDescription"
	// KindStateful ...
	KindStateful KindBasicServiceTypeDescription = "Stateful"
	// KindStateless ...
	KindStateless KindBasicServiceTypeDescription = "Stateless"
)

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 ListRepairTask

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

ListRepairTask ...

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 - The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Possible values include: 'FailureActionInvalid', 'FailureActionRollback', 'FailureActionManual'
	FailureAction FailureAction `json:"FailureAction,omitempty"`
	// HealthCheckWaitDurationInMilliseconds - The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
	HealthCheckWaitDurationInMilliseconds *string `json:"HealthCheckWaitDurationInMilliseconds,omitempty"`
	// HealthCheckStableDurationInMilliseconds - The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
	HealthCheckStableDurationInMilliseconds *string `json:"HealthCheckStableDurationInMilliseconds,omitempty"`
	// HealthCheckRetryTimeoutInMilliseconds - The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
	HealthCheckRetryTimeoutInMilliseconds *string `json:"HealthCheckRetryTimeoutInMilliseconds,omitempty"`
	// UpgradeTimeoutInMilliseconds - The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
	UpgradeTimeoutInMilliseconds *string `json:"UpgradeTimeoutInMilliseconds,omitempty"`
	// UpgradeDomainTimeoutInMilliseconds - The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
	UpgradeDomainTimeoutInMilliseconds *string `json:"UpgradeDomainTimeoutInMilliseconds,omitempty"`
}

MonitoringPolicyDescription describes the parameters for monitoring an upgrade in Monitored mode.

type MoveCost

type MoveCost string

MoveCost enumerates the values for move cost.

const (
	// High Specifies the move cost of the service as High. The value is 3.
	High MoveCost = "High"
	// Low Specifies the move cost of the service as Low. The value is 1.
	Low MoveCost = "Low"
	// Medium Specifies the move cost of the service as Medium. The value is 2.
	Medium MoveCost = "Medium"
	// Zero Zero move cost. This value is zero.
	Zero MoveCost = "Zero"
)

type NameDescription

type NameDescription struct {
	// Name - The Service Fabric name, including the 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
}

NameDescription describes a Service Fabric name.

type NamedPartitionInformation

type NamedPartitionInformation struct {
	// Name - Name of the partition.
	Name *string `json:"Name,omitempty"`
	// ID - An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition id is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the ids of its partitions would be different.
	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', 'PartitionSchemeNamed1', 'PartitionSchemeSingleton1', 'PartitionSchemeUniformInt64Range1'
	PartitionScheme PartitionSchemeBasicPartitionSchemeDescription `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 - The intent or the reason for deactivating the node. Following are the possible values for it. Possible values include: 'NodeDeactivationIntentInvalid', 'NodeDeactivationIntentPause', 'NodeDeactivationIntentRestart', 'NodeDeactivationIntentRemoveData', 'NodeDeactivationIntentRemoveNode'
	NodeDeactivationIntent NodeDeactivationIntent `json:"NodeDeactivationIntent,omitempty"`
	// NodeDeactivationStatus - The status of node deactivation operation. Following are the possible values. Possible values include: 'NodeDeactivationStatusNone', 'NodeDeactivationStatusSafetyCheckInProgress', 'NodeDeactivationStatusSafetyCheckComplete', 'NodeDeactivationStatusCompleted'
	NodeDeactivationStatus NodeDeactivationStatus `json:"NodeDeactivationStatus,omitempty"`
	// NodeDeactivationTask - List of tasks representing the deactivation operation on the node.
	NodeDeactivationTask *[]NodeDeactivationTask `json:"NodeDeactivationTask,omitempty"`
	// PendingSafetyChecks - List of pending safety checks
	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 Indicates the node deactivation intent is invalid. All Service Fabric
	// enumerations have the invalid type. The value is zero. This value is not used.
	NodeDeactivationIntentInvalid NodeDeactivationIntent = "Invalid"
	// NodeDeactivationIntentPause Indicates that the node should be paused. The value is 1.
	NodeDeactivationIntentPause NodeDeactivationIntent = "Pause"
	// NodeDeactivationIntentRemoveData Indicates that the intent is to reimage the node. Service Fabric does
	// not reimage the node, this action is done outside of Service Fabric. The value is 3.
	NodeDeactivationIntentRemoveData NodeDeactivationIntent = "RemoveData"
	// NodeDeactivationIntentRemoveNode Indicates that the node is being decommissioned and is not expected to
	// return. Service Fabric does not decommission the node, this action is done outside of Service Fabric.
	// The value is 4.
	NodeDeactivationIntentRemoveNode NodeDeactivationIntent = "RemoveNode"
	// NodeDeactivationIntentRestart Indicates that the intent is for the node to be restarted after a short
	// period of time. Service Fabric does not restart the node, this action is done outside of Service Fabric.
	// The value is 2.
	NodeDeactivationIntentRestart NodeDeactivationIntent = "Restart"
)

type NodeDeactivationStatus

type NodeDeactivationStatus string

NodeDeactivationStatus enumerates the values for node deactivation status.

const (
	// NodeDeactivationStatusCompleted The task is completed. The value is 3.
	NodeDeactivationStatusCompleted NodeDeactivationStatus = "Completed"
	// NodeDeactivationStatusNone No status is associated with the task. The value is zero.
	NodeDeactivationStatusNone NodeDeactivationStatus = "None"
	// NodeDeactivationStatusSafetyCheckComplete When a node is deactivated Service Fabric performs checks to
	// ensure that the operation is safe to proceed to ensure availability of the service and reliability of
	// the state. This value indicates that all safety checks have been completed. The value is 2.
	NodeDeactivationStatusSafetyCheckComplete NodeDeactivationStatus = "SafetyCheckComplete"
	// NodeDeactivationStatusSafetyCheckInProgress When a node is deactivated Service Fabric performs checks to
	// ensure that the operation is safe to proceed to ensure availability of the service and reliability of
	// the state. This value indicates that one or more safety checks are in progress. The value is 1.
	NodeDeactivationStatusSafetyCheckInProgress NodeDeactivationStatus = "SafetyCheckInProgress"
)

type NodeDeactivationTask

type NodeDeactivationTask struct {
	// NodeDeactivationTaskID - Identity of the task related to deactivation operation on the node.
	NodeDeactivationTaskID *NodeDeactivationTaskID `json:"NodeDeactivationTaskId,omitempty"`
	// NodeDeactivationIntent - The intent or the reason for deactivating the node. Following are the possible values for it. 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 - The type of the task that performed the node deactivation. Following are the possible values. 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 Specifies that the task was created by using the public API. The value is
	// 3.
	NodeDeactivationTaskTypeClient NodeDeactivationTaskType = "Client"
	// NodeDeactivationTaskTypeInfrastructure Specifies the task created by Infrastructure hosting the nodes.
	// The value is 1.
	NodeDeactivationTaskTypeInfrastructure NodeDeactivationTaskType = "Infrastructure"
	// NodeDeactivationTaskTypeInvalid Indicates the node deactivation task type is invalid. All Service Fabric
	// enumerations have the invalid type. The value is zero. This value is not used.
	NodeDeactivationTaskTypeInvalid NodeDeactivationTaskType = "Invalid"
	// NodeDeactivationTaskTypeRepair Specifies the task that was created by the Repair Manager service. The
	// value is 2.
	NodeDeactivationTaskTypeRepair NodeDeactivationTaskType = "Repair"
)

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: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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"`
	// HealthStatistics - Shows the health statistics for all children types of the queried entity.
	HealthStatistics *HealthStatistics `json:"HealthStatistics,omitempty"`
}

NodeHealth information about the health of a Service Fabric node.

type NodeHealthEvaluation

type NodeHealthEvaluation struct {
	// NodeName - The name of a Service Fabric 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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 a Service Fabric node.
	Name *string `json:"Name,omitempty"`
	// ID - An internal ID used by Service Fabric to uniquely identify a node. Node Id is deterministically generated from node name.
	ID *NodeID `json:"Id,omitempty"`
	// AggregatedHealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 a Service Fabric node.
	NodeName *string `json:"NodeName,omitempty"`
	// HealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `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 NodeImpact

type NodeImpact struct {
	// NodeName - The name of the impacted node.
	NodeName *string `json:"NodeName,omitempty"`
	// ImpactLevel - The level of impact expected. Possible values include: 'ImpactLevelInvalid', 'ImpactLevelNone', 'ImpactLevelRestart', 'ImpactLevelRemoveData', 'ImpactLevelRemoveNode'
	ImpactLevel ImpactLevel `json:"ImpactLevel,omitempty"`
}

NodeImpact describes the expected impact of a repair to a particular node.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

type NodeInfo

type NodeInfo struct {
	autorest.Response `json:"-"`
	// Name - The name of a Service Fabric 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 - The status of the node. 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 zero indicates that the node is not Up.
	NodeUpTimeInSeconds *string `json:"NodeUpTimeInSeconds,omitempty"`
	// HealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `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 - An internal ID used by Service Fabric to uniquely identify a node. Node Id is deterministically generated from node name.
	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 - Information about the node deactivation. This information is valid for a node that is undergoing deactivation or has already been deactivated.
	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"`
	// NodeUpAt - Date time in UTC when the node came up. If the node has never been up then this value will be zero date time.
	NodeUpAt *date.Time `json:"NodeUpAt,omitempty"`
	// NodeDownAt - Date time in UTC when the node went down. If node has never been down then this value will be zero date time.
	NodeDownAt *date.Time `json:"NodeDownAt,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 NodeRepairImpactDescription

type NodeRepairImpactDescription struct {
	// NodeImpactList - The list of nodes impacted by a repair action and their respective expected impact.
	NodeImpactList *[]NodeImpact `json:"NodeImpactList,omitempty"`
	// Kind - Possible values include: 'KindBasicRepairImpactDescriptionBaseKindRepairImpactDescriptionBase', 'KindBasicRepairImpactDescriptionBaseKindNode'
	Kind KindBasicRepairImpactDescriptionBase `json:"Kind,omitempty"`
}

NodeRepairImpactDescription describes the expected impact of a repair on a set of nodes.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

func (NodeRepairImpactDescription) AsBasicRepairImpactDescriptionBase

func (nrid NodeRepairImpactDescription) AsBasicRepairImpactDescriptionBase() (BasicRepairImpactDescriptionBase, bool)

AsBasicRepairImpactDescriptionBase is the BasicRepairImpactDescriptionBase implementation for NodeRepairImpactDescription.

func (NodeRepairImpactDescription) AsNodeRepairImpactDescription

func (nrid NodeRepairImpactDescription) AsNodeRepairImpactDescription() (*NodeRepairImpactDescription, bool)

AsNodeRepairImpactDescription is the BasicRepairImpactDescriptionBase implementation for NodeRepairImpactDescription.

func (NodeRepairImpactDescription) AsRepairImpactDescriptionBase

func (nrid NodeRepairImpactDescription) AsRepairImpactDescriptionBase() (*RepairImpactDescriptionBase, bool)

AsRepairImpactDescriptionBase is the BasicRepairImpactDescriptionBase implementation for NodeRepairImpactDescription.

func (NodeRepairImpactDescription) MarshalJSON

func (nrid NodeRepairImpactDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NodeRepairImpactDescription.

type NodeRepairTargetDescription

type NodeRepairTargetDescription struct {
	// NodeNames - The list of nodes targeted by a repair action.
	NodeNames *[]string `json:"NodeNames,omitempty"`
	// Kind - Possible values include: 'KindBasicRepairTargetDescriptionBaseKindRepairTargetDescriptionBase', 'KindBasicRepairTargetDescriptionBaseKindNode'
	Kind KindBasicRepairTargetDescriptionBase `json:"Kind,omitempty"`
}

NodeRepairTargetDescription describes the list of nodes targeted by a repair action.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

func (NodeRepairTargetDescription) AsBasicRepairTargetDescriptionBase

func (nrtd NodeRepairTargetDescription) AsBasicRepairTargetDescriptionBase() (BasicRepairTargetDescriptionBase, bool)

AsBasicRepairTargetDescriptionBase is the BasicRepairTargetDescriptionBase implementation for NodeRepairTargetDescription.

func (NodeRepairTargetDescription) AsNodeRepairTargetDescription

func (nrtd NodeRepairTargetDescription) AsNodeRepairTargetDescription() (*NodeRepairTargetDescription, bool)

AsNodeRepairTargetDescription is the BasicRepairTargetDescriptionBase implementation for NodeRepairTargetDescription.

func (NodeRepairTargetDescription) AsRepairTargetDescriptionBase

func (nrtd NodeRepairTargetDescription) AsRepairTargetDescriptionBase() (*RepairTargetDescriptionBase, bool)

AsRepairTargetDescriptionBase is the BasicRepairTargetDescriptionBase implementation for NodeRepairTargetDescription.

func (NodeRepairTargetDescription) MarshalJSON

func (nrtd NodeRepairTargetDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NodeRepairTargetDescription.

type NodeResult

type NodeResult struct {
	// NodeName - The name of a Service Fabric node.
	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 Indicates the node is disabled. The value is 5.
	NodeStatusDisabled NodeStatus = "Disabled"
	// NodeStatusDisabling Indicates the node is in the process of being disabled. The value is 4.
	NodeStatusDisabling NodeStatus = "Disabling"
	// NodeStatusDown Indicates the node is down. The value is 2.
	NodeStatusDown NodeStatus = "Down"
	// NodeStatusEnabling Indicates the node is in process of being enabled. The value is 3.
	NodeStatusEnabling NodeStatus = "Enabling"
	// NodeStatusInvalid Indicates the node status is invalid. All Service Fabric enumerations have the invalid
	// type. The value is zero.
	NodeStatusInvalid NodeStatus = "Invalid"
	// NodeStatusRemoved Indicates the node is removed. A node would be in Removed state if NodeStateRemoved
	// API has been called for this node. In other words, Service Fabric has been informed that the persisted
	// state on the node has been permanently lost. The value is 7.
	NodeStatusRemoved NodeStatus = "Removed"
	// NodeStatusUnknown Indicates the node 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.The value is 6.
	NodeStatusUnknown NodeStatus = "Unknown"
	// NodeStatusUp Indicates the node is up. The value is 1.
	NodeStatusUp NodeStatus = "Up"
)

type NodeStatusFilterOptionalQueryParam

type NodeStatusFilterOptionalQueryParam string

NodeStatusFilterOptionalQueryParam enumerates the values for node status filter optional query param.

const (
	// All This filter value will match all of the nodes.
	All NodeStatusFilterOptionalQueryParam = "all"
	// Default This filter value will match all of the nodes excepts the ones with with status as Unknown or
	// Removed.
	Default NodeStatusFilterOptionalQueryParam = "default"
	// Disabled This filter value will match nodes that are Disabled.
	Disabled NodeStatusFilterOptionalQueryParam = "disabled"
	// Disabling This filter value will match nodes that are in the process of being disabled with status as
	// Disabling.
	Disabling NodeStatusFilterOptionalQueryParam = "disabling"
	// Down This filter value will match nodes that are Down.
	Down NodeStatusFilterOptionalQueryParam = "down"
	// Enabling This filter value will match nodes that are in the process of being enabled with status as
	// Enabling.
	Enabling NodeStatusFilterOptionalQueryParam = "enabling"
	// 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.
	Removed NodeStatusFilterOptionalQueryParam = "removed"
	// 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.
	Unknown NodeStatusFilterOptionalQueryParam = "unknown"
	// Up This filter value will match nodes that are Up.
	Up NodeStatusFilterOptionalQueryParam = "up"
)

type NodeTransitionProgress

type NodeTransitionProgress struct {
	autorest.Response `json:"-"`
	// State - The state of the operation. Possible values include: 'OperationStateInvalid', 'OperationStateRunning', 'OperationStateRollingBack', 'OperationStateCompleted', 'OperationStateFaulted', 'OperationStateCancelled', 'OperationStateForceCancelled'
	State OperationState `json:"State,omitempty"`
	// NodeTransitionResult - Represents information about an operation in a terminal state (Completed or Faulted).
	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 - Contains information about a node that was targeted by a user-induced operation.
	NodeResult *NodeResult `json:"NodeResult,omitempty"`
}

NodeTransitionResult represents information about an operation in a terminal state (Completed or Faulted).

type NodeTransitionTypeRequiredQueryParam

type NodeTransitionTypeRequiredQueryParam string

NodeTransitionTypeRequiredQueryParam enumerates the values for node transition type required query param.

const (
	// NodeTransitionTypeRequiredQueryParamInvalid Reserved.  Do not pass into API.
	NodeTransitionTypeRequiredQueryParamInvalid NodeTransitionTypeRequiredQueryParam = "Invalid"
	// NodeTransitionTypeRequiredQueryParamStart Transition a stopped node to up.
	NodeTransitionTypeRequiredQueryParamStart NodeTransitionTypeRequiredQueryParam = "Start"
	// NodeTransitionTypeRequiredQueryParamStop Transition an up node to stopped.
	NodeTransitionTypeRequiredQueryParamStop NodeTransitionTypeRequiredQueryParam = "Stop"
)

type NodeUpgradePhase

type NodeUpgradePhase string

NodeUpgradePhase enumerates the values for node upgrade phase.

const (
	// NodeUpgradePhaseInvalid Indicates the upgrade state is invalid. All Service Fabric enumerations have the
	// invalid type. The value is zero.
	NodeUpgradePhaseInvalid NodeUpgradePhase = "Invalid"
	// NodeUpgradePhasePostUpgradeSafetyCheck The upgrade has completed and post upgrade safety checks are
	// being performed. The value is 3
	NodeUpgradePhasePostUpgradeSafetyCheck NodeUpgradePhase = "PostUpgradeSafetyCheck"
	// NodeUpgradePhasePreUpgradeSafetyCheck The upgrade has not started yet due to pending safety checks. The
	// value is 1
	NodeUpgradePhasePreUpgradeSafetyCheck NodeUpgradePhase = "PreUpgradeSafetyCheck"
	// NodeUpgradePhaseUpgrading The upgrade is in progress. The value is 2
	NodeUpgradePhaseUpgrading NodeUpgradePhase = "Upgrading"
)

type NodeUpgradeProgressInfo

type NodeUpgradeProgressInfo struct {
	// NodeName - The name of a Service Fabric node.
	NodeName *string `json:"NodeName,omitempty"`
	// UpgradePhase - The state of the upgrading node. Possible values include: 'NodeUpgradePhaseInvalid', 'NodeUpgradePhasePreUpgradeSafetyCheck', 'NodeUpgradePhaseUpgrading', 'NodeUpgradePhasePostUpgradeSafetyCheck'
	UpgradePhase NodeUpgradePhase `json:"UpgradePhase,omitempty"`
	// PendingSafetyChecks - List of pending safety checks
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 OperationState

type OperationState string

OperationState enumerates the values for operation state.

const (
	// OperationStateCancelled The operation was cancelled by the user using CancelOperation, and is no longer
	// running.
	OperationStateCancelled OperationState = "Cancelled"
	// OperationStateCompleted The operation has completed successfully and is no longer running.
	OperationStateCompleted OperationState = "Completed"
	// OperationStateFaulted The operation has failed and is no longer running.
	OperationStateFaulted OperationState = "Faulted"
	// OperationStateForceCancelled The operation was cancelled by the user using CancelOperation, with the
	// force parameter set to true.  It is no longer running.  Refer to CancelOperation for more details.
	OperationStateForceCancelled OperationState = "ForceCancelled"
	// OperationStateInvalid The operation state is invalid.
	OperationStateInvalid OperationState = "Invalid"
	// OperationStateRollingBack The operation is rolling back internal system state because it encountered a
	// fatal error or was cancelled by the user.  "RollingBack"     does not refer to user state.  For example,
	// if CancelOperation is called on a command of type PartitionDataLoss, state of "RollingBack" does not
	// mean service data is being restored (assuming the command has progressed far enough to cause data loss).
	// It means the system is rolling back/cleaning up internal system state associated with the command.
	OperationStateRollingBack OperationState = "RollingBack"
	// OperationStateRunning The operation is in progress.
	OperationStateRunning OperationState = "Running"
)

type OperationStatus

type OperationStatus struct {
	// OperationID - A GUID that identifies a call to this API.  This is also passed into the corresponding GetProgress API.
	OperationID *uuid.UUID `json:"OperationId,omitempty"`
	// State - The state of the operation. Possible values include: 'OperationStateInvalid', 'OperationStateRunning', 'OperationStateRollingBack', 'OperationStateCompleted', 'OperationStateFaulted', 'OperationStateCancelled', 'OperationStateForceCancelled'
	State OperationState `json:"State,omitempty"`
	// Type - The type of the operation. Possible values include: 'OperationTypeInvalid', 'OperationTypePartitionDataLoss', 'OperationTypePartitionQuorumLoss', 'OperationTypePartitionRestart', 'OperationTypeNodeTransition'
	Type OperationType `json:"Type,omitempty"`
}

OperationStatus contains the OperationId, OperationState, and OperationType for user-induced operations.

type OperationType

type OperationType string

OperationType enumerates the values for operation type.

const (
	// OperationTypeInvalid The operation state is invalid.
	OperationTypeInvalid OperationType = "Invalid"
	// OperationTypeNodeTransition An operation started using the StartNodeTransition API.
	OperationTypeNodeTransition OperationType = "NodeTransition"
	// OperationTypePartitionDataLoss An operation started using the StartDataLoss API.
	OperationTypePartitionDataLoss OperationType = "PartitionDataLoss"
	// OperationTypePartitionQuorumLoss An operation started using the StartQuorumLoss API.
	OperationTypePartitionQuorumLoss OperationType = "PartitionQuorumLoss"
	// OperationTypePartitionRestart An operation started using the StartPartitionRestart API.
	OperationTypePartitionRestart OperationType = "PartitionRestart"
)

type PackageSharingPolicyInfo

type PackageSharingPolicyInfo struct {
	// SharedPackageName - The name of code, configuration or data package that should be shared.
	SharedPackageName *string `json:"SharedPackageName,omitempty"`
	// PackageSharingScope - Represents the scope for PackageSharingPolicy. This is specified during DeployServicePackageToNode operation. Possible values include: 'PackageSharingPolicyScopeNone', 'PackageSharingPolicyScopeAll', 'PackageSharingPolicyScopeCode', 'PackageSharingPolicyScopeConfig', 'PackageSharingPolicyScopeData'
	PackageSharingScope PackageSharingPolicyScope `json:"PackageSharingScope,omitempty"`
}

PackageSharingPolicyInfo represents a policy for the package sharing.

type PackageSharingPolicyScope

type PackageSharingPolicyScope string

PackageSharingPolicyScope enumerates the values for package sharing policy scope.

const (
	// PackageSharingPolicyScopeAll Share all code, config and data packages from corresponding service
	// manifest. The value is 1.
	PackageSharingPolicyScopeAll PackageSharingPolicyScope = "All"
	// PackageSharingPolicyScopeCode Share all code packages from corresponding service manifest. The value is
	// 2.
	PackageSharingPolicyScopeCode PackageSharingPolicyScope = "Code"
	// PackageSharingPolicyScopeConfig Share all config packages from corresponding service manifest. The value
	// is 3.
	PackageSharingPolicyScopeConfig PackageSharingPolicyScope = "Config"
	// PackageSharingPolicyScopeData Share all data packages from corresponding service manifest. The value is
	// 4.
	PackageSharingPolicyScopeData PackageSharingPolicyScope = "Data"
	// PackageSharingPolicyScopeNone No package sharing policy scope. The value is 0.
	PackageSharingPolicyScopeNone PackageSharingPolicyScope = "None"
)

type PagedApplicationInfoList

type PagedApplicationInfoList struct {
	autorest.Response `json:"-"`
	// ContinuationToken - The continuation token parameter is used to obtain next set of results. The continuation token 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 is not included in the response.
	ContinuationToken *string `json:"ContinuationToken,omitempty"`
	// Items - List of application information.
	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 - The continuation token parameter is used to obtain next set of results. The continuation token 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 is not included in the response.
	ContinuationToken *string `json:"ContinuationToken,omitempty"`
	// Items - List of application type information.
	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 PagedComposeDeploymentStatusInfoList

type PagedComposeDeploymentStatusInfoList struct {
	autorest.Response `json:"-"`
	// ContinuationToken - The continuation token parameter is used to obtain next set of results. The continuation token 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 is not included in the response.
	ContinuationToken *string `json:"ContinuationToken,omitempty"`
	// Items - List of compose deployment status information.
	Items *[]ComposeDeploymentStatusInfo `json:"Items,omitempty"`
}

PagedComposeDeploymentStatusInfoList the list of compose deployments 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 PagedDeployedApplicationInfoList

type PagedDeployedApplicationInfoList struct {
	autorest.Response `json:"-"`
	// ContinuationToken - The continuation token parameter is used to obtain next set of results. The continuation token 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 is not included in the response.
	ContinuationToken *string `json:"ContinuationToken,omitempty"`
	// Items - List of deployed application information.
	Items *[]DeployedApplicationInfo `json:"Items,omitempty"`
}

PagedDeployedApplicationInfoList the list of deployed applications in activating, downloading, or active states on a node. 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 - The continuation token parameter is used to obtain next set of results. The continuation token 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 is not included in the response.
	ContinuationToken *string `json:"ContinuationToken,omitempty"`
	// Items - List of node information.
	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 PagedPropertyInfoList

type PagedPropertyInfoList struct {
	autorest.Response `json:"-"`
	// ContinuationToken - The continuation token parameter is used to obtain next set of results. The continuation token 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 is not included in the response.
	ContinuationToken *string `json:"ContinuationToken,omitempty"`
	// IsConsistent - Indicates whether any property under the given name has been modified during the enumeration. If there was a modification, this property value is false.
	IsConsistent *bool `json:"IsConsistent,omitempty"`
	// Properties - List of property information.
	Properties *[]PropertyInfo `json:"Properties,omitempty"`
}

PagedPropertyInfoList the paged list of Service Fabric properties under a given name. 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 - The continuation token parameter is used to obtain next set of results. The continuation token 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 is not included in the response.
	ContinuationToken *string `json:"ContinuationToken,omitempty"`
	// Items - List of replica information.
	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 - The continuation token parameter is used to obtain next set of results. The continuation token 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 is not included in the response.
	ContinuationToken *string `json:"ContinuationToken,omitempty"`
	// Items - List of service information.
	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 - The continuation token parameter is used to obtain next set of results. The continuation token 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 is not included in the response.
	ContinuationToken *string `json:"ContinuationToken,omitempty"`
	// Items - List of service partition information.
	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 PagedSubNameInfoList

type PagedSubNameInfoList struct {
	autorest.Response `json:"-"`
	// ContinuationToken - The continuation token parameter is used to obtain next set of results. The continuation token 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 is not included in the response.
	ContinuationToken *string `json:"ContinuationToken,omitempty"`
	// IsConsistent - Indicates whether any name under the given name has been modified during the enumeration. If there was a modification, this property value is false.
	IsConsistent *bool `json:"IsConsistent,omitempty"`
	// SubNames - List of the child names.
	SubNames *[]string `json:"SubNames,omitempty"`
}

PagedSubNameInfoList a paged list of Service Fabric names. 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 PartitionAccessStatus

type PartitionAccessStatus string

PartitionAccessStatus enumerates the values for partition access status.

const (
	// PartitionAccessStatusGranted Indicates that the read or write operation access is granted and the
	// operation is allowed.
	PartitionAccessStatusGranted PartitionAccessStatus = "Granted"
	// PartitionAccessStatusInvalid Indicates that the read or write operation access status is not valid. This
	// value is not returned to the caller.
	PartitionAccessStatusInvalid PartitionAccessStatus = "Invalid"
	// PartitionAccessStatusNotPrimary Indicates that this client request was received by a replica that is not
	// a Primary replica.
	PartitionAccessStatusNotPrimary PartitionAccessStatus = "NotPrimary"
	// PartitionAccessStatusNoWriteQuorum Indicates that no write quorum is available and, therefore, no write
	// operation can be accepted.
	PartitionAccessStatusNoWriteQuorum PartitionAccessStatus = "NoWriteQuorum"
	// PartitionAccessStatusReconfigurationPending Indicates that the client should try again later, because a
	// reconfiguration is in progress.
	PartitionAccessStatusReconfigurationPending PartitionAccessStatus = "ReconfigurationPending"
)

type PartitionDataLossProgress

type PartitionDataLossProgress struct {
	autorest.Response `json:"-"`
	// State - The state of the operation. Possible values include: 'OperationStateInvalid', 'OperationStateRunning', 'OperationStateRollingBack', 'OperationStateCompleted', 'OperationStateFaulted', 'OperationStateCancelled', 'OperationStateForceCancelled'
	State OperationState `json:"State,omitempty"`
	// InvokeDataLossResult - Represents information about an operation in a terminal state (Completed or Faulted).
	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: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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"`
	// HealthStatistics - Shows the health statistics for all children types of the queried entity.
	HealthStatistics *HealthStatistics `json:"HealthStatistics,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 whose health evaluation is described by this object.
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 - Id of the partition whose health state is described by this object.
	PartitionID *uuid.UUID `json:"PartitionId,omitempty"`
	// AggregatedHealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `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 - An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition id is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the ids of its partitions would be different.
	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 - The state of the operation. Possible values include: 'OperationStateInvalid', 'OperationStateRunning', 'OperationStateRollingBack', 'OperationStateCompleted', 'OperationStateFaulted', 'OperationStateCancelled', 'OperationStateForceCancelled'
	State OperationState `json:"State,omitempty"`
	// InvokeQuorumLossResult - Represents information about an operation in a terminal state (Completed or Faulted).
	InvokeQuorumLossResult *InvokeQuorumLossResult `json:"InvokeQuorumLossResult,omitempty"`
}

PartitionQuorumLossProgress information about a partition quorum loss user-induced operation.

type PartitionRestartProgress

type PartitionRestartProgress struct {
	autorest.Response `json:"-"`
	// State - The state of the operation. Possible values include: 'OperationStateInvalid', 'OperationStateRunning', 'OperationStateRollingBack', 'OperationStateCompleted', 'OperationStateFaulted', 'OperationStateCancelled', 'OperationStateForceCancelled'
	State OperationState `json:"State,omitempty"`
	// RestartPartitionResult - Represents information about an operation in a terminal state (Completed or Faulted).
	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 (
	// PartitionSchemeInvalid Indicates the partition kind is invalid. All Service Fabric enumerations have the
	// invalid type. The value is zero.
	PartitionSchemeInvalid PartitionScheme = "Invalid"
	// PartitionSchemeNamed Indicates that the partition is based on string names, and is a
	// NamedPartitionSchemeDescription object. The value is 3
	PartitionSchemeNamed PartitionScheme = "Named"
	// PartitionSchemeSingleton Indicates that the partition is based on string names, and is a
	// SingletonPartitionSchemeDescription object, The value is 1.
	PartitionSchemeSingleton PartitionScheme = "Singleton"
	// PartitionSchemeUniformInt64Range Indicates that the partition is based on Int64 key ranges, and is a
	// UniformInt64RangePartitionSchemeDescription object. The value is 2.
	PartitionSchemeUniformInt64Range PartitionScheme = "UniformInt64Range"
)

type PartitionSchemeBasicPartitionSchemeDescription

type PartitionSchemeBasicPartitionSchemeDescription string

PartitionSchemeBasicPartitionSchemeDescription enumerates the values for partition scheme basic partition scheme description.

const (
	// PartitionSchemeNamed1 ...
	PartitionSchemeNamed1 PartitionSchemeBasicPartitionSchemeDescription = "Named"
	// PartitionSchemePartitionSchemeDescription ...
	PartitionSchemePartitionSchemeDescription PartitionSchemeBasicPartitionSchemeDescription = "PartitionSchemeDescription"
	// PartitionSchemeSingleton1 ...
	PartitionSchemeSingleton1 PartitionSchemeBasicPartitionSchemeDescription = "Singleton"
	// PartitionSchemeUniformInt64Range1 ...
	PartitionSchemeUniformInt64Range1 PartitionSchemeBasicPartitionSchemeDescription = "UniformInt64Range"
)

type PartitionSchemeDescription

type PartitionSchemeDescription struct {
	// PartitionScheme - Possible values include: 'PartitionSchemePartitionSchemeDescription', 'PartitionSchemeNamed1', 'PartitionSchemeSingleton1', 'PartitionSchemeUniformInt64Range1'
	PartitionScheme PartitionSchemeBasicPartitionSchemeDescription `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 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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 provides statistics about the Service Fabric Replicator, when it is functioning in a Primary role.

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 PropertyBatchDescriptionList

type PropertyBatchDescriptionList struct {
	// Operations - A list of the property batch operations to be executed.
	Operations *[]BasicPropertyBatchOperation `json:"Operations,omitempty"`
}

PropertyBatchDescriptionList describes a list of property batch operations to be executed. Either all or none of the operations will be committed.

func (*PropertyBatchDescriptionList) UnmarshalJSON

func (pbdl *PropertyBatchDescriptionList) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PropertyBatchDescriptionList struct.

type PropertyBatchInfo

type PropertyBatchInfo struct {
	autorest.Response `json:"-"`
	// Kind - Possible values include: 'KindPropertyBatchInfo', 'KindSuccessful', 'KindFailed'
	Kind KindBasicPropertyBatchInfo `json:"Kind,omitempty"`
}

PropertyBatchInfo information about the results of a property batch.

func (PropertyBatchInfo) AsBasicPropertyBatchInfo

func (pbi PropertyBatchInfo) AsBasicPropertyBatchInfo() (BasicPropertyBatchInfo, bool)

AsBasicPropertyBatchInfo is the BasicPropertyBatchInfo implementation for PropertyBatchInfo.

func (PropertyBatchInfo) AsFailedPropertyBatchInfo

func (pbi PropertyBatchInfo) AsFailedPropertyBatchInfo() (*FailedPropertyBatchInfo, bool)

AsFailedPropertyBatchInfo is the BasicPropertyBatchInfo implementation for PropertyBatchInfo.

func (PropertyBatchInfo) AsPropertyBatchInfo

func (pbi PropertyBatchInfo) AsPropertyBatchInfo() (*PropertyBatchInfo, bool)

AsPropertyBatchInfo is the BasicPropertyBatchInfo implementation for PropertyBatchInfo.

func (PropertyBatchInfo) AsSuccessfulPropertyBatchInfo

func (pbi PropertyBatchInfo) AsSuccessfulPropertyBatchInfo() (*SuccessfulPropertyBatchInfo, bool)

AsSuccessfulPropertyBatchInfo is the BasicPropertyBatchInfo implementation for PropertyBatchInfo.

func (PropertyBatchInfo) MarshalJSON

func (pbi PropertyBatchInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PropertyBatchInfo.

type PropertyBatchInfoKind

type PropertyBatchInfoKind string

PropertyBatchInfoKind enumerates the values for property batch info kind.

const (
	// PropertyBatchInfoKindFailed The property batch failed.
	PropertyBatchInfoKindFailed PropertyBatchInfoKind = "Failed"
	// PropertyBatchInfoKindInvalid Indicates the property batch info is invalid. All Service Fabric
	// enumerations have the invalid type.
	PropertyBatchInfoKindInvalid PropertyBatchInfoKind = "Invalid"
	// PropertyBatchInfoKindSuccessful The property batch succeeded.
	PropertyBatchInfoKindSuccessful PropertyBatchInfoKind = "Successful"
)

type PropertyBatchInfoModel

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

PropertyBatchInfoModel ...

func (*PropertyBatchInfoModel) UnmarshalJSON

func (pbim *PropertyBatchInfoModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PropertyBatchInfoModel struct.

type PropertyBatchOperation

type PropertyBatchOperation struct {
	// PropertyName - The name of the Service Fabric property.
	PropertyName *string `json:"PropertyName,omitempty"`
	// Kind - Possible values include: 'KindPropertyBatchOperation', 'KindCheckExists', 'KindCheckSequence', 'KindCheckValue', 'KindDelete', 'KindGet', 'KindPut'
	Kind KindBasicPropertyBatchOperation `json:"Kind,omitempty"`
}

PropertyBatchOperation represents the base type for property operations that can be put into a batch and submitted.

func (PropertyBatchOperation) AsBasicPropertyBatchOperation

func (pbo PropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)

AsBasicPropertyBatchOperation is the BasicPropertyBatchOperation implementation for PropertyBatchOperation.

func (PropertyBatchOperation) AsCheckExistsPropertyBatchOperation

func (pbo PropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)

AsCheckExistsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for PropertyBatchOperation.

func (PropertyBatchOperation) AsCheckSequencePropertyBatchOperation

func (pbo PropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)

AsCheckSequencePropertyBatchOperation is the BasicPropertyBatchOperation implementation for PropertyBatchOperation.

func (PropertyBatchOperation) AsCheckValuePropertyBatchOperation

func (pbo PropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)

AsCheckValuePropertyBatchOperation is the BasicPropertyBatchOperation implementation for PropertyBatchOperation.

func (PropertyBatchOperation) AsDeletePropertyBatchOperation

func (pbo PropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)

AsDeletePropertyBatchOperation is the BasicPropertyBatchOperation implementation for PropertyBatchOperation.

func (PropertyBatchOperation) AsGetPropertyBatchOperation

func (pbo PropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)

AsGetPropertyBatchOperation is the BasicPropertyBatchOperation implementation for PropertyBatchOperation.

func (PropertyBatchOperation) AsPropertyBatchOperation

func (pbo PropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)

AsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for PropertyBatchOperation.

func (PropertyBatchOperation) AsPutPropertyBatchOperation

func (pbo PropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)

AsPutPropertyBatchOperation is the BasicPropertyBatchOperation implementation for PropertyBatchOperation.

func (PropertyBatchOperation) MarshalJSON

func (pbo PropertyBatchOperation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PropertyBatchOperation.

type PropertyBatchOperationKind

type PropertyBatchOperationKind string

PropertyBatchOperationKind enumerates the values for property batch operation kind.

const (
	// PropertyBatchOperationKindCheckExists The operation will check that a property exists or doesn't exists,
	// depending on the provided value. The value is 3.
	PropertyBatchOperationKindCheckExists PropertyBatchOperationKind = "CheckExists"
	// PropertyBatchOperationKindCheckSequence The operation will ensure that the sequence number is equal to
	// the provided value. The value is 4.
	PropertyBatchOperationKindCheckSequence PropertyBatchOperationKind = "CheckSequence"
	// PropertyBatchOperationKindCheckValue The operation will ensure that the value of a property is equal to
	// the provided value. The value is 7.
	PropertyBatchOperationKindCheckValue PropertyBatchOperationKind = "CheckValue"
	// PropertyBatchOperationKindDelete The operation will delete a property. The value is 5.
	PropertyBatchOperationKindDelete PropertyBatchOperationKind = "Delete"
	// PropertyBatchOperationKindGet The operation will get a property. The value is 2.
	PropertyBatchOperationKindGet PropertyBatchOperationKind = "Get"
	// PropertyBatchOperationKindInvalid Indicates the property operation is invalid. All Service Fabric
	// enumerations have the invalid type. The value is zero.
	PropertyBatchOperationKindInvalid PropertyBatchOperationKind = "Invalid"
	// PropertyBatchOperationKindPut The operation will create or edit a property. The value is 1.
	PropertyBatchOperationKindPut PropertyBatchOperationKind = "Put"
)

type PropertyDescription

type PropertyDescription struct {
	// PropertyName - The name of the Service Fabric property.
	PropertyName *string `json:"PropertyName,omitempty"`
	// CustomTypeID - The property's custom type id. Using this property, the user is able to tag the type of the value of the property.
	CustomTypeID *string `json:"CustomTypeId,omitempty"`
	// Value - Describes a Service Fabric property value.
	Value BasicPropertyValue `json:"Value,omitempty"`
}

PropertyDescription description of a Service Fabric property.

func (*PropertyDescription) UnmarshalJSON

func (pd *PropertyDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PropertyDescription struct.

type PropertyInfo

type PropertyInfo struct {
	autorest.Response `json:"-"`
	// Name - The name of the Service Fabric property.
	Name *string `json:"Name,omitempty"`
	// Value - Describes a Service Fabric property value.
	Value BasicPropertyValue `json:"Value,omitempty"`
	// Metadata - The metadata associated with a property, including the property's name.
	Metadata *PropertyMetadata `json:"Metadata,omitempty"`
}

PropertyInfo information about a Service Fabric property.

func (*PropertyInfo) UnmarshalJSON

func (pi *PropertyInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PropertyInfo struct.

type PropertyMetadata

type PropertyMetadata struct {
	// TypeID - The kind of property, determined by the type of data. Following are the possible values. Possible values include: 'PropertyValueKindInvalid', 'PropertyValueKindBinary', 'PropertyValueKindInt64', 'PropertyValueKindDouble', 'PropertyValueKindString', 'PropertyValueKindGUID'
	TypeID PropertyValueKind `json:"TypeId,omitempty"`
	// CustomTypeID - The property's custom type id.
	CustomTypeID *string `json:"CustomTypeId,omitempty"`
	// Parent - The name of the parent Service Fabric Name for the property. It could be thought of as the namespace/table under which the property exists.
	Parent *string `json:"Parent,omitempty"`
	// SizeInBytes - The length of the serialized property value.
	SizeInBytes *int32 `json:"SizeInBytes,omitempty"`
	// LastModifiedUtcTimestamp - Represents when the Property was last modified. Only write operations will cause this field to be updated.
	LastModifiedUtcTimestamp *date.Time `json:"LastModifiedUtcTimestamp,omitempty"`
	// SequenceNumber - The version of the property. Every time a property is modified, its sequence number is increased.
	SequenceNumber *string `json:"SequenceNumber,omitempty"`
}

PropertyMetadata the metadata associated with a property, including the property's name.

type PropertyValue

type PropertyValue struct {
	// Kind - Possible values include: 'KindPropertyValue', 'KindBinary', 'KindInt64', 'KindDouble', 'KindString', 'KindGUID'
	Kind KindBasicPropertyValue `json:"Kind,omitempty"`
}

PropertyValue describes a Service Fabric property value.

func (PropertyValue) AsBasicPropertyValue

func (pv PropertyValue) AsBasicPropertyValue() (BasicPropertyValue, bool)

AsBasicPropertyValue is the BasicPropertyValue implementation for PropertyValue.

func (PropertyValue) AsBinaryPropertyValue

func (pv PropertyValue) AsBinaryPropertyValue() (*BinaryPropertyValue, bool)

AsBinaryPropertyValue is the BasicPropertyValue implementation for PropertyValue.

func (PropertyValue) AsDoublePropertyValue

func (pv PropertyValue) AsDoublePropertyValue() (*DoublePropertyValue, bool)

AsDoublePropertyValue is the BasicPropertyValue implementation for PropertyValue.

func (PropertyValue) AsGUIDPropertyValue

func (pv PropertyValue) AsGUIDPropertyValue() (*GUIDPropertyValue, bool)

AsGUIDPropertyValue is the BasicPropertyValue implementation for PropertyValue.

func (PropertyValue) AsInt64PropertyValue

func (pv PropertyValue) AsInt64PropertyValue() (*Int64PropertyValue, bool)

AsInt64PropertyValue is the BasicPropertyValue implementation for PropertyValue.

func (PropertyValue) AsPropertyValue

func (pv PropertyValue) AsPropertyValue() (*PropertyValue, bool)

AsPropertyValue is the BasicPropertyValue implementation for PropertyValue.

func (PropertyValue) AsStringPropertyValue

func (pv PropertyValue) AsStringPropertyValue() (*StringPropertyValue, bool)

AsStringPropertyValue is the BasicPropertyValue implementation for PropertyValue.

func (PropertyValue) MarshalJSON

func (pv PropertyValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PropertyValue.

type PropertyValueKind

type PropertyValueKind string

PropertyValueKind enumerates the values for property value kind.

const (
	// PropertyValueKindBinary The data inside the property is a binary blob. The value is 1.
	PropertyValueKindBinary PropertyValueKind = "Binary"
	// PropertyValueKindDouble The data inside the property is a double. The value is 3.
	PropertyValueKindDouble PropertyValueKind = "Double"
	// PropertyValueKindGUID The data inside the property is a guid. The value is 5.
	PropertyValueKindGUID PropertyValueKind = "Guid"
	// PropertyValueKindInt64 The data inside the property is an int64. The value is 2.
	PropertyValueKindInt64 PropertyValueKind = "Int64"
	// PropertyValueKindInvalid Indicates the property is invalid. All Service Fabric enumerations have the
	// invalid type. The value is zero.
	PropertyValueKindInvalid PropertyValueKind = "Invalid"
	// PropertyValueKindString The data inside the property is a string. The value is 4.
	PropertyValueKindString PropertyValueKind = "String"
)

type ProvisionApplicationTypeDescription

type ProvisionApplicationTypeDescription struct {
	// ApplicationTypeBuildPath - The relative path for the application package in the image store specified during the prior upload operation.
	ApplicationTypeBuildPath *string `json:"ApplicationTypeBuildPath,omitempty"`
	// Async - Indicates whether or not provisioning should occur asynchronously. When set to true, the provision operation returns when the request is accepted by the system, and the provision operation continues without any timeout limit. The default value is false. For large application packages, we recommend setting the value to true.
	Async *bool `json:"Async,omitempty"`
	// Kind - Possible values include: 'KindProvisionApplicationTypeDescriptionBase', 'KindImageStorePath', 'KindExternalStore'
	Kind KindBasicProvisionApplicationTypeDescriptionBase `json:"Kind,omitempty"`
}

ProvisionApplicationTypeDescription describes the operation to register or provision an application type using an application package uploaded to the Service Fabric image store.

func (ProvisionApplicationTypeDescription) AsBasicProvisionApplicationTypeDescriptionBase

func (patd ProvisionApplicationTypeDescription) AsBasicProvisionApplicationTypeDescriptionBase() (BasicProvisionApplicationTypeDescriptionBase, bool)

AsBasicProvisionApplicationTypeDescriptionBase is the BasicProvisionApplicationTypeDescriptionBase implementation for ProvisionApplicationTypeDescription.

func (ProvisionApplicationTypeDescription) AsExternalStoreProvisionApplicationTypeDescription

func (patd ProvisionApplicationTypeDescription) AsExternalStoreProvisionApplicationTypeDescription() (*ExternalStoreProvisionApplicationTypeDescription, bool)

AsExternalStoreProvisionApplicationTypeDescription is the BasicProvisionApplicationTypeDescriptionBase implementation for ProvisionApplicationTypeDescription.

func (ProvisionApplicationTypeDescription) AsProvisionApplicationTypeDescription

func (patd ProvisionApplicationTypeDescription) AsProvisionApplicationTypeDescription() (*ProvisionApplicationTypeDescription, bool)

AsProvisionApplicationTypeDescription is the BasicProvisionApplicationTypeDescriptionBase implementation for ProvisionApplicationTypeDescription.

func (ProvisionApplicationTypeDescription) AsProvisionApplicationTypeDescriptionBase

func (patd ProvisionApplicationTypeDescription) AsProvisionApplicationTypeDescriptionBase() (*ProvisionApplicationTypeDescriptionBase, bool)

AsProvisionApplicationTypeDescriptionBase is the BasicProvisionApplicationTypeDescriptionBase implementation for ProvisionApplicationTypeDescription.

func (ProvisionApplicationTypeDescription) MarshalJSON

func (patd ProvisionApplicationTypeDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProvisionApplicationTypeDescription.

type ProvisionApplicationTypeDescriptionBase

type ProvisionApplicationTypeDescriptionBase struct {
	// Async - Indicates whether or not provisioning should occur asynchronously. When set to true, the provision operation returns when the request is accepted by the system, and the provision operation continues without any timeout limit. The default value is false. For large application packages, we recommend setting the value to true.
	Async *bool `json:"Async,omitempty"`
	// Kind - Possible values include: 'KindProvisionApplicationTypeDescriptionBase', 'KindImageStorePath', 'KindExternalStore'
	Kind KindBasicProvisionApplicationTypeDescriptionBase `json:"Kind,omitempty"`
}

ProvisionApplicationTypeDescriptionBase represents the type of registration or provision requested, and if the operation needs to be asynchronous or not. Supported types of provision operations are from either image store or external store.

func (ProvisionApplicationTypeDescriptionBase) AsBasicProvisionApplicationTypeDescriptionBase

func (patdb ProvisionApplicationTypeDescriptionBase) AsBasicProvisionApplicationTypeDescriptionBase() (BasicProvisionApplicationTypeDescriptionBase, bool)

AsBasicProvisionApplicationTypeDescriptionBase is the BasicProvisionApplicationTypeDescriptionBase implementation for ProvisionApplicationTypeDescriptionBase.

func (ProvisionApplicationTypeDescriptionBase) AsExternalStoreProvisionApplicationTypeDescription

func (patdb ProvisionApplicationTypeDescriptionBase) AsExternalStoreProvisionApplicationTypeDescription() (*ExternalStoreProvisionApplicationTypeDescription, bool)

AsExternalStoreProvisionApplicationTypeDescription is the BasicProvisionApplicationTypeDescriptionBase implementation for ProvisionApplicationTypeDescriptionBase.

func (ProvisionApplicationTypeDescriptionBase) AsProvisionApplicationTypeDescription

func (patdb ProvisionApplicationTypeDescriptionBase) AsProvisionApplicationTypeDescription() (*ProvisionApplicationTypeDescription, bool)

AsProvisionApplicationTypeDescription is the BasicProvisionApplicationTypeDescriptionBase implementation for ProvisionApplicationTypeDescriptionBase.

func (ProvisionApplicationTypeDescriptionBase) AsProvisionApplicationTypeDescriptionBase

func (patdb ProvisionApplicationTypeDescriptionBase) AsProvisionApplicationTypeDescriptionBase() (*ProvisionApplicationTypeDescriptionBase, bool)

AsProvisionApplicationTypeDescriptionBase is the BasicProvisionApplicationTypeDescriptionBase implementation for ProvisionApplicationTypeDescriptionBase.

func (ProvisionApplicationTypeDescriptionBase) MarshalJSON

func (patdb ProvisionApplicationTypeDescriptionBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProvisionApplicationTypeDescriptionBase.

type ProvisionApplicationTypeKind

type ProvisionApplicationTypeKind string

ProvisionApplicationTypeKind enumerates the values for provision application type kind.

const (
	// ProvisionApplicationTypeKindExternalStore Indicates that the provision is for an application package
	// that was previously uploaded to an external store. The application package ends with the extension
	// *.sfpkg. The value is 2.
	ProvisionApplicationTypeKindExternalStore ProvisionApplicationTypeKind = "ExternalStore"
	// ProvisionApplicationTypeKindImageStorePath Indicates that the provision is for a package that was
	// previously uploaded to the image store. The value is 1.
	ProvisionApplicationTypeKindImageStorePath ProvisionApplicationTypeKind = "ImageStorePath"
	// ProvisionApplicationTypeKindInvalid Indicates that the provision kind is invalid. This value is default
	// and should not be used. The value is zero.
	ProvisionApplicationTypeKindInvalid ProvisionApplicationTypeKind = "Invalid"
)

type ProvisionFabricDescription

type ProvisionFabricDescription struct {
	// CodeFilePath - The cluster code package file path.
	CodeFilePath *string `json:"CodeFilePath,omitempty"`
	// ClusterManifestFilePath - The cluster manifest file path.
	ClusterManifestFilePath *string `json:"ClusterManifestFilePath,omitempty"`
}

ProvisionFabricDescription describes the parameters for provisioning a cluster.

type PutPropertyBatchOperation

type PutPropertyBatchOperation struct {
	// Value - Describes a Service Fabric property value.
	Value BasicPropertyValue `json:"Value,omitempty"`
	// CustomTypeID - The property's custom type id. Using this property, the user is able to tag the type of the value of the property.
	CustomTypeID *string `json:"CustomTypeId,omitempty"`
	// PropertyName - The name of the Service Fabric property.
	PropertyName *string `json:"PropertyName,omitempty"`
	// Kind - Possible values include: 'KindPropertyBatchOperation', 'KindCheckExists', 'KindCheckSequence', 'KindCheckValue', 'KindDelete', 'KindGet', 'KindPut'
	Kind KindBasicPropertyBatchOperation `json:"Kind,omitempty"`
}

PutPropertyBatchOperation puts the specified property under the specified name. Note that if one PropertyBatchOperation in a PropertyBatch fails, the entire batch fails and cannot be committed in a transactional manner.

func (PutPropertyBatchOperation) AsBasicPropertyBatchOperation

func (ppbo PutPropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)

AsBasicPropertyBatchOperation is the BasicPropertyBatchOperation implementation for PutPropertyBatchOperation.

func (PutPropertyBatchOperation) AsCheckExistsPropertyBatchOperation

func (ppbo PutPropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)

AsCheckExistsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for PutPropertyBatchOperation.

func (PutPropertyBatchOperation) AsCheckSequencePropertyBatchOperation

func (ppbo PutPropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)

AsCheckSequencePropertyBatchOperation is the BasicPropertyBatchOperation implementation for PutPropertyBatchOperation.

func (PutPropertyBatchOperation) AsCheckValuePropertyBatchOperation

func (ppbo PutPropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)

AsCheckValuePropertyBatchOperation is the BasicPropertyBatchOperation implementation for PutPropertyBatchOperation.

func (PutPropertyBatchOperation) AsDeletePropertyBatchOperation

func (ppbo PutPropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)

AsDeletePropertyBatchOperation is the BasicPropertyBatchOperation implementation for PutPropertyBatchOperation.

func (PutPropertyBatchOperation) AsGetPropertyBatchOperation

func (ppbo PutPropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)

AsGetPropertyBatchOperation is the BasicPropertyBatchOperation implementation for PutPropertyBatchOperation.

func (PutPropertyBatchOperation) AsPropertyBatchOperation

func (ppbo PutPropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)

AsPropertyBatchOperation is the BasicPropertyBatchOperation implementation for PutPropertyBatchOperation.

func (PutPropertyBatchOperation) AsPutPropertyBatchOperation

func (ppbo PutPropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)

AsPutPropertyBatchOperation is the BasicPropertyBatchOperation implementation for PutPropertyBatchOperation.

func (PutPropertyBatchOperation) MarshalJSON

func (ppbo PutPropertyBatchOperation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PutPropertyBatchOperation.

func (*PutPropertyBatchOperation) UnmarshalJSON

func (ppbo *PutPropertyBatchOperation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PutPropertyBatchOperation struct.

type QuorumLossModeRequiredQueryParam

type QuorumLossModeRequiredQueryParam string

QuorumLossModeRequiredQueryParam enumerates the values for quorum loss mode required query param.

const (
	// QuorumLossModeRequiredQueryParamAllReplicas ...
	QuorumLossModeRequiredQueryParamAllReplicas QuorumLossModeRequiredQueryParam = "AllReplicas"
	// QuorumLossModeRequiredQueryParamInvalid Reserved.  Do not pass into API.
	QuorumLossModeRequiredQueryParamInvalid QuorumLossModeRequiredQueryParam = "Invalid"
	// QuorumLossModeRequiredQueryParamQuorumReplicas Partial Quorum loss mode : Minimum number of replicas for
	// a partition will be down that will cause a quorum loss.
	QuorumLossModeRequiredQueryParamQuorumReplicas QuorumLossModeRequiredQueryParam = "QuorumReplicas"
)

type ReconfigurationInformation

type ReconfigurationInformation struct {
	// PreviousConfigurationRole - Replica role before reconfiguration started. Possible values include: 'ReplicaRoleUnknown', 'ReplicaRoleNone', 'ReplicaRolePrimary', 'ReplicaRoleIdleSecondary', 'ReplicaRoleActiveSecondary'
	PreviousConfigurationRole ReplicaRole `json:"PreviousConfigurationRole,omitempty"`
	// ReconfigurationPhase - Current phase of ongoing reconfiguration. If no reconfiguration is taking place then this value will be "None". Possible values include: 'ReconfigurationPhaseUnknown', 'ReconfigurationPhaseNone', 'ReconfigurationPhasePhase0', 'ReconfigurationPhasePhase1', 'ReconfigurationPhasePhase2', 'ReconfigurationPhasePhase3', 'ReconfigurationPhasePhase4', 'ReconfigurationPhaseAbortPhaseZero'
	ReconfigurationPhase ReconfigurationPhase `json:"ReconfigurationPhase,omitempty"`
	// ReconfigurationType - Type of current ongoing reconfiguration. If no reconfiguration is taking place then this value will be "None". Possible values include: 'ReconfigurationTypeUnknown', 'ReconfigurationTypeSwapPrimary', 'ReconfigurationTypeFailover', 'ReconfigurationTypeOther'
	ReconfigurationType ReconfigurationType `json:"ReconfigurationType,omitempty"`
	// ReconfigurationStartTimeUtc - Start time (in UTC) of the ongoing reconfiguration. If no reconfiguration is taking place then this value will be zero date-time.
	ReconfigurationStartTimeUtc *date.Time `json:"ReconfigurationStartTimeUtc,omitempty"`
}

ReconfigurationInformation information about current reconfiguration like phase, type, previous configuration role of replica and reconfiguration start date time.

type ReconfigurationPhase

type ReconfigurationPhase string

ReconfigurationPhase enumerates the values for reconfiguration phase.

const (
	// ReconfigurationPhaseAbortPhaseZero This phase is for internal use only.
	ReconfigurationPhaseAbortPhaseZero ReconfigurationPhase = "AbortPhaseZero"
	// ReconfigurationPhaseNone Specifies that there is no reconfiguration in progress.
	ReconfigurationPhaseNone ReconfigurationPhase = "None"
	// ReconfigurationPhasePhase0 Refers to the phase where the reconfiguration is transferring data from the
	// previous primary to the new primary.
	ReconfigurationPhasePhase0 ReconfigurationPhase = "Phase0"
	// ReconfigurationPhasePhase1 Refers to the phase where the reconfiguration is querying the replica set for
	// the progress.
	ReconfigurationPhasePhase1 ReconfigurationPhase = "Phase1"
	// ReconfigurationPhasePhase2 Refers to the phase where the reconfiguration is ensuring that data from the
	// current primary is present in a majority of the replica set.
	ReconfigurationPhasePhase2 ReconfigurationPhase = "Phase2"
	// ReconfigurationPhasePhase3 This phase is for internal use only.
	ReconfigurationPhasePhase3 ReconfigurationPhase = "Phase3"
	// ReconfigurationPhasePhase4 This phase is for internal use only.
	ReconfigurationPhasePhase4 ReconfigurationPhase = "Phase4"
	// ReconfigurationPhaseUnknown Indicates the invalid reconfiguration phase.
	ReconfigurationPhaseUnknown ReconfigurationPhase = "Unknown"
)

type ReconfigurationType

type ReconfigurationType string

ReconfigurationType enumerates the values for reconfiguration type.

const (
	// ReconfigurationTypeFailover Reconfiguration triggered in response to a primary going down. This could be
	// due to many reasons such as primary replica crashing etc.
	ReconfigurationTypeFailover ReconfigurationType = "Failover"
	// ReconfigurationTypeOther Reconfigurations where the primary replica is not changing.
	ReconfigurationTypeOther ReconfigurationType = "Other"
	// ReconfigurationTypeSwapPrimary Specifies that the primary replica is being swapped with a different
	// replica.
	ReconfigurationTypeSwapPrimary ReconfigurationType = "SwapPrimary"
	// ReconfigurationTypeUnknown Indicates the invalid reconfiguration type.
	ReconfigurationTypeUnknown ReconfigurationType = "Unknown"
)

type RegistryCredential

type RegistryCredential struct {
	// RegistryUserName - The user name to connect to container registry.
	RegistryUserName *string `json:"RegistryUserName,omitempty"`
	// RegistryPassword - The password for supplied username to connect to container registry.
	RegistryPassword *string `json:"RegistryPassword,omitempty"`
	// PasswordEncrypted - Indicates that supplied container registry password is encrypted.
	PasswordEncrypted *bool `json:"PasswordEncrypted,omitempty"`
}

RegistryCredential credential information to connect to container registry.

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 RepairImpactDescriptionBase

type RepairImpactDescriptionBase struct {
	// Kind - Possible values include: 'KindBasicRepairImpactDescriptionBaseKindRepairImpactDescriptionBase', 'KindBasicRepairImpactDescriptionBaseKindNode'
	Kind KindBasicRepairImpactDescriptionBase `json:"Kind,omitempty"`
}

RepairImpactDescriptionBase describes the expected impact of executing a repair task.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

func (RepairImpactDescriptionBase) AsBasicRepairImpactDescriptionBase

func (ridb RepairImpactDescriptionBase) AsBasicRepairImpactDescriptionBase() (BasicRepairImpactDescriptionBase, bool)

AsBasicRepairImpactDescriptionBase is the BasicRepairImpactDescriptionBase implementation for RepairImpactDescriptionBase.

func (RepairImpactDescriptionBase) AsNodeRepairImpactDescription

func (ridb RepairImpactDescriptionBase) AsNodeRepairImpactDescription() (*NodeRepairImpactDescription, bool)

AsNodeRepairImpactDescription is the BasicRepairImpactDescriptionBase implementation for RepairImpactDescriptionBase.

func (RepairImpactDescriptionBase) AsRepairImpactDescriptionBase

func (ridb RepairImpactDescriptionBase) AsRepairImpactDescriptionBase() (*RepairImpactDescriptionBase, bool)

AsRepairImpactDescriptionBase is the BasicRepairImpactDescriptionBase implementation for RepairImpactDescriptionBase.

func (RepairImpactDescriptionBase) MarshalJSON

func (ridb RepairImpactDescriptionBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RepairImpactDescriptionBase.

type RepairImpactKind

type RepairImpactKind string

RepairImpactKind enumerates the values for repair impact kind.

const (
	// RepairImpactKindInvalid The repair impact is not valid or is of an unknown type.
	RepairImpactKindInvalid RepairImpactKind = "Invalid"
	// RepairImpactKindNode The repair impact affects a set of Service Fabric nodes.
	RepairImpactKindNode RepairImpactKind = "Node"
)

type RepairTargetDescriptionBase

type RepairTargetDescriptionBase struct {
	// Kind - Possible values include: 'KindBasicRepairTargetDescriptionBaseKindRepairTargetDescriptionBase', 'KindBasicRepairTargetDescriptionBaseKindNode'
	Kind KindBasicRepairTargetDescriptionBase `json:"Kind,omitempty"`
}

RepairTargetDescriptionBase describes the entities targeted by a repair action.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

func (RepairTargetDescriptionBase) AsBasicRepairTargetDescriptionBase

func (rtdb RepairTargetDescriptionBase) AsBasicRepairTargetDescriptionBase() (BasicRepairTargetDescriptionBase, bool)

AsBasicRepairTargetDescriptionBase is the BasicRepairTargetDescriptionBase implementation for RepairTargetDescriptionBase.

func (RepairTargetDescriptionBase) AsNodeRepairTargetDescription

func (rtdb RepairTargetDescriptionBase) AsNodeRepairTargetDescription() (*NodeRepairTargetDescription, bool)

AsNodeRepairTargetDescription is the BasicRepairTargetDescriptionBase implementation for RepairTargetDescriptionBase.

func (RepairTargetDescriptionBase) AsRepairTargetDescriptionBase

func (rtdb RepairTargetDescriptionBase) AsRepairTargetDescriptionBase() (*RepairTargetDescriptionBase, bool)

AsRepairTargetDescriptionBase is the BasicRepairTargetDescriptionBase implementation for RepairTargetDescriptionBase.

func (RepairTargetDescriptionBase) MarshalJSON

func (rtdb RepairTargetDescriptionBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RepairTargetDescriptionBase.

type RepairTargetKind

type RepairTargetKind string

RepairTargetKind enumerates the values for repair target kind.

const (
	// RepairTargetKindInvalid The repair target is not valid or is of an unknown type.
	RepairTargetKindInvalid RepairTargetKind = "Invalid"
	// RepairTargetKindNode The repair target is a set of Service Fabric nodes.
	RepairTargetKindNode RepairTargetKind = "Node"
)

type RepairTask

type RepairTask struct {
	// TaskID - The ID of the repair task.
	TaskID *string `json:"TaskId,omitempty"`
	// Version - The version of the repair task.
	// When creating a new repair task, the version must be set to zero.  When updating a repair task,
	// the version is used for optimistic concurrency checks.  If the version is
	// set to zero, the update will not check for write conflicts.  If the version is set to a non-zero value, then the
	// update will only succeed if the actual current version of the repair task matches this value.
	Version *string `json:"Version,omitempty"`
	// Description - A description of the purpose of the repair task, or other informational details.
	// May be set when the repair task is created, and is immutable once set.
	Description *string `json:"Description,omitempty"`
	// State - The workflow state of the repair task. Valid initial states are Created, Claimed, and Preparing. Possible values include: 'StateInvalid', 'StateCreated', 'StateClaimed', 'StatePreparing', 'StateApproved', 'StateExecuting', 'StateRestoring', 'StateCompleted'
	State State `json:"State,omitempty"`
	// Flags - A bitwise-OR of the following values, which gives additional details about the status of the repair task.
	// - 1 - Cancellation of the repair has been requested
	// - 2 - Abort of the repair has been requested
	// - 4 - Approval of the repair was forced via client request
	Flags *int32 `json:"Flags,omitempty"`
	// Action - The requested repair action. Must be specified when the repair task is created, and is immutable once set.
	Action *string `json:"Action,omitempty"`
	// Target - The target object determines what actions the system will take to prepare for the impact of the repair, prior to approving execution of the repair.
	// May be set when the repair task is created, and is immutable once set.
	Target BasicRepairTargetDescriptionBase `json:"Target,omitempty"`
	// Executor - The name of the repair executor. Must be specified in Claimed and later states, and is immutable once set.
	Executor *string `json:"Executor,omitempty"`
	// ExecutorData - A data string that the repair executor can use to store its internal state.
	ExecutorData *string `json:"ExecutorData,omitempty"`
	// Impact - The impact object determines what actions the system will take to prepare for the impact of the repair, prior to approving execution of the repair.
	// Impact must be specified by the repair executor when transitioning to the Preparing state, and is immutable once set.
	Impact BasicRepairImpactDescriptionBase `json:"Impact,omitempty"`
	// ResultStatus - A value describing the overall result of the repair task execution. Must be specified in the Restoring and later states, and is immutable once set. Possible values include: 'ResultStatusInvalid', 'ResultStatusSucceeded', 'ResultStatusCancelled', 'ResultStatusInterrupted', 'ResultStatusFailed', 'ResultStatusPending'
	ResultStatus ResultStatus `json:"ResultStatus,omitempty"`
	// ResultCode - A numeric value providing additional details about the result of the repair task execution.
	// May be specified in the Restoring and later states, and is immutable once set.
	ResultCode *int32 `json:"ResultCode,omitempty"`
	// ResultDetails - A string providing additional details about the result of the repair task execution.
	// May be specified in the Restoring and later states, and is immutable once set.
	ResultDetails *string `json:"ResultDetails,omitempty"`
	// History - An object that contains timestamps of the repair task's state transitions.
	// These timestamps are updated by the system, and cannot be directly modified.
	History *RepairTaskHistory `json:"History,omitempty"`
	// PreparingHealthCheckState - The workflow state of the health check when the repair task is in the Preparing state. Possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Skipped', 'TimedOut'
	PreparingHealthCheckState RepairTaskHealthCheckState `json:"PreparingHealthCheckState,omitempty"`
	// RestoringHealthCheckState - The workflow state of the health check when the repair task is in the Restoring state. Possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Skipped', 'TimedOut'
	RestoringHealthCheckState RepairTaskHealthCheckState `json:"RestoringHealthCheckState,omitempty"`
	// PerformPreparingHealthCheck - A value to determine if health checks will be performed when the repair task enters the Preparing state.
	PerformPreparingHealthCheck *bool `json:"PerformPreparingHealthCheck,omitempty"`
	// PerformRestoringHealthCheck - A value to determine if health checks will be performed when the repair task enters the Restoring state.
	PerformRestoringHealthCheck *bool `json:"PerformRestoringHealthCheck,omitempty"`
}

RepairTask represents a repair task, which includes information about what kind of repair was requested, what its progress is, and what its final result was.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

func (*RepairTask) UnmarshalJSON

func (rt *RepairTask) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RepairTask struct.

type RepairTaskApproveDescription

type RepairTaskApproveDescription struct {
	// TaskID - The ID of the repair task.
	TaskID *string `json:"TaskId,omitempty"`
	// Version - The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current version of the repair task. If zero, then no version check is performed.
	Version *string `json:"Version,omitempty"`
}

RepairTaskApproveDescription describes a request for forced approval of a repair task.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

type RepairTaskCancelDescription

type RepairTaskCancelDescription struct {
	// TaskID - The ID of the repair task.
	TaskID *string `json:"TaskId,omitempty"`
	// Version - The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current version of the repair task. If zero, then no version check is performed.
	Version *string `json:"Version,omitempty"`
	// RequestAbort - _True_ if the repair should be stopped as soon as possible even if it has already started executing. _False_ if the repair should be cancelled only if execution has not yet started.
	RequestAbort *bool `json:"RequestAbort,omitempty"`
}

RepairTaskCancelDescription describes a request to cancel a repair task.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

type RepairTaskDeleteDescription

type RepairTaskDeleteDescription struct {
	// TaskID - The ID of the completed repair task to be deleted.
	TaskID *string `json:"TaskId,omitempty"`
	// Version - The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current version of the repair task. If zero, then no version check is performed.
	Version *string `json:"Version,omitempty"`
}

RepairTaskDeleteDescription describes a request to delete a completed repair task.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

type RepairTaskHealthCheckState

type RepairTaskHealthCheckState string

RepairTaskHealthCheckState enumerates the values for repair task health check state.

const (
	// InProgress Indicates that the health check is in progress.
	InProgress RepairTaskHealthCheckState = "InProgress"
	// NotStarted Indicates that the health check has not started.
	NotStarted RepairTaskHealthCheckState = "NotStarted"
	// Skipped Indicates that the health check was skipped.
	Skipped RepairTaskHealthCheckState = "Skipped"
	// Succeeded Indicates that the health check succeeded.
	Succeeded RepairTaskHealthCheckState = "Succeeded"
	// TimedOut Indicates that the health check timed out.
	TimedOut RepairTaskHealthCheckState = "TimedOut"
)

type RepairTaskHistory

type RepairTaskHistory struct {
	// CreatedUtcTimestamp - The time when the repair task entered the Created state.
	CreatedUtcTimestamp *date.Time `json:"CreatedUtcTimestamp,omitempty"`
	// ClaimedUtcTimestamp - The time when the repair task entered the Claimed state.
	ClaimedUtcTimestamp *date.Time `json:"ClaimedUtcTimestamp,omitempty"`
	// PreparingUtcTimestamp - The time when the repair task entered the Preparing state.
	PreparingUtcTimestamp *date.Time `json:"PreparingUtcTimestamp,omitempty"`
	// ApprovedUtcTimestamp - The time when the repair task entered the Approved state
	ApprovedUtcTimestamp *date.Time `json:"ApprovedUtcTimestamp,omitempty"`
	// ExecutingUtcTimestamp - The time when the repair task entered the Executing state
	ExecutingUtcTimestamp *date.Time `json:"ExecutingUtcTimestamp,omitempty"`
	// RestoringUtcTimestamp - The time when the repair task entered the Restoring state
	RestoringUtcTimestamp *date.Time `json:"RestoringUtcTimestamp,omitempty"`
	// CompletedUtcTimestamp - The time when the repair task entered the Completed state
	CompletedUtcTimestamp *date.Time `json:"CompletedUtcTimestamp,omitempty"`
	// PreparingHealthCheckStartUtcTimestamp - The time when the repair task started the health check in the Preparing state.
	PreparingHealthCheckStartUtcTimestamp *date.Time `json:"PreparingHealthCheckStartUtcTimestamp,omitempty"`
	// PreparingHealthCheckEndUtcTimestamp - The time when the repair task completed the health check in the Preparing state.
	PreparingHealthCheckEndUtcTimestamp *date.Time `json:"PreparingHealthCheckEndUtcTimestamp,omitempty"`
	// RestoringHealthCheckStartUtcTimestamp - The time when the repair task started the health check in the Restoring state.
	RestoringHealthCheckStartUtcTimestamp *date.Time `json:"RestoringHealthCheckStartUtcTimestamp,omitempty"`
	// RestoringHealthCheckEndUtcTimestamp - The time when the repair task completed the health check in the Restoring state.
	RestoringHealthCheckEndUtcTimestamp *date.Time `json:"RestoringHealthCheckEndUtcTimestamp,omitempty"`
}

RepairTaskHistory a record of the times when the repair task entered each state.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

type RepairTaskUpdateHealthPolicyDescription

type RepairTaskUpdateHealthPolicyDescription struct {
	// TaskID - The ID of the repair task to be updated.
	TaskID *string `json:"TaskId,omitempty"`
	// Version - The current version number of the repair task. If non-zero, then the request will only succeed if this value matches the actual current value of the repair task. If zero, then no version check is performed.
	Version *string `json:"Version,omitempty"`
	// PerformPreparingHealthCheck - A boolean indicating if health check is to be performed in the Preparing stage of the repair task. If not specified the existing value should not be altered. Otherwise, specify the desired new value.
	PerformPreparingHealthCheck *bool `json:"PerformPreparingHealthCheck,omitempty"`
	// PerformRestoringHealthCheck - A boolean indicating if health check is to be performed in the Restoring stage of the repair task. If not specified the existing value should not be altered. Otherwise, specify the desired new value.
	PerformRestoringHealthCheck *bool `json:"PerformRestoringHealthCheck,omitempty"`
}

RepairTaskUpdateHealthPolicyDescription describes a request to update the health policy of a repair task.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

type RepairTaskUpdateInfo

type RepairTaskUpdateInfo struct {
	autorest.Response `json:"-"`
	// Version - The new version of the repair task.
	Version *string `json:"Version,omitempty"`
}

RepairTaskUpdateInfo describes the result of an operation that created or updated a repair task.

This type supports the Service Fabric platform; it is not meant to be used directly from your code.

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: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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"`
	// HealthStatistics - Shows the health statistics for all children types of the queried entity.
	HealthStatistics *HealthStatistics `json:"HealthStatistics,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) AsApplicationHealth

func (rh ReplicaHealth) AsApplicationHealth() (*ApplicationHealth, bool)

AsApplicationHealth is the BasicEntityHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsBasicReplicaHealth

func (rh ReplicaHealth) AsBasicReplicaHealth() (BasicReplicaHealth, bool)

AsBasicReplicaHealth is the BasicEntityHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsClusterHealth

func (rh ReplicaHealth) AsClusterHealth() (*ClusterHealth, bool)

AsClusterHealth is the BasicEntityHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsDeployedApplicationHealth

func (rh ReplicaHealth) AsDeployedApplicationHealth() (*DeployedApplicationHealth, bool)

AsDeployedApplicationHealth is the BasicEntityHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsDeployedServicePackageHealth

func (rh ReplicaHealth) AsDeployedServicePackageHealth() (*DeployedServicePackageHealth, bool)

AsDeployedServicePackageHealth is the BasicEntityHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsNodeHealth

func (rh ReplicaHealth) AsNodeHealth() (*NodeHealth, bool)

AsNodeHealth is the BasicEntityHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsPartitionHealth

func (rh ReplicaHealth) AsPartitionHealth() (*PartitionHealth, bool)

AsPartitionHealth is the BasicEntityHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsReplicaHealth

func (rh ReplicaHealth) AsReplicaHealth() (*ReplicaHealth, bool)

AsReplicaHealth is the BasicEntityHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsServiceHealth

func (rh ReplicaHealth) AsServiceHealth() (*ServiceHealth, bool)

AsServiceHealth is the BasicEntityHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsStatefulServiceReplicaHealth

func (rh ReplicaHealth) AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)

AsStatefulServiceReplicaHealth is the BasicEntityHealth implementation for ReplicaHealth.

func (ReplicaHealth) AsStatelessServiceInstanceHealth

func (rh ReplicaHealth) AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)

AsStatelessServiceInstanceHealth is the BasicEntityHealth 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 a stateful service replica or a stateless service instance. This id is used in the queries that apply to both stateful and stateless services. It is used by Service Fabric to uniquely identify a replica of a partition of a stateful service or an instance of a stateless service partition. It is unique within a partition and does not change for the lifetime of the replica or the instance. If a stateful replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. If a stateless instance is failed over on the same or different node it will get a different value for the id.
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 ReplicaHealthReportServiceKindRequiredQueryParam

type ReplicaHealthReportServiceKindRequiredQueryParam string

ReplicaHealthReportServiceKindRequiredQueryParam enumerates the values for replica health report service kind required query param.

const (
	// Stateful Uses Service Fabric to make its state or part of its state highly available and reliable. The
	// value is 2.
	Stateful ReplicaHealthReportServiceKindRequiredQueryParam = "Stateful"
	// Stateless Does not use Service Fabric to make its state highly available or reliable. The value is 1
	Stateless ReplicaHealthReportServiceKindRequiredQueryParam = "Stateless"
)

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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `json:"AggregatedHealthState,omitempty"`
}

ReplicaHealthState represents a base class for stateful service replica or stateless service instance health state.

func (ReplicaHealthState) AsApplicationHealthState

func (RHS ReplicaHealthState) AsApplicationHealthState() (*ApplicationHealthState, bool)

AsApplicationHealthState is the BasicEntityHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) AsBasicReplicaHealthState

func (RHS ReplicaHealthState) AsBasicReplicaHealthState() (BasicReplicaHealthState, bool)

AsBasicReplicaHealthState is the BasicEntityHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) AsDeployedApplicationHealthState

func (RHS ReplicaHealthState) AsDeployedApplicationHealthState() (*DeployedApplicationHealthState, bool)

AsDeployedApplicationHealthState is the BasicEntityHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) AsDeployedServicePackageHealthState

func (RHS ReplicaHealthState) AsDeployedServicePackageHealthState() (*DeployedServicePackageHealthState, bool)

AsDeployedServicePackageHealthState is the BasicEntityHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) AsNodeHealthState

func (RHS ReplicaHealthState) AsNodeHealthState() (*NodeHealthState, bool)

AsNodeHealthState is the BasicEntityHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) AsPartitionHealthState

func (RHS ReplicaHealthState) AsPartitionHealthState() (*PartitionHealthState, bool)

AsPartitionHealthState is the BasicEntityHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) AsReplicaHealthState

func (RHS ReplicaHealthState) AsReplicaHealthState() (*ReplicaHealthState, bool)

AsReplicaHealthState is the BasicEntityHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) AsServiceHealthState

func (RHS ReplicaHealthState) AsServiceHealthState() (*ServiceHealthState, bool)

AsServiceHealthState is the BasicEntityHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) AsStatefulServiceReplicaHealthState

func (RHS ReplicaHealthState) AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)

AsStatefulServiceReplicaHealthState is the BasicEntityHealthState implementation for ReplicaHealthState.

func (ReplicaHealthState) AsStatelessServiceInstanceHealthState

func (RHS ReplicaHealthState) AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)

AsStatelessServiceInstanceHealthState is the BasicEntityHealthState 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 - Id of a stateful service replica or a stateless service instance. This id is used in the queries that apply to both stateful and stateless services. It is used by Service Fabric to uniquely identify a replica of a partition of a stateful service or an instance of a stateless service partition. It is unique within a partition and does not change for the lifetime of the replica or the instance. If a stateful replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. If a stateless instance is failed over on the same or different node it will get a different value for the id.
	ReplicaOrInstanceID *string `json:"ReplicaOrInstanceId,omitempty"`
	// HealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `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 stateless 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 - The status of a replica of a service. Possible values are following.
	//   -Invalid - Indicates the replica status is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
	//   -InBuild - The replica is being built. This means that a primary replica is seeding this replica. The value is 1.
	//   -Standby - The replica is in standby. The value is 2.
	//   -Ready - The replica is ready. The value is 3.
	//   -Down - The replica is down. The value is 4.
	//   -Dropped - Replica is dropped. This means that the replica has been removed from the replica set. If it is persisted, its state has been deleted. The value is 5.
	// . Possible values include: 'ReplicaStatus1Invalid', 'ReplicaStatus1InBuild', 'ReplicaStatus1Standby', 'ReplicaStatus1Ready', 'ReplicaStatus1Down', 'ReplicaStatus1Dropped'
	ReplicaStatus ReplicaStatus1 `json:"ReplicaStatus,omitempty"`
	// HealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `json:"HealthState,omitempty"`
	// NodeName - The name of a Service Fabric 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 ReplicaKind

type ReplicaKind string

ReplicaKind enumerates the values for replica kind.

const (
	// ReplicaKindInvalid Represents an invalid replica kind. The value is zero.
	ReplicaKindInvalid ReplicaKind = "Invalid"
	// ReplicaKindKeyValueStore Represents a key value store replica. The value is 1
	ReplicaKindKeyValueStore ReplicaKind = "KeyValueStore"
)

type ReplicaRole

type ReplicaRole string

ReplicaRole enumerates the values for replica role.

const (
	// ReplicaRoleActiveSecondary Refers to a replica in the set that receives state updates from the Primary
	// replica, applies them, and sends acknowledgements back. Secondary replicas must participate in the write
	// quorum for a replica set. There can be multiple active Secondary replicas in a replica set at a time.
	// The number of active Secondary replicas is configurable that the reliability subsystem should maintain.
	// The value is 4.
	ReplicaRoleActiveSecondary ReplicaRole = "ActiveSecondary"
	// ReplicaRoleIdleSecondary Refers to a replica in the set that receives a state transfer from the Primary
	// replica to prepare for becoming an active Secondary replica. There can be multiple Idle Secondary
	// replicas in a replica set at a time. Idle Secondary replicas do not count as a part of a write quorum.
	// The value is 3.
	ReplicaRoleIdleSecondary ReplicaRole = "IdleSecondary"
	// ReplicaRoleNone Specifies that the replica has no responsibility in regard to the replica set. The value
	// is 1
	ReplicaRoleNone ReplicaRole = "None"
	// ReplicaRolePrimary Refers to the replica in the set on which all read and write operations are complete
	// in order to enforce strong consistency semantics. Read operations are handled directly by the Primary
	// replica, while write operations must be acknowledged by a quorum of the replicas in the replica set.
	// There can only be one Primary replica in a replica set at a time. The value is 2.
	ReplicaRolePrimary ReplicaRole = "Primary"
	// ReplicaRoleUnknown Indicates the initial role that a replica is created in. The value is zero.
	ReplicaRoleUnknown ReplicaRole = "Unknown"
)

type ReplicaStatus

type ReplicaStatus string

ReplicaStatus enumerates the values for replica status.

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

type ReplicaStatus1

type ReplicaStatus1 string

ReplicaStatus1 enumerates the values for replica status 1.

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

type 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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 ReplicatorOperationName

type ReplicatorOperationName string

ReplicatorOperationName enumerates the values for replicator operation name.

const (
	// ReplicatorOperationNameAbort Replicator is being aborted.
	ReplicatorOperationNameAbort ReplicatorOperationName = "Abort"
	// ReplicatorOperationNameBuild Replicator is in the process of building one or more replicas.
	ReplicatorOperationNameBuild ReplicatorOperationName = "Build"
	// ReplicatorOperationNameChangeRole Replicator is in the process of changing its role.
	ReplicatorOperationNameChangeRole ReplicatorOperationName = "ChangeRole"
	// ReplicatorOperationNameClose Replicator is closing.
	ReplicatorOperationNameClose ReplicatorOperationName = "Close"
	// ReplicatorOperationNameInvalid Default value if the replicator is not yet ready.
	ReplicatorOperationNameInvalid ReplicatorOperationName = "Invalid"
	// ReplicatorOperationNameNone Replicator is not running any operation from Service Fabric perspective.
	ReplicatorOperationNameNone ReplicatorOperationName = "None"
	// ReplicatorOperationNameOnDataLoss Replicator is handling the data loss condition, where the user service
	// may potentially be recovering state from an external source.
	ReplicatorOperationNameOnDataLoss ReplicatorOperationName = "OnDataLoss"
	// ReplicatorOperationNameOpen Replicator is opening.
	ReplicatorOperationNameOpen ReplicatorOperationName = "Open"
	// ReplicatorOperationNameUpdateEpoch Due to a change in the replica set, replicator is being updated with
	// its Epoch.
	ReplicatorOperationNameUpdateEpoch ReplicatorOperationName = "UpdateEpoch"
	// ReplicatorOperationNameWaitForCatchup Replicator is waiting for a quorum of replicas to be caught up to
	// the latest state.
	ReplicatorOperationNameWaitForCatchup ReplicatorOperationName = "WaitForCatchup"
)

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 ResolvedServiceEndpoint

type ResolvedServiceEndpoint struct {
	// Kind - The role of the replica where the endpoint is reported. Possible values include: 'ServiceEndpointRoleInvalid', 'ServiceEndpointRoleStateless', 'ServiceEndpointRoleStatefulPrimary', 'ServiceEndpointRoleStatefulSecondary'
	Kind ServiceEndpointRole `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 - The full name of the service with 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
	// PartitionInformation - A representation of the resolved partition.
	PartitionInformation BasicPartitionInformation `json:"PartitionInformation,omitempty"`
	// Endpoints - List of resolved service endpoints of a service partition.
	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 - The ActivationId of a deployed service package. If ServicePackageActivationMode specified at the time of creating the service
	// is 'SharedProcess' (or if it is not specified, in which case it defaults to 'SharedProcess'), then value of ServicePackageActivationId
	// is always an empty string.
	ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"`
	// CodePackageName - The name of the code package defined in the service manifest.
	CodePackageName *string `json:"CodePackageName,omitempty"`
	// CodePackageInstanceID - The instance ID for currently running entry point. For a code package setup entry point (if specified) runs first and after it finishes main entry point is started.
	// Each time entry point executable is run, its instance id will change. If 0 is passed in as the code package instance ID, the API will restart the code package with whatever instance ID it is currently running.
	// If an instance ID other than 0 is passed in, the API will restart the code package only if the current Instance ID matches the passed in instance ID.
	// Note, passing in the exact instance ID (not 0) in the API is safer, because if ensures at most one restart of the code package.
	CodePackageInstanceID *string `json:"CodePackageInstanceId,omitempty"`
}

RestartDeployedCodePackageDescription defines description for restarting a deployed 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 RestartPartitionModeRequiredQueryParam

type RestartPartitionModeRequiredQueryParam string

RestartPartitionModeRequiredQueryParam enumerates the values for restart partition mode required query param.

const (
	// RestartPartitionModeRequiredQueryParamAllReplicasOrInstances All replicas or instances in the partition
	// are restarted at once.
	RestartPartitionModeRequiredQueryParamAllReplicasOrInstances RestartPartitionModeRequiredQueryParam = "AllReplicasOrInstances"
	// RestartPartitionModeRequiredQueryParamInvalid Reserved.  Do not pass into API.
	RestartPartitionModeRequiredQueryParamInvalid RestartPartitionModeRequiredQueryParam = "Invalid"
	// RestartPartitionModeRequiredQueryParamOnlyActiveSecondaries Only the secondary replicas are restarted.
	RestartPartitionModeRequiredQueryParamOnlyActiveSecondaries RestartPartitionModeRequiredQueryParam = "OnlyActiveSecondaries"
)

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 - This class returns information about the partition that the user-induced operation acted upon.
	SelectedPartition *SelectedPartition `json:"SelectedPartition,omitempty"`
}

RestartPartitionResult represents information about an operation in a terminal state (Completed or Faulted).

type ResultStatus

type ResultStatus string

ResultStatus enumerates the values for result status.

const (
	// ResultStatusCancelled Indicates that the repair task was cancelled prior to execution.
	ResultStatusCancelled ResultStatus = "Cancelled"
	// ResultStatusFailed Indicates that there was a failure during execution of the repair task. Some work may
	// have been performed.
	ResultStatusFailed ResultStatus = "Failed"
	// ResultStatusInterrupted Indicates that execution of the repair task was interrupted by a cancellation
	// request after some work had already been performed.
	ResultStatusInterrupted ResultStatus = "Interrupted"
	// ResultStatusInvalid Indicates that the repair task result is invalid. All Service Fabric enumerations
	// have the invalid value.
	ResultStatusInvalid ResultStatus = "Invalid"
	// ResultStatusPending Indicates that the repair task result is not yet available, because the repair task
	// has not finished executing.
	ResultStatusPending ResultStatus = "Pending"
	// ResultStatusSucceeded Indicates that the repair task completed execution successfully.
	ResultStatusSucceeded ResultStatus = "Succeeded"
)

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 ResumeClusterUpgradeDescription

type ResumeClusterUpgradeDescription struct {
	// UpgradeDomain - The next upgrade domain for this cluster upgrade.
	UpgradeDomain *string `json:"UpgradeDomain,omitempty"`
}

ResumeClusterUpgradeDescription describes the parameters for resuming a cluster upgrade.

type RollingUpgradeUpdateDescription

type RollingUpgradeUpdateDescription struct {
	// RollingUpgradeMode - The mode used to monitor health during a rolling upgrade. Possible values include: 'UpgradeModeInvalid', 'UpgradeModeUnmonitoredAuto', 'UpgradeModeUnmonitoredManual', 'UpgradeModeMonitored'
	RollingUpgradeMode UpgradeMode `json:"RollingUpgradeMode,omitempty"`
	// ForceRestart - If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).
	ForceRestart *bool `json:"ForceRestart,omitempty"`
	// ReplicaSetCheckTimeoutInMilliseconds - The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).
	ReplicaSetCheckTimeoutInMilliseconds *int64 `json:"ReplicaSetCheckTimeoutInMilliseconds,omitempty"`
	// FailureAction - The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Possible values include: 'FailureActionInvalid', 'FailureActionRollback', 'FailureActionManual'
	FailureAction FailureAction `json:"FailureAction,omitempty"`
	// HealthCheckWaitDurationInMilliseconds - The amount of time to wait after completing an upgrade domain before applying health policies. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
	HealthCheckWaitDurationInMilliseconds *string `json:"HealthCheckWaitDurationInMilliseconds,omitempty"`
	// HealthCheckStableDurationInMilliseconds - The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
	HealthCheckStableDurationInMilliseconds *string `json:"HealthCheckStableDurationInMilliseconds,omitempty"`
	// HealthCheckRetryTimeoutInMilliseconds - The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
	HealthCheckRetryTimeoutInMilliseconds *string `json:"HealthCheckRetryTimeoutInMilliseconds,omitempty"`
	// UpgradeTimeoutInMilliseconds - The amount of time the overall upgrade has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
	UpgradeTimeoutInMilliseconds *string `json:"UpgradeTimeoutInMilliseconds,omitempty"`
	// UpgradeDomainTimeoutInMilliseconds - The amount of time each upgrade domain has to complete before FailureAction is executed. It is first interpreted as a string representing an ISO 8601 duration. If that fails, then it is interpreted as a number representing the total number of milliseconds.
	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 availability 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 SafetyCheckKind

type SafetyCheckKind string

SafetyCheckKind enumerates the values for safety check kind.

const (
	// SafetyCheckKindEnsureAvailability Indicates that there is either a stateless service partition on the
	// node having exactly one instance, or there is a primary replica on the node for which the partition is
	// quorum loss. In both cases, bringing down the replicas due to upgrade will result in loss of
	// availability. The value is 7.
	SafetyCheckKindEnsureAvailability SafetyCheckKind = "EnsureAvailability"
	// SafetyCheckKindEnsurePartitionQuorum Indicates that there is some partition for which if we bring down
	// the replica on the node, it will result in quorum loss for that partition. The value is 2.
	SafetyCheckKindEnsurePartitionQuorum SafetyCheckKind = "EnsurePartitionQuorum"
	// SafetyCheckKindEnsureSeedNodeQuorum Indicates that if we bring down the node then this will result in
	// global seed node quorum loss. The value is 1.
	SafetyCheckKindEnsureSeedNodeQuorum SafetyCheckKind = "EnsureSeedNodeQuorum"
	// SafetyCheckKindInvalid Indicates that the upgrade safety check kind is invalid. All Service Fabric
	// enumerations have the invalid type. The value is zero.
	SafetyCheckKindInvalid SafetyCheckKind = "Invalid"
	// SafetyCheckKindWaitForInbuildReplica Indicates that there is either a replica on the node that is going
	// through copy, or there is a primary replica on the node that is copying data to some other replica. In
	// both cases, bringing down the replica on the node due to upgrade will abort the copy. The value is 6.
	SafetyCheckKindWaitForInbuildReplica SafetyCheckKind = "WaitForInbuildReplica"
	// SafetyCheckKindWaitForPrimaryPlacement Indicates that there is some replica on the node that was moved
	// out of this node due to upgrade. Service Fabric is now waiting for the primary to be moved back to this
	// node. The value is 3.
	SafetyCheckKindWaitForPrimaryPlacement SafetyCheckKind = "WaitForPrimaryPlacement"
	// SafetyCheckKindWaitForPrimarySwap Indicates that Service Fabric is waiting for a primary replica to be
	// moved out of the node before starting upgrade on that node. The value is 4.
	SafetyCheckKindWaitForPrimarySwap SafetyCheckKind = "WaitForPrimarySwap"
	// SafetyCheckKindWaitForReconfiguration Indicates that there is some replica on the node that is involved
	// in a reconfiguration. Service Fabric is waiting for the reconfiguration to be complete before staring
	// upgrade on that node. The value is 5.
	SafetyCheckKindWaitForReconfiguration SafetyCheckKind = "WaitForReconfiguration"
)

type SafetyCheckWrapper

type SafetyCheckWrapper struct {
	// SafetyCheck - Represents a safety check performed by service fabric before continuing with the operations. These checks ensure the availability of the service and the reliability of the state.
	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 availability 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 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 provides statistics about the Service Fabric Replicator, when it is functioning in a ActiveSecondary role.

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 - An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition id is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the ids of its partitions would be different.
	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: 'ServiceCorrelationSchemeInvalid', 'ServiceCorrelationSchemeAffinity', 'ServiceCorrelationSchemeAlignedAffinity', 'ServiceCorrelationSchemeNonAlignedAffinity'
	Scheme ServiceCorrelationScheme `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 ServiceCorrelationScheme

type ServiceCorrelationScheme string

ServiceCorrelationScheme enumerates the values for service correlation scheme.

const (
	// ServiceCorrelationSchemeAffinity Indicates that this service has an affinity relationship with another
	// service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity
	// options. The value is 1.
	ServiceCorrelationSchemeAffinity ServiceCorrelationScheme = "Affinity"
	// ServiceCorrelationSchemeAlignedAffinity Aligned affinity ensures that the primaries of the partitions of
	// the affinitized services are collocated on the same nodes. This is the default and is the same as
	// selecting the Affinity scheme. The value is 2.
	ServiceCorrelationSchemeAlignedAffinity ServiceCorrelationScheme = "AlignedAffinity"
	// ServiceCorrelationSchemeInvalid An invalid correlation scheme. Cannot be used. The value is zero.
	ServiceCorrelationSchemeInvalid ServiceCorrelationScheme = "Invalid"
	// ServiceCorrelationSchemeNonAlignedAffinity Non-Aligned affinity guarantees that all replicas of each
	// service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas
	// of particular role will be collocated. The value is 3.
	ServiceCorrelationSchemeNonAlignedAffinity ServiceCorrelationScheme = "NonAlignedAffinity"
)

type ServiceDescription

type ServiceDescription struct {
	autorest.Response `json:"-"`
	// ApplicationName - The name of the application, including the 'fabric:' URI scheme.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceName - The full name of the service with 'fabric:' URI scheme.
	ServiceName *string `json:"ServiceName,omitempty"`
	// ServiceTypeName - Name of the service type as specified in the service manifest.
	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 MoveCost `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: '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"`
	// 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 ServiceEndpointRole

type ServiceEndpointRole string

ServiceEndpointRole enumerates the values for service endpoint role.

const (
	// ServiceEndpointRoleInvalid Indicates the service endpoint role is invalid. All Service Fabric
	// enumerations have the invalid type. The value is zero.
	ServiceEndpointRoleInvalid ServiceEndpointRole = "Invalid"
	// ServiceEndpointRoleStatefulPrimary Indicates that the service endpoint is of a primary replica of a
	// stateful service. The value is 2.
	ServiceEndpointRoleStatefulPrimary ServiceEndpointRole = "StatefulPrimary"
	// ServiceEndpointRoleStatefulSecondary Indicates that the service endpoint is of a secondary replica of a
	// stateful service. The value is 3.
	ServiceEndpointRoleStatefulSecondary ServiceEndpointRole = "StatefulSecondary"
	// ServiceEndpointRoleStateless Indicates that the service endpoint is of a stateless service. The value is
	// 1.
	ServiceEndpointRoleStateless ServiceEndpointRole = "Stateless"
)

type ServiceFromTemplateDescription

type ServiceFromTemplateDescription struct {
	// ApplicationName - The name of the application, including the 'fabric:' URI scheme.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceName - The full name of the service with 'fabric:' URI scheme.
	ServiceName *string `json:"ServiceName,omitempty"`
	// ServiceTypeName - Name of the service type as specified in the service manifest.
	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: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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"`
	// HealthStatistics - Shows the health statistics for all children types of the queried entity.
	HealthStatistics *HealthStatistics `json:"HealthStatistics,omitempty"`
}

ServiceHealth information about the health of a Service Fabric service.

type ServiceHealthEvaluation

type ServiceHealthEvaluation struct {
	// ServiceName - Name of the service whose health evaluation is described by this object.
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 - Name of the service whose health state is represented by this object.
	ServiceName *string `json:"ServiceName,omitempty"`
	// AggregatedHealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 whose health state chunk is provided in this object.
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `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 - The identity of the service. This is an encoded representation of the service name. This is used in the REST APIs to identify the service resource.
	// Starting in version 6.0, hierarchical names are delimited with the "\~" character. For example, if the service name is "fabric:/myapp/app1/svc1",
	// the service identity would be "myapp~app1\~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions.
	ID *string `json:"Id,omitempty"`
	// Name - The full name of the service with 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
	// TypeName - 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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `json:"HealthState,omitempty"`
	// ServiceStatus - The status of the application. 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 (
	// ServiceKindInvalid Indicates the service kind is invalid. All Service Fabric enumerations have the
	// invalid type. The value is zero.
	ServiceKindInvalid ServiceKind = "Invalid"
	// ServiceKindStateful Uses Service Fabric to make its state or part of its state highly available and
	// reliable. The value is 2.
	ServiceKindStateful ServiceKind = "Stateful"
	// ServiceKindStateless Does not use Service Fabric to make its state highly available or reliable. The
	// value is 1.
	ServiceKindStateless ServiceKind = "Stateless"
)

type ServiceKindBasicDeployedServiceReplicaDetailInfo

type ServiceKindBasicDeployedServiceReplicaDetailInfo string

ServiceKindBasicDeployedServiceReplicaDetailInfo enumerates the values for service kind basic deployed service replica detail info.

const (
	// ServiceKindDeployedServiceReplicaDetailInfo ...
	ServiceKindDeployedServiceReplicaDetailInfo ServiceKindBasicDeployedServiceReplicaDetailInfo = "DeployedServiceReplicaDetailInfo"
	// ServiceKindStateful1 ...
	ServiceKindStateful1 ServiceKindBasicDeployedServiceReplicaDetailInfo = "Stateful"
	// ServiceKindStateless1 ...
	ServiceKindStateless1 ServiceKindBasicDeployedServiceReplicaDetailInfo = "Stateless"
)

type ServiceKindBasicDeployedServiceReplicaInfo

type ServiceKindBasicDeployedServiceReplicaInfo string

ServiceKindBasicDeployedServiceReplicaInfo enumerates the values for service kind basic deployed service replica info.

const (
	// ServiceKindBasicDeployedServiceReplicaInfoServiceKindDeployedServiceReplicaInfo ...
	ServiceKindBasicDeployedServiceReplicaInfoServiceKindDeployedServiceReplicaInfo ServiceKindBasicDeployedServiceReplicaInfo = "DeployedServiceReplicaInfo"
	// ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateful ...
	ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateful ServiceKindBasicDeployedServiceReplicaInfo = "Stateful"
	// ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateless ...
	ServiceKindBasicDeployedServiceReplicaInfoServiceKindStateless ServiceKindBasicDeployedServiceReplicaInfo = "Stateless"
)

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

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

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

type ServiceKindBasicServiceDescription

type ServiceKindBasicServiceDescription string

ServiceKindBasicServiceDescription enumerates the values for service kind basic service description.

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

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

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

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

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: 'ServiceLoadMetricWeightZero', 'ServiceLoadMetricWeightLow', 'ServiceLoadMetricWeightMedium', 'ServiceLoadMetricWeightHigh'
	Weight ServiceLoadMetricWeight `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 ServiceLoadMetricWeight

type ServiceLoadMetricWeight string

ServiceLoadMetricWeight enumerates the values for service load metric weight.

const (
	// ServiceLoadMetricWeightHigh Specifies the metric weight of the service load as High. The value is 3.
	ServiceLoadMetricWeightHigh ServiceLoadMetricWeight = "High"
	// ServiceLoadMetricWeightLow Specifies the metric weight of the service load as Low. The value is 1.
	ServiceLoadMetricWeightLow ServiceLoadMetricWeight = "Low"
	// ServiceLoadMetricWeightMedium Specifies the metric weight of the service load as Medium. The value is 2.
	ServiceLoadMetricWeightMedium ServiceLoadMetricWeight = "Medium"
	// ServiceLoadMetricWeightZero Disables resource balancing for this metric. This value is zero.
	ServiceLoadMetricWeightZero ServiceLoadMetricWeight = "Zero"
)

type ServiceNameInfo

type ServiceNameInfo struct {
	autorest.Response `json:"-"`
	// ID - The identity of the service. This is an encoded representation of the service name. This is used in the REST APIs to identify the service resource.
	// Starting in version 6.0, hierarchical names are delimited with the "\~" character. For example, if the service name is "fabric:/myapp/app1/svc1",
	// the service identity would be "myapp~app1\~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions.
	ID *string `json:"Id,omitempty"`
	// Name - The full name of the service with 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
}

ServiceNameInfo information about the service name.

type ServiceOperationName

type ServiceOperationName string

ServiceOperationName enumerates the values for service operation name.

const (
	// ServiceOperationNameAbort The service replica or instance is being aborted.
	ServiceOperationNameAbort ServiceOperationName = "Abort"
	// ServiceOperationNameChangeRole The service replica is changing roles.
	ServiceOperationNameChangeRole ServiceOperationName = "ChangeRole"
	// ServiceOperationNameClose The service replica or instance is being closed.
	ServiceOperationNameClose ServiceOperationName = "Close"
	// ServiceOperationNameNone The service replica or instance is not going through any life-cycle changes.
	ServiceOperationNameNone ServiceOperationName = "None"
	// ServiceOperationNameOpen The service replica or instance is being opened.
	ServiceOperationNameOpen ServiceOperationName = "Open"
	// ServiceOperationNameUnknown Reserved for future use.
	ServiceOperationNameUnknown ServiceOperationName = "Unknown"
)

type ServicePackageActivationMode

type ServicePackageActivationMode string

ServicePackageActivationMode enumerates the values for service package activation mode.

const (
	// ExclusiveProcess With this activation mode, each replica or instance of service, on a given node, will
	// have its own dedicated activation of service package on a node. The value is 1.
	ExclusiveProcess ServicePackageActivationMode = "ExclusiveProcess"
	// SharedProcess This is the default activation mode. With this activation mode, replicas or instances from
	// different partition(s) of service, on a given node, will share same activation of service package on a
	// node. The value is zero.
	SharedProcess ServicePackageActivationMode = "SharedProcess"
)

type ServicePartitionInfo

type ServicePartitionInfo struct {
	autorest.Response `json:"-"`
	// HealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `json:"HealthState,omitempty"`
	// PartitionStatus - The status of the service fabric service partition. Possible values include: 'ServicePartitionStatusInvalid', 'ServicePartitionStatusReady', 'ServicePartitionStatusNotReady', 'ServicePartitionStatusInQuorumLoss', 'ServicePartitionStatusReconfiguring', 'ServicePartitionStatusDeleting'
	PartitionStatus ServicePartitionStatus `json:"PartitionStatus,omitempty"`
	// PartitionInformation - Information about the partition identity, partitioning scheme and keys supported by it.
	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"
)

type ServicePartitionStatus

type ServicePartitionStatus string

ServicePartitionStatus enumerates the values for service partition status.

const (
	// ServicePartitionStatusDeleting Indicates that the partition is being deleted. The value is 5.
	ServicePartitionStatusDeleting ServicePartitionStatus = "Deleting"
	// ServicePartitionStatusInQuorumLoss Indicates that the partition is in quorum loss. This means that
	// number of replicas that are up and participating in a replica set is less than MinReplicaSetSize for
	// this partition. The value is 3.
	ServicePartitionStatusInQuorumLoss ServicePartitionStatus = "InQuorumLoss"
	// ServicePartitionStatusInvalid Indicates the partition status is invalid. All Service Fabric enumerations
	// have the invalid type. The value is zero.
	ServicePartitionStatusInvalid ServicePartitionStatus = "Invalid"
	// ServicePartitionStatusNotReady Indicates that the partition is not ready. This status is returned when
	// none of the other states apply. The value is 2.
	ServicePartitionStatusNotReady ServicePartitionStatus = "NotReady"
	// ServicePartitionStatusReady Indicates that the partition is ready. This means that for a stateless
	// service partition there is at least one instance that is up and for a stateful service partition the
	// number of ready replicas is greater than or equal to the MinReplicaSetSize. The value is 1.
	ServicePartitionStatusReady ServicePartitionStatus = "Ready"
	// ServicePartitionStatusReconfiguring Indicates that the partition is undergoing reconfiguration of its
	// replica sets. This can happen due to failover, upgrade, load balancing or addition or removal of
	// replicas from the replica set. The value is 4.
	ServicePartitionStatusReconfiguring ServicePartitionStatus = "Reconfiguring"
)

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 Type `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 Type `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 Type `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 ServicePlacementPolicyType

type ServicePlacementPolicyType string

ServicePlacementPolicyType enumerates the values for service placement policy type.

const (
	// ServicePlacementPolicyTypeInvalid Indicates the type of the placement policy is invalid. All Service
	// Fabric enumerations have the invalid type. The value is zero.
	ServicePlacementPolicyTypeInvalid ServicePlacementPolicyType = "Invalid"
	// ServicePlacementPolicyTypeInvalidDomain Indicates that the ServicePlacementPolicyDescription is of type
	// ServicePlacementInvalidDomainPolicyDescription, which indicates that a particular fault or upgrade
	// domain cannot be used for placement of this service. The value is 1.
	ServicePlacementPolicyTypeInvalidDomain ServicePlacementPolicyType = "InvalidDomain"
	// ServicePlacementPolicyTypeNonPartiallyPlaceService Indicates that the ServicePlacementPolicyDescription
	// is of type ServicePlacementNonPartiallyPlaceServicePolicyDescription, which indicates that if possible
	// all replicas of a particular partition of the service should be placed atomically. The value is 5.
	ServicePlacementPolicyTypeNonPartiallyPlaceService ServicePlacementPolicyType = "NonPartiallyPlaceService"
	// ServicePlacementPolicyTypePreferredPrimaryDomain Indicates that the ServicePlacementPolicyDescription is
	// of type ServicePlacementPreferPrimaryDomainPolicyDescription, which indicates that if possible the
	// Primary replica for the partitions of the service should be located in a particular domain as an
	// optimization. The value is 3.
	ServicePlacementPolicyTypePreferredPrimaryDomain ServicePlacementPolicyType = "PreferredPrimaryDomain"
	// ServicePlacementPolicyTypeRequiredDomain Indicates that the ServicePlacementPolicyDescription is of type
	// ServicePlacementRequireDomainDistributionPolicyDescription indicating that the replicas of the service
	// must be placed in a specific domain. The value is 2.
	ServicePlacementPolicyTypeRequiredDomain ServicePlacementPolicyType = "RequiredDomain"
	// ServicePlacementPolicyTypeRequiredDomainDistribution Indicates that the
	// ServicePlacementPolicyDescription is of type ServicePlacementRequireDomainDistributionPolicyDescription,
	// indicating that the system will disallow placement of any two replicas from the same partition in the
	// same domain at any time. The value is 4.
	ServicePlacementPolicyTypeRequiredDomainDistribution ServicePlacementPolicyType = "RequiredDomainDistribution"
)

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 Type `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 Type `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 Type `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 Indicates the service status is active. The value is 1.
	ServiceStatusActive ServiceStatus = "Active"
	// ServiceStatusCreating Indicates the service is being created. The value is 4.
	ServiceStatusCreating ServiceStatus = "Creating"
	// ServiceStatusDeleting Indicates the service is being deleted. The value is 3.
	ServiceStatusDeleting ServiceStatus = "Deleting"
	// ServiceStatusFailed Indicates creation or deletion was terminated due to persistent failures. Another
	// create/delete request can be accepted. The value is 5.
	ServiceStatusFailed ServiceStatus = "Failed"
	// ServiceStatusUnknown Indicates the service status is unknown. The value is zero.
	ServiceStatusUnknown ServiceStatus = "Unknown"
	// ServiceStatusUpgrading Indicates the service is upgrading. The value is 2.
	ServiceStatusUpgrading ServiceStatus = "Upgrading"
)

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 as specified in the service manifest.
	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 - List of service placement policy descriptions.
	ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"`
	// Extensions - List of service type extensions.
	Extensions *[]ServiceTypeExtensionDescription `json:"Extensions,omitempty"`
	// Kind - Possible values include: 'KindServiceTypeDescription', 'KindStateful', 'KindStateless'
	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 - Describes a service type defined in the service manifest of a provisioned application type. The properties the the ones defined in the service manifest.
	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 ServiceTypeRegistrationStatus

type ServiceTypeRegistrationStatus string

ServiceTypeRegistrationStatus enumerates the values for service type registration status.

const (
	// ServiceTypeRegistrationStatusDisabled Indicates that the service type is disabled on this node. A type
	// gets disabled when there are too many failures of the code package hosting the service type. If the
	// service type is disabled, new replicas of that service type will not be placed on the node until it is
	// enabled again. The service type is enabled again after the process hosting it comes up and re-registers
	// the type or a preconfigured time interval has passed. The value is 1.
	ServiceTypeRegistrationStatusDisabled ServiceTypeRegistrationStatus = "Disabled"
	// ServiceTypeRegistrationStatusEnabled Indicates that the service type is enabled on this node. Replicas
	// of this service type can be placed on this node when the code package registers the service type. The
	// value is 2.
	ServiceTypeRegistrationStatusEnabled ServiceTypeRegistrationStatus = "Enabled"
	// ServiceTypeRegistrationStatusInvalid Indicates the registration status is invalid. All Service Fabric
	// enumerations have the invalid type. The value is zero.
	ServiceTypeRegistrationStatusInvalid ServiceTypeRegistrationStatus = "Invalid"
	// ServiceTypeRegistrationStatusRegistered Indicates that the service type is enabled and registered on the
	// node by a code package. Replicas of this service type can now be placed on this node. The value is 3.
	ServiceTypeRegistrationStatusRegistered ServiceTypeRegistrationStatus = "Registered"
)

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: 'Zero', 'Low', 'Medium', 'High'
	DefaultMoveCost MoveCost `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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 - An internal ID used by Service Fabric to uniquely identify a partition. This is a randomly generated GUID when the service was created. The partition id is unique and does not change for the lifetime of the service. If the same service was deleted and recreated the ids of its partitions would be different.
	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 singleton 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', 'PartitionSchemeNamed1', 'PartitionSchemeSingleton1', 'PartitionSchemeUniformInt64Range1'
	PartitionScheme PartitionSchemeBasicPartitionSchemeDescription `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 StartClusterUpgradeDescription

type StartClusterUpgradeDescription struct {
	// CodeVersion - The cluster code version.
	CodeVersion *string `json:"CodeVersion,omitempty"`
	// ConfigVersion - The cluster configuration version.
	ConfigVersion *string `json:"ConfigVersion,omitempty"`
	// UpgradeKind - The kind of upgrade out of the following possible values. Possible values include: 'UpgradeKindInvalid', 'UpgradeKindRolling'
	UpgradeKind UpgradeKind `json:"UpgradeKind,omitempty"`
	// RollingUpgradeMode - The mode used to monitor health during a rolling upgrade. Possible values include: 'UpgradeModeInvalid', 'UpgradeModeUnmonitoredAuto', 'UpgradeModeUnmonitoredManual', 'UpgradeModeMonitored'
	RollingUpgradeMode UpgradeMode `json:"RollingUpgradeMode,omitempty"`
	// UpgradeReplicaSetCheckTimeoutInSeconds - The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer).
	UpgradeReplicaSetCheckTimeoutInSeconds *int64 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	// ForceRestart - If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data).
	ForceRestart *bool `json:"ForceRestart,omitempty"`
	// MonitoringPolicy - Describes the parameters for monitoring an upgrade in Monitored mode.
	MonitoringPolicy *MonitoringPolicyDescription `json:"MonitoringPolicy,omitempty"`
	// ClusterHealthPolicy - Defines a health policy used to evaluate the health of the cluster or of a cluster node.
	ClusterHealthPolicy *ClusterHealthPolicy `json:"ClusterHealthPolicy,omitempty"`
	// EnableDeltaHealthEvaluation - When true, enables delta health evaluation rather than absolute health evaluation after completion of each upgrade domain.
	EnableDeltaHealthEvaluation *bool `json:"EnableDeltaHealthEvaluation,omitempty"`
	// ClusterUpgradeHealthPolicy - Defines a health policy used to evaluate the health of the cluster during a cluster upgrade.
	ClusterUpgradeHealthPolicy *ClusterUpgradeHealthPolicyObject `json:"ClusterUpgradeHealthPolicy,omitempty"`
	// ApplicationHealthPolicyMap - Defines the application health policy map used to evaluate the health of an application or one of its children entities.
	ApplicationHealthPolicyMap *ApplicationHealthPolicies `json:"ApplicationHealthPolicyMap,omitempty"`
}

StartClusterUpgradeDescription describes the parameters for starting a cluster upgrade.

type StartedChaosEvent

type StartedChaosEvent struct {
	// ChaosParameters - Defines all the parameters to configure a Chaos run.
	ChaosParameters *ChaosParameters `json:"ChaosParameters,omitempty"`
	// TimeStampUtc - The UTC timestamp when this Chaos event was generated.
	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 (
	// StateApproved Indicates that the repair task has been approved by the Repair Manager and is safe to
	// execute.
	StateApproved State = "Approved"
	// StateClaimed Indicates that the repair task has been claimed by a repair executor.
	StateClaimed State = "Claimed"
	// StateCompleted Indicates that the repair task has completed, and no further state changes will occur.
	StateCompleted State = "Completed"
	// StateCreated Indicates that the repair task has been created.
	StateCreated State = "Created"
	// StateExecuting Indicates that execution of the repair task is in progress.
	StateExecuting State = "Executing"
	// StateInvalid Indicates that the repair task state is invalid. All Service Fabric enumerations have the
	// invalid value.
	StateInvalid State = "Invalid"
	// StatePreparing Indicates that the Repair Manager is preparing the system to handle the impact of the
	// repair task, usually by taking resources offline gracefully.
	StatePreparing State = "Preparing"
	// StateRestoring Indicates that the Repair Manager is restoring the system to its pre-repair state,
	// usually by bringing resources back online.
	StateRestoring State = "Restoring"
)

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 name of the application, including the 'fabric:' URI scheme.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceName - The full name of the service with 'fabric:' URI scheme.
	ServiceName *string `json:"ServiceName,omitempty"`
	// ServiceTypeName - Name of the service type as specified in the service manifest.
	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 MoveCost `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: '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"`
	// 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 - The identity of the service. This is an encoded representation of the service name. This is used in the REST APIs to identify the service resource.
	// Starting in version 6.0, hierarchical names are delimited with the "\~" character. For example, if the service name is "fabric:/myapp/app1/svc1",
	// the service identity would be "myapp~app1\~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions.
	ID *string `json:"Id,omitempty"`
	// Name - The full name of the service with 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
	// TypeName - 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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `json:"HealthState,omitempty"`
	// ServiceStatus - The status of the application. 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 - 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.
	CurrentConfigurationEpoch *Epoch `json:"CurrentConfigurationEpoch,omitempty"`
	// HealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `json:"HealthState,omitempty"`
	// PartitionStatus - The status of the service fabric service partition. Possible values include: 'ServicePartitionStatusInvalid', 'ServicePartitionStatusReady', 'ServicePartitionStatusNotReady', 'ServicePartitionStatusInQuorumLoss', 'ServicePartitionStatusReconfiguring', 'ServicePartitionStatusDeleting'
	PartitionStatus ServicePartitionStatus `json:"PartitionStatus,omitempty"`
	// PartitionInformation - Information about the partition identity, partitioning scheme and keys supported by it.
	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 a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id.
	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: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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"`
	// HealthStatistics - Shows the health statistics for all children types of the queried entity.
	HealthStatistics *HealthStatistics `json:"HealthStatistics,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) AsApplicationHealth

func (ssrh StatefulServiceReplicaHealth) AsApplicationHealth() (*ApplicationHealth, bool)

AsApplicationHealth is the BasicEntityHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsBasicReplicaHealth

func (ssrh StatefulServiceReplicaHealth) AsBasicReplicaHealth() (BasicReplicaHealth, bool)

AsBasicReplicaHealth is the BasicEntityHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsClusterHealth

func (ssrh StatefulServiceReplicaHealth) AsClusterHealth() (*ClusterHealth, bool)

AsClusterHealth is the BasicEntityHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsDeployedApplicationHealth

func (ssrh StatefulServiceReplicaHealth) AsDeployedApplicationHealth() (*DeployedApplicationHealth, bool)

AsDeployedApplicationHealth is the BasicEntityHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsDeployedServicePackageHealth

func (ssrh StatefulServiceReplicaHealth) AsDeployedServicePackageHealth() (*DeployedServicePackageHealth, bool)

AsDeployedServicePackageHealth is the BasicEntityHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsNodeHealth

func (ssrh StatefulServiceReplicaHealth) AsNodeHealth() (*NodeHealth, bool)

AsNodeHealth is the BasicEntityHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsPartitionHealth

func (ssrh StatefulServiceReplicaHealth) AsPartitionHealth() (*PartitionHealth, bool)

AsPartitionHealth is the BasicEntityHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsReplicaHealth

func (ssrh StatefulServiceReplicaHealth) AsReplicaHealth() (*ReplicaHealth, bool)

AsReplicaHealth is the BasicEntityHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsServiceHealth

func (ssrh StatefulServiceReplicaHealth) AsServiceHealth() (*ServiceHealth, bool)

AsServiceHealth is the BasicEntityHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsStatefulServiceReplicaHealth

func (ssrh StatefulServiceReplicaHealth) AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)

AsStatefulServiceReplicaHealth is the BasicEntityHealth implementation for StatefulServiceReplicaHealth.

func (StatefulServiceReplicaHealth) AsStatelessServiceInstanceHealth

func (ssrh StatefulServiceReplicaHealth) AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)

AsStatelessServiceInstanceHealth is the BasicEntityHealth 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 - Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id.
	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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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) AsApplicationHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsApplicationHealthState() (*ApplicationHealthState, bool)

AsApplicationHealthState is the BasicEntityHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) AsBasicReplicaHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsBasicReplicaHealthState() (BasicReplicaHealthState, bool)

AsBasicReplicaHealthState is the BasicEntityHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) AsDeployedApplicationHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsDeployedApplicationHealthState() (*DeployedApplicationHealthState, bool)

AsDeployedApplicationHealthState is the BasicEntityHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) AsDeployedServicePackageHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsDeployedServicePackageHealthState() (*DeployedServicePackageHealthState, bool)

AsDeployedServicePackageHealthState is the BasicEntityHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) AsNodeHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsNodeHealthState() (*NodeHealthState, bool)

AsNodeHealthState is the BasicEntityHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) AsPartitionHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsPartitionHealthState() (*PartitionHealthState, bool)

AsPartitionHealthState is the BasicEntityHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) AsReplicaHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsReplicaHealthState() (*ReplicaHealthState, bool)

AsReplicaHealthState is the BasicEntityHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) AsServiceHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsServiceHealthState() (*ServiceHealthState, bool)

AsServiceHealthState is the BasicEntityHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) AsStatefulServiceReplicaHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)

AsStatefulServiceReplicaHealthState is the BasicEntityHealthState implementation for StatefulServiceReplicaHealthState.

func (StatefulServiceReplicaHealthState) AsStatelessServiceInstanceHealthState

func (ssrhs StatefulServiceReplicaHealthState) AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)

AsStatelessServiceInstanceHealthState is the BasicEntityHealthState 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 - The role of a replica of a stateful service. Possible values include: 'ReplicaRoleUnknown', 'ReplicaRoleNone', 'ReplicaRolePrimary', 'ReplicaRoleIdleSecondary', 'ReplicaRoleActiveSecondary'
	ReplicaRole ReplicaRole `json:"ReplicaRole,omitempty"`
	// ReplicaID - Id of a stateful service replica. ReplicaId is used by Service Fabric to uniquely identify a replica of a partition. It is unique within a partition and does not change for the lifetime of the replica. If a replica gets dropped and another replica gets created on the same node for the same partition, it will get a different value for the id. Sometimes the id of a stateless service instance is also referred as a replica id.
	ReplicaID *string `json:"ReplicaId,omitempty"`
	// ReplicaStatus - The status of a replica of a service. Possible values are following.
	//   -Invalid - Indicates the replica status is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
	//   -InBuild - The replica is being built. This means that a primary replica is seeding this replica. The value is 1.
	//   -Standby - The replica is in standby. The value is 2.
	//   -Ready - The replica is ready. The value is 3.
	//   -Down - The replica is down. The value is 4.
	//   -Dropped - Replica is dropped. This means that the replica has been removed from the replica set. If it is persisted, its state has been deleted. The value is 5.
	// . Possible values include: 'ReplicaStatus1Invalid', 'ReplicaStatus1InBuild', 'ReplicaStatus1Standby', 'ReplicaStatus1Ready', 'ReplicaStatus1Down', 'ReplicaStatus1Dropped'
	ReplicaStatus ReplicaStatus1 `json:"ReplicaStatus,omitempty"`
	// HealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `json:"HealthState,omitempty"`
	// NodeName - The name of a Service Fabric 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 as specified in the service manifest.
	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 - List of service placement policy descriptions.
	ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"`
	// Extensions - List of service type extensions.
	Extensions *[]ServiceTypeExtensionDescription `json:"Extensions,omitempty"`
	// Kind - Possible values include: 'KindServiceTypeDescription', 'KindStateful', 'KindStateless'
	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: 'Zero', 'Low', 'Medium', 'High'
	DefaultMoveCost MoveCost `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 name of the application, including the 'fabric:' URI scheme.
	ApplicationName *string `json:"ApplicationName,omitempty"`
	// ServiceName - The full name of the service with 'fabric:' URI scheme.
	ServiceName *string `json:"ServiceName,omitempty"`
	// ServiceTypeName - Name of the service type as specified in the service manifest.
	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 MoveCost `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: '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"`
	// 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 - The identity of the service. This is an encoded representation of the service name. This is used in the REST APIs to identify the service resource.
	// Starting in version 6.0, hierarchical names are delimited with the "\~" character. For example, if the service name is "fabric:/myapp/app1/svc1",
	// the service identity would be "myapp~app1\~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions.
	ID *string `json:"Id,omitempty"`
	// Name - The full name of the service with 'fabric:' URI scheme.
	Name *string `json:"Name,omitempty"`
	// TypeName - 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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `json:"HealthState,omitempty"`
	// ServiceStatus - The status of the application. 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 a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId.
	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: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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"`
	// HealthStatistics - Shows the health statistics for all children types of the queried entity.
	HealthStatistics *HealthStatistics `json:"HealthStatistics,omitempty"`
}

StatelessServiceInstanceHealth represents the health of the stateless service instance. Contains the instance aggregated health state, the health events and the unhealthy evaluations.

func (StatelessServiceInstanceHealth) AsApplicationHealth

func (ssih StatelessServiceInstanceHealth) AsApplicationHealth() (*ApplicationHealth, bool)

AsApplicationHealth is the BasicEntityHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsBasicReplicaHealth

func (ssih StatelessServiceInstanceHealth) AsBasicReplicaHealth() (BasicReplicaHealth, bool)

AsBasicReplicaHealth is the BasicEntityHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsClusterHealth

func (ssih StatelessServiceInstanceHealth) AsClusterHealth() (*ClusterHealth, bool)

AsClusterHealth is the BasicEntityHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsDeployedApplicationHealth

func (ssih StatelessServiceInstanceHealth) AsDeployedApplicationHealth() (*DeployedApplicationHealth, bool)

AsDeployedApplicationHealth is the BasicEntityHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsDeployedServicePackageHealth

func (ssih StatelessServiceInstanceHealth) AsDeployedServicePackageHealth() (*DeployedServicePackageHealth, bool)

AsDeployedServicePackageHealth is the BasicEntityHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsNodeHealth

func (ssih StatelessServiceInstanceHealth) AsNodeHealth() (*NodeHealth, bool)

AsNodeHealth is the BasicEntityHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsPartitionHealth

func (ssih StatelessServiceInstanceHealth) AsPartitionHealth() (*PartitionHealth, bool)

AsPartitionHealth is the BasicEntityHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsReplicaHealth

func (ssih StatelessServiceInstanceHealth) AsReplicaHealth() (*ReplicaHealth, bool)

AsReplicaHealth is the BasicEntityHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsServiceHealth

func (ssih StatelessServiceInstanceHealth) AsServiceHealth() (*ServiceHealth, bool)

AsServiceHealth is the BasicEntityHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsStatefulServiceReplicaHealth

func (ssih StatelessServiceInstanceHealth) AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)

AsStatefulServiceReplicaHealth is the BasicEntityHealth implementation for StatelessServiceInstanceHealth.

func (StatelessServiceInstanceHealth) AsStatelessServiceInstanceHealth

func (ssih StatelessServiceInstanceHealth) AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)

AsStatelessServiceInstanceHealth is the BasicEntityHealth 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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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) AsApplicationHealthState

func (ssihs StatelessServiceInstanceHealthState) AsApplicationHealthState() (*ApplicationHealthState, bool)

AsApplicationHealthState is the BasicEntityHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) AsBasicReplicaHealthState

func (ssihs StatelessServiceInstanceHealthState) AsBasicReplicaHealthState() (BasicReplicaHealthState, bool)

AsBasicReplicaHealthState is the BasicEntityHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) AsDeployedApplicationHealthState

func (ssihs StatelessServiceInstanceHealthState) AsDeployedApplicationHealthState() (*DeployedApplicationHealthState, bool)

AsDeployedApplicationHealthState is the BasicEntityHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) AsDeployedServicePackageHealthState

func (ssihs StatelessServiceInstanceHealthState) AsDeployedServicePackageHealthState() (*DeployedServicePackageHealthState, bool)

AsDeployedServicePackageHealthState is the BasicEntityHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) AsNodeHealthState

func (ssihs StatelessServiceInstanceHealthState) AsNodeHealthState() (*NodeHealthState, bool)

AsNodeHealthState is the BasicEntityHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) AsPartitionHealthState

func (ssihs StatelessServiceInstanceHealthState) AsPartitionHealthState() (*PartitionHealthState, bool)

AsPartitionHealthState is the BasicEntityHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) AsReplicaHealthState

func (ssihs StatelessServiceInstanceHealthState) AsReplicaHealthState() (*ReplicaHealthState, bool)

AsReplicaHealthState is the BasicEntityHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) AsServiceHealthState

func (ssihs StatelessServiceInstanceHealthState) AsServiceHealthState() (*ServiceHealthState, bool)

AsServiceHealthState is the BasicEntityHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) AsStatefulServiceReplicaHealthState

func (ssihs StatelessServiceInstanceHealthState) AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)

AsStatefulServiceReplicaHealthState is the BasicEntityHealthState implementation for StatelessServiceInstanceHealthState.

func (StatelessServiceInstanceHealthState) AsStatelessServiceInstanceHealthState

func (ssihs StatelessServiceInstanceHealthState) AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)

AsStatelessServiceInstanceHealthState is the BasicEntityHealthState 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 a stateless service instance. InstanceId is used by Service Fabric to uniquely identify an instance of a partition of a stateless service. It is unique within a partition and does not change for the lifetime of the instance. If the instance has failed over on the same or different node, it will get a different value for the InstanceId.
	InstanceID *string `json:"InstanceId,omitempty"`
	// ReplicaStatus - The status of a replica of a service. Possible values are following.
	//   -Invalid - Indicates the replica status is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
	//   -InBuild - The replica is being built. This means that a primary replica is seeding this replica. The value is 1.
	//   -Standby - The replica is in standby. The value is 2.
	//   -Ready - The replica is ready. The value is 3.
	//   -Down - The replica is down. The value is 4.
	//   -Dropped - Replica is dropped. This means that the replica has been removed from the replica set. If it is persisted, its state has been deleted. The value is 5.
	// . Possible values include: 'ReplicaStatus1Invalid', 'ReplicaStatus1InBuild', 'ReplicaStatus1Standby', 'ReplicaStatus1Ready', 'ReplicaStatus1Down', 'ReplicaStatus1Dropped'
	ReplicaStatus ReplicaStatus1 `json:"ReplicaStatus,omitempty"`
	// HealthState - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `json:"HealthState,omitempty"`
	// NodeName - The name of a Service Fabric 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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState HealthState `json:"HealthState,omitempty"`
	// PartitionStatus - The status of the service fabric service partition. Possible values include: 'ServicePartitionStatusInvalid', 'ServicePartitionStatusReady', 'ServicePartitionStatusNotReady', 'ServicePartitionStatusInQuorumLoss', 'ServicePartitionStatusReconfiguring', 'ServicePartitionStatusDeleting'
	PartitionStatus ServicePartitionStatus `json:"PartitionStatus,omitempty"`
	// PartitionInformation - Information about the partition identity, partitioning scheme and keys supported by it.
	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 as specified in the service manifest.
	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 - List of service placement policy descriptions.
	ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"`
	// Extensions - List of service type extensions.
	Extensions *[]ServiceTypeExtensionDescription `json:"Extensions,omitempty"`
	// Kind - Possible values include: 'KindServiceTypeDescription', 'KindStateful', 'KindStateless'
	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: 'Zero', 'Low', 'Medium', 'High'
	DefaultMoveCost MoveCost `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 (
	// StatusInvalid Indicates an invalid Chaos status. All Service Fabric enumerations have the invalid type.
	StatusInvalid Status = "Invalid"
	// StatusRunning Indicates that Chaos is not stopped.
	StatusRunning Status = "Running"
	// StatusStopped Indicates that Chaos is not scheduling further faults.
	StatusStopped Status = "Stopped"
)

type StoppedChaosEvent

type StoppedChaosEvent struct {
	// Reason - Describes why Chaos stopped. Chaos can stop because of StopChaos API call or the timeToRun provided in ChaosParameters is over.
	Reason *string `json:"Reason,omitempty"`
	// TimeStampUtc - The UTC timestamp when this Chaos event was generated.
	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 String

type String struct {
	autorest.Response `json:"-"`
	Value             *string `json:"value,omitempty"`
}

String ...

type StringPropertyValue

type StringPropertyValue struct {
	// Data - The data of the property value.
	Data *string `json:"Data,omitempty"`
	// Kind - Possible values include: 'KindPropertyValue', 'KindBinary', 'KindInt64', 'KindDouble', 'KindString', 'KindGUID'
	Kind KindBasicPropertyValue `json:"Kind,omitempty"`
}

StringPropertyValue describes a Service Fabric property value of type String.

func (StringPropertyValue) AsBasicPropertyValue

func (spv StringPropertyValue) AsBasicPropertyValue() (BasicPropertyValue, bool)

AsBasicPropertyValue is the BasicPropertyValue implementation for StringPropertyValue.

func (StringPropertyValue) AsBinaryPropertyValue

func (spv StringPropertyValue) AsBinaryPropertyValue() (*BinaryPropertyValue, bool)

AsBinaryPropertyValue is the BasicPropertyValue implementation for StringPropertyValue.

func (StringPropertyValue) AsDoublePropertyValue

func (spv StringPropertyValue) AsDoublePropertyValue() (*DoublePropertyValue, bool)

AsDoublePropertyValue is the BasicPropertyValue implementation for StringPropertyValue.

func (StringPropertyValue) AsGUIDPropertyValue

func (spv StringPropertyValue) AsGUIDPropertyValue() (*GUIDPropertyValue, bool)

AsGUIDPropertyValue is the BasicPropertyValue implementation for StringPropertyValue.

func (StringPropertyValue) AsInt64PropertyValue

func (spv StringPropertyValue) AsInt64PropertyValue() (*Int64PropertyValue, bool)

AsInt64PropertyValue is the BasicPropertyValue implementation for StringPropertyValue.

func (StringPropertyValue) AsPropertyValue

func (spv StringPropertyValue) AsPropertyValue() (*PropertyValue, bool)

AsPropertyValue is the BasicPropertyValue implementation for StringPropertyValue.

func (StringPropertyValue) AsStringPropertyValue

func (spv StringPropertyValue) AsStringPropertyValue() (*StringPropertyValue, bool)

AsStringPropertyValue is the BasicPropertyValue implementation for StringPropertyValue.

func (StringPropertyValue) MarshalJSON

func (spv StringPropertyValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StringPropertyValue.

type SuccessfulPropertyBatchInfo

type SuccessfulPropertyBatchInfo struct {
	// Properties - A map containing the properties that were requested through any "Get" property batch operations. The key represents the index of the "Get" operation in the original request, in string form. The value is the property. If a property is not found, it will not be in the map.
	Properties map[string]*PropertyInfo `json:"Properties"`
	// Kind - Possible values include: 'KindPropertyBatchInfo', 'KindSuccessful', 'KindFailed'
	Kind KindBasicPropertyBatchInfo `json:"Kind,omitempty"`
}

SuccessfulPropertyBatchInfo derived from PropertyBatchInfo. Represents the property batch succeeding. Contains the results of any "Get" operations in the batch.

func (SuccessfulPropertyBatchInfo) AsBasicPropertyBatchInfo

func (spbi SuccessfulPropertyBatchInfo) AsBasicPropertyBatchInfo() (BasicPropertyBatchInfo, bool)

AsBasicPropertyBatchInfo is the BasicPropertyBatchInfo implementation for SuccessfulPropertyBatchInfo.

func (SuccessfulPropertyBatchInfo) AsFailedPropertyBatchInfo

func (spbi SuccessfulPropertyBatchInfo) AsFailedPropertyBatchInfo() (*FailedPropertyBatchInfo, bool)

AsFailedPropertyBatchInfo is the BasicPropertyBatchInfo implementation for SuccessfulPropertyBatchInfo.

func (SuccessfulPropertyBatchInfo) AsPropertyBatchInfo

func (spbi SuccessfulPropertyBatchInfo) AsPropertyBatchInfo() (*PropertyBatchInfo, bool)

AsPropertyBatchInfo is the BasicPropertyBatchInfo implementation for SuccessfulPropertyBatchInfo.

func (SuccessfulPropertyBatchInfo) AsSuccessfulPropertyBatchInfo

func (spbi SuccessfulPropertyBatchInfo) AsSuccessfulPropertyBatchInfo() (*SuccessfulPropertyBatchInfo, bool)

AsSuccessfulPropertyBatchInfo is the BasicPropertyBatchInfo implementation for SuccessfulPropertyBatchInfo.

func (SuccessfulPropertyBatchInfo) MarshalJSON

func (spbi SuccessfulPropertyBatchInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SuccessfulPropertyBatchInfo.

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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 - Describes why TestErrorChaosEvent was generated. For example, Chaos tries to fault a partition but finds that the partition is no longer fault tolerant, then a TestErrorEvent gets generated with the reason stating that the partition is not fault tolerant.
	Reason *string `json:"Reason,omitempty"`
	// TimeStampUtc - The UTC timestamp when this Chaos event was generated.
	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 an entity, Chaos found that the entity was already 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 (
	// TypeInvalidDomain ...
	TypeInvalidDomain Type = "InvalidDomain"
	// TypeNonPartiallyPlaceService ...
	TypeNonPartiallyPlaceService Type = "NonPartiallyPlaceService"
	// TypePreferPrimaryDomain ...
	TypePreferPrimaryDomain Type = "PreferPrimaryDomain"
	// TypeRequireDomain ...
	TypeRequireDomain Type = "RequireDomain"
	// TypeRequireDomainDistribution ...
	TypeRequireDomainDistribution Type = "RequireDomainDistribution"
	// TypeServicePlacementPolicyDescription ...
	TypeServicePlacementPolicyDescription Type = "ServicePlacementPolicyDescription"
)

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', 'PartitionSchemeNamed1', 'PartitionSchemeSingleton1', 'PartitionSchemeUniformInt64Range1'
	PartitionScheme PartitionSchemeBasicPartitionSchemeDescription `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 UnprovisionApplicationTypeDescriptionInfo

type UnprovisionApplicationTypeDescriptionInfo struct {
	// ApplicationTypeVersion - The version of the application type as defined in the application manifest.
	ApplicationTypeVersion *string `json:"ApplicationTypeVersion,omitempty"`
	// Async - The flag indicating whether or not unprovision should occur asynchronously. When set to true, the unprovision operation returns when the request is accepted by the system, and the unprovision operation continues without any timeout limit. The default value is false. However, we recommend to set it to true for large application packages that were provisioned.
	Async *bool `json:"Async,omitempty"`
}

UnprovisionApplicationTypeDescriptionInfo describes the operation to unregister or unprovision an application type and its version that was registered with the Service Fabric.

type UnprovisionFabricDescription

type UnprovisionFabricDescription struct {
	// CodeVersion - The cluster code package version.
	CodeVersion *string `json:"CodeVersion,omitempty"`
	// ConfigVersion - The cluster manifest version.
	ConfigVersion *string `json:"ConfigVersion,omitempty"`
}

UnprovisionFabricDescription describes the parameters for unprovisioning a cluster.

type UpdateClusterUpgradeDescription

type UpdateClusterUpgradeDescription struct {
	// UpgradeKind - The type of upgrade out of the following possible values. Possible values include: 'UpgradeTypeInvalid', 'UpgradeTypeRolling', 'UpgradeTypeRollingForceRestart'
	UpgradeKind UpgradeType `json:"UpgradeKind,omitempty"`
	// UpdateDescription - Describes the parameters for updating a rolling upgrade of application or cluster.
	UpdateDescription *RollingUpgradeUpdateDescription `json:"UpdateDescription,omitempty"`
	// ClusterHealthPolicy - Defines a health policy used to evaluate the health of the cluster or of a cluster node.
	ClusterHealthPolicy *ClusterHealthPolicy `json:"ClusterHealthPolicy,omitempty"`
	// EnableDeltaHealthEvaluation - When true, enables delta health evaluation rather than absolute health evaluation after completion of each upgrade domain.
	EnableDeltaHealthEvaluation *bool `json:"EnableDeltaHealthEvaluation,omitempty"`
	// ClusterUpgradeHealthPolicy - Defines a health policy used to evaluate the health of the cluster during a cluster upgrade.
	ClusterUpgradeHealthPolicy *ClusterUpgradeHealthPolicyObject `json:"ClusterUpgradeHealthPolicy,omitempty"`
	// ApplicationHealthPolicyMap - Defines the application health policy map used to evaluate the health of an application or one of its children entities.
	ApplicationHealthPolicyMap *ApplicationHealthPolicies `json:"ApplicationHealthPolicyMap,omitempty"`
}

UpdateClusterUpgradeDescription parameters for updating a cluster upgrade.

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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 - The name of the upgrade domain
	Name *string `json:"Name,omitempty"`
	// State - The state of the upgrade domain. Possible values include: 'UpgradeDomainStateInvalid', 'UpgradeDomainStatePending', 'UpgradeDomainStateInProgress', 'UpgradeDomainStateCompleted'
	State UpgradeDomainState `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 - The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	AggregatedHealthState HealthState `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 Kind `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 UpgradeDomainState

type UpgradeDomainState string

UpgradeDomainState enumerates the values for upgrade domain state.

const (
	// UpgradeDomainStateCompleted The upgrade domain has completed upgrade. The value is 3
	UpgradeDomainStateCompleted UpgradeDomainState = "Completed"
	// UpgradeDomainStateInProgress The upgrade domain is being upgraded but not complete yet. The value is 2
	UpgradeDomainStateInProgress UpgradeDomainState = "InProgress"
	// UpgradeDomainStateInvalid Indicates the upgrade domain state is invalid. All Service Fabric enumerations
	// have the invalid type. The value is zero.
	UpgradeDomainStateInvalid UpgradeDomainState = "Invalid"
	// UpgradeDomainStatePending The upgrade domain has not started upgrading yet. The value is 1
	UpgradeDomainStatePending UpgradeDomainState = "Pending"
)

type UpgradeKind

type UpgradeKind string

UpgradeKind enumerates the values for upgrade kind.

const (
	// UpgradeKindInvalid Indicates the upgrade kind is invalid. All Service Fabric enumerations have the
	// invalid type. The value is zero.
	UpgradeKindInvalid UpgradeKind = "Invalid"
	// UpgradeKindRolling The upgrade progresses one upgrade domain at a time. The value is 1
	UpgradeKindRolling UpgradeKind = "Rolling"
)

type UpgradeMode

type UpgradeMode string

UpgradeMode enumerates the values for upgrade mode.

const (
	// UpgradeModeInvalid Indicates the upgrade mode is invalid. All Service Fabric enumerations have the
	// invalid type. The value is zero.
	UpgradeModeInvalid UpgradeMode = "Invalid"
	// UpgradeModeMonitored The upgrade will stop after completing each upgrade domain and automatically
	// monitor health before proceeding. The value is 3
	UpgradeModeMonitored UpgradeMode = "Monitored"
	// UpgradeModeUnmonitoredAuto The upgrade will proceed automatically without performing any health
	// monitoring. The value is 1
	UpgradeModeUnmonitoredAuto UpgradeMode = "UnmonitoredAuto"
	// UpgradeModeUnmonitoredManual The upgrade will stop after completing each upgrade domain, giving the
	// opportunity to manually monitor health before proceeding. The value is 2
	UpgradeModeUnmonitoredManual UpgradeMode = "UnmonitoredManual"
)

type UpgradeOrchestrationServiceState

type UpgradeOrchestrationServiceState struct {
	autorest.Response `json:"-"`
	// ServiceState - The state of Service Fabric Upgrade Orchestration Service.
	ServiceState *string `json:"ServiceState,omitempty"`
}

UpgradeOrchestrationServiceState service state of Service Fabric Upgrade Orchestration Service.

type UpgradeOrchestrationServiceStateSummary

type UpgradeOrchestrationServiceStateSummary struct {
	autorest.Response `json:"-"`
	// CurrentCodeVersion - The current code version of the cluster.
	CurrentCodeVersion *string `json:"CurrentCodeVersion,omitempty"`
	// CurrentManifestVersion - The current manifest version of the cluster.
	CurrentManifestVersion *string `json:"CurrentManifestVersion,omitempty"`
	// TargetCodeVersion - The target code version of  the cluster.
	TargetCodeVersion *string `json:"TargetCodeVersion,omitempty"`
	// TargetManifestVersion - The target manifest version of the cluster.
	TargetManifestVersion *string `json:"TargetManifestVersion,omitempty"`
	// PendingUpgradeType - The type of the pending upgrade of the cluster.
	PendingUpgradeType *string `json:"PendingUpgradeType,omitempty"`
}

UpgradeOrchestrationServiceStateSummary service state summary of Service Fabric Upgrade Orchestration Service.

type UpgradeState

type UpgradeState string

UpgradeState enumerates the values for upgrade state.

const (
	// UpgradeStateFailed The upgrade has failed and is unable to execute FailureAction. The value is 6
	UpgradeStateFailed UpgradeState = "Failed"
	// UpgradeStateInvalid Indicates the upgrade state is invalid. All Service Fabric enumerations have the
	// invalid type. The value is zero.
	UpgradeStateInvalid UpgradeState = "Invalid"
	// UpgradeStateRollingBackCompleted The upgrade has finished rolling back. The value is 2
	UpgradeStateRollingBackCompleted UpgradeState = "RollingBackCompleted"
	// UpgradeStateRollingBackInProgress The upgrade is rolling back to the previous version but is not
	// complete yet. The value is 1
	UpgradeStateRollingBackInProgress UpgradeState = "RollingBackInProgress"
	// UpgradeStateRollingForwardCompleted The upgrade has finished rolling forward. The value is 5
	UpgradeStateRollingForwardCompleted UpgradeState = "RollingForwardCompleted"
	// UpgradeStateRollingForwardInProgress The upgrade is rolling forward to the target version but is not
	// complete yet. The value is 4
	UpgradeStateRollingForwardInProgress UpgradeState = "RollingForwardInProgress"
	// UpgradeStateRollingForwardPending The current upgrade domain has finished upgrading. The overall upgrade
	// is waiting for an explicit move next request in UnmonitoredManual mode or performing health checks in
	// Monitored mode. The value is 3
	UpgradeStateRollingForwardPending UpgradeState = "RollingForwardPending"
)

type UpgradeType

type UpgradeType string

UpgradeType enumerates the values for upgrade type.

const (
	// UpgradeTypeInvalid Indicates the upgrade kind is invalid. All Service Fabric enumerations have the
	// invalid type. The value is zero.
	UpgradeTypeInvalid UpgradeType = "Invalid"
	// UpgradeTypeRolling The upgrade progresses one upgrade domain at a time. The value is 1.
	UpgradeTypeRolling UpgradeType = "Rolling"
	// UpgradeTypeRollingForceRestart The upgrade gets restarted by force. The value is 2.
	UpgradeTypeRollingForceRestart UpgradeType = "Rolling_ForceRestart"
)

type UploadChunkRange

type UploadChunkRange struct {
	// StartPosition - The start position of the portion of the file. It's represented by the number of bytes.
	StartPosition *string `json:"StartPosition,omitempty"`
	// EndPosition - The end position of the portion of the file. It's represented by the number of bytes.
	EndPosition *string `json:"EndPosition,omitempty"`
}

UploadChunkRange information about which portion of the file to upload.

type UploadSession

type UploadSession struct {
	autorest.Response `json:"-"`
	// UploadSessions - When querying upload session by upload session ID, the result contains only one upload session. When querying upload session by image store relative path, the result might contain multiple upload sessions.
	UploadSessions *[]UploadSessionInfo `json:"UploadSessions,omitempty"`
}

UploadSession information about a image store upload session

type UploadSessionInfo

type UploadSessionInfo struct {
	// StoreRelativePath - The remote location within image store. This path is relative to the image store root.
	StoreRelativePath *string `json:"StoreRelativePath,omitempty"`
	// SessionID - A unique ID of the upload session. A session ID can be reused only if the session was committed or removed.
	SessionID *uuid.UUID `json:"SessionId,omitempty"`
	// ModifiedDate - The date and time when the upload session was last modified.
	ModifiedDate *date.Time `json:"ModifiedDate,omitempty"`
	// FileSize - The size in bytes of the uploading file.
	FileSize *string `json:"FileSize,omitempty"`
	// ExpectedRanges - List of chunk ranges that image store has not received yet.
	ExpectedRanges *[]UploadChunkRange `json:"ExpectedRanges,omitempty"`
}

UploadSessionInfo information about an image store upload session. A session is associated with a relative path in the image store.

type ValidationFailedChaosEvent

type ValidationFailedChaosEvent struct {
	// Reason - Describes why the ValidationFailedChaosEvent was generated. This may happen because more than MaxPercentUnhealthyNodes are unhealthy for more than MaxClusterStabilizationTimeout. This reason will be in the Reason property of the ValidationFailedChaosEvent as a string.
	Reason *string `json:"Reason,omitempty"`
	// TimeStampUtc - The UTC timestamp when this Chaos event was generated.
	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 indicates 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 typically 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 availability 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 - Describes why the WaitingChaosEvent was generated, for example, due to a cluster upgrade.
	Reason *string `json:"Reason,omitempty"`
	// TimeStampUtc - The UTC timestamp when this Chaos event was generated.
	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.

Jump to

Keyboard shortcuts

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