Documentation ¶
Overview ¶
Package servicefabric implements the Azure ARM Servicefabric service API version 6.0.0.1.
Service Fabric REST Client APIs allows management of Service Fabric clusters, applications and services.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AadMetadata
- type AadMetadataObject
- type AggregatedHealthState
- type AggregatedHealthState1
- type AggregatedHealthState2
- type ApplicationCapacityDescription
- type ApplicationDefinitionKind
- type ApplicationDescription
- type ApplicationHealth
- type ApplicationHealthEvaluation
- func (ahe ApplicationHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (ahe ApplicationHealthEvaluation) MarshalJSON() ([]byte, error)
- type ApplicationHealthPolicies
- type ApplicationHealthPolicy
- type ApplicationHealthPolicyMapItem
- type ApplicationHealthState
- type ApplicationHealthStateChunk
- type ApplicationHealthStateChunkList
- type ApplicationHealthStateFilter
- type ApplicationInfo
- type ApplicationLoadInfo
- type ApplicationMetricDescription
- type ApplicationNameInfo
- type ApplicationParameter
- type ApplicationTypeApplicationsHealthEvaluation
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (atahe ApplicationTypeApplicationsHealthEvaluation) MarshalJSON() ([]byte, error)
- type ApplicationTypeDefinitionKind
- type ApplicationTypeHealthPolicyMapItem
- type ApplicationTypeImageStorePath
- type ApplicationTypeImageStoreVersion
- type ApplicationTypeInfo
- type ApplicationTypeManifest
- type ApplicationUpgradeDescription
- type ApplicationUpgradeProgressInfo
- type ApplicationUpgradeUpdateDescription
- type ApplicationsHealthEvaluation
- func (ahe ApplicationsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (ahe ApplicationsHealthEvaluation) MarshalJSON() ([]byte, error)
- type BaseClient
- func (client BaseClient) CancelOperation(ctx context.Context, operationID uuid.UUID, force bool, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) CancelOperationPreparer(ctx context.Context, operationID uuid.UUID, force bool, timeout *int64) (*http.Request, error)
- func (client BaseClient) CancelOperationResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) CancelOperationSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) CancelRepairTask(ctx context.Context, repairTaskCancelDescription RepairTaskCancelDescription) (result RepairTaskUpdateInfo, err error)
- func (client BaseClient) CancelRepairTaskPreparer(ctx context.Context, repairTaskCancelDescription RepairTaskCancelDescription) (*http.Request, error)
- func (client BaseClient) CancelRepairTaskResponder(resp *http.Response) (result RepairTaskUpdateInfo, err error)
- func (client BaseClient) CancelRepairTaskSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) CopyImageStoreContent(ctx context.Context, imageStoreCopyDescription ImageStoreCopyDescription, ...) (result autorest.Response, err error)
- func (client BaseClient) CopyImageStoreContentPreparer(ctx context.Context, imageStoreCopyDescription ImageStoreCopyDescription, ...) (*http.Request, error)
- func (client BaseClient) CopyImageStoreContentResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) CopyImageStoreContentSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) CreateApplication(ctx context.Context, applicationDescription ApplicationDescription, ...) (result autorest.Response, err error)
- func (client BaseClient) CreateApplicationPreparer(ctx context.Context, applicationDescription ApplicationDescription, ...) (*http.Request, error)
- func (client BaseClient) CreateApplicationResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) CreateApplicationSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) CreateComposeDeployment(ctx context.Context, ...) (result autorest.Response, err error)
- func (client BaseClient) CreateComposeDeploymentPreparer(ctx context.Context, ...) (*http.Request, error)
- func (client BaseClient) CreateComposeDeploymentResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) CreateComposeDeploymentSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) CreateName(ctx context.Context, nameDescription NameDescription, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) CreateNamePreparer(ctx context.Context, nameDescription NameDescription, timeout *int64) (*http.Request, error)
- func (client BaseClient) CreateNameResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) CreateNameSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) CreateRepairTask(ctx context.Context, repairTask RepairTask) (result RepairTaskUpdateInfo, err error)
- func (client BaseClient) CreateRepairTaskPreparer(ctx context.Context, repairTask RepairTask) (*http.Request, error)
- func (client BaseClient) CreateRepairTaskResponder(resp *http.Response) (result RepairTaskUpdateInfo, err error)
- func (client BaseClient) CreateRepairTaskSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) CreateService(ctx context.Context, applicationID string, ...) (result autorest.Response, err error)
- func (client BaseClient) CreateServiceFromTemplate(ctx context.Context, applicationID string, ...) (result autorest.Response, err error)
- func (client BaseClient) CreateServiceFromTemplatePreparer(ctx context.Context, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) CreateServiceFromTemplateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) CreateServiceFromTemplateSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) CreateServicePreparer(ctx context.Context, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) CreateServiceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) CreateServiceSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) DeleteApplication(ctx context.Context, applicationID string, forceRemove *bool, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) DeleteApplicationPreparer(ctx context.Context, applicationID string, forceRemove *bool, timeout *int64) (*http.Request, error)
- func (client BaseClient) DeleteApplicationResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) DeleteApplicationSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) DeleteImageStoreContent(ctx context.Context, contentPath string, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) DeleteImageStoreContentPreparer(ctx context.Context, contentPath string, timeout *int64) (*http.Request, error)
- func (client BaseClient) DeleteImageStoreContentResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) DeleteImageStoreContentSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) DeleteName(ctx context.Context, nameID string, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) DeleteNamePreparer(ctx context.Context, nameID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) DeleteNameResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) DeleteNameSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) DeleteProperty(ctx context.Context, nameID string, propertyName string, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) DeletePropertyPreparer(ctx context.Context, nameID string, propertyName string, timeout *int64) (*http.Request, error)
- func (client BaseClient) DeletePropertyResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) DeletePropertySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) DeleteRepairTask(ctx context.Context, repairTaskDeleteDescription RepairTaskDeleteDescription) (result autorest.Response, err error)
- func (client BaseClient) DeleteRepairTaskPreparer(ctx context.Context, repairTaskDeleteDescription RepairTaskDeleteDescription) (*http.Request, error)
- func (client BaseClient) DeleteRepairTaskResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) DeleteRepairTaskSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) DeleteService(ctx context.Context, serviceID string, forceRemove *bool, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) DeleteServicePreparer(ctx context.Context, serviceID string, forceRemove *bool, timeout *int64) (*http.Request, error)
- func (client BaseClient) DeleteServiceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) DeleteServiceSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) DeployedServicePackageToNode(ctx context.Context, nodeName string, ...) (result autorest.Response, err error)
- func (client BaseClient) DeployedServicePackageToNodePreparer(ctx context.Context, nodeName string, ...) (*http.Request, error)
- func (client BaseClient) DeployedServicePackageToNodeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) DeployedServicePackageToNodeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) DisableNode(ctx context.Context, nodeName string, ...) (result autorest.Response, err error)
- func (client BaseClient) DisableNodePreparer(ctx context.Context, nodeName string, ...) (*http.Request, error)
- func (client BaseClient) DisableNodeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) DisableNodeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) EnableNode(ctx context.Context, nodeName string, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) EnableNodePreparer(ctx context.Context, nodeName string, timeout *int64) (*http.Request, error)
- func (client BaseClient) EnableNodeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) EnableNodeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ForceApproveRepairTask(ctx context.Context, repairTaskApproveDescription RepairTaskApproveDescription) (result RepairTaskUpdateInfo, err error)
- func (client BaseClient) ForceApproveRepairTaskPreparer(ctx context.Context, repairTaskApproveDescription RepairTaskApproveDescription) (*http.Request, error)
- func (client BaseClient) ForceApproveRepairTaskResponder(resp *http.Response) (result RepairTaskUpdateInfo, err error)
- func (client BaseClient) ForceApproveRepairTaskSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetAadMetadata(ctx context.Context, timeout *int64) (result AadMetadataObject, err error)
- func (client BaseClient) GetAadMetadataPreparer(ctx context.Context, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetAadMetadataResponder(resp *http.Response) (result AadMetadataObject, err error)
- func (client BaseClient) GetAadMetadataSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetApplicationHealth(ctx context.Context, applicationID string, eventsHealthStateFilter *int32, ...) (result ApplicationHealth, err error)
- func (client BaseClient) GetApplicationHealthPreparer(ctx context.Context, applicationID string, eventsHealthStateFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetApplicationHealthResponder(resp *http.Response) (result ApplicationHealth, err error)
- func (client BaseClient) GetApplicationHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetApplicationHealthUsingPolicy(ctx context.Context, applicationID string, eventsHealthStateFilter *int32, ...) (result ApplicationHealth, err error)
- func (client BaseClient) GetApplicationHealthUsingPolicyPreparer(ctx context.Context, applicationID string, eventsHealthStateFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetApplicationHealthUsingPolicyResponder(resp *http.Response) (result ApplicationHealth, err error)
- func (client BaseClient) GetApplicationHealthUsingPolicySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetApplicationInfo(ctx context.Context, applicationID string, excludeApplicationParameters *bool, ...) (result ApplicationInfo, err error)
- func (client BaseClient) GetApplicationInfoList(ctx context.Context, applicationDefinitionKindFilter *int32, ...) (result PagedApplicationInfoList, err error)
- func (client BaseClient) GetApplicationInfoListPreparer(ctx context.Context, applicationDefinitionKindFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetApplicationInfoListResponder(resp *http.Response) (result PagedApplicationInfoList, err error)
- func (client BaseClient) GetApplicationInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetApplicationInfoPreparer(ctx context.Context, applicationID string, excludeApplicationParameters *bool, ...) (*http.Request, error)
- func (client BaseClient) GetApplicationInfoResponder(resp *http.Response) (result ApplicationInfo, err error)
- func (client BaseClient) GetApplicationInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetApplicationLoadInfo(ctx context.Context, applicationID string, timeout *int64) (result ApplicationLoadInfo, err error)
- func (client BaseClient) GetApplicationLoadInfoPreparer(ctx context.Context, applicationID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetApplicationLoadInfoResponder(resp *http.Response) (result ApplicationLoadInfo, err error)
- func (client BaseClient) GetApplicationLoadInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetApplicationManifest(ctx context.Context, applicationTypeName string, applicationTypeVersion string, ...) (result ApplicationTypeManifest, err error)
- func (client BaseClient) GetApplicationManifestPreparer(ctx context.Context, applicationTypeName string, applicationTypeVersion string, ...) (*http.Request, error)
- func (client BaseClient) GetApplicationManifestResponder(resp *http.Response) (result ApplicationTypeManifest, err error)
- func (client BaseClient) GetApplicationManifestSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetApplicationNameInfo(ctx context.Context, serviceID string, timeout *int64) (result ApplicationNameInfo, err error)
- func (client BaseClient) GetApplicationNameInfoPreparer(ctx context.Context, serviceID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetApplicationNameInfoResponder(resp *http.Response) (result ApplicationNameInfo, err error)
- func (client BaseClient) GetApplicationNameInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetApplicationTypeInfoList(ctx context.Context, applicationTypeDefinitionKindFilter *int32, ...) (result PagedApplicationTypeInfoList, err error)
- func (client BaseClient) GetApplicationTypeInfoListByName(ctx context.Context, applicationTypeName string, applicationTypeVersion string, ...) (result PagedApplicationTypeInfoList, err error)
- func (client BaseClient) GetApplicationTypeInfoListByNamePreparer(ctx context.Context, applicationTypeName string, applicationTypeVersion string, ...) (*http.Request, error)
- func (client BaseClient) GetApplicationTypeInfoListByNameResponder(resp *http.Response) (result PagedApplicationTypeInfoList, err error)
- func (client BaseClient) GetApplicationTypeInfoListByNameSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetApplicationTypeInfoListPreparer(ctx context.Context, applicationTypeDefinitionKindFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetApplicationTypeInfoListResponder(resp *http.Response) (result PagedApplicationTypeInfoList, err error)
- func (client BaseClient) GetApplicationTypeInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetApplicationUpgrade(ctx context.Context, applicationID string, timeout *int64) (result ApplicationUpgradeProgressInfo, err error)
- func (client BaseClient) GetApplicationUpgradePreparer(ctx context.Context, applicationID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetApplicationUpgradeResponder(resp *http.Response) (result ApplicationUpgradeProgressInfo, err error)
- func (client BaseClient) GetApplicationUpgradeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetChaosReport(ctx context.Context, continuationToken string, startTimeUtc string, ...) (result ChaosReport, err error)
- func (client BaseClient) GetChaosReportPreparer(ctx context.Context, continuationToken string, startTimeUtc string, ...) (*http.Request, error)
- func (client BaseClient) GetChaosReportResponder(resp *http.Response) (result ChaosReport, err error)
- func (client BaseClient) GetChaosReportSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetClusterConfiguration(ctx context.Context, configurationAPIVersion string, timeout *int64) (result ClusterConfiguration, err error)
- func (client BaseClient) GetClusterConfigurationPreparer(ctx context.Context, configurationAPIVersion string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetClusterConfigurationResponder(resp *http.Response) (result ClusterConfiguration, err error)
- func (client BaseClient) GetClusterConfigurationSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetClusterConfigurationUpgradeStatus(ctx context.Context, timeout *int64) (result ClusterConfigurationUpgradeStatusInfo, err error)
- func (client BaseClient) GetClusterConfigurationUpgradeStatusPreparer(ctx context.Context, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetClusterConfigurationUpgradeStatusResponder(resp *http.Response) (result ClusterConfigurationUpgradeStatusInfo, err error)
- func (client BaseClient) GetClusterConfigurationUpgradeStatusSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetClusterHealth(ctx context.Context, nodesHealthStateFilter *int32, ...) (result ClusterHealth, err error)
- func (client BaseClient) GetClusterHealthChunk(ctx context.Context, timeout *int64) (result ClusterHealthChunk, err error)
- func (client BaseClient) GetClusterHealthChunkPreparer(ctx context.Context, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetClusterHealthChunkResponder(resp *http.Response) (result ClusterHealthChunk, err error)
- func (client BaseClient) GetClusterHealthChunkSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetClusterHealthChunkUsingPolicyAndAdvancedFilters(ctx context.Context, ...) (result ClusterHealthChunk, err error)
- func (client BaseClient) GetClusterHealthChunkUsingPolicyAndAdvancedFiltersPreparer(ctx context.Context, ...) (*http.Request, error)
- func (client BaseClient) GetClusterHealthChunkUsingPolicyAndAdvancedFiltersResponder(resp *http.Response) (result ClusterHealthChunk, err error)
- func (client BaseClient) GetClusterHealthChunkUsingPolicyAndAdvancedFiltersSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetClusterHealthPreparer(ctx context.Context, nodesHealthStateFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetClusterHealthResponder(resp *http.Response) (result ClusterHealth, err error)
- func (client BaseClient) GetClusterHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetClusterHealthUsingPolicy(ctx context.Context, nodesHealthStateFilter *int32, ...) (result ClusterHealth, err error)
- func (client BaseClient) GetClusterHealthUsingPolicyPreparer(ctx context.Context, nodesHealthStateFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetClusterHealthUsingPolicyResponder(resp *http.Response) (result ClusterHealth, err error)
- func (client BaseClient) GetClusterHealthUsingPolicySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetClusterManifest(ctx context.Context, timeout *int64) (result ClusterManifest, err error)
- func (client BaseClient) GetClusterManifestPreparer(ctx context.Context, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetClusterManifestResponder(resp *http.Response) (result ClusterManifest, err error)
- func (client BaseClient) GetClusterManifestSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetClusterUpgradeProgress(ctx context.Context, timeout *int64) (result ClusterUpgradeProgressObject, err error)
- func (client BaseClient) GetClusterUpgradeProgressPreparer(ctx context.Context, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetClusterUpgradeProgressResponder(resp *http.Response) (result ClusterUpgradeProgressObject, err error)
- func (client BaseClient) GetClusterUpgradeProgressSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetComposeDeploymentStatus(ctx context.Context, deploymentName string, timeout *int64) (result ComposeDeploymentStatusInfo, err error)
- func (client BaseClient) GetComposeDeploymentStatusList(ctx context.Context, continuationToken string, maxResults *int64, ...) (result PagedComposeDeploymentStatusInfoList, err error)
- func (client BaseClient) GetComposeDeploymentStatusListPreparer(ctx context.Context, continuationToken string, maxResults *int64, ...) (*http.Request, error)
- func (client BaseClient) GetComposeDeploymentStatusListResponder(resp *http.Response) (result PagedComposeDeploymentStatusInfoList, err error)
- func (client BaseClient) GetComposeDeploymentStatusListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetComposeDeploymentStatusPreparer(ctx context.Context, deploymentName string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetComposeDeploymentStatusResponder(resp *http.Response) (result ComposeDeploymentStatusInfo, err error)
- func (client BaseClient) GetComposeDeploymentStatusSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetComposeDeploymentUpgradeProgress(ctx context.Context, deploymentName string, timeout *int64) (result ComposeDeploymentUpgradeProgressInfo, err error)
- func (client BaseClient) GetComposeDeploymentUpgradeProgressPreparer(ctx context.Context, deploymentName string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetComposeDeploymentUpgradeProgressResponder(resp *http.Response) (result ComposeDeploymentUpgradeProgressInfo, err error)
- func (client BaseClient) GetComposeDeploymentUpgradeProgressSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDataLossProgress(ctx context.Context, serviceID string, partitionID uuid.UUID, ...) (result PartitionDataLossProgress, err error)
- func (client BaseClient) GetDataLossProgressPreparer(ctx context.Context, serviceID string, partitionID uuid.UUID, ...) (*http.Request, error)
- func (client BaseClient) GetDataLossProgressResponder(resp *http.Response) (result PartitionDataLossProgress, err error)
- func (client BaseClient) GetDataLossProgressSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedApplicationHealth(ctx context.Context, nodeName string, applicationID string, ...) (result DeployedApplicationHealth, err error)
- func (client BaseClient) GetDeployedApplicationHealthPreparer(ctx context.Context, nodeName string, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) GetDeployedApplicationHealthResponder(resp *http.Response) (result DeployedApplicationHealth, err error)
- func (client BaseClient) GetDeployedApplicationHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedApplicationHealthUsingPolicy(ctx context.Context, nodeName string, applicationID string, ...) (result DeployedApplicationHealth, err error)
- func (client BaseClient) GetDeployedApplicationHealthUsingPolicyPreparer(ctx context.Context, nodeName string, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) GetDeployedApplicationHealthUsingPolicyResponder(resp *http.Response) (result DeployedApplicationHealth, err error)
- func (client BaseClient) GetDeployedApplicationHealthUsingPolicySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedApplicationInfo(ctx context.Context, nodeName string, applicationID string, timeout *int64) (result DeployedApplicationInfo, err error)
- func (client BaseClient) GetDeployedApplicationInfoList(ctx context.Context, nodeName string, timeout *int64) (result ListDeployedApplicationInfo, err error)
- func (client BaseClient) GetDeployedApplicationInfoListPreparer(ctx context.Context, nodeName string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetDeployedApplicationInfoListResponder(resp *http.Response) (result ListDeployedApplicationInfo, err error)
- func (client BaseClient) GetDeployedApplicationInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedApplicationInfoPreparer(ctx context.Context, nodeName string, applicationID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetDeployedApplicationInfoResponder(resp *http.Response) (result DeployedApplicationInfo, err error)
- func (client BaseClient) GetDeployedApplicationInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedCodePackageInfoList(ctx context.Context, nodeName string, applicationID string, ...) (result ListDeployedCodePackageInfo, err error)
- func (client BaseClient) GetDeployedCodePackageInfoListPreparer(ctx context.Context, nodeName string, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) GetDeployedCodePackageInfoListResponder(resp *http.Response) (result ListDeployedCodePackageInfo, err error)
- func (client BaseClient) GetDeployedCodePackageInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedServicePackageHealth(ctx context.Context, nodeName string, applicationID string, ...) (result DeployedServicePackageHealth, err error)
- func (client BaseClient) GetDeployedServicePackageHealthPreparer(ctx context.Context, nodeName string, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) GetDeployedServicePackageHealthResponder(resp *http.Response) (result DeployedServicePackageHealth, err error)
- func (client BaseClient) GetDeployedServicePackageHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedServicePackageHealthUsingPolicy(ctx context.Context, nodeName string, applicationID string, ...) (result DeployedServicePackageHealth, err error)
- func (client BaseClient) GetDeployedServicePackageHealthUsingPolicyPreparer(ctx context.Context, nodeName string, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) GetDeployedServicePackageHealthUsingPolicyResponder(resp *http.Response) (result DeployedServicePackageHealth, err error)
- func (client BaseClient) GetDeployedServicePackageHealthUsingPolicySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedServicePackageInfoList(ctx context.Context, nodeName string, applicationID string, timeout *int64) (result ListDeployedServicePackageInfo, err error)
- func (client BaseClient) GetDeployedServicePackageInfoListByName(ctx context.Context, nodeName string, applicationID string, ...) (result ListDeployedServicePackageInfo, err error)
- func (client BaseClient) GetDeployedServicePackageInfoListByNamePreparer(ctx context.Context, nodeName string, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) GetDeployedServicePackageInfoListByNameResponder(resp *http.Response) (result ListDeployedServicePackageInfo, err error)
- func (client BaseClient) GetDeployedServicePackageInfoListByNameSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedServicePackageInfoListPreparer(ctx context.Context, nodeName string, applicationID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetDeployedServicePackageInfoListResponder(resp *http.Response) (result ListDeployedServicePackageInfo, err error)
- func (client BaseClient) GetDeployedServicePackageInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedServiceReplicaDetailInfo(ctx context.Context, nodeName string, partitionID uuid.UUID, replicaID string, ...) (result DeployedServiceReplicaDetailInfoModel, err error)
- func (client BaseClient) GetDeployedServiceReplicaDetailInfoByPartitionID(ctx context.Context, nodeName string, partitionID uuid.UUID, timeout *int64) (result DeployedServiceReplicaDetailInfoModel, err error)
- func (client BaseClient) GetDeployedServiceReplicaDetailInfoByPartitionIDPreparer(ctx context.Context, nodeName string, partitionID uuid.UUID, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetDeployedServiceReplicaDetailInfoByPartitionIDResponder(resp *http.Response) (result DeployedServiceReplicaDetailInfoModel, err error)
- func (client BaseClient) GetDeployedServiceReplicaDetailInfoByPartitionIDSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedServiceReplicaDetailInfoPreparer(ctx context.Context, nodeName string, partitionID uuid.UUID, replicaID string, ...) (*http.Request, error)
- func (client BaseClient) GetDeployedServiceReplicaDetailInfoResponder(resp *http.Response) (result DeployedServiceReplicaDetailInfoModel, err error)
- func (client BaseClient) GetDeployedServiceReplicaDetailInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedServiceReplicaInfoList(ctx context.Context, nodeName string, applicationID string, ...) (result ListDeployedServiceReplicaInfo, err error)
- func (client BaseClient) GetDeployedServiceReplicaInfoListPreparer(ctx context.Context, nodeName string, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) GetDeployedServiceReplicaInfoListResponder(resp *http.Response) (result ListDeployedServiceReplicaInfo, err error)
- func (client BaseClient) GetDeployedServiceReplicaInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedServiceTypeInfoByName(ctx context.Context, nodeName string, applicationID string, ...) (result ListDeployedServiceTypeInfo, err error)
- func (client BaseClient) GetDeployedServiceTypeInfoByNamePreparer(ctx context.Context, nodeName string, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) GetDeployedServiceTypeInfoByNameResponder(resp *http.Response) (result ListDeployedServiceTypeInfo, err error)
- func (client BaseClient) GetDeployedServiceTypeInfoByNameSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetDeployedServiceTypeInfoList(ctx context.Context, nodeName string, applicationID string, ...) (result ListDeployedServiceTypeInfo, err error)
- func (client BaseClient) GetDeployedServiceTypeInfoListPreparer(ctx context.Context, nodeName string, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) GetDeployedServiceTypeInfoListResponder(resp *http.Response) (result ListDeployedServiceTypeInfo, err error)
- func (client BaseClient) GetDeployedServiceTypeInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetFaultOperationList(ctx context.Context, typeFilter int32, stateFilter int32, timeout *int64) (result ListOperationStatus, err error)
- func (client BaseClient) GetFaultOperationListPreparer(ctx context.Context, typeFilter int32, stateFilter int32, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetFaultOperationListResponder(resp *http.Response) (result ListOperationStatus, err error)
- func (client BaseClient) GetFaultOperationListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetImageStoreContent(ctx context.Context, contentPath string, timeout *int64) (result ImageStoreContent, err error)
- func (client BaseClient) GetImageStoreContentPreparer(ctx context.Context, contentPath string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetImageStoreContentResponder(resp *http.Response) (result ImageStoreContent, err error)
- func (client BaseClient) GetImageStoreContentSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetImageStoreRootContent(ctx context.Context, timeout *int64) (result ImageStoreContent, err error)
- func (client BaseClient) GetImageStoreRootContentPreparer(ctx context.Context, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetImageStoreRootContentResponder(resp *http.Response) (result ImageStoreContent, err error)
- func (client BaseClient) GetImageStoreRootContentSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetNameExistsInfo(ctx context.Context, nameID string, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) GetNameExistsInfoPreparer(ctx context.Context, nameID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetNameExistsInfoResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) GetNameExistsInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetNodeHealth(ctx context.Context, nodeName string, eventsHealthStateFilter *int32, ...) (result NodeHealth, err error)
- func (client BaseClient) GetNodeHealthPreparer(ctx context.Context, nodeName string, eventsHealthStateFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetNodeHealthResponder(resp *http.Response) (result NodeHealth, err error)
- func (client BaseClient) GetNodeHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetNodeHealthUsingPolicy(ctx context.Context, nodeName string, eventsHealthStateFilter *int32, ...) (result NodeHealth, err error)
- func (client BaseClient) GetNodeHealthUsingPolicyPreparer(ctx context.Context, nodeName string, eventsHealthStateFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetNodeHealthUsingPolicyResponder(resp *http.Response) (result NodeHealth, err error)
- func (client BaseClient) GetNodeHealthUsingPolicySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetNodeInfo(ctx context.Context, nodeName string, timeout *int64) (result NodeInfo, err error)
- func (client BaseClient) GetNodeInfoList(ctx context.Context, continuationToken string, nodeStatusFilter string, ...) (result PagedNodeInfoList, err error)
- func (client BaseClient) GetNodeInfoListPreparer(ctx context.Context, continuationToken string, nodeStatusFilter string, ...) (*http.Request, error)
- func (client BaseClient) GetNodeInfoListResponder(resp *http.Response) (result PagedNodeInfoList, err error)
- func (client BaseClient) GetNodeInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetNodeInfoPreparer(ctx context.Context, nodeName string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetNodeInfoResponder(resp *http.Response) (result NodeInfo, err error)
- func (client BaseClient) GetNodeInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetNodeLoadInfo(ctx context.Context, nodeName string, timeout *int64) (result NodeLoadInfo, err error)
- func (client BaseClient) GetNodeLoadInfoPreparer(ctx context.Context, nodeName string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetNodeLoadInfoResponder(resp *http.Response) (result NodeLoadInfo, err error)
- func (client BaseClient) GetNodeLoadInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetNodeTransitionProgress(ctx context.Context, nodeName string, operationID uuid.UUID, timeout *int64) (result NodeTransitionProgress, err error)
- func (client BaseClient) GetNodeTransitionProgressPreparer(ctx context.Context, nodeName string, operationID uuid.UUID, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetNodeTransitionProgressResponder(resp *http.Response) (result NodeTransitionProgress, err error)
- func (client BaseClient) GetNodeTransitionProgressSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetPartitionHealth(ctx context.Context, partitionID uuid.UUID, eventsHealthStateFilter *int32, ...) (result PartitionHealth, err error)
- func (client BaseClient) GetPartitionHealthPreparer(ctx context.Context, partitionID uuid.UUID, eventsHealthStateFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetPartitionHealthResponder(resp *http.Response) (result PartitionHealth, err error)
- func (client BaseClient) GetPartitionHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetPartitionHealthUsingPolicy(ctx context.Context, partitionID uuid.UUID, eventsHealthStateFilter *int32, ...) (result PartitionHealth, err error)
- func (client BaseClient) GetPartitionHealthUsingPolicyPreparer(ctx context.Context, partitionID uuid.UUID, eventsHealthStateFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetPartitionHealthUsingPolicyResponder(resp *http.Response) (result PartitionHealth, err error)
- func (client BaseClient) GetPartitionHealthUsingPolicySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetPartitionInfo(ctx context.Context, partitionID uuid.UUID, timeout *int64) (result ServicePartitionInfoModel, err error)
- func (client BaseClient) GetPartitionInfoList(ctx context.Context, serviceID string, continuationToken string, ...) (result PagedServicePartitionInfoList, err error)
- func (client BaseClient) GetPartitionInfoListPreparer(ctx context.Context, serviceID string, continuationToken string, ...) (*http.Request, error)
- func (client BaseClient) GetPartitionInfoListResponder(resp *http.Response) (result PagedServicePartitionInfoList, err error)
- func (client BaseClient) GetPartitionInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetPartitionInfoPreparer(ctx context.Context, partitionID uuid.UUID, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetPartitionInfoResponder(resp *http.Response) (result ServicePartitionInfoModel, err error)
- func (client BaseClient) GetPartitionInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetPartitionLoadInformation(ctx context.Context, partitionID uuid.UUID, timeout *int64) (result PartitionLoadInformation, err error)
- func (client BaseClient) GetPartitionLoadInformationPreparer(ctx context.Context, partitionID uuid.UUID, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetPartitionLoadInformationResponder(resp *http.Response) (result PartitionLoadInformation, err error)
- func (client BaseClient) GetPartitionLoadInformationSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetPartitionRestartProgress(ctx context.Context, serviceID string, partitionID uuid.UUID, ...) (result PartitionRestartProgress, err error)
- func (client BaseClient) GetPartitionRestartProgressPreparer(ctx context.Context, serviceID string, partitionID uuid.UUID, ...) (*http.Request, error)
- func (client BaseClient) GetPartitionRestartProgressResponder(resp *http.Response) (result PartitionRestartProgress, err error)
- func (client BaseClient) GetPartitionRestartProgressSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetPropertyInfo(ctx context.Context, nameID string, propertyName string, timeout *int64) (result PropertyInfo, err error)
- func (client BaseClient) GetPropertyInfoList(ctx context.Context, nameID string, includeValues *bool, ...) (result PagedPropertyInfoList, err error)
- func (client BaseClient) GetPropertyInfoListPreparer(ctx context.Context, nameID string, includeValues *bool, ...) (*http.Request, error)
- func (client BaseClient) GetPropertyInfoListResponder(resp *http.Response) (result PagedPropertyInfoList, err error)
- func (client BaseClient) GetPropertyInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetPropertyInfoPreparer(ctx context.Context, nameID string, propertyName string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetPropertyInfoResponder(resp *http.Response) (result PropertyInfo, err error)
- func (client BaseClient) GetPropertyInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetProvisionedFabricCodeVersionInfoList(ctx context.Context, codeVersion string, timeout *int64) (result ListFabricCodeVersionInfo, err error)
- func (client BaseClient) GetProvisionedFabricCodeVersionInfoListPreparer(ctx context.Context, codeVersion string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetProvisionedFabricCodeVersionInfoListResponder(resp *http.Response) (result ListFabricCodeVersionInfo, err error)
- func (client BaseClient) GetProvisionedFabricCodeVersionInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetProvisionedFabricConfigVersionInfoList(ctx context.Context, configVersion string, timeout *int64) (result ListFabricConfigVersionInfo, err error)
- func (client BaseClient) GetProvisionedFabricConfigVersionInfoListPreparer(ctx context.Context, configVersion string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetProvisionedFabricConfigVersionInfoListResponder(resp *http.Response) (result ListFabricConfigVersionInfo, err error)
- func (client BaseClient) GetProvisionedFabricConfigVersionInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetQuorumLossProgress(ctx context.Context, serviceID string, partitionID uuid.UUID, ...) (result PartitionQuorumLossProgress, err error)
- func (client BaseClient) GetQuorumLossProgressPreparer(ctx context.Context, serviceID string, partitionID uuid.UUID, ...) (*http.Request, error)
- func (client BaseClient) GetQuorumLossProgressResponder(resp *http.Response) (result PartitionQuorumLossProgress, err error)
- func (client BaseClient) GetQuorumLossProgressSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetRepairTaskList(ctx context.Context, taskIDFilter string, stateFilter *int32, ...) (result ListRepairTask, err error)
- func (client BaseClient) GetRepairTaskListPreparer(ctx context.Context, taskIDFilter string, stateFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetRepairTaskListResponder(resp *http.Response) (result ListRepairTask, err error)
- func (client BaseClient) GetRepairTaskListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetReplicaHealth(ctx context.Context, partitionID uuid.UUID, replicaID string, ...) (result ReplicaHealthModel, err error)
- func (client BaseClient) GetReplicaHealthPreparer(ctx context.Context, partitionID uuid.UUID, replicaID string, ...) (*http.Request, error)
- func (client BaseClient) GetReplicaHealthResponder(resp *http.Response) (result ReplicaHealthModel, err error)
- func (client BaseClient) GetReplicaHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetReplicaHealthUsingPolicy(ctx context.Context, partitionID uuid.UUID, replicaID string, ...) (result ReplicaHealthModel, err error)
- func (client BaseClient) GetReplicaHealthUsingPolicyPreparer(ctx context.Context, partitionID uuid.UUID, replicaID string, ...) (*http.Request, error)
- func (client BaseClient) GetReplicaHealthUsingPolicyResponder(resp *http.Response) (result ReplicaHealthModel, err error)
- func (client BaseClient) GetReplicaHealthUsingPolicySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetReplicaInfo(ctx context.Context, partitionID uuid.UUID, replicaID string, ...) (result ReplicaInfoModel, err error)
- func (client BaseClient) GetReplicaInfoList(ctx context.Context, partitionID uuid.UUID, continuationToken string, ...) (result PagedReplicaInfoList, err error)
- func (client BaseClient) GetReplicaInfoListPreparer(ctx context.Context, partitionID uuid.UUID, continuationToken string, ...) (*http.Request, error)
- func (client BaseClient) GetReplicaInfoListResponder(resp *http.Response) (result PagedReplicaInfoList, err error)
- func (client BaseClient) GetReplicaInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetReplicaInfoPreparer(ctx context.Context, partitionID uuid.UUID, replicaID string, ...) (*http.Request, error)
- func (client BaseClient) GetReplicaInfoResponder(resp *http.Response) (result ReplicaInfoModel, err error)
- func (client BaseClient) GetReplicaInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetServiceDescription(ctx context.Context, serviceID string, timeout *int64) (result ServiceDescriptionModel, err error)
- func (client BaseClient) GetServiceDescriptionPreparer(ctx context.Context, serviceID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetServiceDescriptionResponder(resp *http.Response) (result ServiceDescriptionModel, err error)
- func (client BaseClient) GetServiceDescriptionSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetServiceHealth(ctx context.Context, serviceID string, eventsHealthStateFilter *int32, ...) (result ServiceHealth, err error)
- func (client BaseClient) GetServiceHealthPreparer(ctx context.Context, serviceID string, eventsHealthStateFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetServiceHealthResponder(resp *http.Response) (result ServiceHealth, err error)
- func (client BaseClient) GetServiceHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetServiceHealthUsingPolicy(ctx context.Context, serviceID string, eventsHealthStateFilter *int32, ...) (result ServiceHealth, err error)
- func (client BaseClient) GetServiceHealthUsingPolicyPreparer(ctx context.Context, serviceID string, eventsHealthStateFilter *int32, ...) (*http.Request, error)
- func (client BaseClient) GetServiceHealthUsingPolicyResponder(resp *http.Response) (result ServiceHealth, err error)
- func (client BaseClient) GetServiceHealthUsingPolicySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetServiceInfo(ctx context.Context, applicationID string, serviceID string, timeout *int64) (result ServiceInfoModel, err error)
- func (client BaseClient) GetServiceInfoList(ctx context.Context, applicationID string, serviceTypeName string, ...) (result PagedServiceInfoList, err error)
- func (client BaseClient) GetServiceInfoListPreparer(ctx context.Context, applicationID string, serviceTypeName string, ...) (*http.Request, error)
- func (client BaseClient) GetServiceInfoListResponder(resp *http.Response) (result PagedServiceInfoList, err error)
- func (client BaseClient) GetServiceInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetServiceInfoPreparer(ctx context.Context, applicationID string, serviceID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetServiceInfoResponder(resp *http.Response) (result ServiceInfoModel, err error)
- func (client BaseClient) GetServiceInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetServiceManifest(ctx context.Context, applicationTypeName string, applicationTypeVersion string, ...) (result ServiceTypeManifest, err error)
- func (client BaseClient) GetServiceManifestPreparer(ctx context.Context, applicationTypeName string, applicationTypeVersion string, ...) (*http.Request, error)
- func (client BaseClient) GetServiceManifestResponder(resp *http.Response) (result ServiceTypeManifest, err error)
- func (client BaseClient) GetServiceManifestSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetServiceNameInfo(ctx context.Context, partitionID uuid.UUID, timeout *int64) (result ServiceNameInfo, err error)
- func (client BaseClient) GetServiceNameInfoPreparer(ctx context.Context, partitionID uuid.UUID, timeout *int64) (*http.Request, error)
- func (client BaseClient) GetServiceNameInfoResponder(resp *http.Response) (result ServiceNameInfo, err error)
- func (client BaseClient) GetServiceNameInfoSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetServiceTypeInfoList(ctx context.Context, applicationTypeName string, applicationTypeVersion string, ...) (result ListServiceTypeInfo, err error)
- func (client BaseClient) GetServiceTypeInfoListPreparer(ctx context.Context, applicationTypeName string, applicationTypeVersion string, ...) (*http.Request, error)
- func (client BaseClient) GetServiceTypeInfoListResponder(resp *http.Response) (result ListServiceTypeInfo, err error)
- func (client BaseClient) GetServiceTypeInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) GetSubNameInfoList(ctx context.Context, nameID string, recursive *bool, continuationToken string, ...) (result PagedSubNameInfoList, err error)
- func (client BaseClient) GetSubNameInfoListPreparer(ctx context.Context, nameID string, recursive *bool, continuationToken string, ...) (*http.Request, error)
- func (client BaseClient) GetSubNameInfoListResponder(resp *http.Response) (result PagedSubNameInfoList, err error)
- func (client BaseClient) GetSubNameInfoListSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) InvokeInfrastructureCommand(ctx context.Context, command string, serviceID string, timeout *int64) (result String, err error)
- func (client BaseClient) InvokeInfrastructureCommandPreparer(ctx context.Context, command string, serviceID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) InvokeInfrastructureCommandResponder(resp *http.Response) (result String, err error)
- func (client BaseClient) InvokeInfrastructureCommandSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) InvokeInfrastructureQuery(ctx context.Context, command string, serviceID string, timeout *int64) (result String, err error)
- func (client BaseClient) InvokeInfrastructureQueryPreparer(ctx context.Context, command string, serviceID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) InvokeInfrastructureQueryResponder(resp *http.Response) (result String, err error)
- func (client BaseClient) InvokeInfrastructureQuerySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ProvisionApplicationType(ctx context.Context, ...) (result autorest.Response, err error)
- func (client BaseClient) ProvisionApplicationTypePreparer(ctx context.Context, ...) (*http.Request, error)
- func (client BaseClient) ProvisionApplicationTypeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ProvisionApplicationTypeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ProvisionCluster(ctx context.Context, provisionFabricDescription ProvisionFabricDescription, ...) (result autorest.Response, err error)
- func (client BaseClient) ProvisionClusterPreparer(ctx context.Context, provisionFabricDescription ProvisionFabricDescription, ...) (*http.Request, error)
- func (client BaseClient) ProvisionClusterResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ProvisionClusterSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) PutProperty(ctx context.Context, nameID string, propertyDescription PropertyDescription, ...) (result autorest.Response, err error)
- func (client BaseClient) PutPropertyPreparer(ctx context.Context, nameID string, propertyDescription PropertyDescription, ...) (*http.Request, error)
- func (client BaseClient) PutPropertyResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) PutPropertySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) RecoverAllPartitions(ctx context.Context, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) RecoverAllPartitionsPreparer(ctx context.Context, timeout *int64) (*http.Request, error)
- func (client BaseClient) RecoverAllPartitionsResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) RecoverAllPartitionsSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) RecoverPartition(ctx context.Context, partitionID uuid.UUID, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) RecoverPartitionPreparer(ctx context.Context, partitionID uuid.UUID, timeout *int64) (*http.Request, error)
- func (client BaseClient) RecoverPartitionResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) RecoverPartitionSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) RecoverServicePartitions(ctx context.Context, serviceID string, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) RecoverServicePartitionsPreparer(ctx context.Context, serviceID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) RecoverServicePartitionsResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) RecoverServicePartitionsSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) RecoverSystemPartitions(ctx context.Context, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) RecoverSystemPartitionsPreparer(ctx context.Context, timeout *int64) (*http.Request, error)
- func (client BaseClient) RecoverSystemPartitionsResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) RecoverSystemPartitionsSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) RemoveComposeDeployment(ctx context.Context, deploymentName string, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) RemoveComposeDeploymentPreparer(ctx context.Context, deploymentName string, timeout *int64) (*http.Request, error)
- func (client BaseClient) RemoveComposeDeploymentResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) RemoveComposeDeploymentSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) RemoveNodeState(ctx context.Context, nodeName string, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) RemoveNodeStatePreparer(ctx context.Context, nodeName string, timeout *int64) (*http.Request, error)
- func (client BaseClient) RemoveNodeStateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) RemoveNodeStateSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) RemoveReplica(ctx context.Context, nodeName string, partitionID uuid.UUID, replicaID string, ...) (result autorest.Response, err error)
- func (client BaseClient) RemoveReplicaPreparer(ctx context.Context, nodeName string, partitionID uuid.UUID, replicaID string, ...) (*http.Request, error)
- func (client BaseClient) RemoveReplicaResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) RemoveReplicaSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ReportApplicationHealth(ctx context.Context, applicationID string, healthInformation HealthInformation, ...) (result autorest.Response, err error)
- func (client BaseClient) ReportApplicationHealthPreparer(ctx context.Context, applicationID string, healthInformation HealthInformation, ...) (*http.Request, error)
- func (client BaseClient) ReportApplicationHealthResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ReportApplicationHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ReportClusterHealth(ctx context.Context, healthInformation HealthInformation, immediate *bool, ...) (result autorest.Response, err error)
- func (client BaseClient) ReportClusterHealthPreparer(ctx context.Context, healthInformation HealthInformation, immediate *bool, ...) (*http.Request, error)
- func (client BaseClient) ReportClusterHealthResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ReportClusterHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ReportDeployedApplicationHealth(ctx context.Context, nodeName string, applicationID string, ...) (result autorest.Response, err error)
- func (client BaseClient) ReportDeployedApplicationHealthPreparer(ctx context.Context, nodeName string, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) ReportDeployedApplicationHealthResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ReportDeployedApplicationHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ReportDeployedServicePackageHealth(ctx context.Context, nodeName string, applicationID string, ...) (result autorest.Response, err error)
- func (client BaseClient) ReportDeployedServicePackageHealthPreparer(ctx context.Context, nodeName string, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) ReportDeployedServicePackageHealthResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ReportDeployedServicePackageHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ReportNodeHealth(ctx context.Context, nodeName string, healthInformation HealthInformation, ...) (result autorest.Response, err error)
- func (client BaseClient) ReportNodeHealthPreparer(ctx context.Context, nodeName string, healthInformation HealthInformation, ...) (*http.Request, error)
- func (client BaseClient) ReportNodeHealthResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ReportNodeHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ReportPartitionHealth(ctx context.Context, partitionID uuid.UUID, ...) (result autorest.Response, err error)
- func (client BaseClient) ReportPartitionHealthPreparer(ctx context.Context, partitionID uuid.UUID, ...) (*http.Request, error)
- func (client BaseClient) ReportPartitionHealthResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ReportPartitionHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ReportReplicaHealth(ctx context.Context, partitionID uuid.UUID, replicaID string, ...) (result autorest.Response, err error)
- func (client BaseClient) ReportReplicaHealthPreparer(ctx context.Context, partitionID uuid.UUID, replicaID string, ...) (*http.Request, error)
- func (client BaseClient) ReportReplicaHealthResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ReportReplicaHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ReportServiceHealth(ctx context.Context, serviceID string, healthInformation HealthInformation, ...) (result autorest.Response, err error)
- func (client BaseClient) ReportServiceHealthPreparer(ctx context.Context, serviceID string, healthInformation HealthInformation, ...) (*http.Request, error)
- func (client BaseClient) ReportServiceHealthResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ReportServiceHealthSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ResetPartitionLoad(ctx context.Context, partitionID uuid.UUID, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) ResetPartitionLoadPreparer(ctx context.Context, partitionID uuid.UUID, timeout *int64) (*http.Request, error)
- func (client BaseClient) ResetPartitionLoadResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ResetPartitionLoadSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ResolveService(ctx context.Context, serviceID string, partitionKeyType *int32, ...) (result ResolvedServicePartition, err error)
- func (client BaseClient) ResolveServicePreparer(ctx context.Context, serviceID string, partitionKeyType *int32, ...) (*http.Request, error)
- func (client BaseClient) ResolveServiceResponder(resp *http.Response) (result ResolvedServicePartition, err error)
- func (client BaseClient) ResolveServiceSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) RestartDeployedCodePackage(ctx context.Context, nodeName string, applicationID string, ...) (result autorest.Response, err error)
- func (client BaseClient) RestartDeployedCodePackagePreparer(ctx context.Context, nodeName string, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) RestartDeployedCodePackageResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) RestartDeployedCodePackageSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) RestartNode(ctx context.Context, nodeName string, ...) (result autorest.Response, err error)
- func (client BaseClient) RestartNodePreparer(ctx context.Context, nodeName string, ...) (*http.Request, error)
- func (client BaseClient) RestartNodeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) RestartNodeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) RestartReplica(ctx context.Context, nodeName string, partitionID uuid.UUID, replicaID string, ...) (result autorest.Response, err error)
- func (client BaseClient) RestartReplicaPreparer(ctx context.Context, nodeName string, partitionID uuid.UUID, replicaID string, ...) (*http.Request, error)
- func (client BaseClient) RestartReplicaResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) RestartReplicaSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ResumeApplicationUpgrade(ctx context.Context, applicationID string, ...) (result autorest.Response, err error)
- func (client BaseClient) ResumeApplicationUpgradePreparer(ctx context.Context, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) ResumeApplicationUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ResumeApplicationUpgradeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) ResumeClusterUpgrade(ctx context.Context, ...) (result autorest.Response, err error)
- func (client BaseClient) ResumeClusterUpgradePreparer(ctx context.Context, ...) (*http.Request, error)
- func (client BaseClient) ResumeClusterUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) ResumeClusterUpgradeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) RollbackApplicationUpgrade(ctx context.Context, applicationID string, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) RollbackApplicationUpgradePreparer(ctx context.Context, applicationID string, timeout *int64) (*http.Request, error)
- func (client BaseClient) RollbackApplicationUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) RollbackApplicationUpgradeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) RollbackClusterUpgrade(ctx context.Context, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) RollbackClusterUpgradePreparer(ctx context.Context, timeout *int64) (*http.Request, error)
- func (client BaseClient) RollbackClusterUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) RollbackClusterUpgradeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) StartApplicationUpgrade(ctx context.Context, applicationID string, ...) (result autorest.Response, err error)
- func (client BaseClient) StartApplicationUpgradePreparer(ctx context.Context, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) StartApplicationUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) StartApplicationUpgradeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) StartChaos(ctx context.Context, chaosParameters ChaosParameters, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) StartChaosPreparer(ctx context.Context, chaosParameters ChaosParameters, timeout *int64) (*http.Request, error)
- func (client BaseClient) StartChaosResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) StartChaosSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) StartClusterConfigurationUpgrade(ctx context.Context, ...) (result autorest.Response, err error)
- func (client BaseClient) StartClusterConfigurationUpgradePreparer(ctx context.Context, ...) (*http.Request, error)
- func (client BaseClient) StartClusterConfigurationUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) StartClusterConfigurationUpgradeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) StartClusterUpgrade(ctx context.Context, ...) (result autorest.Response, err error)
- func (client BaseClient) StartClusterUpgradePreparer(ctx context.Context, ...) (*http.Request, error)
- func (client BaseClient) StartClusterUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) StartClusterUpgradeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) StartComposeDeploymentUpgrade(ctx context.Context, deploymentName string, ...) (result autorest.Response, err error)
- func (client BaseClient) StartComposeDeploymentUpgradePreparer(ctx context.Context, deploymentName string, ...) (*http.Request, error)
- func (client BaseClient) StartComposeDeploymentUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) StartComposeDeploymentUpgradeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) StartDataLoss(ctx context.Context, serviceID string, partitionID uuid.UUID, ...) (result autorest.Response, err error)
- func (client BaseClient) StartDataLossPreparer(ctx context.Context, serviceID string, partitionID uuid.UUID, ...) (*http.Request, error)
- func (client BaseClient) StartDataLossResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) StartDataLossSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) StartNodeTransition(ctx context.Context, nodeName string, operationID uuid.UUID, ...) (result autorest.Response, err error)
- func (client BaseClient) StartNodeTransitionPreparer(ctx context.Context, nodeName string, operationID uuid.UUID, ...) (*http.Request, error)
- func (client BaseClient) StartNodeTransitionResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) StartNodeTransitionSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) StartPartitionRestart(ctx context.Context, serviceID string, partitionID uuid.UUID, ...) (result autorest.Response, err error)
- func (client BaseClient) StartPartitionRestartPreparer(ctx context.Context, serviceID string, partitionID uuid.UUID, ...) (*http.Request, error)
- func (client BaseClient) StartPartitionRestartResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) StartPartitionRestartSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) StartQuorumLoss(ctx context.Context, serviceID string, partitionID uuid.UUID, ...) (result autorest.Response, err error)
- func (client BaseClient) StartQuorumLossPreparer(ctx context.Context, serviceID string, partitionID uuid.UUID, ...) (*http.Request, error)
- func (client BaseClient) StartQuorumLossResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) StartQuorumLossSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) StopChaos(ctx context.Context, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) StopChaosPreparer(ctx context.Context, timeout *int64) (*http.Request, error)
- func (client BaseClient) StopChaosResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) StopChaosSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) SubmitPropertyBatch(ctx context.Context, nameID string, ...) (result PropertyBatchInfoModel, err error)
- func (client BaseClient) SubmitPropertyBatchPreparer(ctx context.Context, nameID string, ...) (*http.Request, error)
- func (client BaseClient) SubmitPropertyBatchResponder(resp *http.Response) (result PropertyBatchInfoModel, err error)
- func (client BaseClient) SubmitPropertyBatchSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) UnprovisionApplicationType(ctx context.Context, applicationTypeName string, ...) (result autorest.Response, err error)
- func (client BaseClient) UnprovisionApplicationTypePreparer(ctx context.Context, applicationTypeName string, ...) (*http.Request, error)
- func (client BaseClient) UnprovisionApplicationTypeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) UnprovisionApplicationTypeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) UnprovisionCluster(ctx context.Context, unprovisionFabricDescription UnprovisionFabricDescription, ...) (result autorest.Response, err error)
- func (client BaseClient) UnprovisionClusterPreparer(ctx context.Context, unprovisionFabricDescription UnprovisionFabricDescription, ...) (*http.Request, error)
- func (client BaseClient) UnprovisionClusterResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) UnprovisionClusterSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) UpdateApplicationUpgrade(ctx context.Context, applicationID string, ...) (result autorest.Response, err error)
- func (client BaseClient) UpdateApplicationUpgradePreparer(ctx context.Context, applicationID string, ...) (*http.Request, error)
- func (client BaseClient) UpdateApplicationUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) UpdateApplicationUpgradeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) UpdateClusterUpgrade(ctx context.Context, ...) (result autorest.Response, err error)
- func (client BaseClient) UpdateClusterUpgradePreparer(ctx context.Context, ...) (*http.Request, error)
- func (client BaseClient) UpdateClusterUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) UpdateClusterUpgradeSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) UpdateRepairExecutionState(ctx context.Context, repairTask RepairTask) (result RepairTaskUpdateInfo, err error)
- func (client BaseClient) UpdateRepairExecutionStatePreparer(ctx context.Context, repairTask RepairTask) (*http.Request, error)
- func (client BaseClient) UpdateRepairExecutionStateResponder(resp *http.Response) (result RepairTaskUpdateInfo, err error)
- func (client BaseClient) UpdateRepairExecutionStateSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) UpdateRepairTaskHealthPolicy(ctx context.Context, ...) (result RepairTaskUpdateInfo, err error)
- func (client BaseClient) UpdateRepairTaskHealthPolicyPreparer(ctx context.Context, ...) (*http.Request, error)
- func (client BaseClient) UpdateRepairTaskHealthPolicyResponder(resp *http.Response) (result RepairTaskUpdateInfo, err error)
- func (client BaseClient) UpdateRepairTaskHealthPolicySender(req *http.Request) (*http.Response, error)
- func (client BaseClient) UpdateService(ctx context.Context, serviceID string, ...) (result autorest.Response, err error)
- func (client BaseClient) UpdateServicePreparer(ctx context.Context, serviceID string, ...) (*http.Request, error)
- func (client BaseClient) UpdateServiceResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) UpdateServiceSender(req *http.Request) (*http.Response, error)
- func (client BaseClient) UploadFile(ctx context.Context, contentPath string, timeout *int64) (result autorest.Response, err error)
- func (client BaseClient) UploadFilePreparer(ctx context.Context, contentPath string, timeout *int64) (*http.Request, error)
- func (client BaseClient) UploadFileResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BaseClient) UploadFileSender(req *http.Request) (*http.Response, error)
- type BasicChaosEvent
- type BasicDeployedServiceReplicaDetailInfo
- type BasicDeployedServiceReplicaInfo
- type BasicHealthEvaluation
- type BasicPartitionInformation
- type BasicPartitionSafetyCheck
- type BasicPartitionSchemeDescription
- type BasicPropertyBatchInfo
- type BasicPropertyBatchOperation
- type BasicPropertyValue
- type BasicRepairImpactDescriptionBase
- type BasicRepairTargetDescriptionBase
- type BasicReplicaHealth
- type BasicReplicaHealthState
- type BasicReplicaInfo
- type BasicReplicaStatusBase
- type BasicReplicatorStatus
- type BasicSafetyCheck
- type BasicSecondaryReplicatorStatus
- type BasicServiceDescription
- type BasicServiceInfo
- type BasicServicePartitionInfo
- type BasicServicePlacementPolicyDescription
- type BasicServiceTypeDescription
- type BasicServiceUpdateDescription
- type BinaryPropertyValue
- func (bpv BinaryPropertyValue) AsBasicPropertyValue() (BasicPropertyValue, bool)
- func (bpv BinaryPropertyValue) AsBinaryPropertyValue() (*BinaryPropertyValue, bool)
- func (bpv BinaryPropertyValue) AsDoublePropertyValue() (*DoublePropertyValue, bool)
- func (bpv BinaryPropertyValue) AsGUIDPropertyValue() (*GUIDPropertyValue, bool)
- func (bpv BinaryPropertyValue) AsInt64PropertyValue() (*Int64PropertyValue, bool)
- func (bpv BinaryPropertyValue) AsPropertyValue() (*PropertyValue, bool)
- func (bpv BinaryPropertyValue) AsStringPropertyValue() (*StringPropertyValue, bool)
- func (bpv BinaryPropertyValue) MarshalJSON() ([]byte, error)
- type ChaosContext
- type ChaosContextMapItem
- type ChaosEvent
- func (ce ChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
- func (ce ChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
- func (ce ChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
- func (ce ChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
- func (ce ChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
- func (ce ChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
- func (ce ChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
- func (ce ChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
- func (ce ChaosEvent) MarshalJSON() ([]byte, error)
- type ChaosEventWrapper
- type ChaosParameters
- type ChaosReport
- type CheckExistsPropertyBatchOperation
- func (cepbo CheckExistsPropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)
- func (cepbo CheckExistsPropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)
- func (cepbo CheckExistsPropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)
- func (cepbo CheckExistsPropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)
- func (cepbo CheckExistsPropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)
- func (cepbo CheckExistsPropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)
- func (cepbo CheckExistsPropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)
- func (cepbo CheckExistsPropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)
- func (cepbo CheckExistsPropertyBatchOperation) MarshalJSON() ([]byte, error)
- type CheckSequencePropertyBatchOperation
- func (cspbo CheckSequencePropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)
- func (cspbo CheckSequencePropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)
- func (cspbo CheckSequencePropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)
- func (cspbo CheckSequencePropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)
- func (cspbo CheckSequencePropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)
- func (cspbo CheckSequencePropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)
- func (cspbo CheckSequencePropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)
- func (cspbo CheckSequencePropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)
- func (cspbo CheckSequencePropertyBatchOperation) MarshalJSON() ([]byte, error)
- type CheckValuePropertyBatchOperation
- func (cvpbo CheckValuePropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)
- func (cvpbo CheckValuePropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)
- func (cvpbo CheckValuePropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)
- func (cvpbo CheckValuePropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)
- func (cvpbo CheckValuePropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)
- func (cvpbo CheckValuePropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)
- func (cvpbo CheckValuePropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)
- func (cvpbo CheckValuePropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)
- func (cvpbo CheckValuePropertyBatchOperation) MarshalJSON() ([]byte, error)
- func (cvpbo *CheckValuePropertyBatchOperation) UnmarshalJSON(body []byte) error
- type ClusterConfiguration
- type ClusterConfigurationUpgradeDescription
- type ClusterConfigurationUpgradeStatusInfo
- type ClusterHealth
- type ClusterHealthChunk
- type ClusterHealthChunkQueryDescription
- type ClusterHealthPolicies
- type ClusterHealthPolicy
- type ClusterManifest
- type ClusterUpgradeDescriptionObject
- type ClusterUpgradeHealthPolicyObject
- type ClusterUpgradeProgressObject
- type Code
- type CodePackageEntryPoint
- type CodePackageEntryPointStatistics
- type ComposeDeploymentStatusInfo
- type ComposeDeploymentUpgradeDescription
- type ComposeDeploymentUpgradeProgressInfo
- type CreateComposeDeploymentDescription
- type CreateFabricDump
- type CurrentReplicatorOperation
- type CurrentServiceOperation
- type CurrentUpgradeDomainProgressInfo
- type DeactivationIntent
- type DeactivationIntentDescription
- type DefaultMoveCost
- type DefaultMoveCost1
- type DeletePropertyBatchOperation
- func (dpbo DeletePropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)
- func (dpbo DeletePropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)
- func (dpbo DeletePropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)
- func (dpbo DeletePropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)
- func (dpbo DeletePropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)
- func (dpbo DeletePropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)
- func (dpbo DeletePropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)
- func (dpbo DeletePropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)
- func (dpbo DeletePropertyBatchOperation) MarshalJSON() ([]byte, error)
- type DeltaNodesCheckHealthEvaluation
- func (dnche DeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (dnche DeltaNodesCheckHealthEvaluation) MarshalJSON() ([]byte, error)
- type DeployServicePackageToNodeDescription
- type DeployedApplicationHealth
- type DeployedApplicationHealthEvaluation
- func (dahe DeployedApplicationHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (dahe DeployedApplicationHealthEvaluation) MarshalJSON() ([]byte, error)
- type DeployedApplicationHealthState
- type DeployedApplicationHealthStateChunk
- type DeployedApplicationHealthStateChunkList
- type DeployedApplicationHealthStateFilter
- type DeployedApplicationInfo
- type DeployedApplicationsHealthEvaluation
- func (dahe DeployedApplicationsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (dahe DeployedApplicationsHealthEvaluation) MarshalJSON() ([]byte, error)
- type DeployedCodePackageInfo
- type DeployedServicePackageHealth
- type DeployedServicePackageHealthEvaluation
- func (dsphe DeployedServicePackageHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (dsphe DeployedServicePackageHealthEvaluation) MarshalJSON() ([]byte, error)
- type DeployedServicePackageHealthState
- type DeployedServicePackageHealthStateChunk
- type DeployedServicePackageHealthStateChunkList
- type DeployedServicePackageHealthStateFilter
- type DeployedServicePackageInfo
- type DeployedServicePackagesHealthEvaluation
- func (dsphe DeployedServicePackagesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (dsphe DeployedServicePackagesHealthEvaluation) MarshalJSON() ([]byte, error)
- type DeployedServiceReplicaDetailInfo
- func (dsrdi DeployedServiceReplicaDetailInfo) AsBasicDeployedServiceReplicaDetailInfo() (BasicDeployedServiceReplicaDetailInfo, bool)
- func (dsrdi DeployedServiceReplicaDetailInfo) AsDeployedServiceReplicaDetailInfo() (*DeployedServiceReplicaDetailInfo, bool)
- func (dsrdi DeployedServiceReplicaDetailInfo) AsDeployedStatefulServiceReplicaDetailInfo() (*DeployedStatefulServiceReplicaDetailInfo, bool)
- func (dsrdi DeployedServiceReplicaDetailInfo) AsDeployedStatelessServiceInstanceDetailInfo() (*DeployedStatelessServiceInstanceDetailInfo, bool)
- func (dsrdi DeployedServiceReplicaDetailInfo) MarshalJSON() ([]byte, error)
- type DeployedServiceReplicaDetailInfoModel
- type DeployedServiceReplicaInfo
- func (dsri DeployedServiceReplicaInfo) AsBasicDeployedServiceReplicaInfo() (BasicDeployedServiceReplicaInfo, bool)
- func (dsri DeployedServiceReplicaInfo) AsDeployedServiceReplicaInfo() (*DeployedServiceReplicaInfo, bool)
- func (dsri DeployedServiceReplicaInfo) AsDeployedStatefulServiceReplicaInfo() (*DeployedStatefulServiceReplicaInfo, bool)
- func (dsri DeployedServiceReplicaInfo) AsDeployedStatelessServiceInstanceInfo() (*DeployedStatelessServiceInstanceInfo, bool)
- func (dsri DeployedServiceReplicaInfo) MarshalJSON() ([]byte, error)
- type DeployedServiceTypeInfo
- type DeployedStatefulServiceReplicaDetailInfo
- func (dssrdi DeployedStatefulServiceReplicaDetailInfo) AsBasicDeployedServiceReplicaDetailInfo() (BasicDeployedServiceReplicaDetailInfo, bool)
- func (dssrdi DeployedStatefulServiceReplicaDetailInfo) AsDeployedServiceReplicaDetailInfo() (*DeployedServiceReplicaDetailInfo, bool)
- func (dssrdi DeployedStatefulServiceReplicaDetailInfo) AsDeployedStatefulServiceReplicaDetailInfo() (*DeployedStatefulServiceReplicaDetailInfo, bool)
- func (dssrdi DeployedStatefulServiceReplicaDetailInfo) AsDeployedStatelessServiceInstanceDetailInfo() (*DeployedStatelessServiceInstanceDetailInfo, bool)
- func (dssrdi DeployedStatefulServiceReplicaDetailInfo) MarshalJSON() ([]byte, error)
- func (dssrdi *DeployedStatefulServiceReplicaDetailInfo) UnmarshalJSON(body []byte) error
- type DeployedStatefulServiceReplicaInfo
- func (dssri DeployedStatefulServiceReplicaInfo) AsBasicDeployedServiceReplicaInfo() (BasicDeployedServiceReplicaInfo, bool)
- func (dssri DeployedStatefulServiceReplicaInfo) AsDeployedServiceReplicaInfo() (*DeployedServiceReplicaInfo, bool)
- func (dssri DeployedStatefulServiceReplicaInfo) AsDeployedStatefulServiceReplicaInfo() (*DeployedStatefulServiceReplicaInfo, bool)
- func (dssri DeployedStatefulServiceReplicaInfo) AsDeployedStatelessServiceInstanceInfo() (*DeployedStatelessServiceInstanceInfo, bool)
- func (dssri DeployedStatefulServiceReplicaInfo) MarshalJSON() ([]byte, error)
- type DeployedStatelessServiceInstanceDetailInfo
- func (dssidi DeployedStatelessServiceInstanceDetailInfo) AsBasicDeployedServiceReplicaDetailInfo() (BasicDeployedServiceReplicaDetailInfo, bool)
- func (dssidi DeployedStatelessServiceInstanceDetailInfo) AsDeployedServiceReplicaDetailInfo() (*DeployedServiceReplicaDetailInfo, bool)
- func (dssidi DeployedStatelessServiceInstanceDetailInfo) AsDeployedStatefulServiceReplicaDetailInfo() (*DeployedStatefulServiceReplicaDetailInfo, bool)
- func (dssidi DeployedStatelessServiceInstanceDetailInfo) AsDeployedStatelessServiceInstanceDetailInfo() (*DeployedStatelessServiceInstanceDetailInfo, bool)
- func (dssidi DeployedStatelessServiceInstanceDetailInfo) MarshalJSON() ([]byte, error)
- type DeployedStatelessServiceInstanceInfo
- func (dssii DeployedStatelessServiceInstanceInfo) AsBasicDeployedServiceReplicaInfo() (BasicDeployedServiceReplicaInfo, bool)
- func (dssii DeployedStatelessServiceInstanceInfo) AsDeployedServiceReplicaInfo() (*DeployedServiceReplicaInfo, bool)
- func (dssii DeployedStatelessServiceInstanceInfo) AsDeployedStatefulServiceReplicaInfo() (*DeployedStatefulServiceReplicaInfo, bool)
- func (dssii DeployedStatelessServiceInstanceInfo) AsDeployedStatelessServiceInstanceInfo() (*DeployedStatelessServiceInstanceInfo, bool)
- func (dssii DeployedStatelessServiceInstanceInfo) MarshalJSON() ([]byte, error)
- type DoublePropertyValue
- func (dpv DoublePropertyValue) AsBasicPropertyValue() (BasicPropertyValue, bool)
- func (dpv DoublePropertyValue) AsBinaryPropertyValue() (*BinaryPropertyValue, bool)
- func (dpv DoublePropertyValue) AsDoublePropertyValue() (*DoublePropertyValue, bool)
- func (dpv DoublePropertyValue) AsGUIDPropertyValue() (*GUIDPropertyValue, bool)
- func (dpv DoublePropertyValue) AsInt64PropertyValue() (*Int64PropertyValue, bool)
- func (dpv DoublePropertyValue) AsPropertyValue() (*PropertyValue, bool)
- func (dpv DoublePropertyValue) AsStringPropertyValue() (*StringPropertyValue, bool)
- func (dpv DoublePropertyValue) MarshalJSON() ([]byte, error)
- type EnsureAvailabilitySafetyCheck
- func (easc EnsureAvailabilitySafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
- func (easc EnsureAvailabilitySafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
- func (easc EnsureAvailabilitySafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
- func (easc EnsureAvailabilitySafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
- func (easc EnsureAvailabilitySafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
- func (easc EnsureAvailabilitySafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
- func (easc EnsureAvailabilitySafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
- func (easc EnsureAvailabilitySafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
- func (easc EnsureAvailabilitySafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
- func (easc EnsureAvailabilitySafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
- func (easc EnsureAvailabilitySafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
- func (easc EnsureAvailabilitySafetyCheck) MarshalJSON() ([]byte, error)
- type EnsurePartitionQurumSafetyCheck
- func (epqsc EnsurePartitionQurumSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
- func (epqsc EnsurePartitionQurumSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
- func (epqsc EnsurePartitionQurumSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
- func (epqsc EnsurePartitionQurumSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
- func (epqsc EnsurePartitionQurumSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
- func (epqsc EnsurePartitionQurumSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
- func (epqsc EnsurePartitionQurumSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
- func (epqsc EnsurePartitionQurumSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
- func (epqsc EnsurePartitionQurumSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
- func (epqsc EnsurePartitionQurumSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
- func (epqsc EnsurePartitionQurumSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
- func (epqsc EnsurePartitionQurumSafetyCheck) MarshalJSON() ([]byte, error)
- type EntityHealth
- type EntityHealthState
- type EntityHealthStateChunk
- type EntityHealthStateChunkList
- type EntityKind
- type EntityKindHealthStateCount
- type Epoch
- type EventHealthEvaluation
- func (ehe EventHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (ehe EventHealthEvaluation) MarshalJSON() ([]byte, error)
- type ExecutingFaultsChaosEvent
- func (efce ExecutingFaultsChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
- func (efce ExecutingFaultsChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
- func (efce ExecutingFaultsChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
- func (efce ExecutingFaultsChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
- func (efce ExecutingFaultsChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
- func (efce ExecutingFaultsChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
- func (efce ExecutingFaultsChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
- func (efce ExecutingFaultsChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
- func (efce ExecutingFaultsChaosEvent) MarshalJSON() ([]byte, error)
- type FabricCodeVersionInfo
- type FabricConfigVersionInfo
- type FabricError
- type FabricErrorError
- type FailedPropertyBatchInfo
- func (fpbi FailedPropertyBatchInfo) AsBasicPropertyBatchInfo() (BasicPropertyBatchInfo, bool)
- func (fpbi FailedPropertyBatchInfo) AsFailedPropertyBatchInfo() (*FailedPropertyBatchInfo, bool)
- func (fpbi FailedPropertyBatchInfo) AsPropertyBatchInfo() (*PropertyBatchInfo, bool)
- func (fpbi FailedPropertyBatchInfo) AsSuccessfulPropertyBatchInfo() (*SuccessfulPropertyBatchInfo, bool)
- func (fpbi FailedPropertyBatchInfo) MarshalJSON() ([]byte, error)
- type FailedUpgradeDomainProgressObject
- type FailureAction
- type FailureAction1
- type FailureReason
- type FailureReason1
- type FailureReason2
- type FailureUpgradeDomainProgressInfo
- type FileInfo
- type FileVersion
- type FolderInfo
- type GUIDPropertyValue
- func (gpv GUIDPropertyValue) AsBasicPropertyValue() (BasicPropertyValue, bool)
- func (gpv GUIDPropertyValue) AsBinaryPropertyValue() (*BinaryPropertyValue, bool)
- func (gpv GUIDPropertyValue) AsDoublePropertyValue() (*DoublePropertyValue, bool)
- func (gpv GUIDPropertyValue) AsGUIDPropertyValue() (*GUIDPropertyValue, bool)
- func (gpv GUIDPropertyValue) AsInt64PropertyValue() (*Int64PropertyValue, bool)
- func (gpv GUIDPropertyValue) AsPropertyValue() (*PropertyValue, bool)
- func (gpv GUIDPropertyValue) AsStringPropertyValue() (*StringPropertyValue, bool)
- func (gpv GUIDPropertyValue) MarshalJSON() ([]byte, error)
- type GetPropertyBatchOperation
- func (gpbo GetPropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)
- func (gpbo GetPropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)
- func (gpbo GetPropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)
- func (gpbo GetPropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)
- func (gpbo GetPropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)
- func (gpbo GetPropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)
- func (gpbo GetPropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)
- func (gpbo GetPropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)
- func (gpbo GetPropertyBatchOperation) MarshalJSON() ([]byte, error)
- type HealthEvaluation
- func (he HealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (he HealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (he HealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (he HealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (he HealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (he HealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (he HealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (he HealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (he HealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (he HealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (he HealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (he HealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (he HealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (he HealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (he HealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (he HealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (he HealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (he HealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (he HealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (he HealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (he HealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (he HealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (he HealthEvaluation) MarshalJSON() ([]byte, error)
- type HealthEvaluationWrapper
- type HealthEvent
- type HealthInformation
- type HealthState
- type HealthState1
- type HealthState2
- type HealthState3
- type HealthState4
- type HealthState5
- type HealthState6
- type HealthState7
- type HealthStateCount
- type HealthStatistics
- type HostIsolationMode
- type HostType
- type ImageStoreContent
- type ImageStoreCopyDescription
- type ImpactLevel
- type Int64PropertyValue
- func (i6pv Int64PropertyValue) AsBasicPropertyValue() (BasicPropertyValue, bool)
- func (i6pv Int64PropertyValue) AsBinaryPropertyValue() (*BinaryPropertyValue, bool)
- func (i6pv Int64PropertyValue) AsDoublePropertyValue() (*DoublePropertyValue, bool)
- func (i6pv Int64PropertyValue) AsGUIDPropertyValue() (*GUIDPropertyValue, bool)
- func (i6pv Int64PropertyValue) AsInt64PropertyValue() (*Int64PropertyValue, bool)
- func (i6pv Int64PropertyValue) AsPropertyValue() (*PropertyValue, bool)
- func (i6pv Int64PropertyValue) AsStringPropertyValue() (*StringPropertyValue, bool)
- func (i6pv Int64PropertyValue) MarshalJSON() ([]byte, error)
- type Int64RangePartitionInformation
- func (i6rpi Int64RangePartitionInformation) AsBasicPartitionInformation() (BasicPartitionInformation, bool)
- func (i6rpi Int64RangePartitionInformation) AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)
- func (i6rpi Int64RangePartitionInformation) AsNamedPartitionInformation() (*NamedPartitionInformation, bool)
- func (i6rpi Int64RangePartitionInformation) AsPartitionInformation() (*PartitionInformation, bool)
- func (i6rpi Int64RangePartitionInformation) AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)
- func (i6rpi Int64RangePartitionInformation) MarshalJSON() ([]byte, error)
- type InvokeDataLossResult
- type InvokeQuorumLossResult
- type KeyValueStoreReplicaStatus
- func (kvsrs KeyValueStoreReplicaStatus) AsBasicReplicaStatusBase() (BasicReplicaStatusBase, bool)
- func (kvsrs KeyValueStoreReplicaStatus) AsKeyValueStoreReplicaStatus() (*KeyValueStoreReplicaStatus, bool)
- func (kvsrs KeyValueStoreReplicaStatus) AsReplicaStatusBase() (*ReplicaStatusBase, bool)
- func (kvsrs KeyValueStoreReplicaStatus) MarshalJSON() ([]byte, error)
- type Kind
- type KindBasicChaosEvent
- type KindBasicHealthEvaluation
- type KindBasicPropertyBatchInfo
- type KindBasicPropertyBatchOperation
- type KindBasicPropertyValue
- type KindBasicRepairImpactDescriptionBase
- type KindBasicRepairTargetDescriptionBase
- type KindBasicReplicaStatusBase
- type KindBasicReplicatorStatus
- type KindBasicSafetyCheck
- type KindBasicServiceTypeDescription
- type ListDeployedApplicationInfo
- type ListDeployedCodePackageInfo
- type ListDeployedServicePackageInfo
- type ListDeployedServiceReplicaInfo
- type ListDeployedServiceTypeInfo
- type ListFabricCodeVersionInfo
- type ListFabricConfigVersionInfo
- type ListOperationStatus
- type ListRepairTask
- type ListServiceTypeInfo
- type LoadMetricReport
- type LoadMetricReportInfo
- type MonitoringPolicyDescription
- type NameDescription
- type NamedPartitionInformation
- func (npi NamedPartitionInformation) AsBasicPartitionInformation() (BasicPartitionInformation, bool)
- func (npi NamedPartitionInformation) AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)
- func (npi NamedPartitionInformation) AsNamedPartitionInformation() (*NamedPartitionInformation, bool)
- func (npi NamedPartitionInformation) AsPartitionInformation() (*PartitionInformation, bool)
- func (npi NamedPartitionInformation) AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)
- func (npi NamedPartitionInformation) MarshalJSON() ([]byte, error)
- type NamedPartitionSchemeDescription
- func (npsd NamedPartitionSchemeDescription) AsBasicPartitionSchemeDescription() (BasicPartitionSchemeDescription, bool)
- func (npsd NamedPartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
- func (npsd NamedPartitionSchemeDescription) AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)
- func (npsd NamedPartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
- func (npsd NamedPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
- func (npsd NamedPartitionSchemeDescription) MarshalJSON() ([]byte, error)
- type NodeDeactivationInfo
- type NodeDeactivationIntent
- type NodeDeactivationIntent1
- type NodeDeactivationStatus
- type NodeDeactivationTask
- type NodeDeactivationTaskID
- type NodeDeactivationTaskType
- type NodeHealth
- type NodeHealthEvaluation
- func (nhe NodeHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (nhe NodeHealthEvaluation) MarshalJSON() ([]byte, error)
- type NodeHealthState
- type NodeHealthStateChunk
- type NodeHealthStateChunkList
- type NodeHealthStateFilter
- type NodeID
- type NodeImpact
- type NodeInfo
- type NodeLoadInfo
- type NodeLoadMetricInformation
- type NodeRepairImpactDescription
- func (nrid NodeRepairImpactDescription) AsBasicRepairImpactDescriptionBase() (BasicRepairImpactDescriptionBase, bool)
- func (nrid NodeRepairImpactDescription) AsNodeRepairImpactDescription() (*NodeRepairImpactDescription, bool)
- func (nrid NodeRepairImpactDescription) AsRepairImpactDescriptionBase() (*RepairImpactDescriptionBase, bool)
- func (nrid NodeRepairImpactDescription) MarshalJSON() ([]byte, error)
- type NodeRepairTargetDescription
- func (nrtd NodeRepairTargetDescription) AsBasicRepairTargetDescriptionBase() (BasicRepairTargetDescriptionBase, bool)
- func (nrtd NodeRepairTargetDescription) AsNodeRepairTargetDescription() (*NodeRepairTargetDescription, bool)
- func (nrtd NodeRepairTargetDescription) AsRepairTargetDescriptionBase() (*RepairTargetDescriptionBase, bool)
- func (nrtd NodeRepairTargetDescription) MarshalJSON() ([]byte, error)
- type NodeResult
- type NodeStatus
- type NodeTransitionProgress
- type NodeTransitionResult
- type NodeUpgradeProgressInfo
- type NodesHealthEvaluation
- func (nhe NodesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (nhe NodesHealthEvaluation) MarshalJSON() ([]byte, error)
- type OperationStatus
- type PackageSharingPolicyInfo
- type PackageSharingScope
- type PagedApplicationInfoList
- type PagedApplicationTypeInfoList
- type PagedComposeDeploymentStatusInfoList
- type PagedNodeInfoList
- type PagedPropertyInfoList
- type PagedReplicaInfoList
- type PagedServiceInfoList
- type PagedServicePartitionInfoList
- type PagedSubNameInfoList
- type PartitionDataLossProgress
- type PartitionHealth
- type PartitionHealthEvaluation
- func (phe PartitionHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (phe PartitionHealthEvaluation) MarshalJSON() ([]byte, error)
- type PartitionHealthState
- type PartitionHealthStateChunk
- type PartitionHealthStateChunkList
- type PartitionHealthStateFilter
- type PartitionInformation
- func (pi PartitionInformation) AsBasicPartitionInformation() (BasicPartitionInformation, bool)
- func (pi PartitionInformation) AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)
- func (pi PartitionInformation) AsNamedPartitionInformation() (*NamedPartitionInformation, bool)
- func (pi PartitionInformation) AsPartitionInformation() (*PartitionInformation, bool)
- func (pi PartitionInformation) AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)
- func (pi PartitionInformation) MarshalJSON() ([]byte, error)
- type PartitionLoadInformation
- type PartitionQuorumLossProgress
- type PartitionRestartProgress
- type PartitionSafetyCheck
- func (psc PartitionSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
- func (psc PartitionSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
- func (psc PartitionSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
- func (psc PartitionSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
- func (psc PartitionSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
- func (psc PartitionSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
- func (psc PartitionSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
- func (psc PartitionSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
- func (psc PartitionSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
- func (psc PartitionSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
- func (psc PartitionSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
- func (psc PartitionSafetyCheck) MarshalJSON() ([]byte, error)
- type PartitionScheme
- type PartitionSchemeDescription
- func (psd PartitionSchemeDescription) AsBasicPartitionSchemeDescription() (BasicPartitionSchemeDescription, bool)
- func (psd PartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
- func (psd PartitionSchemeDescription) AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)
- func (psd PartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
- func (psd PartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
- func (psd PartitionSchemeDescription) MarshalJSON() ([]byte, error)
- type PartitionStatus
- type PartitionsHealthEvaluation
- func (phe PartitionsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (phe PartitionsHealthEvaluation) MarshalJSON() ([]byte, error)
- type PreparingHealthCheckState
- type PreviousConfigurationRole
- type PrimaryReplicatorStatus
- func (prs PrimaryReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)
- func (prs PrimaryReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)
- func (prs PrimaryReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)
- func (prs PrimaryReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)
- func (prs PrimaryReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)
- func (prs PrimaryReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)
- func (prs PrimaryReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)
- func (prs PrimaryReplicatorStatus) MarshalJSON() ([]byte, error)
- type PropertyBatchDescriptionList
- type PropertyBatchInfo
- func (pbi PropertyBatchInfo) AsBasicPropertyBatchInfo() (BasicPropertyBatchInfo, bool)
- func (pbi PropertyBatchInfo) AsFailedPropertyBatchInfo() (*FailedPropertyBatchInfo, bool)
- func (pbi PropertyBatchInfo) AsPropertyBatchInfo() (*PropertyBatchInfo, bool)
- func (pbi PropertyBatchInfo) AsSuccessfulPropertyBatchInfo() (*SuccessfulPropertyBatchInfo, bool)
- func (pbi PropertyBatchInfo) MarshalJSON() ([]byte, error)
- type PropertyBatchInfoModel
- type PropertyBatchOperation
- func (pbo PropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)
- func (pbo PropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)
- func (pbo PropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)
- func (pbo PropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)
- func (pbo PropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)
- func (pbo PropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)
- func (pbo PropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)
- func (pbo PropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)
- func (pbo PropertyBatchOperation) MarshalJSON() ([]byte, error)
- type PropertyDescription
- type PropertyInfo
- type PropertyMetadata
- type PropertyValue
- func (pv PropertyValue) AsBasicPropertyValue() (BasicPropertyValue, bool)
- func (pv PropertyValue) AsBinaryPropertyValue() (*BinaryPropertyValue, bool)
- func (pv PropertyValue) AsDoublePropertyValue() (*DoublePropertyValue, bool)
- func (pv PropertyValue) AsGUIDPropertyValue() (*GUIDPropertyValue, bool)
- func (pv PropertyValue) AsInt64PropertyValue() (*Int64PropertyValue, bool)
- func (pv PropertyValue) AsPropertyValue() (*PropertyValue, bool)
- func (pv PropertyValue) AsStringPropertyValue() (*StringPropertyValue, bool)
- func (pv PropertyValue) MarshalJSON() ([]byte, error)
- type ProvisionFabricDescription
- type PutPropertyBatchOperation
- func (ppbo PutPropertyBatchOperation) AsBasicPropertyBatchOperation() (BasicPropertyBatchOperation, bool)
- func (ppbo PutPropertyBatchOperation) AsCheckExistsPropertyBatchOperation() (*CheckExistsPropertyBatchOperation, bool)
- func (ppbo PutPropertyBatchOperation) AsCheckSequencePropertyBatchOperation() (*CheckSequencePropertyBatchOperation, bool)
- func (ppbo PutPropertyBatchOperation) AsCheckValuePropertyBatchOperation() (*CheckValuePropertyBatchOperation, bool)
- func (ppbo PutPropertyBatchOperation) AsDeletePropertyBatchOperation() (*DeletePropertyBatchOperation, bool)
- func (ppbo PutPropertyBatchOperation) AsGetPropertyBatchOperation() (*GetPropertyBatchOperation, bool)
- func (ppbo PutPropertyBatchOperation) AsPropertyBatchOperation() (*PropertyBatchOperation, bool)
- func (ppbo PutPropertyBatchOperation) AsPutPropertyBatchOperation() (*PutPropertyBatchOperation, bool)
- func (ppbo PutPropertyBatchOperation) MarshalJSON() ([]byte, error)
- func (ppbo *PutPropertyBatchOperation) UnmarshalJSON(body []byte) error
- type ReadStatus
- type ReconfigurationInformation
- type ReconfigurationPhase
- type ReconfigurationType
- type RegistryCredential
- type RemoteReplicatorAcknowledgementDetail
- type RemoteReplicatorAcknowledgementStatus
- type RemoteReplicatorStatus
- type RepairImpactDescriptionBase
- func (ridb RepairImpactDescriptionBase) AsBasicRepairImpactDescriptionBase() (BasicRepairImpactDescriptionBase, bool)
- func (ridb RepairImpactDescriptionBase) AsNodeRepairImpactDescription() (*NodeRepairImpactDescription, bool)
- func (ridb RepairImpactDescriptionBase) AsRepairImpactDescriptionBase() (*RepairImpactDescriptionBase, bool)
- func (ridb RepairImpactDescriptionBase) MarshalJSON() ([]byte, error)
- type RepairTargetDescriptionBase
- func (rtdb RepairTargetDescriptionBase) AsBasicRepairTargetDescriptionBase() (BasicRepairTargetDescriptionBase, bool)
- func (rtdb RepairTargetDescriptionBase) AsNodeRepairTargetDescription() (*NodeRepairTargetDescription, bool)
- func (rtdb RepairTargetDescriptionBase) AsRepairTargetDescriptionBase() (*RepairTargetDescriptionBase, bool)
- func (rtdb RepairTargetDescriptionBase) MarshalJSON() ([]byte, error)
- type RepairTask
- type RepairTaskApproveDescription
- type RepairTaskCancelDescription
- type RepairTaskDeleteDescription
- type RepairTaskHistory
- type RepairTaskUpdateHealthPolicyDescription
- type RepairTaskUpdateInfo
- type ReplicaHealth
- func (rh ReplicaHealth) AsBasicReplicaHealth() (BasicReplicaHealth, bool)
- func (rh ReplicaHealth) AsReplicaHealth() (*ReplicaHealth, bool)
- func (rh ReplicaHealth) AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)
- func (rh ReplicaHealth) AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)
- func (rh ReplicaHealth) MarshalJSON() ([]byte, error)
- type ReplicaHealthEvaluation
- func (rhe ReplicaHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (rhe ReplicaHealthEvaluation) MarshalJSON() ([]byte, error)
- type ReplicaHealthModel
- type ReplicaHealthState
- func (RHS ReplicaHealthState) AsBasicReplicaHealthState() (BasicReplicaHealthState, bool)
- func (RHS ReplicaHealthState) AsReplicaHealthState() (*ReplicaHealthState, bool)
- func (RHS ReplicaHealthState) AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)
- func (RHS ReplicaHealthState) AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)
- func (RHS ReplicaHealthState) MarshalJSON() ([]byte, error)
- type ReplicaHealthStateChunk
- type ReplicaHealthStateChunkList
- type ReplicaHealthStateFilter
- type ReplicaInfo
- func (ri ReplicaInfo) AsBasicReplicaInfo() (BasicReplicaInfo, bool)
- func (ri ReplicaInfo) AsReplicaInfo() (*ReplicaInfo, bool)
- func (ri ReplicaInfo) AsStatefulServiceReplicaInfo() (*StatefulServiceReplicaInfo, bool)
- func (ri ReplicaInfo) AsStatelessServiceInstanceInfo() (*StatelessServiceInstanceInfo, bool)
- func (ri ReplicaInfo) MarshalJSON() ([]byte, error)
- type ReplicaInfoModel
- type ReplicaRole
- type ReplicaRole1
- type ReplicaStatus
- type ReplicaStatus1
- type ReplicaStatusBase
- func (rsb ReplicaStatusBase) AsBasicReplicaStatusBase() (BasicReplicaStatusBase, bool)
- func (rsb ReplicaStatusBase) AsKeyValueStoreReplicaStatus() (*KeyValueStoreReplicaStatus, bool)
- func (rsb ReplicaStatusBase) AsReplicaStatusBase() (*ReplicaStatusBase, bool)
- func (rsb ReplicaStatusBase) MarshalJSON() ([]byte, error)
- type ReplicasHealthEvaluation
- func (rhe ReplicasHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (rhe ReplicasHealthEvaluation) MarshalJSON() ([]byte, error)
- type ReplicatorQueueStatus
- type ReplicatorStatus
- func (rs ReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)
- func (rs ReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)
- func (rs ReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)
- func (rs ReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)
- func (rs ReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)
- func (rs ReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)
- func (rs ReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)
- func (rs ReplicatorStatus) MarshalJSON() ([]byte, error)
- type ResolvedServiceEndpoint
- type ResolvedServicePartition
- type RestartDeployedCodePackageDescription
- type RestartNodeDescription
- type RestartPartitionResult
- type RestoringHealthCheckState
- type ResultStatus
- type ResumeApplicationUpgradeDescription
- type ResumeClusterUpgradeDescription
- type RollingUpgradeMode
- type RollingUpgradeMode1
- type RollingUpgradeMode2
- type RollingUpgradeMode3
- type RollingUpgradeMode4
- type RollingUpgradeMode5
- type RollingUpgradeMode6
- type RollingUpgradeMode7
- type RollingUpgradeUpdateDescription
- type SafetyCheck
- func (sc SafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
- func (sc SafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
- func (sc SafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
- func (sc SafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
- func (sc SafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
- func (sc SafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
- func (sc SafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
- func (sc SafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
- func (sc SafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
- func (sc SafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
- func (sc SafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
- func (sc SafetyCheck) MarshalJSON() ([]byte, error)
- type SafetyCheckWrapper
- type Scheme
- type SecondaryActiveReplicatorStatus
- func (sars SecondaryActiveReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)
- func (sars SecondaryActiveReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)
- func (sars SecondaryActiveReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)
- func (sars SecondaryActiveReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)
- func (sars SecondaryActiveReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)
- func (sars SecondaryActiveReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)
- func (sars SecondaryActiveReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)
- func (sars SecondaryActiveReplicatorStatus) MarshalJSON() ([]byte, error)
- type SecondaryIdleReplicatorStatus
- func (sirs SecondaryIdleReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)
- func (sirs SecondaryIdleReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)
- func (sirs SecondaryIdleReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)
- func (sirs SecondaryIdleReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)
- func (sirs SecondaryIdleReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)
- func (sirs SecondaryIdleReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)
- func (sirs SecondaryIdleReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)
- func (sirs SecondaryIdleReplicatorStatus) MarshalJSON() ([]byte, error)
- type SecondaryReplicatorStatus
- func (srs SecondaryReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)
- func (srs SecondaryReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)
- func (srs SecondaryReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)
- func (srs SecondaryReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)
- func (srs SecondaryReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)
- func (srs SecondaryReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)
- func (srs SecondaryReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)
- func (srs SecondaryReplicatorStatus) MarshalJSON() ([]byte, error)
- type SeedNodeSafetyCheck
- func (snsc SeedNodeSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
- func (snsc SeedNodeSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
- func (snsc SeedNodeSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
- func (snsc SeedNodeSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
- func (snsc SeedNodeSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
- func (snsc SeedNodeSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
- func (snsc SeedNodeSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
- func (snsc SeedNodeSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
- func (snsc SeedNodeSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
- func (snsc SeedNodeSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
- func (snsc SeedNodeSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
- func (snsc SeedNodeSafetyCheck) MarshalJSON() ([]byte, error)
- type SelectedPartition
- type ServiceCorrelationDescription
- type ServiceDescription
- func (sd ServiceDescription) AsBasicServiceDescription() (BasicServiceDescription, bool)
- func (sd ServiceDescription) AsServiceDescription() (*ServiceDescription, bool)
- func (sd ServiceDescription) AsStatefulServiceDescription() (*StatefulServiceDescription, bool)
- func (sd ServiceDescription) AsStatelessServiceDescription() (*StatelessServiceDescription, bool)
- func (sd ServiceDescription) MarshalJSON() ([]byte, error)
- func (sd *ServiceDescription) UnmarshalJSON(body []byte) error
- type ServiceDescriptionModel
- type ServiceFromTemplateDescription
- type ServiceHealth
- type ServiceHealthEvaluation
- func (she ServiceHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (she ServiceHealthEvaluation) MarshalJSON() ([]byte, error)
- type ServiceHealthState
- type ServiceHealthStateChunk
- type ServiceHealthStateChunkList
- type ServiceHealthStateFilter
- type ServiceInfo
- func (si ServiceInfo) AsBasicServiceInfo() (BasicServiceInfo, bool)
- func (si ServiceInfo) AsServiceInfo() (*ServiceInfo, bool)
- func (si ServiceInfo) AsStatefulServiceInfo() (*StatefulServiceInfo, bool)
- func (si ServiceInfo) AsStatelessServiceInfo() (*StatelessServiceInfo, bool)
- func (si ServiceInfo) MarshalJSON() ([]byte, error)
- type ServiceInfoModel
- type ServiceKind
- type ServiceKindBasicDeployedServiceReplicaDetailInfo
- type ServiceKindBasicReplicaHealth
- type ServiceKindBasicReplicaHealthState
- type ServiceKindBasicReplicaInfo
- type ServiceKindBasicServiceDescription
- type ServiceKindBasicServiceInfo
- type ServiceKindBasicServicePartitionInfo
- type ServiceKindBasicServiceUpdateDescription
- type ServiceLoadMetricDescription
- type ServiceNameInfo
- type ServicePackageActivationMode
- type ServicePackageActivationMode1
- type ServicePartitionInfo
- func (spi ServicePartitionInfo) AsBasicServicePartitionInfo() (BasicServicePartitionInfo, bool)
- func (spi ServicePartitionInfo) AsServicePartitionInfo() (*ServicePartitionInfo, bool)
- func (spi ServicePartitionInfo) AsStatefulServicePartitionInfo() (*StatefulServicePartitionInfo, bool)
- func (spi ServicePartitionInfo) AsStatelessServicePartitionInfo() (*StatelessServicePartitionInfo, bool)
- func (spi ServicePartitionInfo) MarshalJSON() ([]byte, error)
- func (spi *ServicePartitionInfo) UnmarshalJSON(body []byte) error
- type ServicePartitionInfoModel
- type ServicePartitionKind
- type ServicePlacementInvalidDomainPolicyDescription
- func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)
- func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)
- func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)
- func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
- func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)
- func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)
- func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)
- func (spidpd ServicePlacementInvalidDomainPolicyDescription) MarshalJSON() ([]byte, error)
- type ServicePlacementNonPartiallyPlaceServicePolicyDescription
- func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)
- func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)
- func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)
- func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
- func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)
- func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)
- func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)
- func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) MarshalJSON() ([]byte, error)
- type ServicePlacementPolicyDescription
- func (sppd ServicePlacementPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)
- func (sppd ServicePlacementPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)
- func (sppd ServicePlacementPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)
- func (sppd ServicePlacementPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
- func (sppd ServicePlacementPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)
- func (sppd ServicePlacementPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)
- func (sppd ServicePlacementPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)
- func (sppd ServicePlacementPolicyDescription) MarshalJSON() ([]byte, error)
- type ServicePlacementPreferPrimaryDomainPolicyDescription
- func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)
- func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)
- func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)
- func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
- func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)
- func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)
- func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)
- func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) MarshalJSON() ([]byte, error)
- type ServicePlacementRequireDomainDistributionPolicyDescription
- func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)
- func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)
- func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)
- func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
- func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)
- func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)
- func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)
- func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) MarshalJSON() ([]byte, error)
- type ServicePlacementRequiredDomainPolicyDescription
- func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)
- func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)
- func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)
- func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
- func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)
- func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)
- func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)
- func (sprdpd ServicePlacementRequiredDomainPolicyDescription) MarshalJSON() ([]byte, error)
- type ServiceStatus
- type ServiceTypeDescription
- func (std ServiceTypeDescription) AsBasicServiceTypeDescription() (BasicServiceTypeDescription, bool)
- func (std ServiceTypeDescription) AsServiceTypeDescription() (*ServiceTypeDescription, bool)
- func (std ServiceTypeDescription) AsStatefulServiceTypeDescription() (*StatefulServiceTypeDescription, bool)
- func (std ServiceTypeDescription) AsStatelessServiceTypeDescription() (*StatelessServiceTypeDescription, bool)
- func (std ServiceTypeDescription) MarshalJSON() ([]byte, error)
- func (std *ServiceTypeDescription) UnmarshalJSON(body []byte) error
- type ServiceTypeExtensionDescription
- type ServiceTypeHealthPolicy
- type ServiceTypeHealthPolicyMapItem
- type ServiceTypeInfo
- type ServiceTypeManifest
- type ServiceUpdateDescription
- func (sud ServiceUpdateDescription) AsBasicServiceUpdateDescription() (BasicServiceUpdateDescription, bool)
- func (sud ServiceUpdateDescription) AsServiceUpdateDescription() (*ServiceUpdateDescription, bool)
- func (sud ServiceUpdateDescription) AsStatefulServiceUpdateDescription() (*StatefulServiceUpdateDescription, bool)
- func (sud ServiceUpdateDescription) AsStatelessServiceUpdateDescription() (*StatelessServiceUpdateDescription, bool)
- func (sud ServiceUpdateDescription) MarshalJSON() ([]byte, error)
- func (sud *ServiceUpdateDescription) UnmarshalJSON(body []byte) error
- type ServicesHealthEvaluation
- func (she ServicesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (she ServicesHealthEvaluation) MarshalJSON() ([]byte, error)
- type SingletonPartitionInformation
- func (spi SingletonPartitionInformation) AsBasicPartitionInformation() (BasicPartitionInformation, bool)
- func (spi SingletonPartitionInformation) AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)
- func (spi SingletonPartitionInformation) AsNamedPartitionInformation() (*NamedPartitionInformation, bool)
- func (spi SingletonPartitionInformation) AsPartitionInformation() (*PartitionInformation, bool)
- func (spi SingletonPartitionInformation) AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)
- func (spi SingletonPartitionInformation) MarshalJSON() ([]byte, error)
- type SingletonPartitionSchemeDescription
- func (spsd SingletonPartitionSchemeDescription) AsBasicPartitionSchemeDescription() (BasicPartitionSchemeDescription, bool)
- func (spsd SingletonPartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
- func (spsd SingletonPartitionSchemeDescription) AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)
- func (spsd SingletonPartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
- func (spsd SingletonPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
- func (spsd SingletonPartitionSchemeDescription) MarshalJSON() ([]byte, error)
- type StartClusterUpgradeDescription
- type StartedChaosEvent
- func (sce StartedChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
- func (sce StartedChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
- func (sce StartedChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
- func (sce StartedChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
- func (sce StartedChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
- func (sce StartedChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
- func (sce StartedChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
- func (sce StartedChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
- func (sce StartedChaosEvent) MarshalJSON() ([]byte, error)
- type State
- type State1
- type State2
- type State3
- type State4
- type State5
- type State6
- type StatefulServiceDescription
- func (ssd StatefulServiceDescription) AsBasicServiceDescription() (BasicServiceDescription, bool)
- func (ssd StatefulServiceDescription) AsServiceDescription() (*ServiceDescription, bool)
- func (ssd StatefulServiceDescription) AsStatefulServiceDescription() (*StatefulServiceDescription, bool)
- func (ssd StatefulServiceDescription) AsStatelessServiceDescription() (*StatelessServiceDescription, bool)
- func (ssd StatefulServiceDescription) MarshalJSON() ([]byte, error)
- func (ssd *StatefulServiceDescription) UnmarshalJSON(body []byte) error
- type StatefulServiceInfo
- func (ssi StatefulServiceInfo) AsBasicServiceInfo() (BasicServiceInfo, bool)
- func (ssi StatefulServiceInfo) AsServiceInfo() (*ServiceInfo, bool)
- func (ssi StatefulServiceInfo) AsStatefulServiceInfo() (*StatefulServiceInfo, bool)
- func (ssi StatefulServiceInfo) AsStatelessServiceInfo() (*StatelessServiceInfo, bool)
- func (ssi StatefulServiceInfo) MarshalJSON() ([]byte, error)
- type StatefulServicePartitionInfo
- func (sspi StatefulServicePartitionInfo) AsBasicServicePartitionInfo() (BasicServicePartitionInfo, bool)
- func (sspi StatefulServicePartitionInfo) AsServicePartitionInfo() (*ServicePartitionInfo, bool)
- func (sspi StatefulServicePartitionInfo) AsStatefulServicePartitionInfo() (*StatefulServicePartitionInfo, bool)
- func (sspi StatefulServicePartitionInfo) AsStatelessServicePartitionInfo() (*StatelessServicePartitionInfo, bool)
- func (sspi StatefulServicePartitionInfo) MarshalJSON() ([]byte, error)
- func (sspi *StatefulServicePartitionInfo) UnmarshalJSON(body []byte) error
- type StatefulServiceReplicaHealth
- func (ssrh StatefulServiceReplicaHealth) AsBasicReplicaHealth() (BasicReplicaHealth, bool)
- func (ssrh StatefulServiceReplicaHealth) AsReplicaHealth() (*ReplicaHealth, bool)
- func (ssrh StatefulServiceReplicaHealth) AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)
- func (ssrh StatefulServiceReplicaHealth) AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)
- func (ssrh StatefulServiceReplicaHealth) MarshalJSON() ([]byte, error)
- type StatefulServiceReplicaHealthState
- func (ssrhs StatefulServiceReplicaHealthState) AsBasicReplicaHealthState() (BasicReplicaHealthState, bool)
- func (ssrhs StatefulServiceReplicaHealthState) AsReplicaHealthState() (*ReplicaHealthState, bool)
- func (ssrhs StatefulServiceReplicaHealthState) AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)
- func (ssrhs StatefulServiceReplicaHealthState) AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)
- func (ssrhs StatefulServiceReplicaHealthState) MarshalJSON() ([]byte, error)
- type StatefulServiceReplicaInfo
- func (ssri StatefulServiceReplicaInfo) AsBasicReplicaInfo() (BasicReplicaInfo, bool)
- func (ssri StatefulServiceReplicaInfo) AsReplicaInfo() (*ReplicaInfo, bool)
- func (ssri StatefulServiceReplicaInfo) AsStatefulServiceReplicaInfo() (*StatefulServiceReplicaInfo, bool)
- func (ssri StatefulServiceReplicaInfo) AsStatelessServiceInstanceInfo() (*StatelessServiceInstanceInfo, bool)
- func (ssri StatefulServiceReplicaInfo) MarshalJSON() ([]byte, error)
- type StatefulServiceTypeDescription
- func (sstd StatefulServiceTypeDescription) AsBasicServiceTypeDescription() (BasicServiceTypeDescription, bool)
- func (sstd StatefulServiceTypeDescription) AsServiceTypeDescription() (*ServiceTypeDescription, bool)
- func (sstd StatefulServiceTypeDescription) AsStatefulServiceTypeDescription() (*StatefulServiceTypeDescription, bool)
- func (sstd StatefulServiceTypeDescription) AsStatelessServiceTypeDescription() (*StatelessServiceTypeDescription, bool)
- func (sstd StatefulServiceTypeDescription) MarshalJSON() ([]byte, error)
- func (sstd *StatefulServiceTypeDescription) UnmarshalJSON(body []byte) error
- type StatefulServiceUpdateDescription
- func (ssud StatefulServiceUpdateDescription) AsBasicServiceUpdateDescription() (BasicServiceUpdateDescription, bool)
- func (ssud StatefulServiceUpdateDescription) AsServiceUpdateDescription() (*ServiceUpdateDescription, bool)
- func (ssud StatefulServiceUpdateDescription) AsStatefulServiceUpdateDescription() (*StatefulServiceUpdateDescription, bool)
- func (ssud StatefulServiceUpdateDescription) AsStatelessServiceUpdateDescription() (*StatelessServiceUpdateDescription, bool)
- func (ssud StatefulServiceUpdateDescription) MarshalJSON() ([]byte, error)
- func (ssud *StatefulServiceUpdateDescription) UnmarshalJSON(body []byte) error
- type StatelessServiceDescription
- func (ssd StatelessServiceDescription) AsBasicServiceDescription() (BasicServiceDescription, bool)
- func (ssd StatelessServiceDescription) AsServiceDescription() (*ServiceDescription, bool)
- func (ssd StatelessServiceDescription) AsStatefulServiceDescription() (*StatefulServiceDescription, bool)
- func (ssd StatelessServiceDescription) AsStatelessServiceDescription() (*StatelessServiceDescription, bool)
- func (ssd StatelessServiceDescription) MarshalJSON() ([]byte, error)
- func (ssd *StatelessServiceDescription) UnmarshalJSON(body []byte) error
- type StatelessServiceInfo
- func (ssi StatelessServiceInfo) AsBasicServiceInfo() (BasicServiceInfo, bool)
- func (ssi StatelessServiceInfo) AsServiceInfo() (*ServiceInfo, bool)
- func (ssi StatelessServiceInfo) AsStatefulServiceInfo() (*StatefulServiceInfo, bool)
- func (ssi StatelessServiceInfo) AsStatelessServiceInfo() (*StatelessServiceInfo, bool)
- func (ssi StatelessServiceInfo) MarshalJSON() ([]byte, error)
- type StatelessServiceInstanceHealth
- func (ssih StatelessServiceInstanceHealth) AsBasicReplicaHealth() (BasicReplicaHealth, bool)
- func (ssih StatelessServiceInstanceHealth) AsReplicaHealth() (*ReplicaHealth, bool)
- func (ssih StatelessServiceInstanceHealth) AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)
- func (ssih StatelessServiceInstanceHealth) AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)
- func (ssih StatelessServiceInstanceHealth) MarshalJSON() ([]byte, error)
- type StatelessServiceInstanceHealthState
- func (ssihs StatelessServiceInstanceHealthState) AsBasicReplicaHealthState() (BasicReplicaHealthState, bool)
- func (ssihs StatelessServiceInstanceHealthState) AsReplicaHealthState() (*ReplicaHealthState, bool)
- func (ssihs StatelessServiceInstanceHealthState) AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)
- func (ssihs StatelessServiceInstanceHealthState) AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)
- func (ssihs StatelessServiceInstanceHealthState) MarshalJSON() ([]byte, error)
- type StatelessServiceInstanceInfo
- func (ssii StatelessServiceInstanceInfo) AsBasicReplicaInfo() (BasicReplicaInfo, bool)
- func (ssii StatelessServiceInstanceInfo) AsReplicaInfo() (*ReplicaInfo, bool)
- func (ssii StatelessServiceInstanceInfo) AsStatefulServiceReplicaInfo() (*StatefulServiceReplicaInfo, bool)
- func (ssii StatelessServiceInstanceInfo) AsStatelessServiceInstanceInfo() (*StatelessServiceInstanceInfo, bool)
- func (ssii StatelessServiceInstanceInfo) MarshalJSON() ([]byte, error)
- type StatelessServicePartitionInfo
- func (sspi StatelessServicePartitionInfo) AsBasicServicePartitionInfo() (BasicServicePartitionInfo, bool)
- func (sspi StatelessServicePartitionInfo) AsServicePartitionInfo() (*ServicePartitionInfo, bool)
- func (sspi StatelessServicePartitionInfo) AsStatefulServicePartitionInfo() (*StatefulServicePartitionInfo, bool)
- func (sspi StatelessServicePartitionInfo) AsStatelessServicePartitionInfo() (*StatelessServicePartitionInfo, bool)
- func (sspi StatelessServicePartitionInfo) MarshalJSON() ([]byte, error)
- func (sspi *StatelessServicePartitionInfo) UnmarshalJSON(body []byte) error
- type StatelessServiceTypeDescription
- func (sstd StatelessServiceTypeDescription) AsBasicServiceTypeDescription() (BasicServiceTypeDescription, bool)
- func (sstd StatelessServiceTypeDescription) AsServiceTypeDescription() (*ServiceTypeDescription, bool)
- func (sstd StatelessServiceTypeDescription) AsStatefulServiceTypeDescription() (*StatefulServiceTypeDescription, bool)
- func (sstd StatelessServiceTypeDescription) AsStatelessServiceTypeDescription() (*StatelessServiceTypeDescription, bool)
- func (sstd StatelessServiceTypeDescription) MarshalJSON() ([]byte, error)
- func (sstd *StatelessServiceTypeDescription) UnmarshalJSON(body []byte) error
- type StatelessServiceUpdateDescription
- func (ssud StatelessServiceUpdateDescription) AsBasicServiceUpdateDescription() (BasicServiceUpdateDescription, bool)
- func (ssud StatelessServiceUpdateDescription) AsServiceUpdateDescription() (*ServiceUpdateDescription, bool)
- func (ssud StatelessServiceUpdateDescription) AsStatefulServiceUpdateDescription() (*StatefulServiceUpdateDescription, bool)
- func (ssud StatelessServiceUpdateDescription) AsStatelessServiceUpdateDescription() (*StatelessServiceUpdateDescription, bool)
- func (ssud StatelessServiceUpdateDescription) MarshalJSON() ([]byte, error)
- func (ssud *StatelessServiceUpdateDescription) UnmarshalJSON(body []byte) error
- type Status
- type Status1
- type Status2
- type Status3
- type Status4
- type Status5
- type Status6
- type Status7
- type Status8
- type StoppedChaosEvent
- func (sce StoppedChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
- func (sce StoppedChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
- func (sce StoppedChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
- func (sce StoppedChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
- func (sce StoppedChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
- func (sce StoppedChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
- func (sce StoppedChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
- func (sce StoppedChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
- func (sce StoppedChaosEvent) MarshalJSON() ([]byte, error)
- type String
- type StringPropertyValue
- func (spv StringPropertyValue) AsBasicPropertyValue() (BasicPropertyValue, bool)
- func (spv StringPropertyValue) AsBinaryPropertyValue() (*BinaryPropertyValue, bool)
- func (spv StringPropertyValue) AsDoublePropertyValue() (*DoublePropertyValue, bool)
- func (spv StringPropertyValue) AsGUIDPropertyValue() (*GUIDPropertyValue, bool)
- func (spv StringPropertyValue) AsInt64PropertyValue() (*Int64PropertyValue, bool)
- func (spv StringPropertyValue) AsPropertyValue() (*PropertyValue, bool)
- func (spv StringPropertyValue) AsStringPropertyValue() (*StringPropertyValue, bool)
- func (spv StringPropertyValue) MarshalJSON() ([]byte, error)
- type SuccessfulPropertyBatchInfo
- func (spbi SuccessfulPropertyBatchInfo) AsBasicPropertyBatchInfo() (BasicPropertyBatchInfo, bool)
- func (spbi SuccessfulPropertyBatchInfo) AsFailedPropertyBatchInfo() (*FailedPropertyBatchInfo, bool)
- func (spbi SuccessfulPropertyBatchInfo) AsPropertyBatchInfo() (*PropertyBatchInfo, bool)
- func (spbi SuccessfulPropertyBatchInfo) AsSuccessfulPropertyBatchInfo() (*SuccessfulPropertyBatchInfo, bool)
- func (spbi SuccessfulPropertyBatchInfo) MarshalJSON() ([]byte, error)
- type SystemApplicationHealthEvaluation
- func (sahe SystemApplicationHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (sahe SystemApplicationHealthEvaluation) MarshalJSON() ([]byte, error)
- type TestErrorChaosEvent
- func (tece TestErrorChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
- func (tece TestErrorChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
- func (tece TestErrorChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
- func (tece TestErrorChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
- func (tece TestErrorChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
- func (tece TestErrorChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
- func (tece TestErrorChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
- func (tece TestErrorChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
- func (tece TestErrorChaosEvent) MarshalJSON() ([]byte, error)
- type Type
- type TypeBasicServicePlacementPolicyDescription
- type TypeID
- type UniformInt64RangePartitionSchemeDescription
- func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsBasicPartitionSchemeDescription() (BasicPartitionSchemeDescription, bool)
- func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
- func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)
- func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
- func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
- func (ui6rpsd UniformInt64RangePartitionSchemeDescription) MarshalJSON() ([]byte, error)
- type UnprovisionFabricDescription
- type UpdateClusterUpgradeDescription
- type UpgradeDomainDeltaNodesCheckHealthEvaluation
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) MarshalJSON() ([]byte, error)
- type UpgradeDomainInfo
- type UpgradeDomainNodesHealthEvaluation
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
- func (udnhe UpgradeDomainNodesHealthEvaluation) MarshalJSON() ([]byte, error)
- type UpgradeKind
- type UpgradeKind1
- type UpgradeKind2
- type UpgradeKind3
- type UpgradeKind4
- type UpgradeKind5
- type UpgradeKind6
- type UpgradePhase
- type UpgradeState
- type UpgradeState1
- type UpgradeState2
- type UpgradeState3
- type ValidationFailedChaosEvent
- func (vfce ValidationFailedChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
- func (vfce ValidationFailedChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
- func (vfce ValidationFailedChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
- func (vfce ValidationFailedChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
- func (vfce ValidationFailedChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
- func (vfce ValidationFailedChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
- func (vfce ValidationFailedChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
- func (vfce ValidationFailedChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
- func (vfce ValidationFailedChaosEvent) MarshalJSON() ([]byte, error)
- type WaitForInbuildReplicaSafetyCheck
- func (wfirsc WaitForInbuildReplicaSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
- func (wfirsc WaitForInbuildReplicaSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
- func (wfirsc WaitForInbuildReplicaSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
- func (wfirsc WaitForInbuildReplicaSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
- func (wfirsc WaitForInbuildReplicaSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
- func (wfirsc WaitForInbuildReplicaSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
- func (wfirsc WaitForInbuildReplicaSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
- func (wfirsc WaitForInbuildReplicaSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
- func (wfirsc WaitForInbuildReplicaSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
- func (wfirsc WaitForInbuildReplicaSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
- func (wfirsc WaitForInbuildReplicaSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
- func (wfirsc WaitForInbuildReplicaSafetyCheck) MarshalJSON() ([]byte, error)
- type WaitForPrimaryPlacementSafetyCheck
- func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
- func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
- func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
- func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
- func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
- func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
- func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
- func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
- func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
- func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
- func (wfppsc WaitForPrimaryPlacementSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
- func (wfppsc WaitForPrimaryPlacementSafetyCheck) MarshalJSON() ([]byte, error)
- type WaitForPrimarySwapSafetyCheck
- func (wfpssc WaitForPrimarySwapSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
- func (wfpssc WaitForPrimarySwapSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
- func (wfpssc WaitForPrimarySwapSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
- func (wfpssc WaitForPrimarySwapSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
- func (wfpssc WaitForPrimarySwapSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
- func (wfpssc WaitForPrimarySwapSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
- func (wfpssc WaitForPrimarySwapSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
- func (wfpssc WaitForPrimarySwapSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
- func (wfpssc WaitForPrimarySwapSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
- func (wfpssc WaitForPrimarySwapSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
- func (wfpssc WaitForPrimarySwapSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
- func (wfpssc WaitForPrimarySwapSafetyCheck) MarshalJSON() ([]byte, error)
- type WaitForReconfigurationSafetyCheck
- func (wfrsc WaitForReconfigurationSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
- func (wfrsc WaitForReconfigurationSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
- func (wfrsc WaitForReconfigurationSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
- func (wfrsc WaitForReconfigurationSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
- func (wfrsc WaitForReconfigurationSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
- func (wfrsc WaitForReconfigurationSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
- func (wfrsc WaitForReconfigurationSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
- func (wfrsc WaitForReconfigurationSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
- func (wfrsc WaitForReconfigurationSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
- func (wfrsc WaitForReconfigurationSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
- func (wfrsc WaitForReconfigurationSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
- func (wfrsc WaitForReconfigurationSafetyCheck) MarshalJSON() ([]byte, error)
- type WaitingChaosEvent
- func (wce WaitingChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
- func (wce WaitingChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
- func (wce WaitingChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
- func (wce WaitingChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
- func (wce WaitingChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
- func (wce WaitingChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
- func (wce WaitingChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
- func (wce WaitingChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
- func (wce WaitingChaosEvent) MarshalJSON() ([]byte, error)
- type Weight
- type WriteStatus
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Servicefabric
DefaultBaseURI = "http://localhost:19080"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AadMetadata ¶
type AadMetadata struct { // Authority - The AAD authority url. Authority *string `json:"authority,omitempty"` // Client - The AAD client application Id. Client *string `json:"client,omitempty"` // Cluster - The AAD cluster application Id. Cluster *string `json:"cluster,omitempty"` // Login - The AAD login url. Login *string `json:"login,omitempty"` // Redirect - The client application redirect address. Redirect *string `json:"redirect,omitempty"` // Tenant - The AAD tenant Id. Tenant *string `json:"tenant,omitempty"` }
AadMetadata azure Active Directory metadata used for secured connection to cluster.
type AadMetadataObject ¶
type AadMetadataObject struct { autorest.Response `json:"-"` // Type - The client authentication method. Type *string `json:"type,omitempty"` Metadata *AadMetadata `json:"metadata,omitempty"` }
AadMetadataObject azure Active Directory metadata object used for secured connection to cluster.
type AggregatedHealthState ¶
type AggregatedHealthState string
AggregatedHealthState enumerates the values for aggregated health state.
const ( // Error ... Error AggregatedHealthState = "Error" // Invalid ... Invalid AggregatedHealthState = "Invalid" // Ok ... Ok AggregatedHealthState = "Ok" // Unknown ... Unknown AggregatedHealthState = "Unknown" // Warning ... Warning AggregatedHealthState = "Warning" )
func PossibleAggregatedHealthStateValues ¶
func PossibleAggregatedHealthStateValues() []AggregatedHealthState
PossibleAggregatedHealthStateValues returns an array of possible values for the AggregatedHealthState const type.
type AggregatedHealthState1 ¶
type AggregatedHealthState1 string
AggregatedHealthState1 enumerates the values for aggregated health state 1.
const ( // AggregatedHealthState1Error ... AggregatedHealthState1Error AggregatedHealthState1 = "Error" // AggregatedHealthState1Invalid ... AggregatedHealthState1Invalid AggregatedHealthState1 = "Invalid" // AggregatedHealthState1Ok ... AggregatedHealthState1Ok AggregatedHealthState1 = "Ok" // AggregatedHealthState1Unknown ... AggregatedHealthState1Unknown AggregatedHealthState1 = "Unknown" // AggregatedHealthState1Warning ... AggregatedHealthState1Warning AggregatedHealthState1 = "Warning" )
func PossibleAggregatedHealthState1Values ¶
func PossibleAggregatedHealthState1Values() []AggregatedHealthState1
PossibleAggregatedHealthState1Values returns an array of possible values for the AggregatedHealthState1 const type.
type AggregatedHealthState2 ¶
type AggregatedHealthState2 string
AggregatedHealthState2 enumerates the values for aggregated health state 2.
const ( // AggregatedHealthState2Error ... AggregatedHealthState2Error AggregatedHealthState2 = "Error" // AggregatedHealthState2Invalid ... AggregatedHealthState2Invalid AggregatedHealthState2 = "Invalid" // AggregatedHealthState2Ok ... AggregatedHealthState2Ok AggregatedHealthState2 = "Ok" // AggregatedHealthState2Unknown ... AggregatedHealthState2Unknown AggregatedHealthState2 = "Unknown" // AggregatedHealthState2Warning ... AggregatedHealthState2Warning AggregatedHealthState2 = "Warning" )
func PossibleAggregatedHealthState2Values ¶
func PossibleAggregatedHealthState2Values() []AggregatedHealthState2
PossibleAggregatedHealthState2Values returns an array of possible values for the AggregatedHealthState2 const type.
type ApplicationCapacityDescription ¶
type ApplicationCapacityDescription struct { // MinimumNodes - The minimum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. If this property is set to zero, no capacity will be reserved. The value of this property cannot be more than the value of the MaximumNodes property. MinimumNodes *int64 `json:"MinimumNodes,omitempty"` // MaximumNodes - The maximum number of nodes where Service Fabric will reserve capacity for this application. Note that this does not mean that the services of this application will be placed on all of those nodes. By default, the value of this property is zero and it means that the services can be placed on any node. MaximumNodes *int64 `json:"MaximumNodes,omitempty"` ApplicationMetrics *[]ApplicationMetricDescription `json:"ApplicationMetrics,omitempty"` }
ApplicationCapacityDescription describes capacity information for services of this application. This description can be used for describing the following. - Reserving the capacity for the services on the nodes - Limiting the total number of nodes that services of this application can run on - Limiting the custom capacity metrics to limit the total consumption of this metric by the services of this application
type ApplicationDefinitionKind ¶
type ApplicationDefinitionKind string
ApplicationDefinitionKind enumerates the values for application definition kind.
const ( // ApplicationDefinitionKindCompose ... ApplicationDefinitionKindCompose ApplicationDefinitionKind = "Compose" // ApplicationDefinitionKindInvalid ... ApplicationDefinitionKindInvalid ApplicationDefinitionKind = "Invalid" // ApplicationDefinitionKindServiceFabricApplicationDescription ... ApplicationDefinitionKindServiceFabricApplicationDescription ApplicationDefinitionKind = "ServiceFabricApplicationDescription" )
func PossibleApplicationDefinitionKindValues ¶
func PossibleApplicationDefinitionKindValues() []ApplicationDefinitionKind
PossibleApplicationDefinitionKindValues returns an array of possible values for the ApplicationDefinitionKind const type.
type ApplicationDescription ¶
type ApplicationDescription struct { Name *string `json:"Name,omitempty"` TypeName *string `json:"TypeName,omitempty"` TypeVersion *string `json:"TypeVersion,omitempty"` ParameterList *[]ApplicationParameter `json:"ParameterList,omitempty"` ApplicationCapacity *ApplicationCapacityDescription `json:"ApplicationCapacity,omitempty"` }
ApplicationDescription describes a Service Fabric application.
type ApplicationHealth ¶
type ApplicationHealth struct { autorest.Response `json:"-"` Name *string `json:"Name,omitempty"` // ServiceHealthStates - Service health states as found in the health store. ServiceHealthStates *[]ServiceHealthState `json:"ServiceHealthStates,omitempty"` // DeployedApplicationHealthStates - Deployed application health states as found in the health store. DeployedApplicationHealthStates *[]DeployedApplicationHealthState `json:"DeployedApplicationHealthStates,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown' AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"` // HealthEvents - The list of health events reported on the entity. HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` 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 *string `json:"ApplicationName,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
ApplicationHealthEvaluation represents health evaluation for an application, containing information about the data and the algorithm used by the health store to evaluate health.
func (ApplicationHealthEvaluation) AsApplicationHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsBasicHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsEventHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsNodeHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsNodesHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsPartitionHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsReplicaHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsReplicasHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsServiceHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsServicesHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (ahe ApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.
func (ApplicationHealthEvaluation) MarshalJSON ¶
func (ahe ApplicationHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationHealthEvaluation.
type ApplicationHealthPolicies ¶
type ApplicationHealthPolicies struct {
ApplicationHealthPolicyMap *[]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 *ServiceTypeHealthPolicy `json:"DefaultServiceTypeHealthPolicy,omitempty"` 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 *string `json:"Key,omitempty"` Value *ApplicationHealthPolicy `json:"Value,omitempty"` }
ApplicationHealthPolicyMapItem defines an item in ApplicationHealthPolicyMap.
type ApplicationHealthState ¶
type ApplicationHealthState struct { Name *string `json:"Name,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown' AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"` }
ApplicationHealthState represents the health state of an application, which contains the application identifier and the aggregated health state.
type ApplicationHealthStateChunk ¶
type ApplicationHealthStateChunk struct { ApplicationName *string `json:"ApplicationName,omitempty"` ApplicationTypeName *string `json:"ApplicationTypeName,omitempty"` ServiceHealthStateChunks *ServiceHealthStateChunkList `json:"ServiceHealthStateChunks,omitempty"` DeployedApplicationHealthStateChunks *DeployedApplicationHealthStateChunkList `json:"DeployedApplicationHealthStateChunks,omitempty"` // HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown' HealthState HealthState2 `json:"HealthState,omitempty"` }
ApplicationHealthStateChunk represents the health state chunk of a application. The application health state chunk contains the application name, its aggregated health state and any children services and deployed applications that respect the filters in cluster health chunk query description.
type ApplicationHealthStateChunkList ¶
type ApplicationHealthStateChunkList struct { // Items - The list of application health state chunks that respect the input filters in the chunk query. Items *[]ApplicationHealthStateChunk `json:"Items,omitempty"` // TotalCount - Total number of entity health state objects that match the specified filters from the cluster health chunk query description. TotalCount *int64 `json:"TotalCount,omitempty"` }
ApplicationHealthStateChunkList the list of application health state chunks in the cluster that respect the input filters in the chunk query. Returned by get cluster health state chunks query.
type ApplicationHealthStateFilter ¶
type ApplicationHealthStateFilter struct { // ApplicationNameFilter - The name of the application that matches the filter, as a fabric uri. The filter is applied only to the specified application, if it exists. // If the application doesn't exist, no application is returned in the cluster health chunk based on this filter. // If the application exists, it is included in the cluster health chunk if it respects the other filter properties. // If not specified, all applications are matched against the other filter members, like health state filter. ApplicationNameFilter *string `json:"ApplicationNameFilter,omitempty"` // ApplicationTypeNameFilter - The name of the application type that matches the filter. // If specified, the filter is applied only to applications of the selected application type, if any exists. // If no applications of the specified application type exists, no application is returned in the cluster health chunk based on this filter. // Each application of the specified application type is included in the cluster health chunk if it respects the other filter properties. // If not specified, all applications are matched against the other filter members, like health state filter. ApplicationTypeNameFilter *string `json:"ApplicationTypeNameFilter,omitempty"` // HealthStateFilter - The filter for the health state of the applications. It allows selecting applications if they match the desired health states. // The possible values are integer value of one of the following health states. Only applications that match the filter are returned. All applications are used to evaluate the cluster aggregated health state. // If not specified, default value is None, unless the application name or the application type name are specified. If the filter has default value and application name is specified, the matching application is returned. // The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. // For example, if the provided value is 6, it matches applications with HealthState value of OK (2) and Warning (4). // - Default - Default value. Matches any HealthState. The value is zero. // - None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. // - Ok - Filter that matches input with HealthState value Ok. The value is 2. // - Warning - Filter that matches input with HealthState value Warning. The value is 4. // - Error - Filter that matches input with HealthState value Error. The value is 8. // - All - Filter that matches input with any HealthState value. The value is 65535. HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"` // ServiceFilters - Defines a list of filters that specify which services to be included in the returned cluster health chunk as children of the application. The services are returned only if the parent application matches a filter. // If the list is empty, no services are returned. All the services are used to evaluate the parent application aggregated health state, regardless of the input filters. // The application filter may specify multiple service filters. // For example, it can specify a filter to return all services with health state Error and another filter to always include a service identified by its service name. ServiceFilters *[]ServiceHealthStateFilter `json:"ServiceFilters,omitempty"` // DeployedApplicationFilters - Defines a list of filters that specify which deployed applications to be included in the returned cluster health chunk as children of the application. The deployed applications are returned only if the parent application matches a filter. // If the list is empty, no deployed applications are returned. All the deployed applications are used to evaluate the parent application aggregated health state, regardless of the input filters. // The application filter may specify multiple deployed application filters. // For example, it can specify a filter to return all deployed applications with health state Error and another filter to always include a deployed application on a specified node. DeployedApplicationFilters *[]DeployedApplicationHealthStateFilter `json:"DeployedApplicationFilters,omitempty"` }
ApplicationHealthStateFilter defines matching criteria to determine whether a application should be included in the cluster health chunk. One filter can match zero, one or multiple applications, depending on its properties.
type ApplicationInfo ¶
type ApplicationInfo struct { autorest.Response `json:"-"` ID *string `json:"Id,omitempty"` Name *string `json:"Name,omitempty"` TypeName *string `json:"TypeName,omitempty"` TypeVersion *string `json:"TypeVersion,omitempty"` // Status - Possible values include: 'StatusInvalid', 'StatusReady', 'StatusUpgrading', 'StatusCreating', 'StatusDeleting', 'StatusFailed' Status Status `json:"Status,omitempty"` Parameters *[]ApplicationParameter `json:"Parameters,omitempty"` // HealthState - Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown' HealthState HealthState `json:"HealthState,omitempty"` // ApplicationDefinitionKind - Possible values include: 'ApplicationDefinitionKindInvalid', 'ApplicationDefinitionKindServiceFabricApplicationDescription', 'ApplicationDefinitionKindCompose' ApplicationDefinitionKind ApplicationDefinitionKind `json:"ApplicationDefinitionKind,omitempty"` }
ApplicationInfo information about a Service Fabric application.
type ApplicationLoadInfo ¶
type ApplicationLoadInfo struct { autorest.Response `json:"-"` 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 *[]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 *string `json:"Id,omitempty"` Name *string `json:"Name,omitempty"` }
ApplicationNameInfo information about the application name.
type ApplicationParameter ¶
type ApplicationParameter struct { // Key - The name of the parameter. Key *string `json:"Key,omitempty"` // Value - The value of the parameter. Value *string `json:"Value,omitempty"` }
ApplicationParameter describes an application parameter override to be applied when creating or upgrading an application.
type ApplicationTypeApplicationsHealthEvaluation ¶
type ApplicationTypeApplicationsHealthEvaluation struct { ApplicationTypeName *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 *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
ApplicationTypeApplicationsHealthEvaluation represents health evaluation for applications of a particular application type. The application type applications evaluation can be returned when cluster health evaluation returns unhealthy aggregated health state, either Error or Warning. It contains health evaluations for each unhealthy application of the included application type that impacted current aggregated health state.
func (ApplicationTypeApplicationsHealthEvaluation) AsApplicationHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsBasicHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsEventHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsNodeHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsNodesHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsPartitionHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsReplicaHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsReplicasHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsServiceHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsServicesHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeApplicationsHealthEvaluation.
func (ApplicationTypeApplicationsHealthEvaluation) MarshalJSON ¶
func (atahe ApplicationTypeApplicationsHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationTypeApplicationsHealthEvaluation.
type ApplicationTypeDefinitionKind ¶
type ApplicationTypeDefinitionKind string
ApplicationTypeDefinitionKind enumerates the values for application type definition kind.
const ( // ApplicationTypeDefinitionKindCompose ... ApplicationTypeDefinitionKindCompose ApplicationTypeDefinitionKind = "Compose" // ApplicationTypeDefinitionKindInvalid ... ApplicationTypeDefinitionKindInvalid ApplicationTypeDefinitionKind = "Invalid" // ApplicationTypeDefinitionKindServiceFabricApplicationPackage ... ApplicationTypeDefinitionKindServiceFabricApplicationPackage ApplicationTypeDefinitionKind = "ServiceFabricApplicationPackage" )
func PossibleApplicationTypeDefinitionKindValues ¶
func PossibleApplicationTypeDefinitionKindValues() []ApplicationTypeDefinitionKind
PossibleApplicationTypeDefinitionKindValues returns an array of possible values for the ApplicationTypeDefinitionKind const type.
type ApplicationTypeHealthPolicyMapItem ¶
type ApplicationTypeHealthPolicyMapItem struct { // Key - The key of the application type health policy map item. This is the name of the application type. Key *string `json:"Key,omitempty"` // Value - The value of the application type health policy map item. // The max percent unhealthy applications allowed for the application type. Must be between zero and 100. Value *int32 `json:"Value,omitempty"` }
ApplicationTypeHealthPolicyMapItem defines an item in ApplicationTypeHealthPolicyMap.
type ApplicationTypeImageStorePath ¶
type ApplicationTypeImageStorePath struct { // ApplicationTypeBuildPath - The relative image store path to the application package. ApplicationTypeBuildPath *string `json:"ApplicationTypeBuildPath,omitempty"` }
ApplicationTypeImageStorePath path description for the application package in the image store specified during the prior copy operation.
type ApplicationTypeImageStoreVersion ¶
type ApplicationTypeImageStoreVersion struct {
ApplicationTypeVersion *string `json:"ApplicationTypeVersion,omitempty"`
}
ApplicationTypeImageStoreVersion a version description for the application type
type ApplicationTypeInfo ¶
type ApplicationTypeInfo struct { Name *string `json:"Name,omitempty"` Version *string `json:"Version,omitempty"` DefaultParameterList *[]ApplicationParameter `json:"DefaultParameterList,omitempty"` // Status - Possible values include: 'Status1Invalid', 'Status1Provisioning', 'Status1Available', 'Status1Unprovisioning', 'Status1Failed' Status Status1 `json:"Status,omitempty"` StatusDetails *string `json:"StatusDetails,omitempty"` // ApplicationTypeDefinitionKind - 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 ApplicationUpgradeDescription ¶
type ApplicationUpgradeDescription struct { Name *string `json:"Name,omitempty"` TargetApplicationTypeVersion *string `json:"TargetApplicationTypeVersion,omitempty"` Parameters *[]ApplicationParameter `json:"Parameters,omitempty"` // UpgradeKind - Possible values include: 'UpgradeKindInvalid', 'UpgradeKindRolling' UpgradeKind UpgradeKind `json:"UpgradeKind,omitempty"` // RollingUpgradeMode - Possible values include: 'RollingUpgradeModeInvalid', 'RollingUpgradeModeUnmonitoredAuto', 'RollingUpgradeModeUnmonitoredManual', 'RollingUpgradeModeMonitored' RollingUpgradeMode RollingUpgradeMode `json:"RollingUpgradeMode,omitempty"` UpgradeReplicaSetCheckTimeoutInSeconds *int64 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"` ForceRestart *bool `json:"ForceRestart,omitempty"` MonitoringPolicy *MonitoringPolicyDescription `json:"MonitoringPolicy,omitempty"` ApplicationHealthPolicy *ApplicationHealthPolicy `json:"ApplicationHealthPolicy,omitempty"` }
ApplicationUpgradeDescription describes the parameters for an application upgrade. Please note that upgrade description replaces the existing application description. This means that if the parameters are not specified, the existing parameters on the applications will be overwritten with the empty parameters list. This would results in application using the default value of the parameters from the application manifest. If you do not want to change any existing parameter values, please get the application parameters first using the GetApplicationInfo query and then supply those values as Parameters in this ApplicationUpgradeDescription.
type ApplicationUpgradeProgressInfo ¶
type ApplicationUpgradeProgressInfo struct { autorest.Response `json:"-"` Name *string `json:"Name,omitempty"` TypeName *string `json:"TypeName,omitempty"` TargetApplicationTypeVersion *string `json:"TargetApplicationTypeVersion,omitempty"` UpgradeDomains *[]UpgradeDomainInfo `json:"UpgradeDomains,omitempty"` // UpgradeState - Possible values include: 'UpgradeStateInvalid', 'UpgradeStateRollingBackInProgress', 'UpgradeStateRollingBackCompleted', 'UpgradeStateRollingForwardPending', 'UpgradeStateRollingForwardInProgress', 'UpgradeStateRollingForwardCompleted', 'UpgradeStateFailed' UpgradeState UpgradeState `json:"UpgradeState,omitempty"` NextUpgradeDomain *string `json:"NextUpgradeDomain,omitempty"` // RollingUpgradeMode - Possible values include: 'RollingUpgradeMode1Invalid', 'RollingUpgradeMode1UnmonitoredAuto', 'RollingUpgradeMode1UnmonitoredManual', 'RollingUpgradeMode1Monitored' RollingUpgradeMode RollingUpgradeMode1 `json:"RollingUpgradeMode,omitempty"` UpgradeDescription *ApplicationUpgradeDescription `json:"UpgradeDescription,omitempty"` // UpgradeDurationInMilliseconds - The estimated total amount of time spent processing the overall upgrade. UpgradeDurationInMilliseconds *string `json:"UpgradeDurationInMilliseconds,omitempty"` // UpgradeDomainDurationInMilliseconds - The estimated total amount of time spent processing the current upgrade domain. UpgradeDomainDurationInMilliseconds *string `json:"UpgradeDomainDurationInMilliseconds,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` CurrentUpgradeDomainProgress *CurrentUpgradeDomainProgressInfo `json:"CurrentUpgradeDomainProgress,omitempty"` // StartTimestampUtc - The estimated UTC datetime when the upgrade started. StartTimestampUtc *string `json:"StartTimestampUtc,omitempty"` // FailureTimestampUtc - The estimated UTC datetime when the upgrade failed and FailureAction was executed. FailureTimestampUtc *string `json:"FailureTimestampUtc,omitempty"` // FailureReason - Possible values include: 'None', 'Interrupted', 'HealthCheck', 'UpgradeDomainTimeout', 'UpgradeTimeout' FailureReason FailureReason `json:"FailureReason,omitempty"` UpgradeDomainProgressAtFailure *FailureUpgradeDomainProgressInfo `json:"UpgradeDomainProgressAtFailure,omitempty"` // UpgradeStatusDetails - Additional detailed information about the status of the pending upgrade. UpgradeStatusDetails *string `json:"UpgradeStatusDetails,omitempty"` }
ApplicationUpgradeProgressInfo describes the parameters for an application upgrade.
type ApplicationUpgradeUpdateDescription ¶
type ApplicationUpgradeUpdateDescription struct { Name *string `json:"Name,omitempty"` // UpgradeKind - Possible values include: 'UpgradeKind6Invalid', 'UpgradeKind6Rolling' UpgradeKind UpgradeKind6 `json:"UpgradeKind,omitempty"` ApplicationHealthPolicy *ApplicationHealthPolicy `json:"ApplicationHealthPolicy,omitempty"` UpdateDescription *RollingUpgradeUpdateDescription `json:"UpdateDescription,omitempty"` }
ApplicationUpgradeUpdateDescription describes the parameters for updating an ongoing application upgrade.
type ApplicationsHealthEvaluation ¶
type ApplicationsHealthEvaluation struct { // MaxPercentUnhealthyApplications - Maximum allowed percentage of unhealthy applications from the ClusterHealthPolicy. MaxPercentUnhealthyApplications *int32 `json:"MaxPercentUnhealthyApplications,omitempty"` // TotalCount - Total number of applications from the health store. TotalCount *int64 `json:"TotalCount,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
ApplicationsHealthEvaluation represents health evaluation for applications, containing health evaluations for each unhealthy application that impacted current aggregated health state.
func (ApplicationsHealthEvaluation) AsApplicationHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsBasicHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsEventHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsNodeHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsNodesHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsPartitionHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsReplicaHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsReplicasHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsServiceHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsServicesHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (ahe ApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.
func (ApplicationsHealthEvaluation) MarshalJSON ¶
func (ahe ApplicationsHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ApplicationsHealthEvaluation.
type BaseClient ¶
BaseClient is the base client for Servicefabric.
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 ¶
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 ¶
CancelRepairTaskSender sends the CancelRepairTask 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 ¶
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 ¶
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 creates a Service Fabric compose deployment.
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 ¶
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 ¶
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 ¶
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 creates the specified service.
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.
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 ¶
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 ¶
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 ¶
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 ¶
DeleteImageStoreContentSender sends the DeleteImageStoreContent 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 ¶
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 ¶
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 ¶
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 ¶
DeleteServiceSender sends the DeleteService request. The method will close the http.Response Body if it receives an error.
func (BaseClient) DeployedServicePackageToNode ¶
func (client BaseClient) DeployedServicePackageToNode(ctx context.Context, nodeName string, deployServicePackageToNodeDescription DeployServicePackageToNodeDescription, timeout *int64) (result autorest.Response, err error)
DeployedServicePackageToNode downloads packages associated with specified service manifest to image cache on specified node.
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 ¶
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 ¶
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 ¶
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 ¶
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 helath 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 ¶
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, 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 for application query operations. - 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. 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, 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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 for application type query operations. - 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 ¶
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 count of ticks representing the start time of the time range for which a Chaos report is to be generated. Please consult [DateTime.Ticks Property](https://msdn.microsoft.com/en-us/library/system.datetime.ticks%28v=vs.110%29) for details about tick. endTimeUtc is the count of ticks representing the end time of the time range for which a Chaos report is to be generated. Please consult [DateTime.Ticks Property](https://msdn.microsoft.com/en-us/library/system.datetime.ticks%28v=vs.110%29) for details about tick. timeout 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 ¶
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 ¶
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 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 ¶
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 ¶
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 azuer portal).
The contents of the cluster manifest are for informational purposes only and users are not expected to take a dependency on the format of the file contents or its interpretation.
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 ¶
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 ¶
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) 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 ¶
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) (result DeployedApplicationInfo, err error)
GetDeployedApplicationInfo gets the information about an application deployed on a Service Fabric node.
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) GetDeployedApplicationInfoList ¶
func (client BaseClient) GetDeployedApplicationInfoList(ctx context.Context, nodeName string, timeout *int64) (result ListDeployedApplicationInfo, err error)
GetDeployedApplicationInfoList gets the list of applications deployed on a Service Fabric node.
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) GetDeployedApplicationInfoListPreparer ¶
func (client BaseClient) GetDeployedApplicationInfoListPreparer(ctx context.Context, nodeName string, timeout *int64) (*http.Request, error)
GetDeployedApplicationInfoListPreparer prepares the GetDeployedApplicationInfoList request.
func (BaseClient) GetDeployedApplicationInfoListResponder ¶
func (client BaseClient) GetDeployedApplicationInfoListResponder(resp *http.Response) (result ListDeployedApplicationInfo, err error)
GetDeployedApplicationInfoListResponder handles the response to the GetDeployedApplicationInfoList request. The method always closes the http.Response Body.
func (BaseClient) GetDeployedApplicationInfoListSender ¶
func (client BaseClient) GetDeployedApplicationInfoListSender(req *http.Request) (*http.Response, error)
GetDeployedApplicationInfoListSender sends the GetDeployedApplicationInfoList request. The method will close the http.Response Body if it receives an error.
func (BaseClient) GetDeployedApplicationInfoPreparer ¶
func (client BaseClient) GetDeployedApplicationInfoPreparer(ctx context.Context, nodeName string, applicationID string, timeout *int64) (*http.Request, error)
GetDeployedApplicationInfoPreparer prepares the GetDeployedApplicationInfo request.
func (BaseClient) GetDeployedApplicationInfoResponder ¶
func (client BaseClient) GetDeployedApplicationInfoResponder(resp *http.Response) (result DeployedApplicationInfo, err error)
GetDeployedApplicationInfoResponder handles the response to the GetDeployedApplicationInfo request. The method always closes the http.Response Body.
func (BaseClient) GetDeployedApplicationInfoSender ¶
func (client BaseClient) GetDeployedApplicationInfoSender(req *http.Request) (*http.Response, error)
GetDeployedApplicationInfoSender sends the GetDeployedApplicationInfo request. The method will close the http.Response Body if it receives an error.
func (BaseClient) GetDeployedCodePackageInfoList ¶
func (client BaseClient) GetDeployedCodePackageInfoList(ctx context.Context, nodeName string, applicationID string, serviceManifestName string, codePackageName string, timeout *int64) (result ListDeployedCodePackageInfo, err error)
GetDeployedCodePackageInfoList gets the list of code packages deployed on a Service Fabric node for the given application.
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 ¶
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 ¶
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 ¶
GetImageStoreRootContentSender sends the GetImageStoreRootContent 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 ¶
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 ¶
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 ¶
GetNodeHealthUsingPolicySender sends the GetNodeHealthUsingPolicy request. The method will close the http.Response Body if it receives an error.
func (BaseClient) GetNodeInfo ¶
func (client BaseClient) GetNodeInfo(ctx context.Context, nodeName string, timeout *int64) (result NodeInfo, err error)
GetNodeInfo gets the information about a specific node in the Service Fabric Cluster.The respons include the name, status, id, health, uptime and other details about the node.
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 string, timeout *int64) (result PagedNodeInfoList, err error)
GetNodeInfoList the Nodes endpoint returns information about the nodes in the Service Fabric Cluster. The respons include the name, status, id, health, uptime and other details about the node.
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.
- default - This filter value will match all of the nodes excepts the ones with with status as Unknown or Removed. - all - This filter value will match all of the nodes. - up - This filter value will match nodes that are Up. - down - This filter value will match nodes that are Down. - enabling - This filter value will match nodes that are in the process of being enabled with status as Enabling. - disabling - This filter value will match nodes that are in the process of being disabled with status as Disabling. - disabled - This filter value will match nodes that are Disabled. - unknown - This filter value will match nodes whose status is Unknown. A node would be in Unknown state if Service Fabric does not have authoritative information about that node. This can happen if the system learns about a node at runtime. - removed - This filter value will match nodes whose status is Removed. These are the nodes that are removed from the cluster using the RemoveNodeState API. timeout 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 string, timeout *int64) (*http.Request, error)
GetNodeInfoListPreparer prepares the GetNodeInfoList request.
func (BaseClient) GetNodeInfoListResponder ¶
func (client BaseClient) GetNodeInfoListResponder(resp *http.Response) (result PagedNodeInfoList, err error)
GetNodeInfoListResponder handles the response to the GetNodeInfoList request. The method always closes the http.Response Body.
func (BaseClient) GetNodeInfoListSender ¶
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 ¶
GetNodeInfoSender sends the GetNodeInfo request. The method will close the http.Response Body if it receives an error.
func (BaseClient) GetNodeLoadInfo ¶
func (client BaseClient) GetNodeLoadInfo(ctx context.Context, nodeName string, timeout *int64) (result NodeLoadInfo, err error)
GetNodeLoadInfo gets the load information of a Service Fabric node.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 gets information on all Service Fabric properties under a given name.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 respons 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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
GetSubNameInfoListSender sends the GetSubNameInfoList 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 ¶
InvokeInfrastructureQuerySender sends the InvokeInfrastructureQuery request. The method will close the http.Response Body if it receives an error.
func (BaseClient) ProvisionApplicationType ¶
func (client BaseClient) ProvisionApplicationType(ctx context.Context, applicationTypeImageStorePath ApplicationTypeImageStorePath, timeout *int64) (result autorest.Response, err error)
ProvisionApplicationType provisions or registers a Service Fabric application type with the cluster. This is required before any new applications can be instantiated.
applicationTypeImageStorePath 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) ProvisionApplicationTypePreparer ¶
func (client BaseClient) ProvisionApplicationTypePreparer(ctx context.Context, applicationTypeImageStorePath ApplicationTypeImageStorePath, timeout *int64) (*http.Request, error)
ProvisionApplicationTypePreparer prepares the ProvisionApplicationType request.
func (BaseClient) ProvisionApplicationTypeResponder ¶
func (client BaseClient) ProvisionApplicationTypeResponder(resp *http.Response) (result autorest.Response, err error)
ProvisionApplicationTypeResponder handles the response to the ProvisionApplicationType request. The method always closes the http.Response Body.
func (BaseClient) ProvisionApplicationTypeSender ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
ReportPartitionHealthSender sends the ReportPartitionHealth request. The method will close the http.Response Body if it receives an error.
func (BaseClient) ReportReplicaHealth ¶
func (client BaseClient) ReportReplicaHealth(ctx context.Context, partitionID uuid.UUID, replicaID string, serviceKind string, healthInformation HealthInformation, 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. - Stateless - Does not use Service Fabric to make its state highly available or reliable. The value is 1 - Stateful - Uses Service Fabric to make its state or part of its state highly available and reliable. The value is 2. healthInformation 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 string, 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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 upgrade move on to the next upgrade domain.
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 ¶
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 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 ¶
RollbackClusterUpgradeSender sends the RollbackClusterUpgrade 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 ¶
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 ¶
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 ¶
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 string, timeout *int64) (result autorest.Response, err error)
StartDataLoss this API will induce data loss for the specified partition. It will trigger a call to the OnDataLoss API of the partition. Actual data loss will depend on the specified DataLossMode PartialDataLoss - Only a quorum of replicas are removed and OnDataLoss is triggered for the partition but actual data loss depends on the presence of in-flight replication. FullDataLoss - All replicas are removed hence all data is lost and OnDataLoss is triggered.
This API should only be called with a stateful service as the target.
Calling this API with a system service as the target is not advised.
Note: Once this API has been called, it cannot be reversed. Calling CancelOperation will only stop execution and clean up internal system state. It will not restore data if the command has progressed far enough to cause data loss.
Call the GetDataLossProgress API with the same OperationId to return information on the operation started with this API.
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. - Invalid - Reserved. Do not pass into API. - PartialDataLoss - PartialDataLoss option will cause a quorum of replicas to go down, triggering an OnDataLoss event in the system for the given partition. - FullDataLoss - FullDataLoss option will drop all the replicas which means that all the data will be lost. timeout 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 string, timeout *int64) (*http.Request, error)
StartDataLossPreparer prepares the StartDataLoss request.
func (BaseClient) StartDataLossResponder ¶
func (client BaseClient) StartDataLossResponder(resp *http.Response) (result autorest.Response, err error)
StartDataLossResponder handles the response to the StartDataLoss request. The method always closes the http.Response Body.
func (BaseClient) StartDataLossSender ¶
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 string, nodeInstanceID string, stopDurationInSeconds int32, timeout *int64) (result autorest.Response, err error)
StartNodeTransition starts or stops a cluster node. A cluster node is a process, not the OS instance itself. To start a node, pass in "Start" for the NodeTransitionType parameter. To stop a node, pass in "Stop" for the NodeTransitionType parameter. This API starts the operation - when the API returns the node may not have finished transitioning yet. Call GetNodeTransitionProgress with the same OperationId to get the progress of the operation.
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. - Invalid - Reserved. Do not pass into API. - Start - Transition a stopped node to up. - Stop - Transition an up node to stopped. 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 string, nodeInstanceID string, stopDurationInSeconds int32, timeout *int64) (*http.Request, error)
StartNodeTransitionPreparer prepares the StartNodeTransition request.
func (BaseClient) StartNodeTransitionResponder ¶
func (client BaseClient) StartNodeTransitionResponder(resp *http.Response) (result autorest.Response, err error)
StartNodeTransitionResponder handles the response to the StartNodeTransition request. The method always closes the http.Response Body.
func (BaseClient) StartNodeTransitionSender ¶
StartNodeTransitionSender sends the StartNodeTransition request. The method will close the http.Response Body if it receives an error.
func (BaseClient) StartPartitionRestart ¶
func (client BaseClient) StartPartitionRestart(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, restartPartitionMode string, timeout *int64) (result autorest.Response, err error)
StartPartitionRestart this API is useful for testing failover.
If used to target a stateless service partition, RestartPartitionMode must be AllReplicasOrInstances.
Call the GetPartitionRestartProgress API using the same OperationId to get the progress.
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 - Invalid - Reserved. Do not pass into API. - AllReplicasOrInstances - All replicas or instances in the partition are restarted at once. - OnlyActiveSecondaries - Only the secondary replicas are restarted. timeout 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 string, timeout *int64) (*http.Request, error)
StartPartitionRestartPreparer prepares the StartPartitionRestart request.
func (BaseClient) StartPartitionRestartResponder ¶
func (client BaseClient) StartPartitionRestartResponder(resp *http.Response) (result autorest.Response, err error)
StartPartitionRestartResponder handles the response to the StartPartitionRestart request. The method always closes the http.Response Body.
func (BaseClient) StartPartitionRestartSender ¶
StartPartitionRestartSender sends the StartPartitionRestart request. The method will close the http.Response Body if it receives an error.
func (BaseClient) StartQuorumLoss ¶
func (client BaseClient) StartQuorumLoss(ctx context.Context, serviceID string, partitionID uuid.UUID, operationID uuid.UUID, quorumLossMode string, quorumLossDuration int32, timeout *int64) (result autorest.Response, err error)
StartQuorumLoss induces quorum loss for a given stateful service partition. This API is useful for a temporary quorum loss situation on your service.
Call the GetQuorumLossProgress API with the same OperationId to return information on the operation started with this API.
This can only be called on stateful persisted (HasPersistedState==true) services. Do not use this API on stateless services or stateful in-memory only services.
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. - Invalid - Reserved. Do not pass into API. - QuorumReplicas - Partial Quorum loss mode : Minimum number of replicas for a partition will be down that will cause a quorum loss. - AllReplicas- Full Quorum loss mode : All replicas for a partition will be down that will cause a quorum loss. quorumLossDuration 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 string, quorumLossDuration int32, timeout *int64) (*http.Request, error)
StartQuorumLossPreparer prepares the StartQuorumLoss request.
func (BaseClient) StartQuorumLossResponder ¶
func (client BaseClient) StartQuorumLossResponder(resp *http.Response) (result autorest.Response, err error)
StartQuorumLossResponder handles the response to the StartQuorumLoss request. The method always closes the http.Response Body.
func (BaseClient) StartQuorumLossSender ¶
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 ¶
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 ¶
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, applicationTypeImageStoreVersion ApplicationTypeImageStoreVersion, timeout *int64) (result autorest.Response, err error)
UnprovisionApplicationType removes or unregisters a Service Fabric application type from the cluster. This operation can only be performed if all application instance of the application type has been deleted. Once the application type is unregistered, no new application instance can be created for this particular application type.
applicationTypeName is the name of the application type. applicationTypeImageStoreVersion is the version of the application type in 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) UnprovisionApplicationTypePreparer ¶
func (client BaseClient) UnprovisionApplicationTypePreparer(ctx context.Context, applicationTypeName string, applicationTypeImageStoreVersion ApplicationTypeImageStoreVersion, timeout *int64) (*http.Request, error)
UnprovisionApplicationTypePreparer prepares the UnprovisionApplicationType request.
func (BaseClient) UnprovisionApplicationTypeResponder ¶
func (client BaseClient) UnprovisionApplicationTypeResponder(resp *http.Response) (result autorest.Response, err error)
UnprovisionApplicationTypeResponder handles the response to the UnprovisionApplicationType request. The method always closes the http.Response Body.
func (BaseClient) UnprovisionApplicationTypeSender ¶
func (client BaseClient) UnprovisionApplicationTypeSender(req *http.Request) (*http.Response, error)
UnprovisionApplicationTypeSender sends the UnprovisionApplicationType request. The method will close the http.Response Body if it receives an error.
func (BaseClient) 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.
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 ¶
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 ¶
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 of 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 ¶
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 updates the specified service using the given update description.
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 ¶
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) 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 ¶
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 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 ...
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 *[]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 interface{} `json:"Map,omitempty"`
}
ChaosContext describes a map, which is a collection of (string, string) type key-value pairs. The map can be used to record information about the Chaos run. There cannot be more than 100 such pairs and each string (key or value) can be at most 4095 characters long. This map is set by the starter of the Chaos run to optionally store the context about the specific run.
type ChaosContextMapItem ¶
type ChaosContextMapItem struct { // Key - The key for a ChaosContextMapItem. Key *string `json:"Key,omitempty"` // Value - The value for a ChaosContextMapItem. Value *string `json:"Value,omitempty"` }
ChaosContextMapItem describes an item in the ChaosContextMap in ChaosParameters.
type ChaosEvent ¶
type ChaosEvent struct { TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"` // Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting' Kind KindBasicChaosEvent `json:"Kind,omitempty"` }
ChaosEvent represents an event generated during a Chaos run.
func (ChaosEvent) AsBasicChaosEvent ¶
func (ce ChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
AsBasicChaosEvent is the BasicChaosEvent implementation for ChaosEvent.
func (ChaosEvent) AsChaosEvent ¶
func (ce ChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
AsChaosEvent is the BasicChaosEvent implementation for ChaosEvent.
func (ChaosEvent) AsExecutingFaultsChaosEvent ¶
func (ce ChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for ChaosEvent.
func (ChaosEvent) AsStartedChaosEvent ¶
func (ce ChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
AsStartedChaosEvent is the BasicChaosEvent implementation for ChaosEvent.
func (ChaosEvent) AsStoppedChaosEvent ¶
func (ce ChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
AsStoppedChaosEvent is the BasicChaosEvent implementation for ChaosEvent.
func (ChaosEvent) AsTestErrorChaosEvent ¶
func (ce ChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
AsTestErrorChaosEvent is the BasicChaosEvent implementation for ChaosEvent.
func (ChaosEvent) AsValidationFailedChaosEvent ¶
func (ce ChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
AsValidationFailedChaosEvent is the BasicChaosEvent implementation for ChaosEvent.
func (ChaosEvent) AsWaitingChaosEvent ¶
func (ce ChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
AsWaitingChaosEvent is the BasicChaosEvent implementation for ChaosEvent.
func (ChaosEvent) MarshalJSON ¶
func (ce ChaosEvent) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ChaosEvent.
type ChaosEventWrapper ¶
type ChaosEventWrapper struct {
ChaosEvent BasicChaosEvent `json:"ChaosEvent,omitempty"`
}
ChaosEventWrapper wrapper object for Chaos event.
func (*ChaosEventWrapper) UnmarshalJSON ¶
func (cew *ChaosEventWrapper) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ChaosEventWrapper struct.
type ChaosParameters ¶
type ChaosParameters struct { // TimeToRunInSeconds - Total time (in seconds) for which Chaos will run before automatically stopping. The maximum allowed value is 4,294,967,295 (System.UInt32.MaxValue). 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 *ClusterHealthPolicy `json:"ClusterHealthPolicy,omitempty"` Context *ChaosContext `json:"Context,omitempty"` }
ChaosParameters defines all the parameters to configure a Chaos run.
type ChaosReport ¶
type ChaosReport struct { autorest.Response `json:"-"` ChaosParameters *ChaosParameters `json:"ChaosParameters,omitempty"` // Status - Current status of the Chaos run. // - Invalid - Indicates an invalid Chaos status. All Service Fabric enumerations have the invalid type. // The valus is zero. // - Running - Indicates that Chaos is not stopped. // - Stopped - Indicates that Chaos is not scheduling futher faults. Possible values include: 'Status5Invalid', 'Status5Running', 'Status5Stopped' Status Status5 `json:"Status,omitempty"` ContinuationToken *string `json:"ContinuationToken,omitempty"` History *[]ChaosEventWrapper `json:"History,omitempty"` }
ChaosReport contains detailed Chaos report.
type CheckExistsPropertyBatchOperation ¶
type CheckExistsPropertyBatchOperation struct { // Exists - Whether or not the property should exist for the operation to pass. Exists *bool `json:"Exists,omitempty"` 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 *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 BasicPropertyValue `json:"Value,omitempty"` 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 - Possible values include: 'UpgradeState1Invalid', 'UpgradeState1RollingBackInProgress', 'UpgradeState1RollingBackCompleted', 'UpgradeState1RollingForwardPending', 'UpgradeState1RollingForwardInProgress', 'UpgradeState1RollingForwardCompleted', 'UpgradeState1Failed' UpgradeState UpgradeState1 `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 - Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown' AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"` // HealthEvents - The list of health events reported on the entity. HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` 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 - Possible values include: 'HealthState1Invalid', 'HealthState1Ok', 'HealthState1Warning', 'HealthState1Error', 'HealthState1Unknown' HealthState HealthState1 `json:"HealthState,omitempty"` NodeHealthStateChunks *NodeHealthStateChunkList `json:"NodeHealthStateChunks,omitempty"` ApplicationHealthStateChunks *ApplicationHealthStateChunkList `json:"ApplicationHealthStateChunks,omitempty"` }
ClusterHealthChunk represents the health chunk of the cluster. Contains the cluster aggregated health state, and the cluster entities that respect the input filter.
type ClusterHealthChunkQueryDescription ¶
type ClusterHealthChunkQueryDescription struct { // NodeFilters - Defines a list of filters that specify which nodes to be included in the returned cluster health chunk. // If no filters are specified, no nodes are returned. All the nodes are used to evaluate the cluster's aggregated health state, regardless of the input filters. // The cluster health chunk query may specify multiple node filters. // For example, it can specify a filter to return all nodes with health state Error and another filter to always include a node identified by its NodeName. NodeFilters *[]NodeHealthStateFilter `json:"NodeFilters,omitempty"` // ApplicationFilters - Defines a list of filters that specify which applications to be included in the returned cluster health chunk. // If no filters are specified, no applications are returned. All the applications are used to evaluate the cluster's aggregated health state, regardless of the input filters. // The cluster health chunk query may specify multiple application filters. // For example, it can specify a filter to return all applications with health state Error and another filter to always include applications of a specified application type. ApplicationFilters *[]ApplicationHealthStateFilter `json:"ApplicationFilters,omitempty"` ClusterHealthPolicy *ClusterHealthPolicy `json:"ClusterHealthPolicy,omitempty"` ApplicationHealthPolicies *ApplicationHealthPolicies `json:"ApplicationHealthPolicies,omitempty"` }
ClusterHealthChunkQueryDescription the cluster health chunk query description, which can specify the health policies to evaluate cluster health and very expressive filters to select which cluster entities to include in response.
type ClusterHealthPolicies ¶
type ClusterHealthPolicies struct { ApplicationHealthPolicyMap *[]ApplicationHealthPolicyMapItem `json:"ApplicationHealthPolicyMap,omitempty"` ClusterHealthPolicy *ClusterHealthPolicy `json:"ClusterHealthPolicy,omitempty"` }
ClusterHealthPolicies health policies to evaluate cluster health.
type ClusterHealthPolicy ¶
type ClusterHealthPolicy struct { // ConsiderWarningAsError - Indicates whether warnings are treated with the same severity as errors. ConsiderWarningAsError *bool `json:"ConsiderWarningAsError,omitempty"` // MaxPercentUnhealthyNodes - The maximum allowed percentage of unhealthy nodes before reporting an error. For example, to allow 10% of nodes to be unhealthy, this value would be 10. // The percentage represents the maximum tolerated percentage of nodes that can be unhealthy before the cluster is considered in error. // If the percentage is respected but there is at least one unhealthy node, the health is evaluated as Warning. // The percentage is calculated by dividing the number of unhealthy nodes over the total number of nodes in the cluster. // The computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero. // In large clusters, some nodes will always be down or out for repairs, so this percentage should be configured to tolerate that. MaxPercentUnhealthyNodes *int32 `json:"MaxPercentUnhealthyNodes,omitempty"` // MaxPercentUnhealthyApplications - The maximum allowed percentage of unhealthy applications before reporting an error. For example, to allow 10% of applications to be unhealthy, this value would be 10. // The percentage represents the maximum tolerated percentage of applications that can be unhealthy before the cluster is considered in error. // If the percentage is respected but there is at least one unhealthy application, the health is evaluated as Warning. // This is calculated by dividing the number of unhealthy applications over the total number of application instances in the cluster, excluding applications of application types that are included in the ApplicationTypeHealthPolicyMap. // The computation rounds up to tolerate one failure on small numbers of applications. Default percentage is zero. MaxPercentUnhealthyApplications *int32 `json:"MaxPercentUnhealthyApplications,omitempty"` ApplicationTypeHealthPolicyMap *[]ApplicationTypeHealthPolicyMapItem `json:"ApplicationTypeHealthPolicyMap,omitempty"` }
ClusterHealthPolicy defines a health policy used to evaluate the health of the cluster or of a cluster node.
type ClusterManifest ¶
type ClusterManifest struct { autorest.Response `json:"-"` // Manifest - The contents of the cluster manifest file. Manifest *string `json:"Manifest,omitempty"` }
ClusterManifest information about the cluster manifest.
type ClusterUpgradeDescriptionObject ¶
type ClusterUpgradeDescriptionObject struct { ConfigVersion *string `json:"ConfigVersion,omitempty"` CodeVersion *string `json:"CodeVersion,omitempty"` // UpgradeKind - Possible values include: 'UpgradeKind3Invalid', 'UpgradeKind3Rolling' UpgradeKind UpgradeKind3 `json:"UpgradeKind,omitempty"` // RollingUpgradeMode - Possible values include: 'RollingUpgradeMode4Invalid', 'RollingUpgradeMode4UnmonitoredAuto', 'RollingUpgradeMode4UnmonitoredManual', 'RollingUpgradeMode4Monitored' RollingUpgradeMode RollingUpgradeMode4 `json:"RollingUpgradeMode,omitempty"` UpgradeReplicaSetCheckTimeoutInSeconds *int64 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"` ForceRestart *bool `json:"ForceRestart,omitempty"` EnableDeltaHealthEvaluation *bool `json:"EnableDeltaHealthEvaluation,omitempty"` MonitoringPolicy *MonitoringPolicyDescription `json:"MonitoringPolicy,omitempty"` ClusterHealthPolicy *ClusterHealthPolicy `json:"ClusterHealthPolicy,omitempty"` ClusterUpgradeHealthPolicy *ClusterUpgradeHealthPolicyObject `json:"ClusterUpgradeHealthPolicy,omitempty"` ApplicationHealthPolicyMap *[]ApplicationHealthPolicyMapItem `json:"ApplicationHealthPolicyMap,omitempty"` }
ClusterUpgradeDescriptionObject represents a ServiceFabric cluster upgrade
type ClusterUpgradeHealthPolicyObject ¶
type ClusterUpgradeHealthPolicyObject struct { // MaxPercentDeltaUnhealthyNodes - The maximum allowed percentage of nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the nodes at the beginning of upgrade and the state of the nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion to make sure the global state of the cluster is within tolerated limits. The default value is 10%. MaxPercentDeltaUnhealthyNodes *int32 `json:"MaxPercentDeltaUnhealthyNodes,omitempty"` // MaxPercentUpgradeDomainDeltaUnhealthyNodes - The maximum allowed percentage of upgrade domain nodes health degradation allowed during cluster upgrades. The delta is measured between the state of the upgrade domain nodes at the beginning of upgrade and the state of the upgrade domain nodes at the time of the health evaluation. The check is performed after every upgrade domain upgrade completion for all completed upgrade domains to make sure the state of the upgrade domains is within tolerated limits. The default value is 15%. MaxPercentUpgradeDomainDeltaUnhealthyNodes *int32 `json:"MaxPercentUpgradeDomainDeltaUnhealthyNodes,omitempty"` }
ClusterUpgradeHealthPolicyObject defines a health policy used to evaluate the health of the cluster during a cluster upgrade.
type ClusterUpgradeProgressObject ¶
type ClusterUpgradeProgressObject struct { autorest.Response `json:"-"` CodeVersion *string `json:"CodeVersion,omitempty"` ConfigVersion *string `json:"ConfigVersion,omitempty"` UpgradeDomains *[]UpgradeDomainInfo `json:"UpgradeDomains,omitempty"` // UpgradeState - Possible values include: 'UpgradeState2Invalid', 'UpgradeState2RollingBackInProgress', 'UpgradeState2RollingBackCompleted', 'UpgradeState2RollingForwardPending', 'UpgradeState2RollingForwardInProgress', 'UpgradeState2RollingForwardCompleted', 'UpgradeState2Failed' UpgradeState UpgradeState2 `json:"UpgradeState,omitempty"` NextUpgradeDomain *string `json:"NextUpgradeDomain,omitempty"` // RollingUpgradeMode - Possible values include: 'RollingUpgradeMode5Invalid', 'RollingUpgradeMode5UnmonitoredAuto', 'RollingUpgradeMode5UnmonitoredManual', 'RollingUpgradeMode5Monitored' RollingUpgradeMode RollingUpgradeMode5 `json:"RollingUpgradeMode,omitempty"` UpgradeDescription *ClusterUpgradeDescriptionObject `json:"UpgradeDescription,omitempty"` UpgradeDurationInMilliseconds *string `json:"UpgradeDurationInMilliseconds,omitempty"` UpgradeDomainDurationInMilliseconds *string `json:"UpgradeDomainDurationInMilliseconds,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` CurrentUpgradeDomainProgress *CurrentUpgradeDomainProgressInfo `json:"CurrentUpgradeDomainProgress,omitempty"` StartTimestampUtc *string `json:"StartTimestampUtc,omitempty"` FailureTimestampUtc *string `json:"FailureTimestampUtc,omitempty"` // FailureReason - Possible values include: 'FailureReason1None', 'FailureReason1Interrupted', 'FailureReason1HealthCheck', 'FailureReason1UpgradeDomainTimeout', 'FailureReason1UpgradeTimeout' FailureReason FailureReason1 `json:"FailureReason,omitempty"` UpgradeDomainProgressAtFailure *FailedUpgradeDomainProgressObject `json:"UpgradeDomainProgressAtFailure,omitempty"` }
ClusterUpgradeProgressObject information about a cluster upgrade.
type Code ¶
type Code string
Code enumerates the values for code.
const ( // EABORT ... EABORT Code = "E_ABORT" // FABRICEAPPLICATIONALREADYEXISTS ... FABRICEAPPLICATIONALREADYEXISTS Code = "FABRIC_E_APPLICATION_ALREADY_EXISTS" // FABRICEAPPLICATIONALREADYINTARGETVERSION ... FABRICEAPPLICATIONALREADYINTARGETVERSION Code = "FABRIC_E_APPLICATION_ALREADY_IN_TARGET_VERSION" // FABRICEAPPLICATIONNOTFOUND ... FABRICEAPPLICATIONNOTFOUND Code = "FABRIC_E_APPLICATION_NOT_FOUND" // FABRICEAPPLICATIONNOTUPGRADING ... FABRICEAPPLICATIONNOTUPGRADING Code = "FABRIC_E_APPLICATION_NOT_UPGRADING" // FABRICEAPPLICATIONTYPEALREADYEXISTS ... FABRICEAPPLICATIONTYPEALREADYEXISTS Code = "FABRIC_E_APPLICATION_TYPE_ALREADY_EXISTS" // FABRICEAPPLICATIONTYPEINUSE ... FABRICEAPPLICATIONTYPEINUSE Code = "FABRIC_E_APPLICATION_TYPE_IN_USE" // FABRICEAPPLICATIONTYPENOTFOUND ... FABRICEAPPLICATIONTYPENOTFOUND Code = "FABRIC_E_APPLICATION_TYPE_NOT_FOUND" // FABRICEAPPLICATIONTYPEPROVISIONINPROGRESS ... FABRICEAPPLICATIONTYPEPROVISIONINPROGRESS Code = "FABRIC_E_APPLICATION_TYPE_PROVISION_IN_PROGRESS" // FABRICEAPPLICATIONUPGRADEINPROGRESS ... FABRICEAPPLICATIONUPGRADEINPROGRESS Code = "FABRIC_E_APPLICATION_UPGRADE_IN_PROGRESS" // FABRICEAPPLICATIONUPGRADEVALIDATIONERROR ... FABRICEAPPLICATIONUPGRADEVALIDATIONERROR Code = "FABRIC_E_APPLICATION_UPGRADE_VALIDATION_ERROR" // FABRICECOMMUNICATIONERROR ... FABRICECOMMUNICATIONERROR Code = "FABRIC_E_COMMUNICATION_ERROR" // FABRICECONFIGURATIONPARAMETERNOTFOUND ... FABRICECONFIGURATIONPARAMETERNOTFOUND Code = "FABRIC_E_CONFIGURATION_PARAMETER_NOT_FOUND" // FABRICECONFIGURATIONSECTIONNOTFOUND ... FABRICECONFIGURATIONSECTIONNOTFOUND Code = "FABRIC_E_CONFIGURATION_SECTION_NOT_FOUND" // FABRICEDIRECTORYNOTFOUND ... FABRICEDIRECTORYNOTFOUND Code = "FABRIC_E_DIRECTORY_NOT_FOUND" // FABRICEENUMERATIONCOMPLETED ... FABRICEENUMERATIONCOMPLETED Code = "FABRIC_E_ENUMERATION_COMPLETED" // FABRICEFABRICALREADYINTARGETVERSION ... FABRICEFABRICALREADYINTARGETVERSION Code = "FABRIC_E_FABRIC_ALREADY_IN_TARGET_VERSION" // FABRICEFABRICNOTUPGRADING ... FABRICEFABRICNOTUPGRADING Code = "FABRIC_E_FABRIC_NOT_UPGRADING" // FABRICEFABRICUPGRADEINPROGRESS ... FABRICEFABRICUPGRADEINPROGRESS Code = "FABRIC_E_FABRIC_UPGRADE_IN_PROGRESS" // FABRICEFABRICUPGRADEVALIDATIONERROR ... FABRICEFABRICUPGRADEVALIDATIONERROR Code = "FABRIC_E_FABRIC_UPGRADE_VALIDATION_ERROR" // FABRICEFABRICVERSIONALREADYEXISTS ... FABRICEFABRICVERSIONALREADYEXISTS Code = "FABRIC_E_FABRIC_VERSION_ALREADY_EXISTS" // FABRICEFABRICVERSIONINUSE ... FABRICEFABRICVERSIONINUSE Code = "FABRIC_E_FABRIC_VERSION_IN_USE" // FABRICEFABRICVERSIONNOTFOUND ... FABRICEFABRICVERSIONNOTFOUND Code = "FABRIC_E_FABRIC_VERSION_NOT_FOUND" // FABRICEFILENOTFOUND ... FABRICEFILENOTFOUND Code = "FABRIC_E_FILE_NOT_FOUND" // FABRICEHEALTHENTITYNOTFOUND ... FABRICEHEALTHENTITYNOTFOUND Code = "FABRIC_E_HEALTH_ENTITY_NOT_FOUND" // FABRICEHEALTHSTALEREPORT ... FABRICEHEALTHSTALEREPORT Code = "FABRIC_E_HEALTH_STALE_REPORT" // FABRICEIMAGEBUILDERVALIDATIONERROR ... FABRICEIMAGEBUILDERVALIDATIONERROR Code = "FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR" // FABRICEINSTANCEIDMISMATCH ... FABRICEINSTANCEIDMISMATCH Code = "FABRIC_E_INSTANCE_ID_MISMATCH" // FABRICEINVALIDADDRESS ... FABRICEINVALIDADDRESS Code = "FABRIC_E_INVALID_ADDRESS" // FABRICEINVALIDATOMICGROUP ... FABRICEINVALIDATOMICGROUP Code = "FABRIC_E_INVALID_ATOMIC_GROUP" // FABRICEINVALIDCONFIGURATION ... FABRICEINVALIDCONFIGURATION Code = "FABRIC_E_INVALID_CONFIGURATION" // FABRICEINVALIDNAMEURI ... FABRICEINVALIDNAMEURI Code = "FABRIC_E_INVALID_NAME_URI" // FABRICEINVALIDPARTITIONKEY ... FABRICEINVALIDPARTITIONKEY Code = "FABRIC_E_INVALID_PARTITION_KEY" // FABRICEKEYNOTFOUND ... FABRICEKEYNOTFOUND Code = "FABRIC_E_KEY_NOT_FOUND" // FABRICEKEYTOOLARGE ... FABRICEKEYTOOLARGE Code = "FABRIC_E_KEY_TOO_LARGE" // FABRICENAMEALREADYEXISTS ... FABRICENAMEALREADYEXISTS Code = "FABRIC_E_NAME_ALREADY_EXISTS" // FABRICENAMEDOESNOTEXIST ... FABRICENAMEDOESNOTEXIST Code = "FABRIC_E_NAME_DOES_NOT_EXIST" // FABRICENAMENOTEMPTY ... FABRICENAMENOTEMPTY Code = "FABRIC_E_NAME_NOT_EMPTY" // FABRICENODEHASNOTSTOPPEDYET ... FABRICENODEHASNOTSTOPPEDYET Code = "FABRIC_E_NODE_HAS_NOT_STOPPED_YET" // FABRICENODEISUP ... FABRICENODEISUP Code = "FABRIC_E_NODE_IS_UP" // FABRICENODENOTFOUND ... FABRICENODENOTFOUND Code = "FABRIC_E_NODE_NOT_FOUND" // FABRICENOTPRIMARY ... FABRICENOTPRIMARY Code = "FABRIC_E_NOT_PRIMARY" // FABRICENOTREADY ... FABRICENOTREADY Code = "FABRIC_E_NOT_READY" // FABRICENOWRITEQUORUM ... FABRICENOWRITEQUORUM Code = "FABRIC_E_NO_WRITE_QUORUM" // FABRICEOPERATIONNOTCOMPLETE ... FABRICEOPERATIONNOTCOMPLETE Code = "FABRIC_E_OPERATION_NOT_COMPLETE" // FABRICEPARTITIONNOTFOUND ... FABRICEPARTITIONNOTFOUND Code = "FABRIC_E_PARTITION_NOT_FOUND" // FABRICEPATHTOOLONG ... FABRICEPATHTOOLONG Code = "FABRIC_E_PATH_TOO_LONG" // FABRICEPROPERTYCHECKFAILED ... FABRICEPROPERTYCHECKFAILED Code = "FABRIC_E_PROPERTY_CHECK_FAILED" // FABRICEPROPERTYDOESNOTEXIST ... FABRICEPROPERTYDOESNOTEXIST Code = "FABRIC_E_PROPERTY_DOES_NOT_EXIST" // FABRICERECONFIGURATIONPENDING ... FABRICERECONFIGURATIONPENDING Code = "FABRIC_E_RECONFIGURATION_PENDING" // FABRICEREPLICADOESNOTEXIST ... FABRICEREPLICADOESNOTEXIST Code = "FABRIC_E_REPLICA_DOES_NOT_EXIST" // FABRICESEQUENCENUMBERCHECKFAILED ... FABRICESEQUENCENUMBERCHECKFAILED Code = "FABRIC_E_SEQUENCE_NUMBER_CHECK_FAILED" // FABRICESERVICEAFFINITYCHAINNOTSUPPORTED ... FABRICESERVICEAFFINITYCHAINNOTSUPPORTED Code = "FABRIC_E_SERVICE_AFFINITY_CHAIN_NOT_SUPPORTED" // FABRICESERVICEALREADYEXISTS ... FABRICESERVICEALREADYEXISTS Code = "FABRIC_E_SERVICE_ALREADY_EXISTS" // FABRICESERVICEDOESNOTEXIST ... FABRICESERVICEDOESNOTEXIST Code = "FABRIC_E_SERVICE_DOES_NOT_EXIST" // FABRICESERVICEGROUPALREADYEXISTS ... FABRICESERVICEGROUPALREADYEXISTS Code = "FABRIC_E_SERVICE_GROUP_ALREADY_EXISTS" // FABRICESERVICEGROUPDOESNOTEXIST ... FABRICESERVICEGROUPDOESNOTEXIST Code = "FABRIC_E_SERVICE_GROUP_DOES_NOT_EXIST" // FABRICESERVICEMANIFESTNOTFOUND ... FABRICESERVICEMANIFESTNOTFOUND Code = "FABRIC_E_SERVICE_MANIFEST_NOT_FOUND" // FABRICESERVICEMETADATAMISMATCH ... FABRICESERVICEMETADATAMISMATCH Code = "FABRIC_E_SERVICE_METADATA_MISMATCH" // FABRICESERVICEOFFLINE ... FABRICESERVICEOFFLINE Code = "FABRIC_E_SERVICE_OFFLINE" // FABRICESERVICETYPEMISMATCH ... FABRICESERVICETYPEMISMATCH Code = "FABRIC_E_SERVICE_TYPE_MISMATCH" // FABRICESERVICETYPENOTFOUND ... FABRICESERVICETYPENOTFOUND Code = "FABRIC_E_SERVICE_TYPE_NOT_FOUND" // FABRICESERVICETYPETEMPLATENOTFOUND ... FABRICESERVICETYPETEMPLATENOTFOUND Code = "FABRIC_E_SERVICE_TYPE_TEMPLATE_NOT_FOUND" // FABRICETIMEOUT ... FABRICETIMEOUT Code = "FABRIC_E_TIMEOUT" // FABRICEVALUEEMPTY ... FABRICEVALUEEMPTY Code = "FABRIC_E_VALUE_EMPTY" // FABRICEVALUETOOLARGE ... FABRICEVALUETOOLARGE Code = "FABRIC_E_VALUE_TOO_LARGE" )
func PossibleCodeValues ¶
func PossibleCodeValues() []Code
PossibleCodeValues returns an array of possible values for the Code const type.
type CodePackageEntryPoint ¶
type CodePackageEntryPoint struct { // EntryPointLocation - The location of entry point executable on the node. EntryPointLocation *string `json:"EntryPointLocation,omitempty"` // ProcessID - The process id of the entry point. ProcessID *string `json:"ProcessId,omitempty"` // RunAsUserName - The user name under which entry point executable is run on the node. RunAsUserName *string `json:"RunAsUserName,omitempty"` CodePackageEntryPointStatistics *CodePackageEntryPointStatistics `json:"CodePackageEntryPointStatistics,omitempty"` // Status - Possible values include: 'Status3Invalid', 'Status3Pending', 'Status3Starting', 'Status3Started', 'Status3Stopping', 'Status3Stopped' Status Status3 `json:"Status,omitempty"` // NextActivationTime - The time (in UTC) when the entry point executable will be run next. NextActivationTime *date.Time `json:"NextActivationTime,omitempty"` InstanceID *string `json:"InstanceId,omitempty"` }
CodePackageEntryPoint information about setup or main entry point of a code package deployed on a Service Fabric node.
type CodePackageEntryPointStatistics ¶
type CodePackageEntryPointStatistics struct { // LastExitCode - The last exit code of the entry point. LastExitCode *string `json:"LastExitCode,omitempty"` // LastActivationTime - The last time (in UTC) when Service Fabric attempted to run the entry point. LastActivationTime *date.Time `json:"LastActivationTime,omitempty"` // LastExitTime - The last time (in UTC) when the entry point finished running. LastExitTime *date.Time `json:"LastExitTime,omitempty"` // LastSuccessfulActivationTime - The last time (in UTC) when the entry point ran successfully. LastSuccessfulActivationTime *date.Time `json:"LastSuccessfulActivationTime,omitempty"` // LastSuccessfulExitTime - The last time (in UTC) when the entry point finished running gracefully. LastSuccessfulExitTime *date.Time `json:"LastSuccessfulExitTime,omitempty"` // ActivationCount - Number of times the entry point has run. ActivationCount *string `json:"ActivationCount,omitempty"` // ActivationFailureCount - Number of times the entry point failed to run. ActivationFailureCount *string `json:"ActivationFailureCount,omitempty"` // ContinuousActivationFailureCount - Number of times the entry point continuously failed to run. ContinuousActivationFailureCount *string `json:"ContinuousActivationFailureCount,omitempty"` // ExitCount - Number of times the entry point finished running. ExitCount *string `json:"ExitCount,omitempty"` // ExitFailureCount - Number of times the entry point failed to exit gracefully. ExitFailureCount *string `json:"ExitFailureCount,omitempty"` // ContinuousExitFailureCount - Number of times the entry point continuously failed to exit gracefully. ContinuousExitFailureCount *string `json:"ContinuousExitFailureCount,omitempty"` }
CodePackageEntryPointStatistics statistics about setup or main entry point of a code package deployed on a Service Fabric node.
type ComposeDeploymentStatusInfo ¶
type ComposeDeploymentStatusInfo struct { autorest.Response `json:"-"` Name *string `json:"Name,omitempty"` ApplicationName *string `json:"ApplicationName,omitempty"` // Status - Possible values include: 'Status6Invalid', 'Status6Provisioning', 'Status6Creating', 'Status6Ready', 'Status6Unprovisioning', 'Status6Deleting', 'Status6Failed', 'Status6Upgrading' Status Status6 `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 *string `json:"DeploymentName,omitempty"` // ComposeFileContent - The content of the compose file that describes the deployment to create. ComposeFileContent *string `json:"ComposeFileContent,omitempty"` RegistryCredential *RegistryCredential `json:"RegistryCredential,omitempty"` // UpgradeKind - Possible values include: 'UpgradeKind4Invalid', 'UpgradeKind4Rolling' UpgradeKind UpgradeKind4 `json:"UpgradeKind,omitempty"` // RollingUpgradeMode - Possible values include: 'RollingUpgradeMode6Invalid', 'RollingUpgradeMode6UnmonitoredAuto', 'RollingUpgradeMode6UnmonitoredManual', 'RollingUpgradeMode6Monitored' RollingUpgradeMode RollingUpgradeMode6 `json:"RollingUpgradeMode,omitempty"` UpgradeReplicaSetCheckTimeoutInSeconds *int64 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"` ForceRestart *bool `json:"ForceRestart,omitempty"` MonitoringPolicy *MonitoringPolicyDescription `json:"MonitoringPolicy,omitempty"` ApplicationHealthPolicy *ApplicationHealthPolicy `json:"ApplicationHealthPolicy,omitempty"` }
ComposeDeploymentUpgradeDescription describes the parameters for a compose deployment upgrade.
type ComposeDeploymentUpgradeProgressInfo ¶
type ComposeDeploymentUpgradeProgressInfo struct { autorest.Response `json:"-"` DeploymentName *string `json:"DeploymentName,omitempty"` ApplicationName *string `json:"ApplicationName,omitempty"` // UpgradeState - Possible values include: 'UpgradeState3Invalid', 'UpgradeState3ProvisioningTarget', 'UpgradeState3RollingForwardInProgress', 'UpgradeState3RollingForwardPending', 'UpgradeState3UnprovisioningCurrent', 'UpgradeState3RollingForwardCompleted', 'UpgradeState3RollingBackInProgress', 'UpgradeState3UnprovisioningTarget', 'UpgradeState3RollingBackCompleted', 'UpgradeState3Failed' UpgradeState UpgradeState3 `json:"UpgradeState,omitempty"` UpgradeStatusDetails *string `json:"UpgradeStatusDetails,omitempty"` // UpgradeKind - Possible values include: 'UpgradeKind5Invalid', 'UpgradeKind5Rolling' UpgradeKind UpgradeKind5 `json:"UpgradeKind,omitempty"` // RollingUpgradeMode - Possible values include: 'RollingUpgradeMode7Invalid', 'RollingUpgradeMode7UnmonitoredAuto', 'RollingUpgradeMode7UnmonitoredManual', 'RollingUpgradeMode7Monitored' RollingUpgradeMode RollingUpgradeMode7 `json:"RollingUpgradeMode,omitempty"` ForceRestart *bool `json:"ForceRestart,omitempty"` UpgradeReplicaSetCheckTimeoutInSeconds *int64 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"` MonitoringPolicy *MonitoringPolicyDescription `json:"MonitoringPolicy,omitempty"` ApplicationHealthPolicy *ApplicationHealthPolicy `json:"ApplicationHealthPolicy,omitempty"` TargetApplicationTypeVersion *string `json:"TargetApplicationTypeVersion,omitempty"` UpgradeDuration *string `json:"UpgradeDuration,omitempty"` CurrentUpgradeDomainDuration *string `json:"CurrentUpgradeDomainDuration,omitempty"` ApplicationUnhealthyEvaluations *[]HealthEvaluationWrapper `json:"ApplicationUnhealthyEvaluations,omitempty"` CurrentUpgradeDomainProgress *CurrentUpgradeDomainProgressInfo `json:"CurrentUpgradeDomainProgress,omitempty"` StartTimestampUtc *string `json:"StartTimestampUtc,omitempty"` FailureTimestampUtc *string `json:"FailureTimestampUtc,omitempty"` // FailureReason - Possible values include: 'FailureReason2None', 'FailureReason2Interrupted', 'FailureReason2HealthCheck', 'FailureReason2UpgradeDomainTimeout', 'FailureReason2UpgradeTimeout' FailureReason FailureReason2 `json:"FailureReason,omitempty"` UpgradeDomainProgressAtFailure *FailureUpgradeDomainProgressInfo `json:"UpgradeDomainProgressAtFailure,omitempty"` ApplicationUpgradeStatusDetails *string `json:"ApplicationUpgradeStatusDetails,omitempty"` }
ComposeDeploymentUpgradeProgressInfo describes the parameters for a compose deployment upgrade.
type CreateComposeDeploymentDescription ¶
type CreateComposeDeploymentDescription struct { DeploymentName *string `json:"DeploymentName,omitempty"` // ComposeFileContent - The content of the compose file that describes the deployment to create. ComposeFileContent *string `json:"ComposeFileContent,omitempty"` 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" )
func PossibleCreateFabricDumpValues ¶
func PossibleCreateFabricDumpValues() []CreateFabricDump
PossibleCreateFabricDumpValues returns an array of possible values for the CreateFabricDump const type.
type CurrentReplicatorOperation ¶
type CurrentReplicatorOperation string
CurrentReplicatorOperation enumerates the values for current replicator operation.
const ( // CurrentReplicatorOperationAbort ... CurrentReplicatorOperationAbort CurrentReplicatorOperation = "Abort" // CurrentReplicatorOperationBuild ... CurrentReplicatorOperationBuild CurrentReplicatorOperation = "Build" // CurrentReplicatorOperationChangeRole ... CurrentReplicatorOperationChangeRole CurrentReplicatorOperation = "ChangeRole" // CurrentReplicatorOperationClose ... CurrentReplicatorOperationClose CurrentReplicatorOperation = "Close" // CurrentReplicatorOperationInvalid ... CurrentReplicatorOperationInvalid CurrentReplicatorOperation = "Invalid" // CurrentReplicatorOperationNone ... CurrentReplicatorOperationNone CurrentReplicatorOperation = "None" // CurrentReplicatorOperationOnDataLoss ... CurrentReplicatorOperationOnDataLoss CurrentReplicatorOperation = "OnDataLoss" // CurrentReplicatorOperationOpen ... CurrentReplicatorOperationOpen CurrentReplicatorOperation = "Open" // CurrentReplicatorOperationUpdateEpoch ... CurrentReplicatorOperationUpdateEpoch CurrentReplicatorOperation = "UpdateEpoch" // CurrentReplicatorOperationWaitForCatchup ... CurrentReplicatorOperationWaitForCatchup CurrentReplicatorOperation = "WaitForCatchup" )
func PossibleCurrentReplicatorOperationValues ¶
func PossibleCurrentReplicatorOperationValues() []CurrentReplicatorOperation
PossibleCurrentReplicatorOperationValues returns an array of possible values for the CurrentReplicatorOperation const type.
type CurrentServiceOperation ¶
type CurrentServiceOperation string
CurrentServiceOperation enumerates the values for current service operation.
const ( // CurrentServiceOperationAbort ... CurrentServiceOperationAbort CurrentServiceOperation = "Abort" // CurrentServiceOperationChangeRole ... CurrentServiceOperationChangeRole CurrentServiceOperation = "ChangeRole" // CurrentServiceOperationClose ... CurrentServiceOperationClose CurrentServiceOperation = "Close" // CurrentServiceOperationNone ... CurrentServiceOperationNone CurrentServiceOperation = "None" // CurrentServiceOperationOpen ... CurrentServiceOperationOpen CurrentServiceOperation = "Open" // CurrentServiceOperationUnknown ... CurrentServiceOperationUnknown CurrentServiceOperation = "Unknown" )
func PossibleCurrentServiceOperationValues ¶
func PossibleCurrentServiceOperationValues() []CurrentServiceOperation
PossibleCurrentServiceOperationValues returns an array of possible values for the CurrentServiceOperation const type.
type CurrentUpgradeDomainProgressInfo ¶
type CurrentUpgradeDomainProgressInfo struct { DomainName *string `json:"DomainName,omitempty"` NodeUpgradeProgressList *[]NodeUpgradeProgressInfo `json:"NodeUpgradeProgressList,omitempty"` }
CurrentUpgradeDomainProgressInfo information about the current in-progress upgrade domain.
type DeactivationIntent ¶
type DeactivationIntent string
DeactivationIntent enumerates the values for deactivation intent.
const ( // Pause ... Pause DeactivationIntent = "Pause" // RemoveData ... RemoveData DeactivationIntent = "RemoveData" // Restart ... Restart DeactivationIntent = "Restart" )
func PossibleDeactivationIntentValues ¶
func PossibleDeactivationIntentValues() []DeactivationIntent
PossibleDeactivationIntentValues returns an array of possible values for the DeactivationIntent const type.
type DeactivationIntentDescription ¶
type DeactivationIntentDescription struct { // DeactivationIntent - Describes the intent or reason for deactivating the node. The possible values are following. // - Pause - Indicates that the node should be paused. The value is 1. // - Restart - Indicates that the intent is for the node to be restarted after a short period of time. The value is 2. // - RemoveData - Indicates the intent is for the node to remove data. The value is 3. // . Possible values include: 'Pause', 'Restart', 'RemoveData' DeactivationIntent DeactivationIntent `json:"DeactivationIntent,omitempty"` }
DeactivationIntentDescription describes the intent or reason for deactivating the node.
type DefaultMoveCost ¶
type DefaultMoveCost string
DefaultMoveCost enumerates the values for default move cost.
const ( // High ... High DefaultMoveCost = "High" // Low ... Low DefaultMoveCost = "Low" // Medium ... Medium DefaultMoveCost = "Medium" // Zero ... Zero DefaultMoveCost = "Zero" )
func PossibleDefaultMoveCostValues ¶
func PossibleDefaultMoveCostValues() []DefaultMoveCost
PossibleDefaultMoveCostValues returns an array of possible values for the DefaultMoveCost const type.
type DefaultMoveCost1 ¶
type DefaultMoveCost1 string
DefaultMoveCost1 enumerates the values for default move cost 1.
const ( // DefaultMoveCost1High ... DefaultMoveCost1High DefaultMoveCost1 = "High" // DefaultMoveCost1Low ... DefaultMoveCost1Low DefaultMoveCost1 = "Low" // DefaultMoveCost1Medium ... DefaultMoveCost1Medium DefaultMoveCost1 = "Medium" // DefaultMoveCost1Zero ... DefaultMoveCost1Zero DefaultMoveCost1 = "Zero" )
func PossibleDefaultMoveCost1Values ¶
func PossibleDefaultMoveCost1Values() []DefaultMoveCost1
PossibleDefaultMoveCost1Values returns an array of possible values for the DefaultMoveCost1 const type.
type DeletePropertyBatchOperation ¶
type DeletePropertyBatchOperation struct { 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 *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
DeltaNodesCheckHealthEvaluation represents health evaluation for delta nodes, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned during cluster upgrade when the aggregated health state of the cluster is Warning or Error.
func (DeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsBasicHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (dnche DeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.
func (DeltaNodesCheckHealthEvaluation) MarshalJSON ¶
func (dnche DeltaNodesCheckHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeltaNodesCheckHealthEvaluation.
type DeployServicePackageToNodeDescription ¶
type DeployServicePackageToNodeDescription struct { ServiceManifestName *string `json:"ServiceManifestName,omitempty"` ApplicationTypeName *string `json:"ApplicationTypeName,omitempty"` ApplicationTypeVersion *string `json:"ApplicationTypeVersion,omitempty"` NodeName *string `json:"NodeName,omitempty"` PackageSharingPolicy *[]PackageSharingPolicyInfo `json:"PackageSharingPolicy,omitempty"` }
DeployServicePackageToNodeDescription defines description for downloading packages associated with a service manifest to image cache on a Service Fabric node.
type DeployedApplicationHealth ¶
type DeployedApplicationHealth struct { autorest.Response `json:"-"` Name *string `json:"Name,omitempty"` NodeName *string `json:"NodeName,omitempty"` DeployedServicePackageHealthStates *[]DeployedServicePackageHealthState `json:"DeployedServicePackageHealthStates,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown' AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"` // HealthEvents - The list of health events reported on the entity. HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` 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 *string `json:"NodeName,omitempty"` ApplicationName *string `json:"ApplicationName,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
DeployedApplicationHealthEvaluation represents health evaluation for a deployed application, containing information about the data and the algorithm used by the health store to evaluate health.
func (DeployedApplicationHealthEvaluation) AsApplicationHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsBasicHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsEventHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsNodeHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsNodesHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsPartitionHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsReplicaHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsReplicasHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsServiceHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsServicesHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (dahe DeployedApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.
func (DeployedApplicationHealthEvaluation) MarshalJSON ¶
func (dahe DeployedApplicationHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeployedApplicationHealthEvaluation.
type DeployedApplicationHealthState ¶
type DeployedApplicationHealthState struct { NodeName *string `json:"NodeName,omitempty"` ApplicationName *string `json:"ApplicationName,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown' AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"` }
DeployedApplicationHealthState represents the health state of a deployed application, which contains the entity identifier and the aggregated health state.
type DeployedApplicationHealthStateChunk ¶
type DeployedApplicationHealthStateChunk struct { // NodeName - The name of node where the application is deployed. NodeName *string `json:"NodeName,omitempty"` DeployedServicePackageHealthStateChunks *DeployedServicePackageHealthStateChunkList `json:"DeployedServicePackageHealthStateChunks,omitempty"` // HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown' HealthState HealthState2 `json:"HealthState,omitempty"` }
DeployedApplicationHealthStateChunk represents the health state chunk of a deployed application, which contains the node where the application is deployed, the aggregated health state and any deployed service packages that respect the chunk query description filters.
type DeployedApplicationHealthStateChunkList ¶
type DeployedApplicationHealthStateChunkList struct { // Items - The list of deployed application health state chunks that respect the input filters in the chunk query. Items *[]DeployedApplicationHealthStateChunk `json:"Items,omitempty"` }
DeployedApplicationHealthStateChunkList the list of deployed application health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.
type DeployedApplicationHealthStateFilter ¶
type DeployedApplicationHealthStateFilter struct { // NodeNameFilter - The name of the node where the application is deployed in order to match the filter. // If specified, the filter is applied only to the application deployed on the specified node. // If the application is not deployed on the node with the specified name, no deployed application is returned in the cluster health chunk based on this filter. // Otherwise, the deployed application is included in the cluster health chunk if it respects the other filter properties. // If not specified, all deployed applications that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter. NodeNameFilter *string `json:"NodeNameFilter,omitempty"` // HealthStateFilter - The filter for the health state of the deployed applications. It allows selecting deployed applications if they match the desired health states. // The possible values are integer value of one of the following health states. Only deployed applications that match the filter are returned. All deployed applications are used to evaluate the cluster aggregated health state. // If not specified, default value is None, unless the node name is specified. If the filter has default value and node name is specified, the matching deployed application is returned. // The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. // For example, if the provided value is 6, it matches deployed applications with HealthState value of OK (2) and Warning (4). // - Default - Default value. Matches any HealthState. The value is zero. // - None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. // - Ok - Filter that matches input with HealthState value Ok. The value is 2. // - Warning - Filter that matches input with HealthState value Warning. The value is 4. // - Error - Filter that matches input with HealthState value Error. The value is 8. // - All - Filter that matches input with any HealthState value. The value is 65535. HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"` // DeployedServicePackageFilters - Defines a list of filters that specify which deployed service packages to be included in the returned cluster health chunk as children of the parent deployed application. The deployed service packages are returned only if the parent deployed application matches a filter. // If the list is empty, no deployed service packages are returned. All the deployed service packages are used to evaluate the parent deployed application aggregated health state, regardless of the input filters. // The deployed application filter may specify multiple deployed service package filters. // For example, it can specify a filter to return all deployed service packages with health state Error and another filter to always include a deployed service package on a node. DeployedServicePackageFilters *[]DeployedServicePackageHealthStateFilter `json:"DeployedServicePackageFilters,omitempty"` }
DeployedApplicationHealthStateFilter defines matching criteria to determine whether a deployed application should be included as a child of an application in the cluster health chunk. The deployed applications are only returned if the parent application matches a filter specified in the cluster health chunk query description. One filter can match zero, one or multiple deployed applications, depending on its properties.
type DeployedApplicationInfo ¶
type DeployedApplicationInfo struct { autorest.Response `json:"-"` ID *string `json:"Id,omitempty"` Name *string `json:"Name,omitempty"` TypeName *string `json:"TypeName,omitempty"` // Status - Possible values include: 'Status2Invalid', 'Status2Downloading', 'Status2Activating', 'Status2Active', 'Status2Upgrading', 'Status2Deactivating' Status Status2 `json:"Status,omitempty"` // WorkDirectory - The work directory of the application on the node. The work directory can be used to store application data. WorkDirectory *string `json:"WorkDirectory,omitempty"` // LogDirectory - The log directory of the application on the node. The log directory can be used to store application logs. LogDirectory *string `json:"LogDirectory,omitempty"` // TempDirectory - The temp directory of the application on the node. The code packages belonging to the application are forked with this directory set as their temporary directory. TempDirectory *string `json:"TempDirectory,omitempty"` }
DeployedApplicationInfo information about application deployed on the node.
type DeployedApplicationsHealthEvaluation ¶
type DeployedApplicationsHealthEvaluation struct { // MaxPercentUnhealthyDeployedApplications - Maximum allowed percentage of unhealthy deployed applications from the ApplicationHealthPolicy. MaxPercentUnhealthyDeployedApplications *int32 `json:"MaxPercentUnhealthyDeployedApplications,omitempty"` // TotalCount - Total number of deployed applications of the application in the health store. TotalCount *int64 `json:"TotalCount,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
DeployedApplicationsHealthEvaluation represents health evaluation for deployed applications, containing health evaluations for each unhealthy deployed application that impacted current aggregated health state. Can be returned when evaluating application health and the aggregated health state is either Error or Warning.
func (DeployedApplicationsHealthEvaluation) AsApplicationHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsBasicHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsEventHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsNodeHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsNodesHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsPartitionHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsReplicaHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsReplicasHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsServiceHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsServicesHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (dahe DeployedApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.
func (DeployedApplicationsHealthEvaluation) MarshalJSON ¶
func (dahe DeployedApplicationsHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeployedApplicationsHealthEvaluation.
type DeployedCodePackageInfo ¶
type DeployedCodePackageInfo struct { Name *string `json:"Name,omitempty"` // Version - The version of the code package specified in service manifest. Version *string `json:"Version,omitempty"` ServiceManifestName *string `json:"ServiceManifestName,omitempty"` ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"` // HostType - Possible values include: 'HostTypeInvalid', 'HostTypeExeHost', 'HostTypeContainerHost' HostType HostType `json:"HostType,omitempty"` // HostIsolationMode - Possible values include: 'HostIsolationModeNone', 'HostIsolationModeProcess', 'HostIsolationModeHyperV' HostIsolationMode HostIsolationMode `json:"HostIsolationMode,omitempty"` // Status - Possible values include: 'Status4Invalid', 'Status4Downloading', 'Status4Activating', 'Status4Active', 'Status4Upgrading', 'Status4Deactivating' Status Status4 `json:"Status,omitempty"` // RunFrequencyInterval - The interval at which code package is run. This is used for periodic code package. RunFrequencyInterval *string `json:"RunFrequencyInterval,omitempty"` SetupEntryPoint *CodePackageEntryPoint `json:"SetupEntryPoint,omitempty"` MainEntryPoint *CodePackageEntryPoint `json:"MainEntryPoint,omitempty"` }
DeployedCodePackageInfo information about code package deployed on a Service Fabric node.
type DeployedServicePackageHealth ¶
type DeployedServicePackageHealth struct { autorest.Response `json:"-"` ApplicationName *string `json:"ApplicationName,omitempty"` ServiceManifestName *string `json:"ServiceManifestName,omitempty"` NodeName *string `json:"NodeName,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown' AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"` // HealthEvents - The list of health events reported on the entity. HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` 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 *string `json:"NodeName,omitempty"` ApplicationName *string `json:"ApplicationName,omitempty"` ServiceManifestName *string `json:"ServiceManifestName,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
DeployedServicePackageHealthEvaluation represents health evaluation for a deployed service package, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.
func (DeployedServicePackageHealthEvaluation) AsApplicationHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsBasicHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsEventHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsNodeHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsNodesHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsPartitionHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsReplicaHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsReplicasHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsServiceHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsServicesHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (dsphe DeployedServicePackageHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.
func (DeployedServicePackageHealthEvaluation) MarshalJSON ¶
func (dsphe DeployedServicePackageHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeployedServicePackageHealthEvaluation.
type DeployedServicePackageHealthState ¶
type DeployedServicePackageHealthState struct { NodeName *string `json:"NodeName,omitempty"` ApplicationName *string `json:"ApplicationName,omitempty"` ServiceManifestName *string `json:"ServiceManifestName,omitempty"` ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown' AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"` }
DeployedServicePackageHealthState represents the health state of a deployed service package, containing the entity identifier and the aggregated health state.
type DeployedServicePackageHealthStateChunk ¶
type DeployedServicePackageHealthStateChunk struct { ServiceManifestName *string `json:"ServiceManifestName,omitempty"` ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"` // HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown' HealthState HealthState2 `json:"HealthState,omitempty"` }
DeployedServicePackageHealthStateChunk represents the health state chunk of a deployed service package, which contains the service manifest name and the service package aggregated health state.
type DeployedServicePackageHealthStateChunkList ¶
type DeployedServicePackageHealthStateChunkList struct { // Items - The list of deployed service package health state chunks that respect the input filters in the chunk query. Items *[]DeployedServicePackageHealthStateChunk `json:"Items,omitempty"` }
DeployedServicePackageHealthStateChunkList the list of deployed service package health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.
type DeployedServicePackageHealthStateFilter ¶
type DeployedServicePackageHealthStateFilter struct { // ServiceManifestNameFilter - The name of the service manifest which identifies the deployed service packages that matches the filter. // If specified, the filter is applied only to the specified deployed service packages, if any. // If no deployed service packages with specified manifest name exist, nothing is returned in the cluster health chunk based on this filter. // If any deployed service package exists, they are included in the cluster health chunk if it respects the other filter properties. // If not specified, all deployed service packages that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter. ServiceManifestNameFilter *string `json:"ServiceManifestNameFilter,omitempty"` // ServicePackageActivationIDFilter - The activation ID of a deployed service package that matches the filter. // If not specified, the filter applies to all deployed service packages that match the other parameters. // If specified, the filter matches only the deployed service package with the specified activation ID. ServicePackageActivationIDFilter *string `json:"ServicePackageActivationIdFilter,omitempty"` // HealthStateFilter - The filter for the health state of the deployed service packages. It allows selecting deployed service packages if they match the desired health states. // The possible values are integer value of one of the following health states. Only deployed service packages that match the filter are returned. All deployed service packages are used to evaluate the parent deployed application aggregated health state. // If not specified, default value is None, unless the deployed service package id is specified. If the filter has default value and deployed service package id is specified, the matching deployed service package is returned. // The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. // For example, if the provided value is 6, it matches deployed service packages with HealthState value of OK (2) and Warning (4). // - Default - Default value. Matches any HealthState. The value is zero. // - None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. // - Ok - Filter that matches input with HealthState value Ok. The value is 2. // - Warning - Filter that matches input with HealthState value Warning. The value is 4. // - Error - Filter that matches input with HealthState value Error. The value is 8. // - All - Filter that matches input with any HealthState value. The value is 65535. HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"` }
DeployedServicePackageHealthStateFilter defines matching criteria to determine whether a deployed service package should be included as a child of a deployed application in the cluster health chunk. The deployed service packages are only returned if the parent entities match a filter specified in the cluster health chunk query description. The parent deployed application and its parent application must be included in the cluster health chunk. One filter can match zero, one or multiple deployed service packages, depending on its properties.
type DeployedServicePackageInfo ¶
type DeployedServicePackageInfo struct { Name *string `json:"Name,omitempty"` // Version - The version of the service package specified in service manifest. Version *string `json:"Version,omitempty"` // Status - Possible values include: 'Status7Invalid', 'Status7Downloading', 'Status7Activating', 'Status7Active', 'Status7Upgrading', 'Status7Deactivating' Status Status7 `json:"Status,omitempty"` ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"` }
DeployedServicePackageInfo information about service package deployed on a Service Fabric node.
type DeployedServicePackagesHealthEvaluation ¶
type DeployedServicePackagesHealthEvaluation struct { // TotalCount - Total number of deployed service packages of the deployed application in the health store. TotalCount *int64 `json:"TotalCount,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
DeployedServicePackagesHealthEvaluation represents health evaluation for deployed service packages, containing health evaluations for each unhealthy deployed service package that impacted current aggregated health state. Can be returned when evaluating deployed application health and the aggregated health state is either Error or Warning.
func (DeployedServicePackagesHealthEvaluation) AsApplicationHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsBasicHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsEventHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsNodeHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsNodesHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsPartitionHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsReplicaHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsReplicasHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsServiceHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsServicesHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (dsphe DeployedServicePackagesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.
func (DeployedServicePackagesHealthEvaluation) MarshalJSON ¶
func (dsphe DeployedServicePackagesHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeployedServicePackagesHealthEvaluation.
type DeployedServiceReplicaDetailInfo ¶
type DeployedServiceReplicaDetailInfo struct { autorest.Response `json:"-"` ServiceName *string `json:"ServiceName,omitempty"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // CurrentServiceOperation - Possible values include: 'CurrentServiceOperationUnknown', 'CurrentServiceOperationNone', 'CurrentServiceOperationOpen', 'CurrentServiceOperationChangeRole', 'CurrentServiceOperationClose', 'CurrentServiceOperationAbort' CurrentServiceOperation CurrentServiceOperation `json:"CurrentServiceOperation,omitempty"` // CurrentServiceOperationStartTimeUtc - The start time of the current service operation in UTC format. CurrentServiceOperationStartTimeUtc *date.Time `json:"CurrentServiceOperationStartTimeUtc,omitempty"` ReportedLoad *[]LoadMetricReportInfo `json:"ReportedLoad,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindDeployedServiceReplicaDetailInfo', 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateful', 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateless' ServiceKind ServiceKindBasicDeployedServiceReplicaDetailInfo `json:"ServiceKind,omitempty"` }
DeployedServiceReplicaDetailInfo information about a Service Fabric service replica deployed on a node.
func (DeployedServiceReplicaDetailInfo) AsBasicDeployedServiceReplicaDetailInfo ¶
func (dsrdi DeployedServiceReplicaDetailInfo) AsBasicDeployedServiceReplicaDetailInfo() (BasicDeployedServiceReplicaDetailInfo, bool)
AsBasicDeployedServiceReplicaDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedServiceReplicaDetailInfo.
func (DeployedServiceReplicaDetailInfo) AsDeployedServiceReplicaDetailInfo ¶
func (dsrdi DeployedServiceReplicaDetailInfo) AsDeployedServiceReplicaDetailInfo() (*DeployedServiceReplicaDetailInfo, bool)
AsDeployedServiceReplicaDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedServiceReplicaDetailInfo.
func (DeployedServiceReplicaDetailInfo) AsDeployedStatefulServiceReplicaDetailInfo ¶
func (dsrdi DeployedServiceReplicaDetailInfo) AsDeployedStatefulServiceReplicaDetailInfo() (*DeployedStatefulServiceReplicaDetailInfo, bool)
AsDeployedStatefulServiceReplicaDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedServiceReplicaDetailInfo.
func (DeployedServiceReplicaDetailInfo) AsDeployedStatelessServiceInstanceDetailInfo ¶
func (dsrdi DeployedServiceReplicaDetailInfo) AsDeployedStatelessServiceInstanceDetailInfo() (*DeployedStatelessServiceInstanceDetailInfo, bool)
AsDeployedStatelessServiceInstanceDetailInfo is the BasicDeployedServiceReplicaDetailInfo implementation for DeployedServiceReplicaDetailInfo.
func (DeployedServiceReplicaDetailInfo) MarshalJSON ¶
func (dsrdi DeployedServiceReplicaDetailInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeployedServiceReplicaDetailInfo.
type DeployedServiceReplicaDetailInfoModel ¶
type DeployedServiceReplicaDetailInfoModel struct { autorest.Response `json:"-"` Value BasicDeployedServiceReplicaDetailInfo `json:"value,omitempty"` }
DeployedServiceReplicaDetailInfoModel ...
func (*DeployedServiceReplicaDetailInfoModel) UnmarshalJSON ¶
func (dsrdim *DeployedServiceReplicaDetailInfoModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for DeployedServiceReplicaDetailInfoModel struct.
type DeployedServiceReplicaInfo ¶
type DeployedServiceReplicaInfo struct { ServiceName *string `json:"ServiceName,omitempty"` ServiceTypeName *string `json:"ServiceTypeName,omitempty"` ServiceManifestName *string `json:"ServiceManifestName,omitempty"` CodePackageName *string `json:"CodePackageName,omitempty"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // ReplicaStatus - Possible values include: 'ReplicaStatusInvalid', 'ReplicaStatusInBuild', 'ReplicaStatusStandby', 'ReplicaStatusReady', 'ReplicaStatusDown', 'ReplicaStatusDropped' ReplicaStatus ReplicaStatus `json:"ReplicaStatus,omitempty"` // Address - The last address returned by the replica in Open or ChangeRole. Address *string `json:"Address,omitempty"` ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"` // 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: 'ServiceKindDeployedServiceReplicaInfo', 'ServiceKindStateful', 'ServiceKindStateless' ServiceKind ServiceKind `json:"ServiceKind,omitempty"` }
DeployedServiceReplicaInfo information about a Service Fabric service replica deployed on a node.
func (DeployedServiceReplicaInfo) AsBasicDeployedServiceReplicaInfo ¶
func (dsri DeployedServiceReplicaInfo) AsBasicDeployedServiceReplicaInfo() (BasicDeployedServiceReplicaInfo, bool)
AsBasicDeployedServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedServiceReplicaInfo.
func (DeployedServiceReplicaInfo) AsDeployedServiceReplicaInfo ¶
func (dsri DeployedServiceReplicaInfo) AsDeployedServiceReplicaInfo() (*DeployedServiceReplicaInfo, bool)
AsDeployedServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedServiceReplicaInfo.
func (DeployedServiceReplicaInfo) AsDeployedStatefulServiceReplicaInfo ¶
func (dsri DeployedServiceReplicaInfo) AsDeployedStatefulServiceReplicaInfo() (*DeployedStatefulServiceReplicaInfo, bool)
AsDeployedStatefulServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedServiceReplicaInfo.
func (DeployedServiceReplicaInfo) AsDeployedStatelessServiceInstanceInfo ¶
func (dsri DeployedServiceReplicaInfo) AsDeployedStatelessServiceInstanceInfo() (*DeployedStatelessServiceInstanceInfo, bool)
AsDeployedStatelessServiceInstanceInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedServiceReplicaInfo.
func (DeployedServiceReplicaInfo) MarshalJSON ¶
func (dsri DeployedServiceReplicaInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeployedServiceReplicaInfo.
type DeployedServiceTypeInfo ¶
type DeployedServiceTypeInfo struct { ServiceTypeName *string `json:"ServiceTypeName,omitempty"` ServiceManifestName *string `json:"ServiceManifestName,omitempty"` CodePackageName *string `json:"CodePackageName,omitempty"` // Status - Possible values include: 'Status8Invalid', 'Status8Disabled', 'Status8Enabled', 'Status8Registered' Status Status8 `json:"Status,omitempty"` ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"` }
DeployedServiceTypeInfo information about service type deployed on a node, information such as the status of the service type registration on a node.
type DeployedStatefulServiceReplicaDetailInfo ¶
type DeployedStatefulServiceReplicaDetailInfo struct { ReplicaID *string `json:"ReplicaId,omitempty"` // CurrentReplicatorOperation - Possible values include: 'CurrentReplicatorOperationInvalid', 'CurrentReplicatorOperationNone', 'CurrentReplicatorOperationOpen', 'CurrentReplicatorOperationChangeRole', 'CurrentReplicatorOperationUpdateEpoch', 'CurrentReplicatorOperationClose', 'CurrentReplicatorOperationAbort', 'CurrentReplicatorOperationOnDataLoss', 'CurrentReplicatorOperationWaitForCatchup', 'CurrentReplicatorOperationBuild' CurrentReplicatorOperation CurrentReplicatorOperation `json:"CurrentReplicatorOperation,omitempty"` // ReadStatus - Possible values include: 'ReadStatusInvalid', 'ReadStatusGranted', 'ReadStatusReconfigurationPending', 'ReadStatusNotPrimary', 'ReadStatusNoWriteQuorum' ReadStatus ReadStatus `json:"ReadStatus,omitempty"` // WriteStatus - Possible values include: 'WriteStatusInvalid', 'WriteStatusGranted', 'WriteStatusReconfigurationPending', 'WriteStatusNotPrimary', 'WriteStatusNoWriteQuorum' WriteStatus WriteStatus `json:"WriteStatus,omitempty"` ReplicatorStatus BasicReplicatorStatus `json:"ReplicatorStatus,omitempty"` ReplicaStatus *KeyValueStoreReplicaStatus `json:"ReplicaStatus,omitempty"` DeployedServiceReplicaQueryResult *DeployedStatefulServiceReplicaInfo `json:"DeployedServiceReplicaQueryResult,omitempty"` ServiceName *string `json:"ServiceName,omitempty"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // CurrentServiceOperation - Possible values include: 'CurrentServiceOperationUnknown', 'CurrentServiceOperationNone', 'CurrentServiceOperationOpen', 'CurrentServiceOperationChangeRole', 'CurrentServiceOperationClose', 'CurrentServiceOperationAbort' CurrentServiceOperation CurrentServiceOperation `json:"CurrentServiceOperation,omitempty"` // CurrentServiceOperationStartTimeUtc - The start time of the current service operation in UTC format. CurrentServiceOperationStartTimeUtc *date.Time `json:"CurrentServiceOperationStartTimeUtc,omitempty"` ReportedLoad *[]LoadMetricReportInfo `json:"ReportedLoad,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindDeployedServiceReplicaDetailInfo', 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateful', 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateless' ServiceKind ServiceKindBasicDeployedServiceReplicaDetailInfo `json:"ServiceKind,omitempty"` }
DeployedStatefulServiceReplicaDetailInfo information about a stateful replica running in a code package. 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 *string `json:"ReplicaId,omitempty"` // ReplicaRole - Possible values include: 'ReplicaRoleUnknown', 'ReplicaRoleNone', 'ReplicaRolePrimary', 'ReplicaRoleIdleSecondary', 'ReplicaRoleActiveSecondary' ReplicaRole ReplicaRole `json:"ReplicaRole,omitempty"` ReconfigurationInformation *ReconfigurationInformation `json:"ReconfigurationInformation,omitempty"` ServiceName *string `json:"ServiceName,omitempty"` ServiceTypeName *string `json:"ServiceTypeName,omitempty"` ServiceManifestName *string `json:"ServiceManifestName,omitempty"` CodePackageName *string `json:"CodePackageName,omitempty"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // ReplicaStatus - Possible values include: 'ReplicaStatusInvalid', 'ReplicaStatusInBuild', 'ReplicaStatusStandby', 'ReplicaStatusReady', 'ReplicaStatusDown', 'ReplicaStatusDropped' ReplicaStatus ReplicaStatus `json:"ReplicaStatus,omitempty"` // Address - The last address returned by the replica in Open or ChangeRole. Address *string `json:"Address,omitempty"` ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"` // 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: 'ServiceKindDeployedServiceReplicaInfo', 'ServiceKindStateful', 'ServiceKindStateless' ServiceKind ServiceKind `json:"ServiceKind,omitempty"` }
DeployedStatefulServiceReplicaInfo information about a stateful service replica deployed on a node.
func (DeployedStatefulServiceReplicaInfo) AsBasicDeployedServiceReplicaInfo ¶
func (dssri DeployedStatefulServiceReplicaInfo) AsBasicDeployedServiceReplicaInfo() (BasicDeployedServiceReplicaInfo, bool)
AsBasicDeployedServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatefulServiceReplicaInfo.
func (DeployedStatefulServiceReplicaInfo) AsDeployedServiceReplicaInfo ¶
func (dssri DeployedStatefulServiceReplicaInfo) AsDeployedServiceReplicaInfo() (*DeployedServiceReplicaInfo, bool)
AsDeployedServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatefulServiceReplicaInfo.
func (DeployedStatefulServiceReplicaInfo) AsDeployedStatefulServiceReplicaInfo ¶
func (dssri DeployedStatefulServiceReplicaInfo) AsDeployedStatefulServiceReplicaInfo() (*DeployedStatefulServiceReplicaInfo, bool)
AsDeployedStatefulServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatefulServiceReplicaInfo.
func (DeployedStatefulServiceReplicaInfo) AsDeployedStatelessServiceInstanceInfo ¶
func (dssri DeployedStatefulServiceReplicaInfo) AsDeployedStatelessServiceInstanceInfo() (*DeployedStatelessServiceInstanceInfo, bool)
AsDeployedStatelessServiceInstanceInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatefulServiceReplicaInfo.
func (DeployedStatefulServiceReplicaInfo) MarshalJSON ¶
func (dssri DeployedStatefulServiceReplicaInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeployedStatefulServiceReplicaInfo.
type DeployedStatelessServiceInstanceDetailInfo ¶
type DeployedStatelessServiceInstanceDetailInfo struct { InstanceID *string `json:"InstanceId,omitempty"` DeployedServiceReplicaQueryResult *DeployedStatelessServiceInstanceInfo `json:"DeployedServiceReplicaQueryResult,omitempty"` ServiceName *string `json:"ServiceName,omitempty"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // CurrentServiceOperation - Possible values include: 'CurrentServiceOperationUnknown', 'CurrentServiceOperationNone', 'CurrentServiceOperationOpen', 'CurrentServiceOperationChangeRole', 'CurrentServiceOperationClose', 'CurrentServiceOperationAbort' CurrentServiceOperation CurrentServiceOperation `json:"CurrentServiceOperation,omitempty"` // CurrentServiceOperationStartTimeUtc - The start time of the current service operation in UTC format. CurrentServiceOperationStartTimeUtc *date.Time `json:"CurrentServiceOperationStartTimeUtc,omitempty"` ReportedLoad *[]LoadMetricReportInfo `json:"ReportedLoad,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindDeployedServiceReplicaDetailInfo', 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateful', 'ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateless' ServiceKind ServiceKindBasicDeployedServiceReplicaDetailInfo `json:"ServiceKind,omitempty"` }
DeployedStatelessServiceInstanceDetailInfo information about a stateless instance running in a code package. 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 *string `json:"InstanceId,omitempty"` ServiceName *string `json:"ServiceName,omitempty"` ServiceTypeName *string `json:"ServiceTypeName,omitempty"` ServiceManifestName *string `json:"ServiceManifestName,omitempty"` CodePackageName *string `json:"CodePackageName,omitempty"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // ReplicaStatus - Possible values include: 'ReplicaStatusInvalid', 'ReplicaStatusInBuild', 'ReplicaStatusStandby', 'ReplicaStatusReady', 'ReplicaStatusDown', 'ReplicaStatusDropped' ReplicaStatus ReplicaStatus `json:"ReplicaStatus,omitempty"` // Address - The last address returned by the replica in Open or ChangeRole. Address *string `json:"Address,omitempty"` ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"` // 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: 'ServiceKindDeployedServiceReplicaInfo', 'ServiceKindStateful', 'ServiceKindStateless' ServiceKind ServiceKind `json:"ServiceKind,omitempty"` }
DeployedStatelessServiceInstanceInfo information about a stateless service instance deployed on a node.
func (DeployedStatelessServiceInstanceInfo) AsBasicDeployedServiceReplicaInfo ¶
func (dssii DeployedStatelessServiceInstanceInfo) AsBasicDeployedServiceReplicaInfo() (BasicDeployedServiceReplicaInfo, bool)
AsBasicDeployedServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatelessServiceInstanceInfo.
func (DeployedStatelessServiceInstanceInfo) AsDeployedServiceReplicaInfo ¶
func (dssii DeployedStatelessServiceInstanceInfo) AsDeployedServiceReplicaInfo() (*DeployedServiceReplicaInfo, bool)
AsDeployedServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatelessServiceInstanceInfo.
func (DeployedStatelessServiceInstanceInfo) AsDeployedStatefulServiceReplicaInfo ¶
func (dssii DeployedStatelessServiceInstanceInfo) AsDeployedStatefulServiceReplicaInfo() (*DeployedStatefulServiceReplicaInfo, bool)
AsDeployedStatefulServiceReplicaInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatelessServiceInstanceInfo.
func (DeployedStatelessServiceInstanceInfo) AsDeployedStatelessServiceInstanceInfo ¶
func (dssii DeployedStatelessServiceInstanceInfo) AsDeployedStatelessServiceInstanceInfo() (*DeployedStatelessServiceInstanceInfo, bool)
AsDeployedStatelessServiceInstanceInfo is the BasicDeployedServiceReplicaInfo implementation for DeployedStatelessServiceInstanceInfo.
func (DeployedStatelessServiceInstanceInfo) MarshalJSON ¶
func (dssii DeployedStatelessServiceInstanceInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DeployedStatelessServiceInstanceInfo.
type 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 *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 *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 - Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown' AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"` // HealthEvents - The list of health events reported on the entity. HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` 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 - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown' AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"` }
EntityHealthState a base type for the health state of various entities in the cluster. It contains the aggregated health state.
type EntityHealthStateChunk ¶
type EntityHealthStateChunk struct { // HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown' HealthState HealthState2 `json:"HealthState,omitempty"` }
EntityHealthStateChunk a base type for the health state chunk of various entities in the cluster. It contains the aggregated health state.
type EntityHealthStateChunkList ¶
type EntityHealthStateChunkList struct { // TotalCount - Total number of entity health state objects that match the specified filters from the cluster health chunk query description. TotalCount *int64 `json:"TotalCount,omitempty"` }
EntityHealthStateChunkList a base type for the list of health state chunks found in the cluster. It contains the total number of health states that match the input filters.
type EntityKind ¶
type EntityKind string
EntityKind enumerates the values for entity kind.
const ( // EntityKindApplication ... EntityKindApplication EntityKind = "Application" // EntityKindCluster ... EntityKindCluster EntityKind = "Cluster" // EntityKindDeployedApplication ... EntityKindDeployedApplication EntityKind = "DeployedApplication" // EntityKindDeployedServicePackage ... EntityKindDeployedServicePackage EntityKind = "DeployedServicePackage" // EntityKindInvalid ... EntityKindInvalid EntityKind = "Invalid" // EntityKindNode ... EntityKindNode EntityKind = "Node" // EntityKindPartition ... EntityKindPartition EntityKind = "Partition" // EntityKindReplica ... EntityKindReplica EntityKind = "Replica" // EntityKindService ... EntityKindService EntityKind = "Service" )
func PossibleEntityKindValues ¶
func PossibleEntityKindValues() []EntityKind
PossibleEntityKindValues returns an array of possible values for the EntityKind const type.
type EntityKindHealthStateCount ¶
type EntityKindHealthStateCount struct { // EntityKind - Possible values include: 'EntityKindInvalid', 'EntityKindNode', 'EntityKindPartition', 'EntityKindService', 'EntityKindApplication', 'EntityKindReplica', 'EntityKindDeployedApplication', 'EntityKindDeployedServicePackage', 'EntityKindCluster' EntityKind EntityKind `json:"EntityKind,omitempty"` HealthStateCount *HealthStateCount `json:"HealthStateCount,omitempty"` }
EntityKindHealthStateCount represents health state count for entities of the specified entity kind.
type Epoch ¶
type Epoch struct { // ConfigurationVersion - The current configuration number of this Epoch. The configuration number is an increasing value that is updated whenever the configuration of this replica set changes. ConfigurationVersion *string `json:"ConfigurationVersion,omitempty"` // DataLossVersion - The current dataloss number of this Epoch. The data loss number property is an increasing value which is updated whenever data loss is suspected, as when loss of a quorum of replicas in the replica set that includes the Primary replica. DataLossVersion *string `json:"DataLossVersion,omitempty"` }
Epoch an Epoch is a configuration number for the partition as a whole. When the configuration of the replica set changes, for example when the Primary replica changes, the operations that are replicated from the new Primary replica are said to be a new Epoch from the ones which were sent by the old Primary replica.
type EventHealthEvaluation ¶
type EventHealthEvaluation struct { // ConsiderWarningAsError - Indicates whether warnings are treated with the same severity as errors. The field is specified in the health policy used to evaluate the entity. ConsiderWarningAsError *bool `json:"ConsiderWarningAsError,omitempty"` UnhealthyEvent *HealthEvent `json:"UnhealthyEvent,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
EventHealthEvaluation represents health evaluation of a HealthEvent that was reported on the entity. The health evaluation is returned when evaluating health of an entity results in Error or Warning.
func (EventHealthEvaluation) AsApplicationHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsBasicHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsEventHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsNodeHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsNodesHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsPartitionHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsReplicaHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsReplicasHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsServiceHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsServicesHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (ehe EventHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.
func (EventHealthEvaluation) MarshalJSON ¶
func (ehe EventHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EventHealthEvaluation.
type ExecutingFaultsChaosEvent ¶
type ExecutingFaultsChaosEvent struct { Faults *[]string `json:"Faults,omitempty"` TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"` // Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting' Kind KindBasicChaosEvent `json:"Kind,omitempty"` }
ExecutingFaultsChaosEvent describes a Chaos event that gets generated when Chaos has decided on the faults for an iteration. This Chaos event contains the details of the faults as a list of strings.
func (ExecutingFaultsChaosEvent) AsBasicChaosEvent ¶
func (efce ExecutingFaultsChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
AsBasicChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.
func (ExecutingFaultsChaosEvent) AsChaosEvent ¶
func (efce ExecutingFaultsChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
AsChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.
func (ExecutingFaultsChaosEvent) AsExecutingFaultsChaosEvent ¶
func (efce ExecutingFaultsChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.
func (ExecutingFaultsChaosEvent) AsStartedChaosEvent ¶
func (efce ExecutingFaultsChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
AsStartedChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.
func (ExecutingFaultsChaosEvent) AsStoppedChaosEvent ¶
func (efce ExecutingFaultsChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
AsStoppedChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.
func (ExecutingFaultsChaosEvent) AsTestErrorChaosEvent ¶
func (efce ExecutingFaultsChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
AsTestErrorChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.
func (ExecutingFaultsChaosEvent) AsValidationFailedChaosEvent ¶
func (efce ExecutingFaultsChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
AsValidationFailedChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.
func (ExecutingFaultsChaosEvent) AsWaitingChaosEvent ¶
func (efce ExecutingFaultsChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
AsWaitingChaosEvent is the BasicChaosEvent implementation for ExecutingFaultsChaosEvent.
func (ExecutingFaultsChaosEvent) MarshalJSON ¶
func (efce ExecutingFaultsChaosEvent) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExecutingFaultsChaosEvent.
type FabricCodeVersionInfo ¶
type FabricCodeVersionInfo struct { // CodeVersion - The product version of Service Fabric. CodeVersion *string `json:"CodeVersion,omitempty"` }
FabricCodeVersionInfo information about a Service Fabric code version.
type FabricConfigVersionInfo ¶
type FabricConfigVersionInfo struct { // ConfigVersion - The config version of Service Fabric. ConfigVersion *string `json:"ConfigVersion,omitempty"` }
FabricConfigVersionInfo information about a Service Fabric config version.
type FabricError ¶
type FabricError struct {
Error *FabricErrorError `json:"Error,omitempty"`
}
FabricError the REST API operations for Service Fabric return standard HTTP status codes. This type defines the additional information returned from the Service Fabric API operations that are not successful.
type FabricErrorError ¶
type FabricErrorError struct { // Code - Possible values include: 'FABRICEINVALIDPARTITIONKEY', 'FABRICEIMAGEBUILDERVALIDATIONERROR', 'FABRICEINVALIDADDRESS', 'FABRICEAPPLICATIONNOTUPGRADING', 'FABRICEAPPLICATIONUPGRADEVALIDATIONERROR', 'FABRICEFABRICNOTUPGRADING', 'FABRICEFABRICUPGRADEVALIDATIONERROR', 'FABRICEINVALIDCONFIGURATION', 'FABRICEINVALIDNAMEURI', 'FABRICEPATHTOOLONG', 'FABRICEKEYTOOLARGE', 'FABRICESERVICEAFFINITYCHAINNOTSUPPORTED', 'FABRICEINVALIDATOMICGROUP', 'FABRICEVALUEEMPTY', 'FABRICENODENOTFOUND', 'FABRICEAPPLICATIONTYPENOTFOUND', 'FABRICEAPPLICATIONNOTFOUND', 'FABRICESERVICETYPENOTFOUND', 'FABRICESERVICEDOESNOTEXIST', 'FABRICESERVICETYPETEMPLATENOTFOUND', 'FABRICECONFIGURATIONSECTIONNOTFOUND', 'FABRICEPARTITIONNOTFOUND', 'FABRICEREPLICADOESNOTEXIST', 'FABRICESERVICEGROUPDOESNOTEXIST', 'FABRICECONFIGURATIONPARAMETERNOTFOUND', 'FABRICEDIRECTORYNOTFOUND', 'FABRICEFABRICVERSIONNOTFOUND', 'FABRICEFILENOTFOUND', 'FABRICENAMEDOESNOTEXIST', 'FABRICEPROPERTYDOESNOTEXIST', 'FABRICEENUMERATIONCOMPLETED', 'FABRICESERVICEMANIFESTNOTFOUND', 'FABRICEKEYNOTFOUND', 'FABRICEHEALTHENTITYNOTFOUND', 'FABRICEAPPLICATIONTYPEALREADYEXISTS', 'FABRICEAPPLICATIONALREADYEXISTS', 'FABRICEAPPLICATIONALREADYINTARGETVERSION', 'FABRICEAPPLICATIONTYPEPROVISIONINPROGRESS', 'FABRICEAPPLICATIONUPGRADEINPROGRESS', 'FABRICESERVICEALREADYEXISTS', 'FABRICESERVICEGROUPALREADYEXISTS', 'FABRICEAPPLICATIONTYPEINUSE', 'FABRICEFABRICALREADYINTARGETVERSION', 'FABRICEFABRICVERSIONALREADYEXISTS', 'FABRICEFABRICVERSIONINUSE', 'FABRICEFABRICUPGRADEINPROGRESS', 'FABRICENAMEALREADYEXISTS', 'FABRICENAMENOTEMPTY', 'FABRICEPROPERTYCHECKFAILED', 'FABRICESERVICEMETADATAMISMATCH', 'FABRICESERVICETYPEMISMATCH', 'FABRICEHEALTHSTALEREPORT', 'FABRICESEQUENCENUMBERCHECKFAILED', 'FABRICENODEHASNOTSTOPPEDYET', 'FABRICEINSTANCEIDMISMATCH', 'FABRICEVALUETOOLARGE', 'FABRICENOWRITEQUORUM', 'FABRICENOTPRIMARY', 'FABRICENOTREADY', 'FABRICERECONFIGURATIONPENDING', 'FABRICESERVICEOFFLINE', 'EABORT', 'FABRICECOMMUNICATIONERROR', 'FABRICEOPERATIONNOTCOMPLETE', 'FABRICETIMEOUT', 'FABRICENODEISUP' Code Code `json:"Code,omitempty"` // Message - Error message. Message *string `json:"Message,omitempty"` }
FabricErrorError error object containing error code and error message.
type 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 *string `json:"DomainName,omitempty"` NodeUpgradeProgressList *[]NodeUpgradeProgressInfo `json:"NodeUpgradeProgressList,omitempty"` }
FailedUpgradeDomainProgressObject the detailed upgrade progress for nodes in the current upgrade domain at the point of failure.
type FailureAction ¶
type FailureAction string
FailureAction enumerates the values for failure action.
const ( // FailureActionInvalid ... FailureActionInvalid FailureAction = "Invalid" // FailureActionManual ... FailureActionManual FailureAction = "Manual" // FailureActionRollback ... FailureActionRollback FailureAction = "Rollback" )
func PossibleFailureActionValues ¶
func PossibleFailureActionValues() []FailureAction
PossibleFailureActionValues returns an array of possible values for the FailureAction const type.
type FailureAction1 ¶
type FailureAction1 string
FailureAction1 enumerates the values for failure action 1.
const ( // FailureAction1Invalid ... FailureAction1Invalid FailureAction1 = "Invalid" // FailureAction1Manual ... FailureAction1Manual FailureAction1 = "Manual" // FailureAction1Rollback ... FailureAction1Rollback FailureAction1 = "Rollback" )
func PossibleFailureAction1Values ¶
func PossibleFailureAction1Values() []FailureAction1
PossibleFailureAction1Values returns an array of possible values for the FailureAction1 const type.
type FailureReason ¶
type FailureReason string
FailureReason enumerates the values for failure reason.
const ( // HealthCheck ... HealthCheck FailureReason = "HealthCheck" // Interrupted ... Interrupted FailureReason = "Interrupted" // None ... None FailureReason = "None" // UpgradeDomainTimeout ... UpgradeDomainTimeout FailureReason = "UpgradeDomainTimeout" // UpgradeTimeout ... UpgradeTimeout FailureReason = "UpgradeTimeout" )
func PossibleFailureReasonValues ¶
func PossibleFailureReasonValues() []FailureReason
PossibleFailureReasonValues returns an array of possible values for the FailureReason const type.
type FailureReason1 ¶
type FailureReason1 string
FailureReason1 enumerates the values for failure reason 1.
const ( // FailureReason1HealthCheck ... FailureReason1HealthCheck FailureReason1 = "HealthCheck" // FailureReason1Interrupted ... FailureReason1Interrupted FailureReason1 = "Interrupted" // FailureReason1None ... FailureReason1None FailureReason1 = "None" // FailureReason1UpgradeDomainTimeout ... FailureReason1UpgradeDomainTimeout FailureReason1 = "UpgradeDomainTimeout" // FailureReason1UpgradeTimeout ... FailureReason1UpgradeTimeout FailureReason1 = "UpgradeTimeout" )
func PossibleFailureReason1Values ¶
func PossibleFailureReason1Values() []FailureReason1
PossibleFailureReason1Values returns an array of possible values for the FailureReason1 const type.
type FailureReason2 ¶
type FailureReason2 string
FailureReason2 enumerates the values for failure reason 2.
const ( // FailureReason2HealthCheck ... FailureReason2HealthCheck FailureReason2 = "HealthCheck" // FailureReason2Interrupted ... FailureReason2Interrupted FailureReason2 = "Interrupted" // FailureReason2None ... FailureReason2None FailureReason2 = "None" // FailureReason2UpgradeDomainTimeout ... FailureReason2UpgradeDomainTimeout FailureReason2 = "UpgradeDomainTimeout" // FailureReason2UpgradeTimeout ... FailureReason2UpgradeTimeout FailureReason2 = "UpgradeTimeout" )
func PossibleFailureReason2Values ¶
func PossibleFailureReason2Values() []FailureReason2
PossibleFailureReason2Values returns an array of possible values for the FailureReason2 const type.
type FailureUpgradeDomainProgressInfo ¶
type FailureUpgradeDomainProgressInfo struct { DomainName *string `json:"DomainName,omitempty"` NodeUpgradeProgressList *[]NodeUpgradeProgressInfo `json:"NodeUpgradeProgressList,omitempty"` }
FailureUpgradeDomainProgressInfo information about the upgrade domain progress at the time of upgrade failure.
type FileInfo ¶
type FileInfo struct { // FileSize - The size of file in bytes. FileSize *string `json:"FileSize,omitempty"` FileVersion *FileVersion `json:"FileVersion,omitempty"` // ModifiedDate - The date and time when the image store file was last modified. ModifiedDate *date.Time `json:"ModifiedDate,omitempty"` // StoreRelativePath - The file path relative to the image store root path. StoreRelativePath *string `json:"StoreRelativePath,omitempty"` }
FileInfo information about a image store file.
type FileVersion ¶
type FileVersion struct { // VersionNumber - The current iamge store version number for the file is used in image store for checking whether it need to be updated. VersionNumber *string `json:"VersionNumber,omitempty"` // EpochDataLossNumber - The epoch data loss number of image store file is used to indicate the status of data loss. EpochDataLossNumber *string `json:"EpochDataLossNumber,omitempty"` }
FileVersion information about the version of image store file.
type FolderInfo ¶
type FolderInfo struct { StoreRelativePath *string `json:"StoreRelativePath,omitempty"` // FileCount - The number of files from within the image store folder. FileCount *uuid.UUID `json:"FileCount,omitempty"` }
FolderInfo information about a image store folder. It inclues how many files this folder contains and its image store relative path.
type 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 *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 - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
HealthEvaluation represents a health evaluation which describes the data and the algorithm used by health manager to evaluate the health of an entity.
func (HealthEvaluation) AsApplicationHealthEvaluation ¶
func (he HealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (he HealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsApplicationsHealthEvaluation ¶
func (he HealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsBasicHealthEvaluation ¶
func (he HealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (he HealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (he HealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (he HealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (he HealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (he HealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsEventHealthEvaluation ¶
func (he HealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsHealthEvaluation ¶
func (he HealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsNodeHealthEvaluation ¶
func (he HealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsNodesHealthEvaluation ¶
func (he HealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsPartitionHealthEvaluation ¶
func (he HealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsPartitionsHealthEvaluation ¶
func (he HealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsReplicaHealthEvaluation ¶
func (he HealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsReplicasHealthEvaluation ¶
func (he HealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsServiceHealthEvaluation ¶
func (he HealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsServicesHealthEvaluation ¶
func (he HealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (he HealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (he HealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (he HealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.
func (HealthEvaluation) MarshalJSON ¶
func (he HealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HealthEvaluation.
type HealthEvaluationWrapper ¶
type HealthEvaluationWrapper struct {
HealthEvaluation BasicHealthEvaluation `json:"HealthEvaluation,omitempty"`
}
HealthEvaluationWrapper wrapper object for health evaluation.
func (*HealthEvaluationWrapper) UnmarshalJSON ¶
func (hew *HealthEvaluationWrapper) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for HealthEvaluationWrapper struct.
type HealthEvent ¶
type HealthEvent struct { // IsExpired - Returns true if the health event is expired, otherwise false. IsExpired *bool `json:"IsExpired,omitempty"` // SourceUtcTimestamp - The date and time when the health report was sent by the source. SourceUtcTimestamp *date.Time `json:"SourceUtcTimestamp,omitempty"` // LastModifiedUtcTimestamp - The date and time when the health report was last modified by the health store. LastModifiedUtcTimestamp *date.Time `json:"LastModifiedUtcTimestamp,omitempty"` // LastOkTransitionAt - If the current health state is 'Ok', this property returns the time at which the health report was first reported with 'Ok'. // For periodic reporting, many reports with the same state may have been generated. // This property returns the date and time when the first 'Ok' health report was received. // If the current health state is 'Error' or 'Warning', returns the date and time at which the health state was last in 'Ok', before transitioning to a different state. // If the health state was never 'Ok', the value will be zero date-time. LastOkTransitionAt *date.Time `json:"LastOkTransitionAt,omitempty"` // LastWarningTransitionAt - If the current health state is 'Warning', this property returns the time at which the health report was first reported with 'Warning'. For periodic reporting, many reports with the same state may have been generated however, this property returns only the date and time at the first 'Warning' health report was received. // If the current health state is 'Ok' or 'Error', returns the date and time at which the health state was last in 'Warning', before transitioning to a different state. // If the health state was never 'Warning', the value will be zero date-time. LastWarningTransitionAt *date.Time `json:"LastWarningTransitionAt,omitempty"` // LastErrorTransitionAt - If the current health state is 'Error', this property returns the time at which the health report was first reported with 'Error'. For periodic reporting, many reports with the same state may have been generated however, this property returns only the date and time at the first 'Error' health report was received. // If the current health state is 'Ok' or 'Warning', returns the date and time at which the health state was last in 'Error', before transitioning to a different state. // If the health state was never 'Error', the value will be zero date-time. LastErrorTransitionAt *date.Time `json:"LastErrorTransitionAt,omitempty"` // SourceID - The source name which identifies the client/watchdog/system component which generated the health information. SourceID *string `json:"SourceId,omitempty"` // Property - The property of the health information. An entity can have health reports for different properties. // The property is a string and not a fixed enumeration to allow the reporter flexibility to categorize the state condition that triggers the report. // For example, a reporter with SourceId "LocalWatchdog" can monitor the state of the available disk on a node, // so it can report "AvailableDisk" property on that node. // The same reporter can monitor the node connectivity, so it can report a property "Connectivity" on the same node. // In the health store, these reports are treated as separate health events for the specified node. // Together with the SourceId, the property uniquely identifies the health information. Property *string `json:"Property,omitempty"` // HealthState - Possible values include: 'HealthState3Invalid', 'HealthState3Ok', 'HealthState3Warning', 'HealthState3Error', 'HealthState3Unknown' HealthState HealthState3 `json:"HealthState,omitempty"` // TimeToLiveInMilliSeconds - The duration for which this health report is valid. This field is using ISO8601 format for specifying the duration. // When clients report periodically, they should send reports with higher frequency than time to live. // If clients report on transition, they can set the time to live to infinite. // When time to live expires, the health event that contains the health information // is either removed from health store, if RemoveWhenExpired is true, or evaluated at error, if RemoveWhenExpired false. // If not specified, time to live defaults to infinite value. TimeToLiveInMilliSeconds *string `json:"TimeToLiveInMilliSeconds,omitempty"` // Description - The description of the health information. It represents free text used to add human readable information about the report. // The maximum string length for the description is 4096 characters. // If the provided string is longer, it will be automatically truncated. // When truncated, the last characters of the description contain a marker "[Truncated]", and total string size is 4096 characters. // The presence of the marker indicates to users that truncation occurred. // Note that when truncated, the description has less than 4096 characters from the original string. Description *string `json:"Description,omitempty"` // SequenceNumber - The sequence number for this health report as a numeric string. // The report sequence number is used by the health store to detect stale reports. // If not specified, a sequence number is auto-generated by the health client when a report is added. SequenceNumber *string `json:"SequenceNumber,omitempty"` // RemoveWhenExpired - Value that indicates whether the report is removed from health store when it expires. // If set to true, the report is remopved from the health store after it expires. // If set to false, the report is treated as an error when expired. The value of this property is false by default. // When clients report periodically, they should set RemoveWhenExpired false (default). // This way, is the reporter has issues (eg. deadlock) and can't report, the entity is evaluated at error when the health report expires. // This flags the entity as being in Error health state. RemoveWhenExpired *bool `json:"RemoveWhenExpired,omitempty"` }
HealthEvent represents health information reported on a health entity, such as cluster, application or node, with additional metadata added by the Health Manager.
type HealthInformation ¶
type HealthInformation struct { // SourceID - The source name which identifies the client/watchdog/system component which generated the health information. SourceID *string `json:"SourceId,omitempty"` // Property - The property of the health information. An entity can have health reports for different properties. // The property is a string and not a fixed enumeration to allow the reporter flexibility to categorize the state condition that triggers the report. // For example, a reporter with SourceId "LocalWatchdog" can monitor the state of the available disk on a node, // so it can report "AvailableDisk" property on that node. // The same reporter can monitor the node connectivity, so it can report a property "Connectivity" on the same node. // In the health store, these reports are treated as separate health events for the specified node. // Together with the SourceId, the property uniquely identifies the health information. Property *string `json:"Property,omitempty"` // HealthState - Possible values include: 'HealthState3Invalid', 'HealthState3Ok', 'HealthState3Warning', 'HealthState3Error', 'HealthState3Unknown' HealthState HealthState3 `json:"HealthState,omitempty"` // TimeToLiveInMilliSeconds - The duration for which this health report is valid. This field is using ISO8601 format for specifying the duration. // When clients report periodically, they should send reports with higher frequency than time to live. // If clients report on transition, they can set the time to live to infinite. // When time to live expires, the health event that contains the health information // is either removed from health store, if RemoveWhenExpired is true, or evaluated at error, if RemoveWhenExpired false. // If not specified, time to live defaults to infinite value. TimeToLiveInMilliSeconds *string `json:"TimeToLiveInMilliSeconds,omitempty"` // Description - The description of the health information. It represents free text used to add human readable information about the report. // The maximum string length for the description is 4096 characters. // If the provided string is longer, it will be automatically truncated. // When truncated, the last characters of the description contain a marker "[Truncated]", and total string size is 4096 characters. // The presence of the marker indicates to users that truncation occurred. // Note that when truncated, the description has less than 4096 characters from the original string. Description *string `json:"Description,omitempty"` // SequenceNumber - The sequence number for this health report as a numeric string. // The report sequence number is used by the health store to detect stale reports. // If not specified, a sequence number is auto-generated by the health client when a report is added. SequenceNumber *string `json:"SequenceNumber,omitempty"` // RemoveWhenExpired - Value that indicates whether the report is removed from health store when it expires. // If set to true, the report is remopved from the health store after it expires. // If set to false, the report is treated as an error when expired. The value of this property is false by default. // When clients report periodically, they should set RemoveWhenExpired false (default). // This way, is the reporter has issues (eg. deadlock) and can't report, the entity is evaluated at error when the health report expires. // This flags the entity as being in Error health state. RemoveWhenExpired *bool `json:"RemoveWhenExpired,omitempty"` }
HealthInformation represents common health report information. It is included in all health reports sent to health store and in all health events returned by health queries.
type HealthState ¶
type HealthState string
HealthState enumerates the values for health state.
const ( // HealthStateError ... HealthStateError HealthState = "Error" // HealthStateInvalid ... HealthStateInvalid HealthState = "Invalid" // HealthStateOk ... HealthStateOk HealthState = "Ok" // HealthStateUnknown ... HealthStateUnknown HealthState = "Unknown" // HealthStateWarning ... HealthStateWarning HealthState = "Warning" )
func PossibleHealthStateValues ¶
func PossibleHealthStateValues() []HealthState
PossibleHealthStateValues returns an array of possible values for the HealthState const type.
type HealthState1 ¶
type HealthState1 string
HealthState1 enumerates the values for health state 1.
const ( // HealthState1Error ... HealthState1Error HealthState1 = "Error" // HealthState1Invalid ... HealthState1Invalid HealthState1 = "Invalid" // HealthState1Ok ... HealthState1Ok HealthState1 = "Ok" // HealthState1Unknown ... HealthState1Unknown HealthState1 = "Unknown" // HealthState1Warning ... HealthState1Warning HealthState1 = "Warning" )
func PossibleHealthState1Values ¶
func PossibleHealthState1Values() []HealthState1
PossibleHealthState1Values returns an array of possible values for the HealthState1 const type.
type HealthState2 ¶
type HealthState2 string
HealthState2 enumerates the values for health state 2.
const ( // HealthState2Error ... HealthState2Error HealthState2 = "Error" // HealthState2Invalid ... HealthState2Invalid HealthState2 = "Invalid" // HealthState2Ok ... HealthState2Ok HealthState2 = "Ok" // HealthState2Unknown ... HealthState2Unknown HealthState2 = "Unknown" // HealthState2Warning ... HealthState2Warning HealthState2 = "Warning" )
func PossibleHealthState2Values ¶
func PossibleHealthState2Values() []HealthState2
PossibleHealthState2Values returns an array of possible values for the HealthState2 const type.
type HealthState3 ¶
type HealthState3 string
HealthState3 enumerates the values for health state 3.
const ( // HealthState3Error ... HealthState3Error HealthState3 = "Error" // HealthState3Invalid ... HealthState3Invalid HealthState3 = "Invalid" // HealthState3Ok ... HealthState3Ok HealthState3 = "Ok" // HealthState3Unknown ... HealthState3Unknown HealthState3 = "Unknown" // HealthState3Warning ... HealthState3Warning HealthState3 = "Warning" )
func PossibleHealthState3Values ¶
func PossibleHealthState3Values() []HealthState3
PossibleHealthState3Values returns an array of possible values for the HealthState3 const type.
type HealthState4 ¶
type HealthState4 string
HealthState4 enumerates the values for health state 4.
const ( // HealthState4Error ... HealthState4Error HealthState4 = "Error" // HealthState4Invalid ... HealthState4Invalid HealthState4 = "Invalid" // HealthState4Ok ... HealthState4Ok HealthState4 = "Ok" // HealthState4Unknown ... HealthState4Unknown HealthState4 = "Unknown" // HealthState4Warning ... HealthState4Warning HealthState4 = "Warning" )
func PossibleHealthState4Values ¶
func PossibleHealthState4Values() []HealthState4
PossibleHealthState4Values returns an array of possible values for the HealthState4 const type.
type HealthState5 ¶
type HealthState5 string
HealthState5 enumerates the values for health state 5.
const ( // HealthState5Error ... HealthState5Error HealthState5 = "Error" // HealthState5Invalid ... HealthState5Invalid HealthState5 = "Invalid" // HealthState5Ok ... HealthState5Ok HealthState5 = "Ok" // HealthState5Unknown ... HealthState5Unknown HealthState5 = "Unknown" // HealthState5Warning ... HealthState5Warning HealthState5 = "Warning" )
func PossibleHealthState5Values ¶
func PossibleHealthState5Values() []HealthState5
PossibleHealthState5Values returns an array of possible values for the HealthState5 const type.
type HealthState6 ¶
type HealthState6 string
HealthState6 enumerates the values for health state 6.
const ( // HealthState6Error ... HealthState6Error HealthState6 = "Error" // HealthState6Invalid ... HealthState6Invalid HealthState6 = "Invalid" // HealthState6Ok ... HealthState6Ok HealthState6 = "Ok" // HealthState6Unknown ... HealthState6Unknown HealthState6 = "Unknown" // HealthState6Warning ... HealthState6Warning HealthState6 = "Warning" )
func PossibleHealthState6Values ¶
func PossibleHealthState6Values() []HealthState6
PossibleHealthState6Values returns an array of possible values for the HealthState6 const type.
type HealthState7 ¶
type HealthState7 string
HealthState7 enumerates the values for health state 7.
const ( // HealthState7Error ... HealthState7Error HealthState7 = "Error" // HealthState7Invalid ... HealthState7Invalid HealthState7 = "Invalid" // HealthState7Ok ... HealthState7Ok HealthState7 = "Ok" // HealthState7Unknown ... HealthState7Unknown HealthState7 = "Unknown" // HealthState7Warning ... HealthState7Warning HealthState7 = "Warning" )
func PossibleHealthState7Values ¶
func PossibleHealthState7Values() []HealthState7
PossibleHealthState7Values returns an array of possible values for the HealthState7 const type.
type 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 ... HostIsolationModeHyperV HostIsolationMode = "HyperV" // HostIsolationModeNone ... HostIsolationModeNone HostIsolationMode = "None" // HostIsolationModeProcess ... HostIsolationModeProcess HostIsolationMode = "Process" )
func PossibleHostIsolationModeValues ¶
func PossibleHostIsolationModeValues() []HostIsolationMode
PossibleHostIsolationModeValues returns an array of possible values for the HostIsolationMode const type.
type HostType ¶
type HostType string
HostType enumerates the values for host type.
func PossibleHostTypeValues ¶
func PossibleHostTypeValues() []HostType
PossibleHostTypeValues returns an array of possible values for the HostType const type.
type ImageStoreContent ¶
type ImageStoreContent struct { autorest.Response `json:"-"` // StoreFiles - The list of image store file info objects represents files found under the given image store relative path. StoreFiles *[]FileInfo `json:"StoreFiles,omitempty"` // StoreFolders - The list of image store folder info objectes represents subfolders found under the given image store relative path. StoreFolders *[]FolderInfo `json:"StoreFolders,omitempty"` }
ImageStoreContent information about the image store content.
type ImageStoreCopyDescription ¶
type ImageStoreCopyDescription struct { // RemoteSource - The relative path of source image store content to be copied from. RemoteSource *string `json:"RemoteSource,omitempty"` // RemoteDestination - The relative path of destination image store content to be copied to. RemoteDestination *string `json:"RemoteDestination,omitempty"` // SkipFiles - The list of the file names to be skipped for copying. SkipFiles *[]string `json:"SkipFiles,omitempty"` // CheckMarkFile - Indicates whether to check mark file during copying. The property is true if checking mark file is required, false otherwise. The mark file is used to check whether the folder is well constructed. If the property is true and mark file does not exist, the copy is skipped. CheckMarkFile *bool `json:"CheckMarkFile,omitempty"` }
ImageStoreCopyDescription information about how to copy image store content from one image store relative path to another image store relative path.
type 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" )
func PossibleImpactLevelValues ¶
func PossibleImpactLevelValues() []ImpactLevel
PossibleImpactLevelValues returns an array of possible values for the ImpactLevel const type.
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 *uuid.UUID `json:"Id,omitempty"` // ServicePartitionKind - Possible values include: 'ServicePartitionKindPartitionInformation', 'ServicePartitionKindInt64Range', 'ServicePartitionKindNamed', 'ServicePartitionKindSingleton' ServicePartitionKind ServicePartitionKind `json:"ServicePartitionKind,omitempty"` }
Int64RangePartitionInformation describes the partition information for the integer range that is based on partition schemes.
func (Int64RangePartitionInformation) AsBasicPartitionInformation ¶
func (i6rpi Int64RangePartitionInformation) AsBasicPartitionInformation() (BasicPartitionInformation, bool)
AsBasicPartitionInformation is the BasicPartitionInformation implementation for Int64RangePartitionInformation.
func (Int64RangePartitionInformation) AsInt64RangePartitionInformation ¶
func (i6rpi Int64RangePartitionInformation) AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)
AsInt64RangePartitionInformation is the BasicPartitionInformation implementation for Int64RangePartitionInformation.
func (Int64RangePartitionInformation) AsNamedPartitionInformation ¶
func (i6rpi Int64RangePartitionInformation) AsNamedPartitionInformation() (*NamedPartitionInformation, bool)
AsNamedPartitionInformation is the BasicPartitionInformation implementation for Int64RangePartitionInformation.
func (Int64RangePartitionInformation) AsPartitionInformation ¶
func (i6rpi Int64RangePartitionInformation) AsPartitionInformation() (*PartitionInformation, bool)
AsPartitionInformation is the BasicPartitionInformation implementation for Int64RangePartitionInformation.
func (Int64RangePartitionInformation) AsSingletonPartitionInformation ¶
func (i6rpi Int64RangePartitionInformation) AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)
AsSingletonPartitionInformation is the BasicPartitionInformation implementation for Int64RangePartitionInformation.
func (Int64RangePartitionInformation) MarshalJSON ¶
func (i6rpi Int64RangePartitionInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Int64RangePartitionInformation.
type InvokeDataLossResult ¶
type InvokeDataLossResult struct { // ErrorCode - If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason. ErrorCode *int32 `json:"ErrorCode,omitempty"` SelectedPartition *SelectedPartition `json:"SelectedPartition,omitempty"` }
InvokeDataLossResult represents information about an operation in a terminal state (Completed or Faulted).
type InvokeQuorumLossResult ¶
type InvokeQuorumLossResult struct { // ErrorCode - If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason. ErrorCode *int32 `json:"ErrorCode,omitempty"` SelectedPartition *SelectedPartition `json:"SelectedPartition,omitempty"` }
InvokeQuorumLossResult represents information about an operation in a terminal state (Completed or Faulted).
type KeyValueStoreReplicaStatus ¶
type KeyValueStoreReplicaStatus struct { // DatabaseRowCountEstimate - Value indicating the estimated number of rows in the underlying database. DatabaseRowCountEstimate *string `json:"DatabaseRowCountEstimate,omitempty"` // DatabaseLogicalSizeEstimate - Value indicating the estimated size of the underlying database. DatabaseLogicalSizeEstimate *string `json:"DatabaseLogicalSizeEstimate,omitempty"` // CopyNotificationCurrentKeyFilter - Value indicating the latest key-prefix filter applied to enumeration during the callback. Null if there is no pending callback. CopyNotificationCurrentKeyFilter *string `json:"CopyNotificationCurrentKeyFilter,omitempty"` // CopyNotificationCurrentProgress - Value indicating the latest number of keys enumerated during the callback. 0 if there is no pending callback. CopyNotificationCurrentProgress *string `json:"CopyNotificationCurrentProgress,omitempty"` // StatusDetails - Value indicating the current status details of the replica. StatusDetails *string `json:"StatusDetails,omitempty"` // Kind - Possible values include: 'KindReplicaStatusBase', 'KindKeyValueStore' Kind KindBasicReplicaStatusBase `json:"Kind,omitempty"` }
KeyValueStoreReplicaStatus key value store related information for the replica.
func (KeyValueStoreReplicaStatus) AsBasicReplicaStatusBase ¶
func (kvsrs KeyValueStoreReplicaStatus) AsBasicReplicaStatusBase() (BasicReplicaStatusBase, bool)
AsBasicReplicaStatusBase is the BasicReplicaStatusBase implementation for KeyValueStoreReplicaStatus.
func (KeyValueStoreReplicaStatus) AsKeyValueStoreReplicaStatus ¶
func (kvsrs KeyValueStoreReplicaStatus) AsKeyValueStoreReplicaStatus() (*KeyValueStoreReplicaStatus, bool)
AsKeyValueStoreReplicaStatus is the BasicReplicaStatusBase implementation for KeyValueStoreReplicaStatus.
func (KeyValueStoreReplicaStatus) AsReplicaStatusBase ¶
func (kvsrs KeyValueStoreReplicaStatus) AsReplicaStatusBase() (*ReplicaStatusBase, bool)
AsReplicaStatusBase is the BasicReplicaStatusBase implementation for KeyValueStoreReplicaStatus.
func (KeyValueStoreReplicaStatus) MarshalJSON ¶
func (kvsrs KeyValueStoreReplicaStatus) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KeyValueStoreReplicaStatus.
type Kind ¶
type Kind string
Kind enumerates the values for kind.
func PossibleKindValues ¶
func PossibleKindValues() []Kind
PossibleKindValues returns an array of possible values for the Kind const type.
type KindBasicChaosEvent ¶
type KindBasicChaosEvent string
KindBasicChaosEvent enumerates the values for kind basic chaos event.
const ( // KindChaosEvent ... KindChaosEvent KindBasicChaosEvent = "ChaosEvent" // KindExecutingFaults ... KindExecutingFaults KindBasicChaosEvent = "ExecutingFaults" // KindStarted ... KindStarted KindBasicChaosEvent = "Started" // KindStopped ... KindStopped KindBasicChaosEvent = "Stopped" // KindTestError ... KindTestError KindBasicChaosEvent = "TestError" // KindValidationFailed ... KindValidationFailed KindBasicChaosEvent = "ValidationFailed" // KindWaiting ... KindWaiting KindBasicChaosEvent = "Waiting" )
func PossibleKindBasicChaosEventValues ¶
func PossibleKindBasicChaosEventValues() []KindBasicChaosEvent
PossibleKindBasicChaosEventValues returns an array of possible values for the KindBasicChaosEvent const type.
type KindBasicHealthEvaluation ¶
type KindBasicHealthEvaluation string
KindBasicHealthEvaluation enumerates the values for kind basic health evaluation.
const ( // KindApplication ... KindApplication KindBasicHealthEvaluation = "Application" // KindApplications ... KindApplications KindBasicHealthEvaluation = "Applications" // KindApplicationTypeApplications ... KindApplicationTypeApplications KindBasicHealthEvaluation = "ApplicationTypeApplications" // KindDeltaNodesCheck ... KindDeltaNodesCheck KindBasicHealthEvaluation = "DeltaNodesCheck" // KindDeployedApplication ... KindDeployedApplication KindBasicHealthEvaluation = "DeployedApplication" // KindDeployedApplications ... KindDeployedApplications KindBasicHealthEvaluation = "DeployedApplications" // KindDeployedServicePackage ... KindDeployedServicePackage KindBasicHealthEvaluation = "DeployedServicePackage" // KindDeployedServicePackages ... KindDeployedServicePackages KindBasicHealthEvaluation = "DeployedServicePackages" // KindEvent ... KindEvent KindBasicHealthEvaluation = "Event" // KindHealthEvaluation ... KindHealthEvaluation KindBasicHealthEvaluation = "HealthEvaluation" // KindNode ... KindNode KindBasicHealthEvaluation = "Node" // KindNodes ... KindNodes KindBasicHealthEvaluation = "Nodes" // KindPartition ... KindPartition KindBasicHealthEvaluation = "Partition" // KindPartitions ... KindPartitions KindBasicHealthEvaluation = "Partitions" // KindReplica ... KindReplica KindBasicHealthEvaluation = "Replica" // KindReplicas ... KindReplicas KindBasicHealthEvaluation = "Replicas" // KindService ... KindService KindBasicHealthEvaluation = "Service" // KindServices ... KindServices KindBasicHealthEvaluation = "Services" // KindSystemApplication ... KindSystemApplication KindBasicHealthEvaluation = "SystemApplication" // KindUpgradeDomainDeltaNodesCheck ... KindUpgradeDomainDeltaNodesCheck KindBasicHealthEvaluation = "UpgradeDomainDeltaNodesCheck" // KindUpgradeDomainNodes ... KindUpgradeDomainNodes KindBasicHealthEvaluation = "UpgradeDomainNodes" )
func PossibleKindBasicHealthEvaluationValues ¶
func PossibleKindBasicHealthEvaluationValues() []KindBasicHealthEvaluation
PossibleKindBasicHealthEvaluationValues returns an array of possible values for the KindBasicHealthEvaluation const type.
type 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" )
func PossibleKindBasicPropertyBatchInfoValues ¶
func PossibleKindBasicPropertyBatchInfoValues() []KindBasicPropertyBatchInfo
PossibleKindBasicPropertyBatchInfoValues returns an array of possible values for the KindBasicPropertyBatchInfo const type.
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" )
func PossibleKindBasicPropertyBatchOperationValues ¶
func PossibleKindBasicPropertyBatchOperationValues() []KindBasicPropertyBatchOperation
PossibleKindBasicPropertyBatchOperationValues returns an array of possible values for the KindBasicPropertyBatchOperation const type.
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" )
func PossibleKindBasicPropertyValueValues ¶
func PossibleKindBasicPropertyValueValues() []KindBasicPropertyValue
PossibleKindBasicPropertyValueValues returns an array of possible values for the KindBasicPropertyValue const type.
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" )
func PossibleKindBasicRepairImpactDescriptionBaseValues ¶
func PossibleKindBasicRepairImpactDescriptionBaseValues() []KindBasicRepairImpactDescriptionBase
PossibleKindBasicRepairImpactDescriptionBaseValues returns an array of possible values for the KindBasicRepairImpactDescriptionBase const type.
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" )
func PossibleKindBasicRepairTargetDescriptionBaseValues ¶
func PossibleKindBasicRepairTargetDescriptionBaseValues() []KindBasicRepairTargetDescriptionBase
PossibleKindBasicRepairTargetDescriptionBaseValues returns an array of possible values for the KindBasicRepairTargetDescriptionBase const type.
type KindBasicReplicaStatusBase ¶
type KindBasicReplicaStatusBase string
KindBasicReplicaStatusBase enumerates the values for kind basic replica status base.
const ( // KindKeyValueStore ... KindKeyValueStore KindBasicReplicaStatusBase = "KeyValueStore" // KindReplicaStatusBase ... KindReplicaStatusBase KindBasicReplicaStatusBase = "ReplicaStatusBase" )
func PossibleKindBasicReplicaStatusBaseValues ¶
func PossibleKindBasicReplicaStatusBaseValues() []KindBasicReplicaStatusBase
PossibleKindBasicReplicaStatusBaseValues returns an array of possible values for the KindBasicReplicaStatusBase const type.
type KindBasicReplicatorStatus ¶
type KindBasicReplicatorStatus string
KindBasicReplicatorStatus enumerates the values for kind basic replicator status.
const ( // KindActiveSecondary ... KindActiveSecondary KindBasicReplicatorStatus = "ActiveSecondary" // KindIdleSecondary ... KindIdleSecondary KindBasicReplicatorStatus = "IdleSecondary" // KindPrimary ... KindPrimary KindBasicReplicatorStatus = "Primary" // KindReplicatorStatus ... KindReplicatorStatus KindBasicReplicatorStatus = "ReplicatorStatus" // KindSecondaryReplicatorStatus ... KindSecondaryReplicatorStatus KindBasicReplicatorStatus = "SecondaryReplicatorStatus" )
func PossibleKindBasicReplicatorStatusValues ¶
func PossibleKindBasicReplicatorStatusValues() []KindBasicReplicatorStatus
PossibleKindBasicReplicatorStatusValues returns an array of possible values for the KindBasicReplicatorStatus const type.
type KindBasicSafetyCheck ¶
type KindBasicSafetyCheck string
KindBasicSafetyCheck enumerates the values for kind basic safety check.
const ( // KindEnsureAvailability ... KindEnsureAvailability KindBasicSafetyCheck = "EnsureAvailability" // KindEnsurePartitionQuorum ... KindEnsurePartitionQuorum KindBasicSafetyCheck = "EnsurePartitionQuorum" // KindEnsureSeedNodeQuorum ... KindEnsureSeedNodeQuorum KindBasicSafetyCheck = "EnsureSeedNodeQuorum" // KindPartitionSafetyCheck ... KindPartitionSafetyCheck KindBasicSafetyCheck = "PartitionSafetyCheck" // KindSafetyCheck ... KindSafetyCheck KindBasicSafetyCheck = "SafetyCheck" // KindWaitForInbuildReplica ... KindWaitForInbuildReplica KindBasicSafetyCheck = "WaitForInbuildReplica" // KindWaitForPrimaryPlacement ... KindWaitForPrimaryPlacement KindBasicSafetyCheck = "WaitForPrimaryPlacement" // KindWaitForPrimarySwap ... KindWaitForPrimarySwap KindBasicSafetyCheck = "WaitForPrimarySwap" // KindWaitForReconfiguration ... KindWaitForReconfiguration KindBasicSafetyCheck = "WaitForReconfiguration" )
func PossibleKindBasicSafetyCheckValues ¶
func PossibleKindBasicSafetyCheckValues() []KindBasicSafetyCheck
PossibleKindBasicSafetyCheckValues returns an array of possible values for the KindBasicSafetyCheck const type.
type KindBasicServiceTypeDescription ¶
type KindBasicServiceTypeDescription string
KindBasicServiceTypeDescription enumerates the values for kind basic service type description.
const ( // KindServiceTypeDescription ... KindServiceTypeDescription KindBasicServiceTypeDescription = "ServiceTypeDescription" // KindStateful ... KindStateful KindBasicServiceTypeDescription = "Stateful" // KindStateless1 ... KindStateless1 KindBasicServiceTypeDescription = "Stateless" )
func PossibleKindBasicServiceTypeDescriptionValues ¶
func PossibleKindBasicServiceTypeDescriptionValues() []KindBasicServiceTypeDescription
PossibleKindBasicServiceTypeDescriptionValues returns an array of possible values for the KindBasicServiceTypeDescription const type.
type ListDeployedApplicationInfo ¶
type ListDeployedApplicationInfo struct { autorest.Response `json:"-"` Value *[]DeployedApplicationInfo `json:"value,omitempty"` }
ListDeployedApplicationInfo ...
type ListDeployedCodePackageInfo ¶
type ListDeployedCodePackageInfo struct { autorest.Response `json:"-"` Value *[]DeployedCodePackageInfo `json:"value,omitempty"` }
ListDeployedCodePackageInfo ...
type ListDeployedServicePackageInfo ¶
type ListDeployedServicePackageInfo struct { autorest.Response `json:"-"` Value *[]DeployedServicePackageInfo `json:"value,omitempty"` }
ListDeployedServicePackageInfo ...
type ListDeployedServiceReplicaInfo ¶
type ListDeployedServiceReplicaInfo struct { autorest.Response `json:"-"` Value *[]BasicDeployedServiceReplicaInfo `json:"value,omitempty"` }
ListDeployedServiceReplicaInfo ...
func (*ListDeployedServiceReplicaInfo) UnmarshalJSON ¶
func (ldsri *ListDeployedServiceReplicaInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ListDeployedServiceReplicaInfo struct.
type ListDeployedServiceTypeInfo ¶
type ListDeployedServiceTypeInfo struct { autorest.Response `json:"-"` Value *[]DeployedServiceTypeInfo `json:"value,omitempty"` }
ListDeployedServiceTypeInfo ...
type ListFabricCodeVersionInfo ¶
type ListFabricCodeVersionInfo struct { autorest.Response `json:"-"` Value *[]FabricCodeVersionInfo `json:"value,omitempty"` }
ListFabricCodeVersionInfo ...
type ListFabricConfigVersionInfo ¶
type ListFabricConfigVersionInfo struct { autorest.Response `json:"-"` Value *[]FabricConfigVersionInfo `json:"value,omitempty"` }
ListFabricConfigVersionInfo ...
type ListOperationStatus ¶
type ListOperationStatus struct { autorest.Response `json:"-"` Value *[]OperationStatus `json:"value,omitempty"` }
ListOperationStatus ...
type 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 - Possible values include: 'FailureActionInvalid', 'FailureActionRollback', 'FailureActionManual' FailureAction FailureAction `json:"FailureAction,omitempty"` HealthCheckWaitDurationInMilliseconds *string `json:"HealthCheckWaitDurationInMilliseconds,omitempty"` HealthCheckStableDurationInMilliseconds *string `json:"HealthCheckStableDurationInMilliseconds,omitempty"` HealthCheckRetryTimeoutInMilliseconds *string `json:"HealthCheckRetryTimeoutInMilliseconds,omitempty"` UpgradeTimeoutInMilliseconds *string `json:"UpgradeTimeoutInMilliseconds,omitempty"` UpgradeDomainTimeoutInMilliseconds *string `json:"UpgradeDomainTimeoutInMilliseconds,omitempty"` }
MonitoringPolicyDescription describes the parameters for monitoring an upgrade in Monitored mode.
type NameDescription ¶
type NameDescription struct {
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 *uuid.UUID `json:"Id,omitempty"` // ServicePartitionKind - Possible values include: 'ServicePartitionKindPartitionInformation', 'ServicePartitionKindInt64Range', 'ServicePartitionKindNamed', 'ServicePartitionKindSingleton' ServicePartitionKind ServicePartitionKind `json:"ServicePartitionKind,omitempty"` }
NamedPartitionInformation describes the partition information for the name as a string that is based on partition schemes.
func (NamedPartitionInformation) AsBasicPartitionInformation ¶
func (npi NamedPartitionInformation) AsBasicPartitionInformation() (BasicPartitionInformation, bool)
AsBasicPartitionInformation is the BasicPartitionInformation implementation for NamedPartitionInformation.
func (NamedPartitionInformation) AsInt64RangePartitionInformation ¶
func (npi NamedPartitionInformation) AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)
AsInt64RangePartitionInformation is the BasicPartitionInformation implementation for NamedPartitionInformation.
func (NamedPartitionInformation) AsNamedPartitionInformation ¶
func (npi NamedPartitionInformation) AsNamedPartitionInformation() (*NamedPartitionInformation, bool)
AsNamedPartitionInformation is the BasicPartitionInformation implementation for NamedPartitionInformation.
func (NamedPartitionInformation) AsPartitionInformation ¶
func (npi NamedPartitionInformation) AsPartitionInformation() (*PartitionInformation, bool)
AsPartitionInformation is the BasicPartitionInformation implementation for NamedPartitionInformation.
func (NamedPartitionInformation) AsSingletonPartitionInformation ¶
func (npi NamedPartitionInformation) AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)
AsSingletonPartitionInformation is the BasicPartitionInformation implementation for NamedPartitionInformation.
func (NamedPartitionInformation) MarshalJSON ¶
func (npi NamedPartitionInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NamedPartitionInformation.
type NamedPartitionSchemeDescription ¶
type NamedPartitionSchemeDescription struct { // Count - The number of partitions. Count *int32 `json:"Count,omitempty"` // Names - Array of size specified by the ‘Count’ parameter, for the names of the partitions. Names *[]string `json:"Names,omitempty"` // PartitionScheme - Possible values include: 'PartitionSchemePartitionSchemeDescription', 'PartitionSchemeNamed', 'PartitionSchemeSingleton', 'PartitionSchemeUniformInt64Range' PartitionScheme PartitionScheme `json:"PartitionScheme,omitempty"` }
NamedPartitionSchemeDescription describes the named partition scheme of the service.
func (NamedPartitionSchemeDescription) AsBasicPartitionSchemeDescription ¶
func (npsd NamedPartitionSchemeDescription) AsBasicPartitionSchemeDescription() (BasicPartitionSchemeDescription, bool)
AsBasicPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for NamedPartitionSchemeDescription.
func (NamedPartitionSchemeDescription) AsNamedPartitionSchemeDescription ¶
func (npsd NamedPartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
AsNamedPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for NamedPartitionSchemeDescription.
func (NamedPartitionSchemeDescription) AsPartitionSchemeDescription ¶
func (npsd NamedPartitionSchemeDescription) AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)
AsPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for NamedPartitionSchemeDescription.
func (NamedPartitionSchemeDescription) AsSingletonPartitionSchemeDescription ¶
func (npsd NamedPartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
AsSingletonPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for NamedPartitionSchemeDescription.
func (NamedPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription ¶
func (npsd NamedPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
AsUniformInt64RangePartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for NamedPartitionSchemeDescription.
func (NamedPartitionSchemeDescription) MarshalJSON ¶
func (npsd NamedPartitionSchemeDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NamedPartitionSchemeDescription.
type NodeDeactivationInfo ¶
type NodeDeactivationInfo struct { // NodeDeactivationIntent - Possible values include: 'NodeDeactivationIntent1Invalid', 'NodeDeactivationIntent1Pause', 'NodeDeactivationIntent1Restart', 'NodeDeactivationIntent1RemoveData', 'NodeDeactivationIntent1RemoveNode' NodeDeactivationIntent NodeDeactivationIntent1 `json:"NodeDeactivationIntent,omitempty"` // NodeDeactivationStatus - Possible values include: 'NodeDeactivationStatusNone', 'NodeDeactivationStatusSafetyCheckInProgress', 'NodeDeactivationStatusSafetyCheckComplete', 'NodeDeactivationStatusCompleted' NodeDeactivationStatus NodeDeactivationStatus `json:"NodeDeactivationStatus,omitempty"` NodeDeactivationTask *[]NodeDeactivationTask `json:"NodeDeactivationTask,omitempty"` PendingSafetyChecks *[]SafetyCheckWrapper `json:"PendingSafetyChecks,omitempty"` }
NodeDeactivationInfo information about the node deactivation. This information is valid for a node that is undergoing deactivation or has already been deactivated.
type NodeDeactivationIntent ¶
type NodeDeactivationIntent string
NodeDeactivationIntent enumerates the values for node deactivation intent.
const ( // NodeDeactivationIntentInvalid ... NodeDeactivationIntentInvalid NodeDeactivationIntent = "Invalid" // NodeDeactivationIntentPause ... NodeDeactivationIntentPause NodeDeactivationIntent = "Pause" // NodeDeactivationIntentRemoveData ... NodeDeactivationIntentRemoveData NodeDeactivationIntent = "RemoveData" // NodeDeactivationIntentRemoveNode ... NodeDeactivationIntentRemoveNode NodeDeactivationIntent = "RemoveNode" // NodeDeactivationIntentRestart ... NodeDeactivationIntentRestart NodeDeactivationIntent = "Restart" )
func PossibleNodeDeactivationIntentValues ¶
func PossibleNodeDeactivationIntentValues() []NodeDeactivationIntent
PossibleNodeDeactivationIntentValues returns an array of possible values for the NodeDeactivationIntent const type.
type NodeDeactivationIntent1 ¶
type NodeDeactivationIntent1 string
NodeDeactivationIntent1 enumerates the values for node deactivation intent 1.
const ( // NodeDeactivationIntent1Invalid ... NodeDeactivationIntent1Invalid NodeDeactivationIntent1 = "Invalid" // NodeDeactivationIntent1Pause ... NodeDeactivationIntent1Pause NodeDeactivationIntent1 = "Pause" // NodeDeactivationIntent1RemoveData ... NodeDeactivationIntent1RemoveData NodeDeactivationIntent1 = "RemoveData" // NodeDeactivationIntent1RemoveNode ... NodeDeactivationIntent1RemoveNode NodeDeactivationIntent1 = "RemoveNode" // NodeDeactivationIntent1Restart ... NodeDeactivationIntent1Restart NodeDeactivationIntent1 = "Restart" )
func PossibleNodeDeactivationIntent1Values ¶
func PossibleNodeDeactivationIntent1Values() []NodeDeactivationIntent1
PossibleNodeDeactivationIntent1Values returns an array of possible values for the NodeDeactivationIntent1 const type.
type NodeDeactivationStatus ¶
type NodeDeactivationStatus string
NodeDeactivationStatus enumerates the values for node deactivation status.
const ( // NodeDeactivationStatusCompleted ... NodeDeactivationStatusCompleted NodeDeactivationStatus = "Completed" // NodeDeactivationStatusNone ... NodeDeactivationStatusNone NodeDeactivationStatus = "None" // NodeDeactivationStatusSafetyCheckComplete ... NodeDeactivationStatusSafetyCheckComplete NodeDeactivationStatus = "SafetyCheckComplete" // NodeDeactivationStatusSafetyCheckInProgress ... NodeDeactivationStatusSafetyCheckInProgress NodeDeactivationStatus = "SafetyCheckInProgress" )
func PossibleNodeDeactivationStatusValues ¶
func PossibleNodeDeactivationStatusValues() []NodeDeactivationStatus
PossibleNodeDeactivationStatusValues returns an array of possible values for the NodeDeactivationStatus const type.
type NodeDeactivationTask ¶
type NodeDeactivationTask struct { NodeDeactivationTaskID *NodeDeactivationTaskID `json:"NodeDeactivationTaskId,omitempty"` // NodeDeactivationIntent - Possible values include: 'NodeDeactivationIntentInvalid', 'NodeDeactivationIntentPause', 'NodeDeactivationIntentRestart', 'NodeDeactivationIntentRemoveData', 'NodeDeactivationIntentRemoveNode' NodeDeactivationIntent NodeDeactivationIntent `json:"NodeDeactivationIntent,omitempty"` }
NodeDeactivationTask the task representing the deactivation operation on the node.
type NodeDeactivationTaskID ¶
type NodeDeactivationTaskID struct { // ID - Value of the task id. ID *string `json:"Id,omitempty"` // NodeDeactivationTaskType - Possible values include: 'NodeDeactivationTaskTypeInvalid', 'NodeDeactivationTaskTypeInfrastructure', 'NodeDeactivationTaskTypeRepair', 'NodeDeactivationTaskTypeClient' NodeDeactivationTaskType NodeDeactivationTaskType `json:"NodeDeactivationTaskType,omitempty"` }
NodeDeactivationTaskID identity of the task related to deactivation operation on the node.
type NodeDeactivationTaskType ¶
type NodeDeactivationTaskType string
NodeDeactivationTaskType enumerates the values for node deactivation task type.
const ( // NodeDeactivationTaskTypeClient ... NodeDeactivationTaskTypeClient NodeDeactivationTaskType = "Client" // NodeDeactivationTaskTypeInfrastructure ... NodeDeactivationTaskTypeInfrastructure NodeDeactivationTaskType = "Infrastructure" // NodeDeactivationTaskTypeInvalid ... NodeDeactivationTaskTypeInvalid NodeDeactivationTaskType = "Invalid" // NodeDeactivationTaskTypeRepair ... NodeDeactivationTaskTypeRepair NodeDeactivationTaskType = "Repair" )
func PossibleNodeDeactivationTaskTypeValues ¶
func PossibleNodeDeactivationTaskTypeValues() []NodeDeactivationTaskType
PossibleNodeDeactivationTaskTypeValues returns an array of possible values for the NodeDeactivationTaskType const type.
type NodeHealth ¶
type NodeHealth struct { autorest.Response `json:"-"` Name *string `json:"Name,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown' AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"` // HealthEvents - The list of health events reported on the entity. HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` HealthStatistics *HealthStatistics `json:"HealthStatistics,omitempty"` }
NodeHealth information about the health of a Service Fabric node.
type NodeHealthEvaluation ¶
type NodeHealthEvaluation struct { NodeName *string `json:"NodeName,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
NodeHealthEvaluation represents health evaluation for a node, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.
func (NodeHealthEvaluation) AsApplicationHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsBasicHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsEventHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsNodeHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsNodesHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsPartitionHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsReplicaHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsReplicasHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsServiceHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsServicesHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (nhe NodeHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.
func (NodeHealthEvaluation) MarshalJSON ¶
func (nhe NodeHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NodeHealthEvaluation.
type NodeHealthState ¶
type NodeHealthState struct { Name *string `json:"Name,omitempty"` ID *NodeID `json:"Id,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown' AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"` }
NodeHealthState represents the health state of a node, which contains the node identifier and its aggregated health state.
type NodeHealthStateChunk ¶
type NodeHealthStateChunk struct { NodeName *string `json:"NodeName,omitempty"` // HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown' HealthState HealthState2 `json:"HealthState,omitempty"` }
NodeHealthStateChunk represents the health state chunk of a node, which contains the node name and its aggregated health state.
type NodeHealthStateChunkList ¶
type NodeHealthStateChunkList struct { // Items - The list of node health state chunks that respect the input filters in the chunk query. Items *[]NodeHealthStateChunk `json:"Items,omitempty"` // TotalCount - Total number of entity health state objects that match the specified filters from the cluster health chunk query description. TotalCount *int64 `json:"TotalCount,omitempty"` }
NodeHealthStateChunkList the list of node health state chunks in the cluster that respect the input filters in the chunk query. Returned by get cluster health state chunks query.
type NodeHealthStateFilter ¶
type NodeHealthStateFilter struct { // NodeNameFilter - Name of the node that matches the filter. The filter is applied only to the specified node, if it exists. // If the node doesn't exist, no node is returned in the cluster health chunk based on this filter. // If the node exists, it is included in the cluster health chunk if the health state matches the other filter properties. // If not specified, all nodes that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter. NodeNameFilter *string `json:"NodeNameFilter,omitempty"` // HealthStateFilter - The filter for the health state of the nodes. It allows selecting nodes if they match the desired health states. // The possible values are integer value of one of the following health states. Only nodes that match the filter are returned. All nodes are used to evaluate the cluster aggregated health state. // If not specified, default value is None, unless the node name is specified. If the filter has default value and node name is specified, the matching node is returned. // The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. // For example, if the provided value is 6, it matches nodes with HealthState value of OK (2) and Warning (4). // - Default - Default value. Matches any HealthState. The value is zero. // - None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. // - Ok - Filter that matches input with HealthState value Ok. The value is 2. // - Warning - Filter that matches input with HealthState value Warning. The value is 4. // - Error - Filter that matches input with HealthState value Error. The value is 8. // - All - Filter that matches input with any HealthState value. The value is 65535. HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"` }
NodeHealthStateFilter defines matching criteria to determine whether a node should be included in the returned cluster health chunk. One filter can match zero, one or multiple nodes, depending on its properties. Can be specified in the cluster health chunk query description.
type NodeID ¶
type NodeID struct { // ID - Value of the node Id. This is a 128 bit integer. ID *string `json:"Id,omitempty"` }
NodeID an internal ID used by Service Fabric to uniquely identify a node. Node Id is deterministically generated from node name.
type 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 *string `json:"Name,omitempty"` // IPAddressOrFQDN - The IP address or fully qualified domain name of the node. IPAddressOrFQDN *string `json:"IpAddressOrFQDN,omitempty"` // Type - The type of the node. Type *string `json:"Type,omitempty"` // CodeVersion - The version of Service Fabric binaries that the node is running. CodeVersion *string `json:"CodeVersion,omitempty"` // ConfigVersion - The version of Service Fabric cluster manifest that the node is using. ConfigVersion *string `json:"ConfigVersion,omitempty"` // NodeStatus - Possible values include: 'NodeStatusInvalid', 'NodeStatusUp', 'NodeStatusDown', 'NodeStatusEnabling', 'NodeStatusDisabling', 'NodeStatusDisabled', 'NodeStatusUnknown', 'NodeStatusRemoved' NodeStatus NodeStatus `json:"NodeStatus,omitempty"` // NodeUpTimeInSeconds - Time in seconds since the node has been in NodeStatus Up. Value ero indicates that the node is not Up. NodeUpTimeInSeconds *string `json:"NodeUpTimeInSeconds,omitempty"` // HealthState - Possible values include: 'HealthState4Invalid', 'HealthState4Ok', 'HealthState4Warning', 'HealthState4Error', 'HealthState4Unknown' HealthState HealthState4 `json:"HealthState,omitempty"` // IsSeedNode - Indicates if the node is a seed node or not. Returns true if the node is a seed node, otherwise false. A quorum of seed nodes are required for proper operation of Service Fabric cluster. IsSeedNode *bool `json:"IsSeedNode,omitempty"` // UpgradeDomain - The upgrade domain of the node. UpgradeDomain *string `json:"UpgradeDomain,omitempty"` // FaultDomain - The fault domain of the node. FaultDomain *string `json:"FaultDomain,omitempty"` ID *NodeID `json:"Id,omitempty"` // InstanceID - The id representing the node instance. While the Id of the node is deterministically generated from the node name and remains same across restarts, the InstanceId changes every time node restarts. InstanceID *string `json:"InstanceId,omitempty"` NodeDeactivationInfo *NodeDeactivationInfo `json:"NodeDeactivationInfo,omitempty"` // IsStopped - Indicates if the node is stopped by calling stop node API or not. Returns true if the node is stopped, otherwise false. IsStopped *bool `json:"IsStopped,omitempty"` // NodeDownTimeInSeconds - Time in seconds since the node has been in NodeStatus Down. Value zero indicates node is not NodeStatus Down. NodeDownTimeInSeconds *string `json:"NodeDownTimeInSeconds,omitempty"` // 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 *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 *string `json:"NodeName,omitempty"` // NodeInstanceID - The node instance id. NodeInstanceID *string `json:"NodeInstanceId,omitempty"` }
NodeResult contains information about a node that was targeted by a user-induced operation.
type NodeStatus ¶
type NodeStatus string
NodeStatus enumerates the values for node status.
const ( // NodeStatusDisabled ... NodeStatusDisabled NodeStatus = "Disabled" // NodeStatusDisabling ... NodeStatusDisabling NodeStatus = "Disabling" // NodeStatusDown ... NodeStatusDown NodeStatus = "Down" // NodeStatusEnabling ... NodeStatusEnabling NodeStatus = "Enabling" // NodeStatusInvalid ... NodeStatusInvalid NodeStatus = "Invalid" // NodeStatusRemoved ... NodeStatusRemoved NodeStatus = "Removed" // NodeStatusUnknown ... NodeStatusUnknown NodeStatus = "Unknown" // NodeStatusUp ... NodeStatusUp NodeStatus = "Up" )
func PossibleNodeStatusValues ¶
func PossibleNodeStatusValues() []NodeStatus
PossibleNodeStatusValues returns an array of possible values for the NodeStatus const type.
type NodeTransitionProgress ¶
type NodeTransitionProgress struct { autorest.Response `json:"-"` // State - Possible values include: 'State1Invalid', 'State1Running', 'State1RollingBack', 'State1Completed', 'State1Faulted', 'State1Cancelled', 'State1ForceCancelled' State State1 `json:"State,omitempty"` NodeTransitionResult *NodeTransitionResult `json:"NodeTransitionResult,omitempty"` }
NodeTransitionProgress information about an NodeTransition operation. This class contains an OperationState and a NodeTransitionResult. The NodeTransitionResult is not valid until OperationState is Completed or Faulted.
type NodeTransitionResult ¶
type NodeTransitionResult struct { // ErrorCode - If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason. ErrorCode *int32 `json:"ErrorCode,omitempty"` NodeResult *NodeResult `json:"NodeResult,omitempty"` }
NodeTransitionResult represents information about an operation in a terminal state (Completed or Faulted).
type NodeUpgradeProgressInfo ¶
type NodeUpgradeProgressInfo struct { NodeName *string `json:"NodeName,omitempty"` // UpgradePhase - Possible values include: 'UpgradePhaseInvalid', 'UpgradePhasePreUpgradeSafetyCheck', 'UpgradePhaseUpgrading', 'UpgradePhasePostUpgradeSafetyCheck' UpgradePhase UpgradePhase `json:"UpgradePhase,omitempty"` PendingSafetyChecks *[]SafetyCheckWrapper `json:"PendingSafetyChecks,omitempty"` }
NodeUpgradeProgressInfo information about the upgrading node and its status
type NodesHealthEvaluation ¶
type NodesHealthEvaluation struct { // MaxPercentUnhealthyNodes - Maximum allowed percentage of unhealthy nodes from the ClusterHealthPolicy. MaxPercentUnhealthyNodes *int32 `json:"MaxPercentUnhealthyNodes,omitempty"` // TotalCount - Total number of nodes found in the health store. TotalCount *int64 `json:"TotalCount,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
NodesHealthEvaluation represents health evaluation for nodes, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned when evaluating cluster health and the aggregated health state is either Error or Warning.
func (NodesHealthEvaluation) AsApplicationHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsBasicHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsEventHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsNodeHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsNodesHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsPartitionHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsReplicaHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsReplicasHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsServiceHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsServicesHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (nhe NodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.
func (NodesHealthEvaluation) MarshalJSON ¶
func (nhe NodesHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for NodesHealthEvaluation.
type OperationStatus ¶
type OperationStatus struct { OperationID *uuid.UUID `json:"OperationId,omitempty"` // State - Possible values include: 'State2Invalid', 'State2Running', 'State2RollingBack', 'State2Completed', 'State2Faulted', 'State2Cancelled', 'State2ForceCancelled' State State2 `json:"State,omitempty"` // Type - Possible values include: 'TypeInvalid', 'TypePartitionDataLoss', 'TypePartitionQuorumLoss', 'TypePartitionRestart', 'TypeNodeTransition' Type Type `json:"Type,omitempty"` }
OperationStatus contains the OperationId, OperationState, and OperationType for user-induced operations.
type PackageSharingPolicyInfo ¶
type PackageSharingPolicyInfo struct { string `json:"SharedPackageName,omitempty"` // PackageSharingScope - Possible values include: 'PackageSharingScopeNone', 'PackageSharingScopeAll', 'PackageSharingScopeCode', 'PackageSharingScopeConfig', 'PackageSharingScopeData' PackageSharingScope PackageSharingScope `json:"PackageSharingScope,omitempty"` }SharedPackageName *
PackageSharingPolicyInfo represents a policy for the package sharing.
type PackageSharingScope ¶
type PackageSharingScope string
PackageSharingScope enumerates the values for package sharing scope.
const ( // PackageSharingScopeAll ... PackageSharingScopeAll PackageSharingScope = "All" // PackageSharingScopeCode ... PackageSharingScopeCode PackageSharingScope = "Code" // PackageSharingScopeConfig ... PackageSharingScopeConfig PackageSharingScope = "Config" // PackageSharingScopeData ... PackageSharingScopeData PackageSharingScope = "Data" // PackageSharingScopeNone ... PackageSharingScopeNone PackageSharingScope = "None" )
func PossiblePackageSharingScopeValues ¶
func PossiblePackageSharingScopeValues() []PackageSharingScope
PossiblePackageSharingScopeValues returns an array of possible values for the PackageSharingScope const type.
type PagedApplicationInfoList ¶
type PagedApplicationInfoList struct { autorest.Response `json:"-"` ContinuationToken *string `json:"ContinuationToken,omitempty"` Items *[]ApplicationInfo `json:"Items,omitempty"` }
PagedApplicationInfoList the list of applications in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.
type PagedApplicationTypeInfoList ¶
type PagedApplicationTypeInfoList struct { autorest.Response `json:"-"` ContinuationToken *string `json:"ContinuationToken,omitempty"` Items *[]ApplicationTypeInfo `json:"Items,omitempty"` }
PagedApplicationTypeInfoList the list of application types that are provisioned or being provisioned in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.
type PagedComposeDeploymentStatusInfoList ¶
type PagedComposeDeploymentStatusInfoList struct { autorest.Response `json:"-"` ContinuationToken *string `json:"ContinuationToken,omitempty"` 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 PagedNodeInfoList ¶
type PagedNodeInfoList struct { autorest.Response `json:"-"` ContinuationToken *string `json:"ContinuationToken,omitempty"` Items *[]NodeInfo `json:"Items,omitempty"` }
PagedNodeInfoList the list of nodes in the cluster. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.
type PagedPropertyInfoList ¶
type PagedPropertyInfoList struct { autorest.Response `json:"-"` 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 *[]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 *string `json:"ContinuationToken,omitempty"` Items *[]BasicReplicaInfo `json:"Items,omitempty"` }
PagedReplicaInfoList the list of replicas in the cluster for a given partition. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.
func (*PagedReplicaInfoList) UnmarshalJSON ¶
func (pril *PagedReplicaInfoList) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PagedReplicaInfoList struct.
type PagedServiceInfoList ¶
type PagedServiceInfoList struct { autorest.Response `json:"-"` ContinuationToken *string `json:"ContinuationToken,omitempty"` Items *[]BasicServiceInfo `json:"Items,omitempty"` }
PagedServiceInfoList the list of services in the cluster for an application. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.
func (*PagedServiceInfoList) UnmarshalJSON ¶
func (psil *PagedServiceInfoList) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PagedServiceInfoList struct.
type PagedServicePartitionInfoList ¶
type PagedServicePartitionInfoList struct { autorest.Response `json:"-"` ContinuationToken *string `json:"ContinuationToken,omitempty"` Items *[]BasicServicePartitionInfo `json:"Items,omitempty"` }
PagedServicePartitionInfoList the list of partition in the cluster for a service. The list is paged when all of the results cannot fit in a single message. The next set of results can be obtained by executing the same query with the continuation token provided in this list.
func (*PagedServicePartitionInfoList) UnmarshalJSON ¶
func (pspil *PagedServicePartitionInfoList) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for PagedServicePartitionInfoList struct.
type PagedSubNameInfoList ¶
type PagedSubNameInfoList struct { autorest.Response `json:"-"` 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 *[]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 PartitionDataLossProgress ¶
type PartitionDataLossProgress struct { autorest.Response `json:"-"` // State - Possible values include: 'State3Invalid', 'State3Running', 'State3RollingBack', 'State3Completed', 'State3Faulted', 'State3Cancelled', 'State3ForceCancelled' State State3 `json:"State,omitempty"` InvokeDataLossResult *InvokeDataLossResult `json:"InvokeDataLossResult,omitempty"` }
PartitionDataLossProgress information about a partition data loss user-induced operation.
type PartitionHealth ¶
type PartitionHealth struct { autorest.Response `json:"-"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // ReplicaHealthStates - The list of replica health states associated with the partition. ReplicaHealthStates *[]BasicReplicaHealthState `json:"ReplicaHealthStates,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown' AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"` // HealthEvents - The list of health events reported on the entity. HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` 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 *uuid.UUID `json:"PartitionId,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
PartitionHealthEvaluation represents health evaluation for a partition, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.
func (PartitionHealthEvaluation) AsApplicationHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsBasicHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsEventHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsNodeHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsNodesHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsPartitionHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsReplicaHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsReplicasHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsServiceHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsServicesHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (phe PartitionHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.
func (PartitionHealthEvaluation) MarshalJSON ¶
func (phe PartitionHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PartitionHealthEvaluation.
type PartitionHealthState ¶
type PartitionHealthState struct { PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown' AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"` }
PartitionHealthState represents the health state of a partition, which contains the partition identifier and its aggregated health state.
type PartitionHealthStateChunk ¶
type PartitionHealthStateChunk struct { PartitionID *uuid.UUID `json:"PartitionId,omitempty"` ReplicaHealthStateChunks *ReplicaHealthStateChunkList `json:"ReplicaHealthStateChunks,omitempty"` // HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown' HealthState HealthState2 `json:"HealthState,omitempty"` }
PartitionHealthStateChunk represents the health state chunk of a partition, which contains the partition id, its aggregated health state and any replicas that respect the filters in the cluster health chunk query description.
type PartitionHealthStateChunkList ¶
type PartitionHealthStateChunkList struct { // Items - The list of partition health state chunks that respect the input filters in the chunk query. Items *[]PartitionHealthStateChunk `json:"Items,omitempty"` }
PartitionHealthStateChunkList the list of partition health state chunks that respect the input filters in the chunk query description. Returned by get cluster health state chunks query as part of the parent application hierarchy.
type PartitionHealthStateFilter ¶
type PartitionHealthStateFilter struct { // PartitionIDFilter - ID of the partition that matches the filter. The filter is applied only to the specified partition, if it exists. // If the partition doesn't exist, no partition is returned in the cluster health chunk based on this filter. // If the partition exists, it is included in the cluster health chunk if it respects the other filter properties. // If not specified, all partitions that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter. PartitionIDFilter *uuid.UUID `json:"PartitionIdFilter,omitempty"` // HealthStateFilter - The filter for the health state of the partitions. It allows selecting partitions if they match the desired health states. // The possible values are integer value of one of the following health states. Only partitions that match the filter are returned. All partitions are used to evaluate the cluster aggregated health state. // If not specified, default value is None, unless the partition id is specified. If the filter has default value and partition id is specified, the matching partition is returned. // The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. // For example, if the provided value is 6, it matches partitions with HealthState value of OK (2) and Warning (4). // - Default - Default value. Matches any HealthState. The value is zero. // - None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. // - Ok - Filter that matches input with HealthState value Ok. The value is 2. // - Warning - Filter that matches input with HealthState value Warning. The value is 4. // - Error - Filter that matches input with HealthState value Error. The value is 8. // - All - Filter that matches input with any HealthState value. The value is 65535. HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"` // ReplicaFilters - Defines a list of filters that specify which replicas to be included in the returned cluster health chunk as children of the parent partition. The replicas are returned only if the parent partition matches a filter. // If the list is empty, no replicas are returned. All the replicas are used to evaluate the parent partition aggregated health state, regardless of the input filters. // The partition filter may specify multiple replica filters. // For example, it can specify a filter to return all replicas with health state Error and another filter to always include a replica identified by its replica id. ReplicaFilters *[]ReplicaHealthStateFilter `json:"ReplicaFilters,omitempty"` }
PartitionHealthStateFilter defines matching criteria to determine whether a partition should be included as a child of a service in the cluster health chunk. The partitions are only returned if the parent entities match a filter specified in the cluster health chunk query description. The parent service and application must be included in the cluster health chunk. One filter can match zero, one or multiple partitions, depending on its properties.
type PartitionInformation ¶
type PartitionInformation struct { ID *uuid.UUID `json:"Id,omitempty"` // ServicePartitionKind - Possible values include: 'ServicePartitionKindPartitionInformation', 'ServicePartitionKindInt64Range', 'ServicePartitionKindNamed', 'ServicePartitionKindSingleton' ServicePartitionKind ServicePartitionKind `json:"ServicePartitionKind,omitempty"` }
PartitionInformation information about the partition identity, partitioning scheme and keys supported by it.
func (PartitionInformation) AsBasicPartitionInformation ¶
func (pi PartitionInformation) AsBasicPartitionInformation() (BasicPartitionInformation, bool)
AsBasicPartitionInformation is the BasicPartitionInformation implementation for PartitionInformation.
func (PartitionInformation) AsInt64RangePartitionInformation ¶
func (pi PartitionInformation) AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)
AsInt64RangePartitionInformation is the BasicPartitionInformation implementation for PartitionInformation.
func (PartitionInformation) AsNamedPartitionInformation ¶
func (pi PartitionInformation) AsNamedPartitionInformation() (*NamedPartitionInformation, bool)
AsNamedPartitionInformation is the BasicPartitionInformation implementation for PartitionInformation.
func (PartitionInformation) AsPartitionInformation ¶
func (pi PartitionInformation) AsPartitionInformation() (*PartitionInformation, bool)
AsPartitionInformation is the BasicPartitionInformation implementation for PartitionInformation.
func (PartitionInformation) AsSingletonPartitionInformation ¶
func (pi PartitionInformation) AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)
AsSingletonPartitionInformation is the BasicPartitionInformation implementation for PartitionInformation.
func (PartitionInformation) MarshalJSON ¶
func (pi PartitionInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PartitionInformation.
type PartitionLoadInformation ¶
type PartitionLoadInformation struct { autorest.Response `json:"-"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // PrimaryLoadMetricReports - Array of load reports from the primary replica for this partition. PrimaryLoadMetricReports *[]LoadMetricReport `json:"PrimaryLoadMetricReports,omitempty"` // SecondaryLoadMetricReports - Array of aggregated load reports from all secondary replicas for this partition. // Array only contains the latest reported load for each metric. SecondaryLoadMetricReports *[]LoadMetricReport `json:"SecondaryLoadMetricReports,omitempty"` }
PartitionLoadInformation represents load information for a partition, which contains the primary and secondary reported load metrics. In case there is no load reported, PartitionLoadInformation will contain the default load for the service of the partition. For default loads, LoadMetricReport's LastReportedUtc is set to 0.
type PartitionQuorumLossProgress ¶
type PartitionQuorumLossProgress struct { autorest.Response `json:"-"` // State - Possible values include: 'State4Invalid', 'State4Running', 'State4RollingBack', 'State4Completed', 'State4Faulted', 'State4Cancelled', 'State4ForceCancelled' State State4 `json:"State,omitempty"` InvokeQuorumLossResult *InvokeQuorumLossResult `json:"InvokeQuorumLossResult,omitempty"` }
PartitionQuorumLossProgress information about a partition quorum loss user-induced operation.
type PartitionRestartProgress ¶
type PartitionRestartProgress struct { autorest.Response `json:"-"` // State - Possible values include: 'State5Invalid', 'State5Running', 'State5RollingBack', 'State5Completed', 'State5Faulted', 'State5Cancelled', 'State5ForceCancelled' State State5 `json:"State,omitempty"` RestartPartitionResult *RestartPartitionResult `json:"RestartPartitionResult,omitempty"` }
PartitionRestartProgress information about a partition restart user-induced operation.
type PartitionSafetyCheck ¶
type PartitionSafetyCheck struct { PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration' Kind KindBasicSafetyCheck `json:"Kind,omitempty"` }
PartitionSafetyCheck represents a safety check for the service partition being performed by service fabric before continuing with operations.
func (PartitionSafetyCheck) AsBasicPartitionSafetyCheck ¶
func (psc PartitionSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.
func (PartitionSafetyCheck) AsBasicSafetyCheck ¶
func (psc PartitionSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
AsBasicSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.
func (PartitionSafetyCheck) AsEnsureAvailabilitySafetyCheck ¶
func (psc PartitionSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.
func (PartitionSafetyCheck) AsEnsurePartitionQurumSafetyCheck ¶
func (psc PartitionSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.
func (PartitionSafetyCheck) AsPartitionSafetyCheck ¶
func (psc PartitionSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
AsPartitionSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.
func (PartitionSafetyCheck) AsSafetyCheck ¶
func (psc PartitionSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
AsSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.
func (PartitionSafetyCheck) AsSeedNodeSafetyCheck ¶
func (psc PartitionSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.
func (PartitionSafetyCheck) AsWaitForInbuildReplicaSafetyCheck ¶
func (psc PartitionSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.
func (PartitionSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck ¶
func (psc PartitionSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.
func (PartitionSafetyCheck) AsWaitForPrimarySwapSafetyCheck ¶
func (psc PartitionSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.
func (PartitionSafetyCheck) AsWaitForReconfigurationSafetyCheck ¶
func (psc PartitionSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for PartitionSafetyCheck.
func (PartitionSafetyCheck) MarshalJSON ¶
func (psc PartitionSafetyCheck) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PartitionSafetyCheck.
type PartitionScheme ¶
type PartitionScheme string
PartitionScheme enumerates the values for partition scheme.
const ( // PartitionSchemeNamed ... PartitionSchemeNamed PartitionScheme = "Named" // PartitionSchemePartitionSchemeDescription ... PartitionSchemePartitionSchemeDescription PartitionScheme = "PartitionSchemeDescription" // PartitionSchemeSingleton ... PartitionSchemeSingleton PartitionScheme = "Singleton" // PartitionSchemeUniformInt64Range ... PartitionSchemeUniformInt64Range PartitionScheme = "UniformInt64Range" )
func PossiblePartitionSchemeValues ¶
func PossiblePartitionSchemeValues() []PartitionScheme
PossiblePartitionSchemeValues returns an array of possible values for the PartitionScheme const type.
type PartitionSchemeDescription ¶
type PartitionSchemeDescription struct { // PartitionScheme - Possible values include: 'PartitionSchemePartitionSchemeDescription', 'PartitionSchemeNamed', 'PartitionSchemeSingleton', 'PartitionSchemeUniformInt64Range' PartitionScheme PartitionScheme `json:"PartitionScheme,omitempty"` }
PartitionSchemeDescription describes how the service is partitioned.
func (PartitionSchemeDescription) AsBasicPartitionSchemeDescription ¶
func (psd PartitionSchemeDescription) AsBasicPartitionSchemeDescription() (BasicPartitionSchemeDescription, bool)
AsBasicPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for PartitionSchemeDescription.
func (PartitionSchemeDescription) AsNamedPartitionSchemeDescription ¶
func (psd PartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
AsNamedPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for PartitionSchemeDescription.
func (PartitionSchemeDescription) AsPartitionSchemeDescription ¶
func (psd PartitionSchemeDescription) AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)
AsPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for PartitionSchemeDescription.
func (PartitionSchemeDescription) AsSingletonPartitionSchemeDescription ¶
func (psd PartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
AsSingletonPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for PartitionSchemeDescription.
func (PartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription ¶
func (psd PartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
AsUniformInt64RangePartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for PartitionSchemeDescription.
func (PartitionSchemeDescription) MarshalJSON ¶
func (psd PartitionSchemeDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PartitionSchemeDescription.
type PartitionStatus ¶
type PartitionStatus string
PartitionStatus enumerates the values for partition status.
const ( // PartitionStatusDeleting ... PartitionStatusDeleting PartitionStatus = "Deleting" // PartitionStatusInQuorumLoss ... PartitionStatusInQuorumLoss PartitionStatus = "InQuorumLoss" // PartitionStatusInvalid ... PartitionStatusInvalid PartitionStatus = "Invalid" // PartitionStatusNotReady ... PartitionStatusNotReady PartitionStatus = "NotReady" // PartitionStatusReady ... PartitionStatusReady PartitionStatus = "Ready" // PartitionStatusReconfiguring ... PartitionStatusReconfiguring PartitionStatus = "Reconfiguring" )
func PossiblePartitionStatusValues ¶
func PossiblePartitionStatusValues() []PartitionStatus
PossiblePartitionStatusValues returns an array of possible values for the PartitionStatus const type.
type PartitionsHealthEvaluation ¶
type PartitionsHealthEvaluation struct { // MaxPercentUnhealthyPartitionsPerService - Maximum allowed percentage of unhealthy partitions per service from the ServiceTypeHealthPolicy. MaxPercentUnhealthyPartitionsPerService *int32 `json:"MaxPercentUnhealthyPartitionsPerService,omitempty"` // TotalCount - Total number of partitions of the service from the health store. TotalCount *int64 `json:"TotalCount,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
PartitionsHealthEvaluation represents health evaluation for the partitions of a service, containing health evaluations for each unhealthy partition that impacts current aggregated health state. Can be returned when evaluating service health and the aggregated health state is either Error or Warning.
func (PartitionsHealthEvaluation) AsApplicationHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsBasicHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsEventHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsNodeHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsNodesHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsPartitionHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsReplicaHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsReplicasHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsServiceHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsServicesHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (phe PartitionsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.
func (PartitionsHealthEvaluation) MarshalJSON ¶
func (phe PartitionsHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PartitionsHealthEvaluation.
type PreparingHealthCheckState ¶
type PreparingHealthCheckState string
PreparingHealthCheckState enumerates the values for preparing health check state.
const ( // InProgress ... InProgress PreparingHealthCheckState = "InProgress" // NotStarted ... NotStarted PreparingHealthCheckState = "NotStarted" // Skipped ... Skipped PreparingHealthCheckState = "Skipped" // Succeeded ... Succeeded PreparingHealthCheckState = "Succeeded" // TimedOut ... TimedOut PreparingHealthCheckState = "TimedOut" )
func PossiblePreparingHealthCheckStateValues ¶
func PossiblePreparingHealthCheckStateValues() []PreparingHealthCheckState
PossiblePreparingHealthCheckStateValues returns an array of possible values for the PreparingHealthCheckState const type.
type PreviousConfigurationRole ¶
type PreviousConfigurationRole string
PreviousConfigurationRole enumerates the values for previous configuration role.
const ( // PreviousConfigurationRoleActiveSecondary ... PreviousConfigurationRoleActiveSecondary PreviousConfigurationRole = "ActiveSecondary" // PreviousConfigurationRoleIdleSecondary ... PreviousConfigurationRoleIdleSecondary PreviousConfigurationRole = "IdleSecondary" // PreviousConfigurationRoleNone ... PreviousConfigurationRoleNone PreviousConfigurationRole = "None" // PreviousConfigurationRolePrimary ... PreviousConfigurationRolePrimary PreviousConfigurationRole = "Primary" // PreviousConfigurationRoleUnknown ... PreviousConfigurationRoleUnknown PreviousConfigurationRole = "Unknown" )
func PossiblePreviousConfigurationRoleValues ¶
func PossiblePreviousConfigurationRoleValues() []PreviousConfigurationRole
PossiblePreviousConfigurationRoleValues returns an array of possible values for the PreviousConfigurationRole const type.
type PrimaryReplicatorStatus ¶
type PrimaryReplicatorStatus struct { ReplicationQueueStatus *ReplicatorQueueStatus `json:"ReplicationQueueStatus,omitempty"` RemoteReplicators *[]RemoteReplicatorStatus `json:"RemoteReplicators,omitempty"` // Kind - Possible values include: 'KindReplicatorStatus', 'KindPrimary', 'KindSecondaryReplicatorStatus', 'KindActiveSecondary', 'KindIdleSecondary' Kind KindBasicReplicatorStatus `json:"Kind,omitempty"` }
PrimaryReplicatorStatus ...
func (PrimaryReplicatorStatus) AsBasicReplicatorStatus ¶
func (prs PrimaryReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)
AsBasicReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.
func (PrimaryReplicatorStatus) AsBasicSecondaryReplicatorStatus ¶
func (prs PrimaryReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)
AsBasicSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.
func (PrimaryReplicatorStatus) AsPrimaryReplicatorStatus ¶
func (prs PrimaryReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)
AsPrimaryReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.
func (PrimaryReplicatorStatus) AsReplicatorStatus ¶
func (prs PrimaryReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)
AsReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.
func (PrimaryReplicatorStatus) AsSecondaryActiveReplicatorStatus ¶
func (prs PrimaryReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)
AsSecondaryActiveReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.
func (PrimaryReplicatorStatus) AsSecondaryIdleReplicatorStatus ¶
func (prs PrimaryReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)
AsSecondaryIdleReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.
func (PrimaryReplicatorStatus) AsSecondaryReplicatorStatus ¶
func (prs PrimaryReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)
AsSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for PrimaryReplicatorStatus.
func (PrimaryReplicatorStatus) MarshalJSON ¶
func (prs PrimaryReplicatorStatus) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PrimaryReplicatorStatus.
type 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 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 *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 PropertyDescription ¶
type PropertyDescription struct { PropertyName *string `json:"PropertyName,omitempty"` CustomTypeID *string `json:"CustomTypeId,omitempty"` 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 *string `json:"Name,omitempty"` Value BasicPropertyValue `json:"Value,omitempty"` 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 - Possible values include: 'TypeIDInvalid', 'TypeIDBinary', 'TypeIDInt64', 'TypeIDDouble', 'TypeIDString', 'TypeIDGUID' TypeID TypeID `json:"TypeId,omitempty"` CustomTypeID *string `json:"CustomTypeId,omitempty"` 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 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 BasicPropertyValue `json:"Value,omitempty"` CustomTypeID *string `json:"CustomTypeId,omitempty"` 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 ReadStatus ¶
type ReadStatus string
ReadStatus enumerates the values for read status.
const ( // ReadStatusGranted ... ReadStatusGranted ReadStatus = "Granted" // ReadStatusInvalid ... ReadStatusInvalid ReadStatus = "Invalid" // ReadStatusNotPrimary ... ReadStatusNotPrimary ReadStatus = "NotPrimary" // ReadStatusNoWriteQuorum ... ReadStatusNoWriteQuorum ReadStatus = "NoWriteQuorum" // ReadStatusReconfigurationPending ... ReadStatusReconfigurationPending ReadStatus = "ReconfigurationPending" )
func PossibleReadStatusValues ¶
func PossibleReadStatusValues() []ReadStatus
PossibleReadStatusValues returns an array of possible values for the ReadStatus const type.
type ReconfigurationInformation ¶
type ReconfigurationInformation struct { // PreviousConfigurationRole - Possible values include: 'PreviousConfigurationRoleUnknown', 'PreviousConfigurationRoleNone', 'PreviousConfigurationRolePrimary', 'PreviousConfigurationRoleIdleSecondary', 'PreviousConfigurationRoleActiveSecondary' PreviousConfigurationRole PreviousConfigurationRole `json:"PreviousConfigurationRole,omitempty"` // ReconfigurationPhase - Possible values include: 'ReconfigurationPhaseUnknown', 'ReconfigurationPhaseNone', 'ReconfigurationPhasePhase0', 'ReconfigurationPhasePhase1', 'ReconfigurationPhasePhase2', 'ReconfigurationPhasePhase3', 'ReconfigurationPhasePhase4', 'ReconfigurationPhaseAbortPhaseZero' ReconfigurationPhase ReconfigurationPhase `json:"ReconfigurationPhase,omitempty"` // ReconfigurationType - 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 ... ReconfigurationPhaseAbortPhaseZero ReconfigurationPhase = "AbortPhaseZero" // ReconfigurationPhaseNone ... ReconfigurationPhaseNone ReconfigurationPhase = "None" // ReconfigurationPhasePhase0 ... ReconfigurationPhasePhase0 ReconfigurationPhase = "Phase0" // ReconfigurationPhasePhase1 ... ReconfigurationPhasePhase1 ReconfigurationPhase = "Phase1" // ReconfigurationPhasePhase2 ... ReconfigurationPhasePhase2 ReconfigurationPhase = "Phase2" // ReconfigurationPhasePhase3 ... ReconfigurationPhasePhase3 ReconfigurationPhase = "Phase3" // ReconfigurationPhasePhase4 ... ReconfigurationPhasePhase4 ReconfigurationPhase = "Phase4" // ReconfigurationPhaseUnknown ... ReconfigurationPhaseUnknown ReconfigurationPhase = "Unknown" )
func PossibleReconfigurationPhaseValues ¶
func PossibleReconfigurationPhaseValues() []ReconfigurationPhase
PossibleReconfigurationPhaseValues returns an array of possible values for the ReconfigurationPhase const type.
type ReconfigurationType ¶
type ReconfigurationType string
ReconfigurationType enumerates the values for reconfiguration type.
const ( // ReconfigurationTypeFailover ... ReconfigurationTypeFailover ReconfigurationType = "Failover" // ReconfigurationTypeOther ... ReconfigurationTypeOther ReconfigurationType = "Other" // ReconfigurationTypeSwapPrimary ... ReconfigurationTypeSwapPrimary ReconfigurationType = "SwapPrimary" // ReconfigurationTypeUnknown ... ReconfigurationTypeUnknown ReconfigurationType = "Unknown" )
func PossibleReconfigurationTypeValues ¶
func PossibleReconfigurationTypeValues() []ReconfigurationType
PossibleReconfigurationTypeValues returns an array of possible values for the ReconfigurationType const type.
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 *RemoteReplicatorAcknowledgementDetail `json:"ReplicationStreamAcknowledgementDetail,omitempty"` 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 *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 *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 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 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. // - Invalid - Indicates that the repair task state is invalid. All Service Fabric enumerations have the invalid value. // - Created - Indicates that the repair task has been created. // - Claimed - Indicates that the repair task has been claimed by a repair executor. // - Preparing - Indicates that the Repair Manager is preparing the system to handle the impact of the repair task, usually by taking resources offline gracefully. // - Approved - Indicates that the repair task has been approved by the Repair Manager and is safe to execute. // - Executing - Indicates that execution of the repair task is in progress. // - Restoring - Indicates that the Repair Manager is restoring the system to its pre-repair state, usually by bringing resources back online. // - Completed - Indicates that the repair task has completed, and no further state changes will occur. // . Possible values include: 'State6Invalid', 'State6Created', 'State6Claimed', 'State6Preparing', 'State6Approved', 'State6Executing', 'State6Restoring', 'State6Completed' State State6 `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 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 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. // - Invalid - Indicates that the repair task result is invalid. All Service Fabric enumerations have the invalid value. // - Succeeded - Indicates that the repair task completed execution successfully. // - Cancelled - Indicates that the repair task was cancelled prior to execution. // - Interrupted - Indicates that execution of the repair task was interrupted by a cancellation request after some work had already been performed. // - Failed - Indicates that there was a failure during execution of the repair task. Some work may have been performed. // - Pending - Indicates that the repair task result is not yet available, because the repair task has not finished executing. // . 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 *RepairTaskHistory `json:"History,omitempty"` // PreparingHealthCheckState - Possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Skipped', 'TimedOut' PreparingHealthCheckState PreparingHealthCheckState `json:"PreparingHealthCheckState,omitempty"` // RestoringHealthCheckState - Possible values include: 'RestoringHealthCheckStateNotStarted', 'RestoringHealthCheckStateInProgress', 'RestoringHealthCheckStateSucceeded', 'RestoringHealthCheckStateSkipped', 'RestoringHealthCheckStateTimedOut' RestoringHealthCheckState RestoringHealthCheckState `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.</para> 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.</para> 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.</para> 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 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 *uuid.UUID `json:"PartitionId,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicReplicaHealthServiceKindReplicaHealth', 'ServiceKindBasicReplicaHealthServiceKindStateful', 'ServiceKindBasicReplicaHealthServiceKindStateless' ServiceKind ServiceKindBasicReplicaHealth `json:"ServiceKind,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown' AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"` // HealthEvents - The list of health events reported on the entity. HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` 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) AsBasicReplicaHealth ¶
func (rh ReplicaHealth) AsBasicReplicaHealth() (BasicReplicaHealth, bool)
AsBasicReplicaHealth is the BasicReplicaHealth implementation for ReplicaHealth.
func (ReplicaHealth) AsReplicaHealth ¶
func (rh ReplicaHealth) AsReplicaHealth() (*ReplicaHealth, bool)
AsReplicaHealth is the BasicReplicaHealth implementation for ReplicaHealth.
func (ReplicaHealth) AsStatefulServiceReplicaHealth ¶
func (rh ReplicaHealth) AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)
AsStatefulServiceReplicaHealth is the BasicReplicaHealth implementation for ReplicaHealth.
func (ReplicaHealth) AsStatelessServiceInstanceHealth ¶
func (rh ReplicaHealth) AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)
AsStatelessServiceInstanceHealth is the BasicReplicaHealth implementation for ReplicaHealth.
func (ReplicaHealth) MarshalJSON ¶
func (rh ReplicaHealth) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReplicaHealth.
type ReplicaHealthEvaluation ¶
type ReplicaHealthEvaluation struct { PartitionID *uuid.UUID `json:"PartitionId,omitempty"` ReplicaOrInstanceID *string `json:"ReplicaOrInstanceId,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
ReplicaHealthEvaluation represents health evaluation for a replica, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.
func (ReplicaHealthEvaluation) AsApplicationHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsBasicHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsEventHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsNodeHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsNodesHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsPartitionHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsReplicaHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsReplicasHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsServiceHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsServicesHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (rhe ReplicaHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.
func (ReplicaHealthEvaluation) MarshalJSON ¶
func (rhe ReplicaHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReplicaHealthEvaluation.
type ReplicaHealthModel ¶
type ReplicaHealthModel struct { autorest.Response `json:"-"` Value BasicReplicaHealth `json:"value,omitempty"` }
ReplicaHealthModel ...
func (*ReplicaHealthModel) UnmarshalJSON ¶
func (rhm *ReplicaHealthModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ReplicaHealthModel struct.
type ReplicaHealthState ¶
type ReplicaHealthState struct { PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState', 'ServiceKindBasicReplicaHealthStateServiceKindStateful', 'ServiceKindBasicReplicaHealthStateServiceKindStateless' ServiceKind ServiceKindBasicReplicaHealthState `json:"ServiceKind,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown' AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"` }
ReplicaHealthState represents a base class for stateful service replica or stateless service instance health state.
func (ReplicaHealthState) AsBasicReplicaHealthState ¶
func (RHS ReplicaHealthState) AsBasicReplicaHealthState() (BasicReplicaHealthState, bool)
AsBasicReplicaHealthState is the BasicReplicaHealthState implementation for ReplicaHealthState.
func (ReplicaHealthState) AsReplicaHealthState ¶
func (RHS ReplicaHealthState) AsReplicaHealthState() (*ReplicaHealthState, bool)
AsReplicaHealthState is the BasicReplicaHealthState implementation for ReplicaHealthState.
func (ReplicaHealthState) AsStatefulServiceReplicaHealthState ¶
func (RHS ReplicaHealthState) AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)
AsStatefulServiceReplicaHealthState is the BasicReplicaHealthState implementation for ReplicaHealthState.
func (ReplicaHealthState) AsStatelessServiceInstanceHealthState ¶
func (RHS ReplicaHealthState) AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)
AsStatelessServiceInstanceHealthState is the BasicReplicaHealthState implementation for ReplicaHealthState.
func (ReplicaHealthState) MarshalJSON ¶
func (RHS ReplicaHealthState) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReplicaHealthState.
type ReplicaHealthStateChunk ¶
type ReplicaHealthStateChunk struct { ReplicaOrInstanceID *string `json:"ReplicaOrInstanceId,omitempty"` // HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown' HealthState HealthState2 `json:"HealthState,omitempty"` }
ReplicaHealthStateChunk represents the health state chunk of a stateful service replica or a stateless service instance. The replica health state contains the replica ID and its aggregated health state.
type ReplicaHealthStateChunkList ¶
type ReplicaHealthStateChunkList struct { // Items - The list of replica health state chunks that respect the input filters in the chunk query. Items *[]ReplicaHealthStateChunk `json:"Items,omitempty"` }
ReplicaHealthStateChunkList the list of replica health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.
type ReplicaHealthStateFilter ¶
type ReplicaHealthStateFilter struct { // ReplicaOrInstanceIDFilter - Id of the stateful service replica or stateles service instance that matches the filter. The filter is applied only to the specified replica, if it exists. // If the replica doesn't exist, no replica is returned in the cluster health chunk based on this filter. // If the replica exists, it is included in the cluster health chunk if it respects the other filter properties. // If not specified, all replicas that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter. ReplicaOrInstanceIDFilter *string `json:"ReplicaOrInstanceIdFilter,omitempty"` // HealthStateFilter - The filter for the health state of the replicas. It allows selecting replicas if they match the desired health states. // The possible values are integer value of one of the following health states. Only replicas that match the filter are returned. All replicas are used to evaluate the parent partition aggregated health state. // If not specified, default value is None, unless the replica id is specified. If the filter has default value and replica id is specified, the matching replica is returned. // The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. // For example, if the provided value is 6, it matches replicas with HealthState value of OK (2) and Warning (4). // - Default - Default value. Matches any HealthState. The value is zero. // - None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. // - Ok - Filter that matches input with HealthState value Ok. The value is 2. // - Warning - Filter that matches input with HealthState value Warning. The value is 4. // - Error - Filter that matches input with HealthState value Error. The value is 8. // - All - Filter that matches input with any HealthState value. The value is 65535. HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"` }
ReplicaHealthStateFilter defines matching criteria to determine whether a replica should be included as a child of a partition in the cluster health chunk. The replicas are only returned if the parent entities match a filter specified in the cluster health chunk query description. The parent partition, service and application must be included in the cluster health chunk. One filter can match zero, one or multiple replicas, depending on its properties.
type ReplicaInfo ¶
type ReplicaInfo struct { autorest.Response `json:"-"` // ReplicaStatus - Possible values include: 'ReplicaStatus1Invalid', 'ReplicaStatus1InBuild', 'ReplicaStatus1Standby', 'ReplicaStatus1Ready', 'ReplicaStatus1Down', 'ReplicaStatus1Dropped' ReplicaStatus ReplicaStatus1 `json:"ReplicaStatus,omitempty"` // HealthState - Possible values include: 'HealthState6Invalid', 'HealthState6Ok', 'HealthState6Warning', 'HealthState6Error', 'HealthState6Unknown' HealthState HealthState6 `json:"HealthState,omitempty"` NodeName *string `json:"NodeName,omitempty"` // Address - The address the replica is listening on. Address *string `json:"Address,omitempty"` // LastInBuildDurationInSeconds - The last in build duration of the replica in seconds. LastInBuildDurationInSeconds *string `json:"LastInBuildDurationInSeconds,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicReplicaInfoServiceKindReplicaInfo', 'ServiceKindBasicReplicaInfoServiceKindStateful', 'ServiceKindBasicReplicaInfoServiceKindStateless' ServiceKind ServiceKindBasicReplicaInfo `json:"ServiceKind,omitempty"` }
ReplicaInfo information about the identity, status, health, node name, uptime, and other details about the replica.
func (ReplicaInfo) AsBasicReplicaInfo ¶
func (ri ReplicaInfo) AsBasicReplicaInfo() (BasicReplicaInfo, bool)
AsBasicReplicaInfo is the BasicReplicaInfo implementation for ReplicaInfo.
func (ReplicaInfo) AsReplicaInfo ¶
func (ri ReplicaInfo) AsReplicaInfo() (*ReplicaInfo, bool)
AsReplicaInfo is the BasicReplicaInfo implementation for ReplicaInfo.
func (ReplicaInfo) AsStatefulServiceReplicaInfo ¶
func (ri ReplicaInfo) AsStatefulServiceReplicaInfo() (*StatefulServiceReplicaInfo, bool)
AsStatefulServiceReplicaInfo is the BasicReplicaInfo implementation for ReplicaInfo.
func (ReplicaInfo) AsStatelessServiceInstanceInfo ¶
func (ri ReplicaInfo) AsStatelessServiceInstanceInfo() (*StatelessServiceInstanceInfo, bool)
AsStatelessServiceInstanceInfo is the BasicReplicaInfo implementation for ReplicaInfo.
func (ReplicaInfo) MarshalJSON ¶
func (ri ReplicaInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReplicaInfo.
type ReplicaInfoModel ¶
type ReplicaInfoModel struct { autorest.Response `json:"-"` Value BasicReplicaInfo `json:"value,omitempty"` }
ReplicaInfoModel ...
func (*ReplicaInfoModel) UnmarshalJSON ¶
func (rim *ReplicaInfoModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ReplicaInfoModel struct.
type ReplicaRole ¶
type ReplicaRole string
ReplicaRole enumerates the values for replica role.
const ( // ReplicaRoleActiveSecondary ... ReplicaRoleActiveSecondary ReplicaRole = "ActiveSecondary" // ReplicaRoleIdleSecondary ... ReplicaRoleIdleSecondary ReplicaRole = "IdleSecondary" // ReplicaRoleNone ... ReplicaRoleNone ReplicaRole = "None" // ReplicaRolePrimary ... ReplicaRolePrimary ReplicaRole = "Primary" // ReplicaRoleUnknown ... ReplicaRoleUnknown ReplicaRole = "Unknown" )
func PossibleReplicaRoleValues ¶
func PossibleReplicaRoleValues() []ReplicaRole
PossibleReplicaRoleValues returns an array of possible values for the ReplicaRole const type.
type ReplicaRole1 ¶
type ReplicaRole1 string
ReplicaRole1 enumerates the values for replica role 1.
const ( // ReplicaRole1ActiveSecondary ... ReplicaRole1ActiveSecondary ReplicaRole1 = "ActiveSecondary" // ReplicaRole1IdleSecondary ... ReplicaRole1IdleSecondary ReplicaRole1 = "IdleSecondary" // ReplicaRole1None ... ReplicaRole1None ReplicaRole1 = "None" // ReplicaRole1Primary ... ReplicaRole1Primary ReplicaRole1 = "Primary" // ReplicaRole1Unknown ... ReplicaRole1Unknown ReplicaRole1 = "Unknown" )
func PossibleReplicaRole1Values ¶
func PossibleReplicaRole1Values() []ReplicaRole1
PossibleReplicaRole1Values returns an array of possible values for the ReplicaRole1 const type.
type ReplicaStatus ¶
type ReplicaStatus string
ReplicaStatus enumerates the values for replica status.
const ( // ReplicaStatusDown ... ReplicaStatusDown ReplicaStatus = "Down" // ReplicaStatusDropped ... ReplicaStatusDropped ReplicaStatus = "Dropped" // ReplicaStatusInBuild ... ReplicaStatusInBuild ReplicaStatus = "InBuild" // ReplicaStatusInvalid ... ReplicaStatusInvalid ReplicaStatus = "Invalid" // ReplicaStatusReady ... ReplicaStatusReady ReplicaStatus = "Ready" // ReplicaStatusStandby ... ReplicaStatusStandby ReplicaStatus = "Standby" )
func PossibleReplicaStatusValues ¶
func PossibleReplicaStatusValues() []ReplicaStatus
PossibleReplicaStatusValues returns an array of possible values for the ReplicaStatus const type.
type ReplicaStatus1 ¶
type ReplicaStatus1 string
ReplicaStatus1 enumerates the values for replica status 1.
const ( // ReplicaStatus1Down ... ReplicaStatus1Down ReplicaStatus1 = "Down" // ReplicaStatus1Dropped ... ReplicaStatus1Dropped ReplicaStatus1 = "Dropped" // ReplicaStatus1InBuild ... ReplicaStatus1InBuild ReplicaStatus1 = "InBuild" // ReplicaStatus1Invalid ... ReplicaStatus1Invalid ReplicaStatus1 = "Invalid" // ReplicaStatus1Ready ... ReplicaStatus1Ready ReplicaStatus1 = "Ready" // ReplicaStatus1Standby ... ReplicaStatus1Standby ReplicaStatus1 = "Standby" )
func PossibleReplicaStatus1Values ¶
func PossibleReplicaStatus1Values() []ReplicaStatus1
PossibleReplicaStatus1Values returns an array of possible values for the ReplicaStatus1 const type.
type ReplicaStatusBase ¶
type ReplicaStatusBase struct { // Kind - Possible values include: 'KindReplicaStatusBase', 'KindKeyValueStore' Kind KindBasicReplicaStatusBase `json:"Kind,omitempty"` }
ReplicaStatusBase information about the replica.
func (ReplicaStatusBase) AsBasicReplicaStatusBase ¶
func (rsb ReplicaStatusBase) AsBasicReplicaStatusBase() (BasicReplicaStatusBase, bool)
AsBasicReplicaStatusBase is the BasicReplicaStatusBase implementation for ReplicaStatusBase.
func (ReplicaStatusBase) AsKeyValueStoreReplicaStatus ¶
func (rsb ReplicaStatusBase) AsKeyValueStoreReplicaStatus() (*KeyValueStoreReplicaStatus, bool)
AsKeyValueStoreReplicaStatus is the BasicReplicaStatusBase implementation for ReplicaStatusBase.
func (ReplicaStatusBase) AsReplicaStatusBase ¶
func (rsb ReplicaStatusBase) AsReplicaStatusBase() (*ReplicaStatusBase, bool)
AsReplicaStatusBase is the BasicReplicaStatusBase implementation for ReplicaStatusBase.
func (ReplicaStatusBase) MarshalJSON ¶
func (rsb ReplicaStatusBase) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReplicaStatusBase.
type ReplicasHealthEvaluation ¶
type ReplicasHealthEvaluation struct { // MaxPercentUnhealthyReplicasPerPartition - Maximum allowed percentage of unhealthy replicas per partition from the ApplicationHealthPolicy. MaxPercentUnhealthyReplicasPerPartition *int32 `json:"MaxPercentUnhealthyReplicasPerPartition,omitempty"` // TotalCount - Total number of replicas in the partition from the health store. TotalCount *int64 `json:"TotalCount,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
ReplicasHealthEvaluation represents health evaluation for replicas, containing health evaluations for each unhealthy replica that impacted current aggregated health state. Can be returned when evaluating partition health and the aggregated health state is either Error or Warning.
func (ReplicasHealthEvaluation) AsApplicationHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsBasicHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsEventHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsNodeHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsNodesHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsPartitionHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsReplicaHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsReplicasHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsServiceHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsServicesHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (rhe ReplicasHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.
func (ReplicasHealthEvaluation) MarshalJSON ¶
func (rhe ReplicasHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReplicasHealthEvaluation.
type ReplicatorQueueStatus ¶
type ReplicatorQueueStatus struct { // QueueUtilizationPercentage - Represents the utilization of the queue. A value of 0 indicates that the queue is empty and a value of 100 indicates the queue is full. QueueUtilizationPercentage *int32 `json:"QueueUtilizationPercentage,omitempty"` // QueueMemorySize - Represents the virtual memory consumed by the queue in bytes. QueueMemorySize *string `json:"QueueMemorySize,omitempty"` // FirstSequenceNumber - On a primary replicator, this is semantically the sequence number of the operation for which all the secondary replicas have sent an acknowledgement. // On a secondary replicator, this is the smallest sequence number of the operation that is present in the queue. FirstSequenceNumber *string `json:"FirstSequenceNumber,omitempty"` // CompletedSequenceNumber - On a primary replicator, this is semantically the highest sequence number of the operation for which all the secondary replicas have sent an acknowledgement. // On a secondary replicator, this is semantically the highest sequence number that has been applied to the persistent state. CompletedSequenceNumber *string `json:"CompletedSequenceNumber,omitempty"` // CommittedSequenceNumber - On a primary replicator, this is semantically the highest sequence number of the operation for which a write quorum of the secondary replicas have sent an acknowledgement. // On a secondary replicator, this is semantically the highest sequence number of the in-order operation received from the primary. CommittedSequenceNumber *string `json:"CommittedSequenceNumber,omitempty"` // LastSequenceNumber - Represents the latest sequence number of the operation that is available in the queue. LastSequenceNumber *string `json:"LastSequenceNumber,omitempty"` }
ReplicatorQueueStatus provides various statistics of the queue used in the service fabric replicator. Contains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc. Depending on the role of the replicator, the properties in this type imply different meanings.
type ReplicatorStatus ¶
type ReplicatorStatus struct { // Kind - Possible values include: 'KindReplicatorStatus', 'KindPrimary', 'KindSecondaryReplicatorStatus', 'KindActiveSecondary', 'KindIdleSecondary' Kind KindBasicReplicatorStatus `json:"Kind,omitempty"` }
ReplicatorStatus represents a base class for primary or secondary replicator status. Contains information about the service fabric replicator like the replication/copy queue utilization, last acknowledgement received timestamp, etc.
func (ReplicatorStatus) AsBasicReplicatorStatus ¶
func (rs ReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)
AsBasicReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.
func (ReplicatorStatus) AsBasicSecondaryReplicatorStatus ¶
func (rs ReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)
AsBasicSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.
func (ReplicatorStatus) AsPrimaryReplicatorStatus ¶
func (rs ReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)
AsPrimaryReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.
func (ReplicatorStatus) AsReplicatorStatus ¶
func (rs ReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)
AsReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.
func (ReplicatorStatus) AsSecondaryActiveReplicatorStatus ¶
func (rs ReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)
AsSecondaryActiveReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.
func (ReplicatorStatus) AsSecondaryIdleReplicatorStatus ¶
func (rs ReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)
AsSecondaryIdleReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.
func (ReplicatorStatus) AsSecondaryReplicatorStatus ¶
func (rs ReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)
AsSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for ReplicatorStatus.
func (ReplicatorStatus) MarshalJSON ¶
func (rs ReplicatorStatus) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReplicatorStatus.
type ResolvedServiceEndpoint ¶
type ResolvedServiceEndpoint struct { // Kind - Possible values include: 'KindInvalid', 'KindStateless', 'KindStatefulPrimary', 'KindStatefulSecondary' Kind Kind `json:"Kind,omitempty"` // Address - The address of the endpoint. If the endpoint has multiple listeners the address is a JSON object with one property per listener with the value as the address of that listener. Address *string `json:"Address,omitempty"` }
ResolvedServiceEndpoint endpoint of a resolved service partition.
type ResolvedServicePartition ¶
type ResolvedServicePartition struct { autorest.Response `json:"-"` Name *string `json:"Name,omitempty"` PartitionInformation BasicPartitionInformation `json:"PartitionInformation,omitempty"` Endpoints *[]ResolvedServiceEndpoint `json:"Endpoints,omitempty"` // Version - The version of this resolved service partition result. This version should be passed in the next time the ResolveService call is made via the PreviousRspVersion query parameter. Version *string `json:"Version,omitempty"` }
ResolvedServicePartition information about a service partition and its associated endpoints.
func (*ResolvedServicePartition) UnmarshalJSON ¶
func (rsp *ResolvedServicePartition) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ResolvedServicePartition struct.
type RestartDeployedCodePackageDescription ¶
type RestartDeployedCodePackageDescription struct { ServiceManifestName *string `json:"ServiceManifestName,omitempty"` ServicePackageActivationID *string `json:"ServicePackageActivationId,omitempty"` CodePackageName *string `json:"CodePackageName,omitempty"` CodePackageInstanceID *string `json:"CodePackageInstanceId,omitempty"` }
RestartDeployedCodePackageDescription defines description for restarting a deloyed code package on Service Fabric node.
type RestartNodeDescription ¶
type RestartNodeDescription struct { // NodeInstanceID - The instance id of the target node. If instance id is specified the node is restarted only if it matches with the current instance of the node. A default value of "0" would match any instance id. The instance id can be obtained using get node query. NodeInstanceID *string `json:"NodeInstanceId,omitempty"` // CreateFabricDump - Specify True to create a dump of the fabric node process. This is case sensitive. Possible values include: 'False', 'True' CreateFabricDump CreateFabricDump `json:"CreateFabricDump,omitempty"` }
RestartNodeDescription describes the parameters to restart a Service Fabric node.
type RestartPartitionResult ¶
type RestartPartitionResult struct { // ErrorCode - If OperationState is Completed, this is 0. If OperationState is Faulted, this is an error code indicating the reason. ErrorCode *int32 `json:"ErrorCode,omitempty"` SelectedPartition *SelectedPartition `json:"SelectedPartition,omitempty"` }
RestartPartitionResult represents information about an operation in a terminal state (Completed or Faulted).
type RestoringHealthCheckState ¶
type RestoringHealthCheckState string
RestoringHealthCheckState enumerates the values for restoring health check state.
const ( // RestoringHealthCheckStateInProgress ... RestoringHealthCheckStateInProgress RestoringHealthCheckState = "InProgress" // RestoringHealthCheckStateNotStarted ... RestoringHealthCheckStateNotStarted RestoringHealthCheckState = "NotStarted" // RestoringHealthCheckStateSkipped ... RestoringHealthCheckStateSkipped RestoringHealthCheckState = "Skipped" // RestoringHealthCheckStateSucceeded ... RestoringHealthCheckStateSucceeded RestoringHealthCheckState = "Succeeded" // RestoringHealthCheckStateTimedOut ... RestoringHealthCheckStateTimedOut RestoringHealthCheckState = "TimedOut" )
func PossibleRestoringHealthCheckStateValues ¶
func PossibleRestoringHealthCheckStateValues() []RestoringHealthCheckState
PossibleRestoringHealthCheckStateValues returns an array of possible values for the RestoringHealthCheckState const type.
type ResultStatus ¶
type ResultStatus string
ResultStatus enumerates the values for result status.
const ( // ResultStatusCancelled ... ResultStatusCancelled ResultStatus = "Cancelled" // ResultStatusFailed ... ResultStatusFailed ResultStatus = "Failed" // ResultStatusInterrupted ... ResultStatusInterrupted ResultStatus = "Interrupted" // ResultStatusInvalid ... ResultStatusInvalid ResultStatus = "Invalid" // ResultStatusPending ... ResultStatusPending ResultStatus = "Pending" // ResultStatusSucceeded ... ResultStatusSucceeded ResultStatus = "Succeeded" )
func PossibleResultStatusValues ¶
func PossibleResultStatusValues() []ResultStatus
PossibleResultStatusValues returns an array of possible values for the ResultStatus const type.
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 RollingUpgradeMode ¶
type RollingUpgradeMode string
RollingUpgradeMode enumerates the values for rolling upgrade mode.
const ( // RollingUpgradeModeInvalid ... RollingUpgradeModeInvalid RollingUpgradeMode = "Invalid" // RollingUpgradeModeMonitored ... RollingUpgradeModeMonitored RollingUpgradeMode = "Monitored" // RollingUpgradeModeUnmonitoredAuto ... RollingUpgradeModeUnmonitoredAuto RollingUpgradeMode = "UnmonitoredAuto" // RollingUpgradeModeUnmonitoredManual ... RollingUpgradeModeUnmonitoredManual RollingUpgradeMode = "UnmonitoredManual" )
func PossibleRollingUpgradeModeValues ¶
func PossibleRollingUpgradeModeValues() []RollingUpgradeMode
PossibleRollingUpgradeModeValues returns an array of possible values for the RollingUpgradeMode const type.
type RollingUpgradeMode1 ¶
type RollingUpgradeMode1 string
RollingUpgradeMode1 enumerates the values for rolling upgrade mode 1.
const ( // RollingUpgradeMode1Invalid ... RollingUpgradeMode1Invalid RollingUpgradeMode1 = "Invalid" // RollingUpgradeMode1Monitored ... RollingUpgradeMode1Monitored RollingUpgradeMode1 = "Monitored" // RollingUpgradeMode1UnmonitoredAuto ... RollingUpgradeMode1UnmonitoredAuto RollingUpgradeMode1 = "UnmonitoredAuto" // RollingUpgradeMode1UnmonitoredManual ... RollingUpgradeMode1UnmonitoredManual RollingUpgradeMode1 = "UnmonitoredManual" )
func PossibleRollingUpgradeMode1Values ¶
func PossibleRollingUpgradeMode1Values() []RollingUpgradeMode1
PossibleRollingUpgradeMode1Values returns an array of possible values for the RollingUpgradeMode1 const type.
type RollingUpgradeMode2 ¶
type RollingUpgradeMode2 string
RollingUpgradeMode2 enumerates the values for rolling upgrade mode 2.
const ( // RollingUpgradeMode2Invalid ... RollingUpgradeMode2Invalid RollingUpgradeMode2 = "Invalid" // RollingUpgradeMode2Monitored ... RollingUpgradeMode2Monitored RollingUpgradeMode2 = "Monitored" // RollingUpgradeMode2UnmonitoredAuto ... RollingUpgradeMode2UnmonitoredAuto RollingUpgradeMode2 = "UnmonitoredAuto" // RollingUpgradeMode2UnmonitoredManual ... RollingUpgradeMode2UnmonitoredManual RollingUpgradeMode2 = "UnmonitoredManual" )
func PossibleRollingUpgradeMode2Values ¶
func PossibleRollingUpgradeMode2Values() []RollingUpgradeMode2
PossibleRollingUpgradeMode2Values returns an array of possible values for the RollingUpgradeMode2 const type.
type RollingUpgradeMode3 ¶
type RollingUpgradeMode3 string
RollingUpgradeMode3 enumerates the values for rolling upgrade mode 3.
const ( // RollingUpgradeMode3Invalid ... RollingUpgradeMode3Invalid RollingUpgradeMode3 = "Invalid" // RollingUpgradeMode3Monitored ... RollingUpgradeMode3Monitored RollingUpgradeMode3 = "Monitored" // RollingUpgradeMode3UnmonitoredAuto ... RollingUpgradeMode3UnmonitoredAuto RollingUpgradeMode3 = "UnmonitoredAuto" // RollingUpgradeMode3UnmonitoredManual ... RollingUpgradeMode3UnmonitoredManual RollingUpgradeMode3 = "UnmonitoredManual" )
func PossibleRollingUpgradeMode3Values ¶
func PossibleRollingUpgradeMode3Values() []RollingUpgradeMode3
PossibleRollingUpgradeMode3Values returns an array of possible values for the RollingUpgradeMode3 const type.
type RollingUpgradeMode4 ¶
type RollingUpgradeMode4 string
RollingUpgradeMode4 enumerates the values for rolling upgrade mode 4.
const ( // RollingUpgradeMode4Invalid ... RollingUpgradeMode4Invalid RollingUpgradeMode4 = "Invalid" // RollingUpgradeMode4Monitored ... RollingUpgradeMode4Monitored RollingUpgradeMode4 = "Monitored" // RollingUpgradeMode4UnmonitoredAuto ... RollingUpgradeMode4UnmonitoredAuto RollingUpgradeMode4 = "UnmonitoredAuto" // RollingUpgradeMode4UnmonitoredManual ... RollingUpgradeMode4UnmonitoredManual RollingUpgradeMode4 = "UnmonitoredManual" )
func PossibleRollingUpgradeMode4Values ¶
func PossibleRollingUpgradeMode4Values() []RollingUpgradeMode4
PossibleRollingUpgradeMode4Values returns an array of possible values for the RollingUpgradeMode4 const type.
type RollingUpgradeMode5 ¶
type RollingUpgradeMode5 string
RollingUpgradeMode5 enumerates the values for rolling upgrade mode 5.
const ( // RollingUpgradeMode5Invalid ... RollingUpgradeMode5Invalid RollingUpgradeMode5 = "Invalid" // RollingUpgradeMode5Monitored ... RollingUpgradeMode5Monitored RollingUpgradeMode5 = "Monitored" // RollingUpgradeMode5UnmonitoredAuto ... RollingUpgradeMode5UnmonitoredAuto RollingUpgradeMode5 = "UnmonitoredAuto" // RollingUpgradeMode5UnmonitoredManual ... RollingUpgradeMode5UnmonitoredManual RollingUpgradeMode5 = "UnmonitoredManual" )
func PossibleRollingUpgradeMode5Values ¶
func PossibleRollingUpgradeMode5Values() []RollingUpgradeMode5
PossibleRollingUpgradeMode5Values returns an array of possible values for the RollingUpgradeMode5 const type.
type RollingUpgradeMode6 ¶
type RollingUpgradeMode6 string
RollingUpgradeMode6 enumerates the values for rolling upgrade mode 6.
const ( // RollingUpgradeMode6Invalid ... RollingUpgradeMode6Invalid RollingUpgradeMode6 = "Invalid" // RollingUpgradeMode6Monitored ... RollingUpgradeMode6Monitored RollingUpgradeMode6 = "Monitored" // RollingUpgradeMode6UnmonitoredAuto ... RollingUpgradeMode6UnmonitoredAuto RollingUpgradeMode6 = "UnmonitoredAuto" // RollingUpgradeMode6UnmonitoredManual ... RollingUpgradeMode6UnmonitoredManual RollingUpgradeMode6 = "UnmonitoredManual" )
func PossibleRollingUpgradeMode6Values ¶
func PossibleRollingUpgradeMode6Values() []RollingUpgradeMode6
PossibleRollingUpgradeMode6Values returns an array of possible values for the RollingUpgradeMode6 const type.
type RollingUpgradeMode7 ¶
type RollingUpgradeMode7 string
RollingUpgradeMode7 enumerates the values for rolling upgrade mode 7.
const ( // RollingUpgradeMode7Invalid ... RollingUpgradeMode7Invalid RollingUpgradeMode7 = "Invalid" // RollingUpgradeMode7Monitored ... RollingUpgradeMode7Monitored RollingUpgradeMode7 = "Monitored" // RollingUpgradeMode7UnmonitoredAuto ... RollingUpgradeMode7UnmonitoredAuto RollingUpgradeMode7 = "UnmonitoredAuto" // RollingUpgradeMode7UnmonitoredManual ... RollingUpgradeMode7UnmonitoredManual RollingUpgradeMode7 = "UnmonitoredManual" )
func PossibleRollingUpgradeMode7Values ¶
func PossibleRollingUpgradeMode7Values() []RollingUpgradeMode7
PossibleRollingUpgradeMode7Values returns an array of possible values for the RollingUpgradeMode7 const type.
type RollingUpgradeUpdateDescription ¶
type RollingUpgradeUpdateDescription struct { // RollingUpgradeMode - Possible values include: 'RollingUpgradeMode3Invalid', 'RollingUpgradeMode3UnmonitoredAuto', 'RollingUpgradeMode3UnmonitoredManual', 'RollingUpgradeMode3Monitored' RollingUpgradeMode RollingUpgradeMode3 `json:"RollingUpgradeMode,omitempty"` ForceRestart *bool `json:"ForceRestart,omitempty"` ReplicaSetCheckTimeoutInMilliseconds *int64 `json:"ReplicaSetCheckTimeoutInMilliseconds,omitempty"` // FailureAction - Possible values include: 'FailureAction1Invalid', 'FailureAction1Rollback', 'FailureAction1Manual' FailureAction FailureAction1 `json:"FailureAction,omitempty"` HealthCheckWaitDurationInMilliseconds *string `json:"HealthCheckWaitDurationInMilliseconds,omitempty"` HealthCheckStableDurationInMilliseconds *string `json:"HealthCheckStableDurationInMilliseconds,omitempty"` HealthCheckRetryTimeoutInMilliseconds *string `json:"HealthCheckRetryTimeoutInMilliseconds,omitempty"` UpgradeTimeoutInMilliseconds *string `json:"UpgradeTimeoutInMilliseconds,omitempty"` UpgradeDomainTimeoutInMilliseconds *string `json:"UpgradeDomainTimeoutInMilliseconds,omitempty"` }
RollingUpgradeUpdateDescription describes the parameters for updating a rolling upgrade of application or cluster.
type SafetyCheck ¶
type SafetyCheck struct { // Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration' Kind KindBasicSafetyCheck `json:"Kind,omitempty"` }
SafetyCheck represents a safety check performed by service fabric before continuing with the operations. These checks ensure the 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 SafetyCheckWrapper ¶
type SafetyCheckWrapper struct {
SafetyCheck BasicSafetyCheck `json:"SafetyCheck,omitempty"`
}
SafetyCheckWrapper a wrapper for the safety check object. Safety checks are performed by service fabric before continuing with the operations. These checks ensure the 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 Scheme ¶
type Scheme string
Scheme enumerates the values for scheme.
func PossibleSchemeValues ¶
func PossibleSchemeValues() []Scheme
PossibleSchemeValues returns an array of possible values for the Scheme const type.
type SecondaryActiveReplicatorStatus ¶
type SecondaryActiveReplicatorStatus struct { 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 *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 *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 *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 *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 *ReplicatorQueueStatus `json:"CopyQueueStatus,omitempty"` // LastCopyOperationReceivedTimeUtc - The last time-stamp (UTC) at which a copy operation was received from the primary. // UTC 0 represents an invalid value, indicating that a copy operation message was never received. LastCopyOperationReceivedTimeUtc *date.Time `json:"LastCopyOperationReceivedTimeUtc,omitempty"` // LastAcknowledgementSentTimeUtc - The last time-stamp (UTC) at which an acknowledgment was sent to the primary replicator. // UTC 0 represents an invalid value, indicating that an acknowledgment message was never sent. LastAcknowledgementSentTimeUtc *date.Time `json:"LastAcknowledgementSentTimeUtc,omitempty"` // Kind - Possible values include: 'KindReplicatorStatus', 'KindPrimary', 'KindSecondaryReplicatorStatus', 'KindActiveSecondary', 'KindIdleSecondary' Kind KindBasicReplicatorStatus `json:"Kind,omitempty"` }
SecondaryReplicatorStatus ...
func (SecondaryReplicatorStatus) AsBasicReplicatorStatus ¶
func (srs SecondaryReplicatorStatus) AsBasicReplicatorStatus() (BasicReplicatorStatus, bool)
AsBasicReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.
func (SecondaryReplicatorStatus) AsBasicSecondaryReplicatorStatus ¶
func (srs SecondaryReplicatorStatus) AsBasicSecondaryReplicatorStatus() (BasicSecondaryReplicatorStatus, bool)
AsBasicSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.
func (SecondaryReplicatorStatus) AsPrimaryReplicatorStatus ¶
func (srs SecondaryReplicatorStatus) AsPrimaryReplicatorStatus() (*PrimaryReplicatorStatus, bool)
AsPrimaryReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.
func (SecondaryReplicatorStatus) AsReplicatorStatus ¶
func (srs SecondaryReplicatorStatus) AsReplicatorStatus() (*ReplicatorStatus, bool)
AsReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.
func (SecondaryReplicatorStatus) AsSecondaryActiveReplicatorStatus ¶
func (srs SecondaryReplicatorStatus) AsSecondaryActiveReplicatorStatus() (*SecondaryActiveReplicatorStatus, bool)
AsSecondaryActiveReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.
func (SecondaryReplicatorStatus) AsSecondaryIdleReplicatorStatus ¶
func (srs SecondaryReplicatorStatus) AsSecondaryIdleReplicatorStatus() (*SecondaryIdleReplicatorStatus, bool)
AsSecondaryIdleReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.
func (SecondaryReplicatorStatus) AsSecondaryReplicatorStatus ¶
func (srs SecondaryReplicatorStatus) AsSecondaryReplicatorStatus() (*SecondaryReplicatorStatus, bool)
AsSecondaryReplicatorStatus is the BasicReplicatorStatus implementation for SecondaryReplicatorStatus.
func (SecondaryReplicatorStatus) MarshalJSON ¶
func (srs SecondaryReplicatorStatus) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecondaryReplicatorStatus.
type SeedNodeSafetyCheck ¶
type SeedNodeSafetyCheck struct { // Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration' Kind KindBasicSafetyCheck `json:"Kind,omitempty"` }
SeedNodeSafetyCheck represents a safety check for the seed nodes being performed by service fabric before continuing with node level operations.
func (SeedNodeSafetyCheck) AsBasicPartitionSafetyCheck ¶
func (snsc SeedNodeSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.
func (SeedNodeSafetyCheck) AsBasicSafetyCheck ¶
func (snsc SeedNodeSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
AsBasicSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.
func (SeedNodeSafetyCheck) AsEnsureAvailabilitySafetyCheck ¶
func (snsc SeedNodeSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.
func (SeedNodeSafetyCheck) AsEnsurePartitionQurumSafetyCheck ¶
func (snsc SeedNodeSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.
func (SeedNodeSafetyCheck) AsPartitionSafetyCheck ¶
func (snsc SeedNodeSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
AsPartitionSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.
func (SeedNodeSafetyCheck) AsSafetyCheck ¶
func (snsc SeedNodeSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
AsSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.
func (SeedNodeSafetyCheck) AsSeedNodeSafetyCheck ¶
func (snsc SeedNodeSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.
func (SeedNodeSafetyCheck) AsWaitForInbuildReplicaSafetyCheck ¶
func (snsc SeedNodeSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.
func (SeedNodeSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck ¶
func (snsc SeedNodeSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.
func (SeedNodeSafetyCheck) AsWaitForPrimarySwapSafetyCheck ¶
func (snsc SeedNodeSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.
func (SeedNodeSafetyCheck) AsWaitForReconfigurationSafetyCheck ¶
func (snsc SeedNodeSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for SeedNodeSafetyCheck.
func (SeedNodeSafetyCheck) MarshalJSON ¶
func (snsc SeedNodeSafetyCheck) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SeedNodeSafetyCheck.
type SelectedPartition ¶
type SelectedPartition struct { ServiceName *string `json:"ServiceName,omitempty"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` }
SelectedPartition this class returns information about the partition that the user-induced operation acted upon.
type ServiceCorrelationDescription ¶
type ServiceCorrelationDescription struct { // Scheme - Possible values include: 'SchemeInvalid', 'SchemeAffinity', 'SchemeAlignedAffinity', 'SchemeNonAlignedAffinity' Scheme Scheme `json:"Scheme,omitempty"` ServiceName *string `json:"ServiceName,omitempty"` }
ServiceCorrelationDescription creates a particular correlation between services.
type ServiceDescription ¶
type ServiceDescription struct { autorest.Response `json:"-"` ApplicationName *string `json:"ApplicationName,omitempty"` ServiceName *string `json:"ServiceName,omitempty"` ServiceTypeName *string `json:"ServiceTypeName,omitempty"` InitializationData *[]int32 `json:"InitializationData,omitempty"` 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 *[]ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"` ServiceLoadMetrics *[]ServiceLoadMetricDescription `json:"ServiceLoadMetrics,omitempty"` ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"` // DefaultMoveCost - Possible values include: 'Zero', 'Low', 'Medium', 'High' DefaultMoveCost DefaultMoveCost `json:"DefaultMoveCost,omitempty"` // IsDefaultMoveCostSpecified - Indicates if the DefaultMoveCost property is specified. IsDefaultMoveCostSpecified *bool `json:"IsDefaultMoveCostSpecified,omitempty"` // ServicePackageActivationMode - Possible values include: 'ServicePackageActivationMode1SharedProcess', 'ServicePackageActivationMode1ExclusiveProcess' ServicePackageActivationMode ServicePackageActivationMode1 `json:"ServicePackageActivationMode,omitempty"` // ServiceDNSName - The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster. ServiceDNSName *string `json:"ServiceDnsName,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicServiceDescriptionServiceKindServiceDescription', 'ServiceKindBasicServiceDescriptionServiceKindStateful', 'ServiceKindBasicServiceDescriptionServiceKindStateless' ServiceKind ServiceKindBasicServiceDescription `json:"ServiceKind,omitempty"` }
ServiceDescription a ServiceDescription contains all of the information necessary to create a service.
func (ServiceDescription) AsBasicServiceDescription ¶
func (sd ServiceDescription) AsBasicServiceDescription() (BasicServiceDescription, bool)
AsBasicServiceDescription is the BasicServiceDescription implementation for ServiceDescription.
func (ServiceDescription) AsServiceDescription ¶
func (sd ServiceDescription) AsServiceDescription() (*ServiceDescription, bool)
AsServiceDescription is the BasicServiceDescription implementation for ServiceDescription.
func (ServiceDescription) AsStatefulServiceDescription ¶
func (sd ServiceDescription) AsStatefulServiceDescription() (*StatefulServiceDescription, bool)
AsStatefulServiceDescription is the BasicServiceDescription implementation for ServiceDescription.
func (ServiceDescription) AsStatelessServiceDescription ¶
func (sd ServiceDescription) AsStatelessServiceDescription() (*StatelessServiceDescription, bool)
AsStatelessServiceDescription is the BasicServiceDescription implementation for ServiceDescription.
func (ServiceDescription) MarshalJSON ¶
func (sd ServiceDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceDescription.
func (*ServiceDescription) UnmarshalJSON ¶
func (sd *ServiceDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceDescription struct.
type ServiceDescriptionModel ¶
type ServiceDescriptionModel struct { autorest.Response `json:"-"` Value BasicServiceDescription `json:"value,omitempty"` }
ServiceDescriptionModel ...
func (*ServiceDescriptionModel) UnmarshalJSON ¶
func (sdm *ServiceDescriptionModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceDescriptionModel struct.
type ServiceFromTemplateDescription ¶
type ServiceFromTemplateDescription struct { ApplicationName *string `json:"ApplicationName,omitempty"` ServiceName *string `json:"ServiceName,omitempty"` ServiceTypeName *string `json:"ServiceTypeName,omitempty"` InitializationData *[]int32 `json:"InitializationData,omitempty"` // ServicePackageActivationMode - 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 *string `json:"Name,omitempty"` // PartitionHealthStates - The list of partition health states associated with the service. PartitionHealthStates *[]PartitionHealthState `json:"PartitionHealthStates,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown' AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"` // HealthEvents - The list of health events reported on the entity. HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` HealthStatistics *HealthStatistics `json:"HealthStatistics,omitempty"` }
ServiceHealth information about the health of a Service Fabric service.
type ServiceHealthEvaluation ¶
type ServiceHealthEvaluation struct { ServiceName *string `json:"ServiceName,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
ServiceHealthEvaluation represents health evaluation for a service, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state is either Error or Warning.
func (ServiceHealthEvaluation) AsApplicationHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsBasicHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsEventHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsNodeHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsNodesHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsPartitionHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsReplicaHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsReplicasHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsServiceHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsServicesHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (she ServiceHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.
func (ServiceHealthEvaluation) MarshalJSON ¶
func (she ServiceHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceHealthEvaluation.
type ServiceHealthState ¶
type ServiceHealthState struct { ServiceName *string `json:"ServiceName,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown' AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"` }
ServiceHealthState represents the health state of a service, which contains the service identifier and its aggregated health state.
type ServiceHealthStateChunk ¶
type ServiceHealthStateChunk struct { ServiceName *string `json:"ServiceName,omitempty"` PartitionHealthStateChunks *PartitionHealthStateChunkList `json:"PartitionHealthStateChunks,omitempty"` // HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown' HealthState HealthState2 `json:"HealthState,omitempty"` }
ServiceHealthStateChunk represents the health state chunk of a service, which contains the service name, its aggregated health state and any partitions that respect the filters in the cluster health chunk query description.
type ServiceHealthStateChunkList ¶
type ServiceHealthStateChunkList struct { // Items - The list of service health state chunks that respect the input filters in the chunk query. Items *[]ServiceHealthStateChunk `json:"Items,omitempty"` }
ServiceHealthStateChunkList the list of service health state chunks that respect the input filters in the chunk query. Returned by get cluster health state chunks query.
type ServiceHealthStateFilter ¶
type ServiceHealthStateFilter struct { // ServiceNameFilter - The name of the service that matches the filter. The filter is applied only to the specified service, if it exists. // If the service doesn't exist, no service is returned in the cluster health chunk based on this filter. // If the service exists, it is included as the application's child if the health state matches the other filter properties. // If not specified, all services that match the parent filters (if any) are taken into consideration and matched against the other filter members, like health state filter. ServiceNameFilter *string `json:"ServiceNameFilter,omitempty"` // HealthStateFilter - The filter for the health state of the services. It allows selecting services if they match the desired health states. // The possible values are integer value of one of the following health states. Only services that match the filter are returned. All services are used to evaluate the cluster aggregated health state. // If not specified, default value is None, unless the service name is specified. If the filter has default value and service name is specified, the matching service is returned. // The state values are flag based enumeration, so the value could be a combination of these values obtained using bitwise 'OR' operator. // For example, if the provided value is 6, it matches services with HealthState value of OK (2) and Warning (4). // - Default - Default value. Matches any HealthState. The value is zero. // - None - Filter that doesn't match any HealthState value. Used in order to return no results on a given collection of states. The value is 1. // - Ok - Filter that matches input with HealthState value Ok. The value is 2. // - Warning - Filter that matches input with HealthState value Warning. The value is 4. // - Error - Filter that matches input with HealthState value Error. The value is 8. // - All - Filter that matches input with any HealthState value. The value is 65535. HealthStateFilter *int32 `json:"HealthStateFilter,omitempty"` // PartitionFilters - Defines a list of filters that specify which partitions to be included in the returned cluster health chunk as children of the service. The partitions are returned only if the parent service matches a filter. // If the list is empty, no partitions are returned. All the partitions are used to evaluate the parent service aggregated health state, regardless of the input filters. // The service filter may specify multiple partition filters. // For example, it can specify a filter to return all partitions with health state Error and another filter to always include a partition identified by its partition id. PartitionFilters *[]PartitionHealthStateFilter `json:"PartitionFilters,omitempty"` }
ServiceHealthStateFilter defines matching criteria to determine whether a service should be included as a child of an application in the cluster health chunk. The services are only returned if the parent application matches a filter specified in the cluster health chunk query description. One filter can match zero, one or multiple services, depending on its properties.
type ServiceInfo ¶
type ServiceInfo struct { autorest.Response `json:"-"` ID *string `json:"Id,omitempty"` Name *string `json:"Name,omitempty"` TypeName *string `json:"TypeName,omitempty"` // ManifestVersion - The version of the service manifest. ManifestVersion *string `json:"ManifestVersion,omitempty"` // HealthState - Possible values include: 'HealthState7Invalid', 'HealthState7Ok', 'HealthState7Warning', 'HealthState7Error', 'HealthState7Unknown' HealthState HealthState7 `json:"HealthState,omitempty"` // ServiceStatus - Possible values include: 'ServiceStatusUnknown', 'ServiceStatusActive', 'ServiceStatusUpgrading', 'ServiceStatusDeleting', 'ServiceStatusCreating', 'ServiceStatusFailed' ServiceStatus ServiceStatus `json:"ServiceStatus,omitempty"` // IsServiceGroup - Whether the service is in a service group. IsServiceGroup *bool `json:"IsServiceGroup,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicServiceInfoServiceKindServiceInfo', 'ServiceKindBasicServiceInfoServiceKindStateful', 'ServiceKindBasicServiceInfoServiceKindStateless' ServiceKind ServiceKindBasicServiceInfo `json:"ServiceKind,omitempty"` }
ServiceInfo information about a Service Fabric service.
func (ServiceInfo) AsBasicServiceInfo ¶
func (si ServiceInfo) AsBasicServiceInfo() (BasicServiceInfo, bool)
AsBasicServiceInfo is the BasicServiceInfo implementation for ServiceInfo.
func (ServiceInfo) AsServiceInfo ¶
func (si ServiceInfo) AsServiceInfo() (*ServiceInfo, bool)
AsServiceInfo is the BasicServiceInfo implementation for ServiceInfo.
func (ServiceInfo) AsStatefulServiceInfo ¶
func (si ServiceInfo) AsStatefulServiceInfo() (*StatefulServiceInfo, bool)
AsStatefulServiceInfo is the BasicServiceInfo implementation for ServiceInfo.
func (ServiceInfo) AsStatelessServiceInfo ¶
func (si ServiceInfo) AsStatelessServiceInfo() (*StatelessServiceInfo, bool)
AsStatelessServiceInfo is the BasicServiceInfo implementation for ServiceInfo.
func (ServiceInfo) MarshalJSON ¶
func (si ServiceInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceInfo.
type ServiceInfoModel ¶
type ServiceInfoModel struct { autorest.Response `json:"-"` Value BasicServiceInfo `json:"value,omitempty"` }
ServiceInfoModel ...
func (*ServiceInfoModel) UnmarshalJSON ¶
func (sim *ServiceInfoModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceInfoModel struct.
type ServiceKind ¶
type ServiceKind string
ServiceKind enumerates the values for service kind.
const ( // ServiceKindDeployedServiceReplicaInfo ... ServiceKindDeployedServiceReplicaInfo ServiceKind = "DeployedServiceReplicaInfo" // ServiceKindStateful ... ServiceKindStateful ServiceKind = "Stateful" // ServiceKindStateless ... ServiceKindStateless ServiceKind = "Stateless" )
func PossibleServiceKindValues ¶
func PossibleServiceKindValues() []ServiceKind
PossibleServiceKindValues returns an array of possible values for the ServiceKind const type.
type ServiceKindBasicDeployedServiceReplicaDetailInfo ¶
type ServiceKindBasicDeployedServiceReplicaDetailInfo string
ServiceKindBasicDeployedServiceReplicaDetailInfo enumerates the values for service kind basic deployed service replica detail info.
const ( // ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindDeployedServiceReplicaDetailInfo ... ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindDeployedServiceReplicaDetailInfo ServiceKindBasicDeployedServiceReplicaDetailInfo = "DeployedServiceReplicaDetailInfo" // ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateful ... ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateful ServiceKindBasicDeployedServiceReplicaDetailInfo = "Stateful" // ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateless ... ServiceKindBasicDeployedServiceReplicaDetailInfoServiceKindStateless ServiceKindBasicDeployedServiceReplicaDetailInfo = "Stateless" )
func PossibleServiceKindBasicDeployedServiceReplicaDetailInfoValues ¶
func PossibleServiceKindBasicDeployedServiceReplicaDetailInfoValues() []ServiceKindBasicDeployedServiceReplicaDetailInfo
PossibleServiceKindBasicDeployedServiceReplicaDetailInfoValues returns an array of possible values for the ServiceKindBasicDeployedServiceReplicaDetailInfo const type.
type ServiceKindBasicReplicaHealth ¶
type ServiceKindBasicReplicaHealth string
ServiceKindBasicReplicaHealth enumerates the values for service kind basic replica health.
const ( // ServiceKindBasicReplicaHealthServiceKindReplicaHealth ... ServiceKindBasicReplicaHealthServiceKindReplicaHealth ServiceKindBasicReplicaHealth = "ReplicaHealth" // ServiceKindBasicReplicaHealthServiceKindStateful ... ServiceKindBasicReplicaHealthServiceKindStateful ServiceKindBasicReplicaHealth = "Stateful" // ServiceKindBasicReplicaHealthServiceKindStateless ... ServiceKindBasicReplicaHealthServiceKindStateless ServiceKindBasicReplicaHealth = "Stateless" )
func PossibleServiceKindBasicReplicaHealthValues ¶
func PossibleServiceKindBasicReplicaHealthValues() []ServiceKindBasicReplicaHealth
PossibleServiceKindBasicReplicaHealthValues returns an array of possible values for the ServiceKindBasicReplicaHealth const type.
type ServiceKindBasicReplicaHealthState ¶
type ServiceKindBasicReplicaHealthState string
ServiceKindBasicReplicaHealthState enumerates the values for service kind basic replica health state.
const ( // ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState ... ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState ServiceKindBasicReplicaHealthState = "ReplicaHealthState" // ServiceKindBasicReplicaHealthStateServiceKindStateful ... ServiceKindBasicReplicaHealthStateServiceKindStateful ServiceKindBasicReplicaHealthState = "Stateful" // ServiceKindBasicReplicaHealthStateServiceKindStateless ... ServiceKindBasicReplicaHealthStateServiceKindStateless ServiceKindBasicReplicaHealthState = "Stateless" )
func PossibleServiceKindBasicReplicaHealthStateValues ¶
func PossibleServiceKindBasicReplicaHealthStateValues() []ServiceKindBasicReplicaHealthState
PossibleServiceKindBasicReplicaHealthStateValues returns an array of possible values for the ServiceKindBasicReplicaHealthState const type.
type ServiceKindBasicReplicaInfo ¶
type ServiceKindBasicReplicaInfo string
ServiceKindBasicReplicaInfo enumerates the values for service kind basic replica info.
const ( // ServiceKindBasicReplicaInfoServiceKindReplicaInfo ... ServiceKindBasicReplicaInfoServiceKindReplicaInfo ServiceKindBasicReplicaInfo = "ReplicaInfo" // ServiceKindBasicReplicaInfoServiceKindStateful ... ServiceKindBasicReplicaInfoServiceKindStateful ServiceKindBasicReplicaInfo = "Stateful" // ServiceKindBasicReplicaInfoServiceKindStateless ... ServiceKindBasicReplicaInfoServiceKindStateless ServiceKindBasicReplicaInfo = "Stateless" )
func PossibleServiceKindBasicReplicaInfoValues ¶
func PossibleServiceKindBasicReplicaInfoValues() []ServiceKindBasicReplicaInfo
PossibleServiceKindBasicReplicaInfoValues returns an array of possible values for the ServiceKindBasicReplicaInfo const type.
type ServiceKindBasicServiceDescription ¶
type ServiceKindBasicServiceDescription string
ServiceKindBasicServiceDescription enumerates the values for service kind basic service description.
const ( // ServiceKindBasicServiceDescriptionServiceKindServiceDescription ... ServiceKindBasicServiceDescriptionServiceKindServiceDescription ServiceKindBasicServiceDescription = "ServiceDescription" // ServiceKindBasicServiceDescriptionServiceKindStateful ... ServiceKindBasicServiceDescriptionServiceKindStateful ServiceKindBasicServiceDescription = "Stateful" // ServiceKindBasicServiceDescriptionServiceKindStateless ... ServiceKindBasicServiceDescriptionServiceKindStateless ServiceKindBasicServiceDescription = "Stateless" )
func PossibleServiceKindBasicServiceDescriptionValues ¶
func PossibleServiceKindBasicServiceDescriptionValues() []ServiceKindBasicServiceDescription
PossibleServiceKindBasicServiceDescriptionValues returns an array of possible values for the ServiceKindBasicServiceDescription const type.
type ServiceKindBasicServiceInfo ¶
type ServiceKindBasicServiceInfo string
ServiceKindBasicServiceInfo enumerates the values for service kind basic service info.
const ( // ServiceKindBasicServiceInfoServiceKindServiceInfo ... ServiceKindBasicServiceInfoServiceKindServiceInfo ServiceKindBasicServiceInfo = "ServiceInfo" // ServiceKindBasicServiceInfoServiceKindStateful ... ServiceKindBasicServiceInfoServiceKindStateful ServiceKindBasicServiceInfo = "Stateful" // ServiceKindBasicServiceInfoServiceKindStateless ... ServiceKindBasicServiceInfoServiceKindStateless ServiceKindBasicServiceInfo = "Stateless" )
func PossibleServiceKindBasicServiceInfoValues ¶
func PossibleServiceKindBasicServiceInfoValues() []ServiceKindBasicServiceInfo
PossibleServiceKindBasicServiceInfoValues returns an array of possible values for the ServiceKindBasicServiceInfo const type.
type ServiceKindBasicServicePartitionInfo ¶
type ServiceKindBasicServicePartitionInfo string
ServiceKindBasicServicePartitionInfo enumerates the values for service kind basic service partition info.
const ( // ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo ... ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo ServiceKindBasicServicePartitionInfo = "ServicePartitionInfo" // ServiceKindBasicServicePartitionInfoServiceKindStateful ... ServiceKindBasicServicePartitionInfoServiceKindStateful ServiceKindBasicServicePartitionInfo = "Stateful" // ServiceKindBasicServicePartitionInfoServiceKindStateless ... ServiceKindBasicServicePartitionInfoServiceKindStateless ServiceKindBasicServicePartitionInfo = "Stateless" )
func PossibleServiceKindBasicServicePartitionInfoValues ¶
func PossibleServiceKindBasicServicePartitionInfoValues() []ServiceKindBasicServicePartitionInfo
PossibleServiceKindBasicServicePartitionInfoValues returns an array of possible values for the ServiceKindBasicServicePartitionInfo const type.
type ServiceKindBasicServiceUpdateDescription ¶
type ServiceKindBasicServiceUpdateDescription string
ServiceKindBasicServiceUpdateDescription enumerates the values for service kind basic service update description.
const ( // ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription ... ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription ServiceKindBasicServiceUpdateDescription = "ServiceUpdateDescription" // ServiceKindBasicServiceUpdateDescriptionServiceKindStateful ... ServiceKindBasicServiceUpdateDescriptionServiceKindStateful ServiceKindBasicServiceUpdateDescription = "Stateful" // ServiceKindBasicServiceUpdateDescriptionServiceKindStateless ... ServiceKindBasicServiceUpdateDescriptionServiceKindStateless ServiceKindBasicServiceUpdateDescription = "Stateless" )
func PossibleServiceKindBasicServiceUpdateDescriptionValues ¶
func PossibleServiceKindBasicServiceUpdateDescriptionValues() []ServiceKindBasicServiceUpdateDescription
PossibleServiceKindBasicServiceUpdateDescriptionValues returns an array of possible values for the ServiceKindBasicServiceUpdateDescription const type.
type ServiceLoadMetricDescription ¶
type ServiceLoadMetricDescription struct { // Name - The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive. Name *string `json:"Name,omitempty"` // Weight - Possible values include: 'WeightZero', 'WeightLow', 'WeightMedium', 'WeightHigh' Weight Weight `json:"Weight,omitempty"` // PrimaryDefaultLoad - Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica. PrimaryDefaultLoad *int32 `json:"PrimaryDefaultLoad,omitempty"` // SecondaryDefaultLoad - Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica. SecondaryDefaultLoad *int32 `json:"SecondaryDefaultLoad,omitempty"` // DefaultLoad - Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric. DefaultLoad *int32 `json:"DefaultLoad,omitempty"` }
ServiceLoadMetricDescription specifies a metric to load balance a service during runtime.
type ServiceNameInfo ¶
type ServiceNameInfo struct { autorest.Response `json:"-"` ID *string `json:"Id,omitempty"` Name *string `json:"Name,omitempty"` }
ServiceNameInfo information about the service name.
type ServicePackageActivationMode ¶
type ServicePackageActivationMode string
ServicePackageActivationMode enumerates the values for service package activation mode.
const ( // ExclusiveProcess ... ExclusiveProcess ServicePackageActivationMode = "ExclusiveProcess" SharedProcess ServicePackageActivationMode = "SharedProcess" )
func PossibleServicePackageActivationModeValues ¶
func PossibleServicePackageActivationModeValues() []ServicePackageActivationMode
PossibleServicePackageActivationModeValues returns an array of possible values for the ServicePackageActivationMode const type.
type ServicePackageActivationMode1 ¶
type ServicePackageActivationMode1 string
ServicePackageActivationMode1 enumerates the values for service package activation mode 1.
const ( // ServicePackageActivationMode1ExclusiveProcess ... ServicePackageActivationMode1ExclusiveProcess ServicePackageActivationMode1 = "ExclusiveProcess" ServicePackageActivationMode1SharedProcess ServicePackageActivationMode1 = "SharedProcess" )
func PossibleServicePackageActivationMode1Values ¶
func PossibleServicePackageActivationMode1Values() []ServicePackageActivationMode1
PossibleServicePackageActivationMode1Values returns an array of possible values for the ServicePackageActivationMode1 const type.
type ServicePartitionInfo ¶
type ServicePartitionInfo struct { autorest.Response `json:"-"` // HealthState - Possible values include: 'HealthState5Invalid', 'HealthState5Ok', 'HealthState5Warning', 'HealthState5Error', 'HealthState5Unknown' HealthState HealthState5 `json:"HealthState,omitempty"` // PartitionStatus - Possible values include: 'PartitionStatusInvalid', 'PartitionStatusReady', 'PartitionStatusNotReady', 'PartitionStatusInQuorumLoss', 'PartitionStatusReconfiguring', 'PartitionStatusDeleting' PartitionStatus PartitionStatus `json:"PartitionStatus,omitempty"` PartitionInformation BasicPartitionInformation `json:"PartitionInformation,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo', 'ServiceKindBasicServicePartitionInfoServiceKindStateful', 'ServiceKindBasicServicePartitionInfoServiceKindStateless' ServiceKind ServiceKindBasicServicePartitionInfo `json:"ServiceKind,omitempty"` }
ServicePartitionInfo information about a partition of a Service Fabric service.
func (ServicePartitionInfo) AsBasicServicePartitionInfo ¶
func (spi ServicePartitionInfo) AsBasicServicePartitionInfo() (BasicServicePartitionInfo, bool)
AsBasicServicePartitionInfo is the BasicServicePartitionInfo implementation for ServicePartitionInfo.
func (ServicePartitionInfo) AsServicePartitionInfo ¶
func (spi ServicePartitionInfo) AsServicePartitionInfo() (*ServicePartitionInfo, bool)
AsServicePartitionInfo is the BasicServicePartitionInfo implementation for ServicePartitionInfo.
func (ServicePartitionInfo) AsStatefulServicePartitionInfo ¶
func (spi ServicePartitionInfo) AsStatefulServicePartitionInfo() (*StatefulServicePartitionInfo, bool)
AsStatefulServicePartitionInfo is the BasicServicePartitionInfo implementation for ServicePartitionInfo.
func (ServicePartitionInfo) AsStatelessServicePartitionInfo ¶
func (spi ServicePartitionInfo) AsStatelessServicePartitionInfo() (*StatelessServicePartitionInfo, bool)
AsStatelessServicePartitionInfo is the BasicServicePartitionInfo implementation for ServicePartitionInfo.
func (ServicePartitionInfo) MarshalJSON ¶
func (spi ServicePartitionInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServicePartitionInfo.
func (*ServicePartitionInfo) UnmarshalJSON ¶
func (spi *ServicePartitionInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServicePartitionInfo struct.
type ServicePartitionInfoModel ¶
type ServicePartitionInfoModel struct { autorest.Response `json:"-"` Value BasicServicePartitionInfo `json:"value,omitempty"` }
ServicePartitionInfoModel ...
func (*ServicePartitionInfoModel) UnmarshalJSON ¶
func (spim *ServicePartitionInfoModel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServicePartitionInfoModel struct.
type ServicePartitionKind ¶
type ServicePartitionKind string
ServicePartitionKind enumerates the values for service partition kind.
const ( // ServicePartitionKindInt64Range ... ServicePartitionKindInt64Range ServicePartitionKind = "Int64Range" // ServicePartitionKindNamed ... ServicePartitionKindNamed ServicePartitionKind = "Named" // ServicePartitionKindPartitionInformation ... ServicePartitionKindPartitionInformation ServicePartitionKind = "PartitionInformation" // ServicePartitionKindSingleton ... ServicePartitionKindSingleton ServicePartitionKind = "Singleton" )
func PossibleServicePartitionKindValues ¶
func PossibleServicePartitionKindValues() []ServicePartitionKind
PossibleServicePartitionKindValues returns an array of possible values for the ServicePartitionKind const type.
type ServicePlacementInvalidDomainPolicyDescription ¶
type ServicePlacementInvalidDomainPolicyDescription struct { // DomainName - The name of the domain that should not be used for placement. DomainName *string `json:"DomainName,omitempty"` // Type - Possible values include: 'TypeServicePlacementPolicyDescription', 'TypeInvalidDomain', 'TypeNonPartiallyPlaceService', 'TypePreferPrimaryDomain', 'TypeRequireDomain', 'TypeRequireDomainDistribution' Type TypeBasicServicePlacementPolicyDescription `json:"Type,omitempty"` }
ServicePlacementInvalidDomainPolicyDescription describes the policy to be used for placement of a Service Fabric service where a particular fault or upgrade domain should not be used for placement of the instances or replicas of that service.
func (ServicePlacementInvalidDomainPolicyDescription) AsBasicServicePlacementPolicyDescription ¶
func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)
AsBasicServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.
func (ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription ¶
func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)
AsServicePlacementInvalidDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.
func (ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription ¶
func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)
AsServicePlacementNonPartiallyPlaceServicePolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.
func (ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementPolicyDescription ¶
func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
AsServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.
func (ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription ¶
func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)
AsServicePlacementPreferPrimaryDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.
func (ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription ¶
func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)
AsServicePlacementRequireDomainDistributionPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.
func (ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription ¶
func (spidpd ServicePlacementInvalidDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)
AsServicePlacementRequiredDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementInvalidDomainPolicyDescription.
func (ServicePlacementInvalidDomainPolicyDescription) MarshalJSON ¶
func (spidpd ServicePlacementInvalidDomainPolicyDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServicePlacementInvalidDomainPolicyDescription.
type ServicePlacementNonPartiallyPlaceServicePolicyDescription ¶
type ServicePlacementNonPartiallyPlaceServicePolicyDescription struct { // Type - Possible values include: 'TypeServicePlacementPolicyDescription', 'TypeInvalidDomain', 'TypeNonPartiallyPlaceService', 'TypePreferPrimaryDomain', 'TypeRequireDomain', 'TypeRequireDomainDistribution' Type TypeBasicServicePlacementPolicyDescription `json:"Type,omitempty"` }
ServicePlacementNonPartiallyPlaceServicePolicyDescription describes the policy to be used for placement of a Service Fabric service where all replicas must be able to be placed in order for any replicas to be created.
func (ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsBasicServicePlacementPolicyDescription ¶
func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)
AsBasicServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementNonPartiallyPlaceServicePolicyDescription.
func (ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementInvalidDomainPolicyDescription ¶
func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)
AsServicePlacementInvalidDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementNonPartiallyPlaceServicePolicyDescription.
func (ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription ¶
func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)
AsServicePlacementNonPartiallyPlaceServicePolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementNonPartiallyPlaceServicePolicyDescription.
func (ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementPolicyDescription ¶
func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
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 ¶
func (spnppspd ServicePlacementNonPartiallyPlaceServicePolicyDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServicePlacementNonPartiallyPlaceServicePolicyDescription.
type ServicePlacementPolicyDescription ¶
type ServicePlacementPolicyDescription struct { // Type - Possible values include: 'TypeServicePlacementPolicyDescription', 'TypeInvalidDomain', 'TypeNonPartiallyPlaceService', 'TypePreferPrimaryDomain', 'TypeRequireDomain', 'TypeRequireDomainDistribution' Type TypeBasicServicePlacementPolicyDescription `json:"Type,omitempty"` }
ServicePlacementPolicyDescription describes the policy to be used for placement of a Service Fabric service.
func (ServicePlacementPolicyDescription) AsBasicServicePlacementPolicyDescription ¶
func (sppd ServicePlacementPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)
AsBasicServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.
func (ServicePlacementPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription ¶
func (sppd ServicePlacementPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)
AsServicePlacementInvalidDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.
func (ServicePlacementPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription ¶
func (sppd ServicePlacementPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)
AsServicePlacementNonPartiallyPlaceServicePolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.
func (ServicePlacementPolicyDescription) AsServicePlacementPolicyDescription ¶
func (sppd ServicePlacementPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
AsServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.
func (ServicePlacementPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription ¶
func (sppd ServicePlacementPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)
AsServicePlacementPreferPrimaryDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.
func (ServicePlacementPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription ¶
func (sppd ServicePlacementPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)
AsServicePlacementRequireDomainDistributionPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.
func (ServicePlacementPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription ¶
func (sppd ServicePlacementPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)
AsServicePlacementRequiredDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPolicyDescription.
func (ServicePlacementPolicyDescription) MarshalJSON ¶
func (sppd ServicePlacementPolicyDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServicePlacementPolicyDescription.
type ServicePlacementPreferPrimaryDomainPolicyDescription ¶
type ServicePlacementPreferPrimaryDomainPolicyDescription struct { // DomainName - The name of the domain that should used for placement as per this policy. DomainName *string `json:"DomainName,omitempty"` // Type - Possible values include: 'TypeServicePlacementPolicyDescription', 'TypeInvalidDomain', 'TypeNonPartiallyPlaceService', 'TypePreferPrimaryDomain', 'TypeRequireDomain', 'TypeRequireDomainDistribution' Type TypeBasicServicePlacementPolicyDescription `json:"Type,omitempty"` }
ServicePlacementPreferPrimaryDomainPolicyDescription describes the policy to be used for placement of a Service Fabric service where the service's Primary replicas should optimally be placed in a particular domain.
This placement policy is usually used with fault domains in scenarios where the Service Fabric cluster is geographically distributed in order to indicate that a service's primary replica should be located in a particular fault domain, which in geo-distributed scenarios usually aligns with regional or datacenter boundaries. Note that since this is an optimization it is possible that the Primary replica may not end up located in this domain due to failures, capacity limits, or other constraints.
func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsBasicServicePlacementPolicyDescription ¶
func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)
AsBasicServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.
func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription ¶
func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)
AsServicePlacementInvalidDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.
func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription ¶
func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)
AsServicePlacementNonPartiallyPlaceServicePolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.
func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementPolicyDescription ¶
func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
AsServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.
func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription ¶
func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)
AsServicePlacementPreferPrimaryDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.
func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription ¶
func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)
AsServicePlacementRequireDomainDistributionPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.
func (ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription ¶
func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)
AsServicePlacementRequiredDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementPreferPrimaryDomainPolicyDescription.
func (ServicePlacementPreferPrimaryDomainPolicyDescription) MarshalJSON ¶
func (spppdpd ServicePlacementPreferPrimaryDomainPolicyDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServicePlacementPreferPrimaryDomainPolicyDescription.
type ServicePlacementRequireDomainDistributionPolicyDescription ¶
type ServicePlacementRequireDomainDistributionPolicyDescription struct { // DomainName - The name of the domain that should used for placement as per this policy. DomainName *string `json:"DomainName,omitempty"` // Type - Possible values include: 'TypeServicePlacementPolicyDescription', 'TypeInvalidDomain', 'TypeNonPartiallyPlaceService', 'TypePreferPrimaryDomain', 'TypeRequireDomain', 'TypeRequireDomainDistribution' Type TypeBasicServicePlacementPolicyDescription `json:"Type,omitempty"` }
ServicePlacementRequireDomainDistributionPolicyDescription describes the policy to be used for placement of a Service Fabric service where two replicas from the same partition should never be placed in the same fault or upgrade domain.
While this is not common it can expose the service to an increased risk of concurrent failures due to unplanned outages or other cases of subsequent/concurrent failures. As an example, consider a case where replicas are deployed across different data center, with one replica per location. In the event that one of the datacenters goes offline, normally the replica that was placed in that datacenter will be packed into one of the remaining datacenters. If this is not desirable then this policy should be set.
func (ServicePlacementRequireDomainDistributionPolicyDescription) AsBasicServicePlacementPolicyDescription ¶
func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)
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 ¶
func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
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 ¶
func (sprddpd ServicePlacementRequireDomainDistributionPolicyDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServicePlacementRequireDomainDistributionPolicyDescription.
type ServicePlacementRequiredDomainPolicyDescription ¶
type ServicePlacementRequiredDomainPolicyDescription struct { // DomainName - The name of the domain that should used for placement as per this policy. DomainName *string `json:"DomainName,omitempty"` // Type - Possible values include: 'TypeServicePlacementPolicyDescription', 'TypeInvalidDomain', 'TypeNonPartiallyPlaceService', 'TypePreferPrimaryDomain', 'TypeRequireDomain', 'TypeRequireDomainDistribution' Type TypeBasicServicePlacementPolicyDescription `json:"Type,omitempty"` }
ServicePlacementRequiredDomainPolicyDescription describes the policy to be used for placement of a Service Fabric service where the instances or replicas of that service must be placed in a particular domain
func (ServicePlacementRequiredDomainPolicyDescription) AsBasicServicePlacementPolicyDescription ¶
func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsBasicServicePlacementPolicyDescription() (BasicServicePlacementPolicyDescription, bool)
AsBasicServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.
func (ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription ¶
func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementInvalidDomainPolicyDescription() (*ServicePlacementInvalidDomainPolicyDescription, bool)
AsServicePlacementInvalidDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.
func (ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription ¶
func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementNonPartiallyPlaceServicePolicyDescription() (*ServicePlacementNonPartiallyPlaceServicePolicyDescription, bool)
AsServicePlacementNonPartiallyPlaceServicePolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.
func (ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementPolicyDescription ¶
func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementPolicyDescription() (*ServicePlacementPolicyDescription, bool)
AsServicePlacementPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.
func (ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription ¶
func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementPreferPrimaryDomainPolicyDescription() (*ServicePlacementPreferPrimaryDomainPolicyDescription, bool)
AsServicePlacementPreferPrimaryDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.
func (ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription ¶
func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementRequireDomainDistributionPolicyDescription() (*ServicePlacementRequireDomainDistributionPolicyDescription, bool)
AsServicePlacementRequireDomainDistributionPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.
func (ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription ¶
func (sprdpd ServicePlacementRequiredDomainPolicyDescription) AsServicePlacementRequiredDomainPolicyDescription() (*ServicePlacementRequiredDomainPolicyDescription, bool)
AsServicePlacementRequiredDomainPolicyDescription is the BasicServicePlacementPolicyDescription implementation for ServicePlacementRequiredDomainPolicyDescription.
func (ServicePlacementRequiredDomainPolicyDescription) MarshalJSON ¶
func (sprdpd ServicePlacementRequiredDomainPolicyDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServicePlacementRequiredDomainPolicyDescription.
type ServiceStatus ¶
type ServiceStatus string
ServiceStatus enumerates the values for service status.
const ( // ServiceStatusActive ... ServiceStatusActive ServiceStatus = "Active" // ServiceStatusCreating ... ServiceStatusCreating ServiceStatus = "Creating" // ServiceStatusDeleting ... ServiceStatusDeleting ServiceStatus = "Deleting" // ServiceStatusFailed ... ServiceStatusFailed ServiceStatus = "Failed" // ServiceStatusUnknown ... ServiceStatusUnknown ServiceStatus = "Unknown" // ServiceStatusUpgrading ... ServiceStatusUpgrading ServiceStatus = "Upgrading" )
func PossibleServiceStatusValues ¶
func PossibleServiceStatusValues() []ServiceStatus
PossibleServiceStatusValues returns an array of possible values for the ServiceStatus const type.
type ServiceTypeDescription ¶
type ServiceTypeDescription struct { // IsStateful - Indicates whether the service type is a stateful service type or a stateless service type. This property is true if the service type is a stateful service type, false otherwise. IsStateful *bool `json:"IsStateful,omitempty"` ServiceTypeName *string `json:"ServiceTypeName,omitempty"` // PlacementConstraints - The placement constraint to be used when instantiating this service in a Service Fabric cluster. PlacementConstraints *string `json:"PlacementConstraints,omitempty"` ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"` Extensions *[]ServiceTypeExtensionDescription `json:"Extensions,omitempty"` // Kind - Possible values include: 'KindServiceTypeDescription', 'KindStateful', 'KindStateless1' Kind KindBasicServiceTypeDescription `json:"Kind,omitempty"` }
ServiceTypeDescription describes a service type defined in the service manifest of a provisioned application type. The properties the the ones defined in the service manifest.
func (ServiceTypeDescription) AsBasicServiceTypeDescription ¶
func (std ServiceTypeDescription) AsBasicServiceTypeDescription() (BasicServiceTypeDescription, bool)
AsBasicServiceTypeDescription is the BasicServiceTypeDescription implementation for ServiceTypeDescription.
func (ServiceTypeDescription) AsServiceTypeDescription ¶
func (std ServiceTypeDescription) AsServiceTypeDescription() (*ServiceTypeDescription, bool)
AsServiceTypeDescription is the BasicServiceTypeDescription implementation for ServiceTypeDescription.
func (ServiceTypeDescription) AsStatefulServiceTypeDescription ¶
func (std ServiceTypeDescription) AsStatefulServiceTypeDescription() (*StatefulServiceTypeDescription, bool)
AsStatefulServiceTypeDescription is the BasicServiceTypeDescription implementation for ServiceTypeDescription.
func (ServiceTypeDescription) AsStatelessServiceTypeDescription ¶
func (std ServiceTypeDescription) AsStatelessServiceTypeDescription() (*StatelessServiceTypeDescription, bool)
AsStatelessServiceTypeDescription is the BasicServiceTypeDescription implementation for ServiceTypeDescription.
func (ServiceTypeDescription) MarshalJSON ¶
func (std ServiceTypeDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceTypeDescription.
func (*ServiceTypeDescription) UnmarshalJSON ¶
func (std *ServiceTypeDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceTypeDescription struct.
type ServiceTypeExtensionDescription ¶
type ServiceTypeExtensionDescription struct { // Key - The name of the extension. Key *string `json:"Key,omitempty"` // Value - The extension value. Value *string `json:"Value,omitempty"` }
ServiceTypeExtensionDescription describes extension of a service type defined in the service manifest.
type ServiceTypeHealthPolicy ¶
type ServiceTypeHealthPolicy struct { // MaxPercentUnhealthyPartitionsPerService - The maximum allowed percentage of unhealthy partitions per service. Allowed values are Byte values from zero to 100 // The percentage represents the maximum tolerated percentage of partitions that can be unhealthy before the service is considered in error. // If the percentage is respected but there is at least one unhealthy partition, the health is evaluated as Warning. // The percentage is calculated by dividing the number of unhealthy partitions over the total number of partitions in the service. // The computation rounds up to tolerate one failure on small numbers of partitions. Default percentage is zero. MaxPercentUnhealthyPartitionsPerService *int32 `json:"MaxPercentUnhealthyPartitionsPerService,omitempty"` // MaxPercentUnhealthyReplicasPerPartition - The maximum allowed percentage of unhealthy replicas per partition. Allowed values are Byte values from zero to 100. // The percentage represents the maximum tolerated percentage of replicas that can be unhealthy before the partition is considered in error. // If the percentage is respected but there is at least one unhealthy replica, the health is evaluated as Warning. // The percentage is calculated by dividing the number of unhealthy replicas over the total number of replicas in the partition. // The computation rounds up to tolerate one failure on small numbers of replicas. Default percentage is zero. MaxPercentUnhealthyReplicasPerPartition *int32 `json:"MaxPercentUnhealthyReplicasPerPartition,omitempty"` // MaxPercentUnhealthyServices - The maximum maximum allowed percentage of unhealthy services. Allowed values are Byte values from zero to 100. // The percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error. // If the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning. // This is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type. // The computation rounds up to tolerate one failure on small numbers of services. Default percentage is zero. MaxPercentUnhealthyServices *int32 `json:"MaxPercentUnhealthyServices,omitempty"` }
ServiceTypeHealthPolicy represents the health policy used to evaluate the health of services belonging to a service type.
type ServiceTypeHealthPolicyMapItem ¶
type ServiceTypeHealthPolicyMapItem struct { // Key - The key of the service type health policy map item. This is the name of the service type. Key *string `json:"Key,omitempty"` Value *ServiceTypeHealthPolicy `json:"Value,omitempty"` }
ServiceTypeHealthPolicyMapItem defines an item in ServiceTypeHealthPolicyMap.
type ServiceTypeInfo ¶
type ServiceTypeInfo struct { ServiceTypeDescription BasicServiceTypeDescription `json:"ServiceTypeDescription,omitempty"` ServiceManifestName *string `json:"ServiceManifestName,omitempty"` // ServiceManifestVersion - The version of the service manifest in which this service type is defined. ServiceManifestVersion *string `json:"ServiceManifestVersion,omitempty"` // IsServiceGroup - Indicates whether the service is a service group. If it is, the property value is true otherwise false. IsServiceGroup *bool `json:"IsServiceGroup,omitempty"` }
ServiceTypeInfo information about a service type that is defined in a service manifest of a provisioned application type.
func (*ServiceTypeInfo) UnmarshalJSON ¶
func (sti *ServiceTypeInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceTypeInfo struct.
type ServiceTypeManifest ¶
type ServiceTypeManifest struct { autorest.Response `json:"-"` // Manifest - The XML manifest as a string. Manifest *string `json:"Manifest,omitempty"` }
ServiceTypeManifest contains the manifest describing a service type registered as part of an application in a Service Fabric cluster.
type ServiceUpdateDescription ¶
type ServiceUpdateDescription struct { // Flags - Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified. // This property can be a combination of those flags obtained using bitwise 'OR' operator. // For example, if the provided value is 6 then the flags for ReplicaRestartWaitDuration (2) and QuorumLossWaitDuration (4) are set. // - None - Does not indicate any other properties are set. The value is zero. // - TargetReplicaSetSize/InstanceCount - Indicates whether the TargetReplicaSetSize property (for Stateful services) or the InstanceCount property (for Stateless services) is set. The value is 1. // - ReplicaRestartWaitDuration - Indicates the ReplicaRestartWaitDuration property is set. The value is 2. // - QuorumLossWaitDuration - Indicates the QuorumLossWaitDuration property is set. The value is 4. // - StandByReplicaKeepDuration - Indicates the StandByReplicaKeepDuration property is set. The value is 8. // - MinReplicaSetSize - Indicates the MinReplicaSetSize property is set. The value is 16. // - PlacementConstraints - Indicates the PlacementConstraints property is set. The value is 32. // - PlacementPolicyList - Indicates the ServicePlacementPolicies property is set. The value is 64. // - Correlation - Indicates the CorrelationScheme property is set. The value is 128. // - Metrics - Indicates the ServiceLoadMetrics property is set. The value is 256. // - DefaultMoveCost - Indicates the DefaultMoveCost property is set. The value is 512. Flags *string `json:"Flags,omitempty"` // PlacementConstraints - The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)". PlacementConstraints *string `json:"PlacementConstraints,omitempty"` CorrelationScheme *[]ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"` LoadMetrics *[]ServiceLoadMetricDescription `json:"LoadMetrics,omitempty"` ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"` // DefaultMoveCost - Possible values include: 'DefaultMoveCost1Zero', 'DefaultMoveCost1Low', 'DefaultMoveCost1Medium', 'DefaultMoveCost1High' DefaultMoveCost DefaultMoveCost1 `json:"DefaultMoveCost,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription', 'ServiceKindBasicServiceUpdateDescriptionServiceKindStateful', 'ServiceKindBasicServiceUpdateDescriptionServiceKindStateless' ServiceKind ServiceKindBasicServiceUpdateDescription `json:"ServiceKind,omitempty"` }
ServiceUpdateDescription a ServiceUpdateDescription contains all of the information necessary to update a service.
func (ServiceUpdateDescription) AsBasicServiceUpdateDescription ¶
func (sud ServiceUpdateDescription) AsBasicServiceUpdateDescription() (BasicServiceUpdateDescription, bool)
AsBasicServiceUpdateDescription is the BasicServiceUpdateDescription implementation for ServiceUpdateDescription.
func (ServiceUpdateDescription) AsServiceUpdateDescription ¶
func (sud ServiceUpdateDescription) AsServiceUpdateDescription() (*ServiceUpdateDescription, bool)
AsServiceUpdateDescription is the BasicServiceUpdateDescription implementation for ServiceUpdateDescription.
func (ServiceUpdateDescription) AsStatefulServiceUpdateDescription ¶
func (sud ServiceUpdateDescription) AsStatefulServiceUpdateDescription() (*StatefulServiceUpdateDescription, bool)
AsStatefulServiceUpdateDescription is the BasicServiceUpdateDescription implementation for ServiceUpdateDescription.
func (ServiceUpdateDescription) AsStatelessServiceUpdateDescription ¶
func (sud ServiceUpdateDescription) AsStatelessServiceUpdateDescription() (*StatelessServiceUpdateDescription, bool)
AsStatelessServiceUpdateDescription is the BasicServiceUpdateDescription implementation for ServiceUpdateDescription.
func (ServiceUpdateDescription) MarshalJSON ¶
func (sud ServiceUpdateDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServiceUpdateDescription.
func (*ServiceUpdateDescription) UnmarshalJSON ¶
func (sud *ServiceUpdateDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for ServiceUpdateDescription struct.
type ServicesHealthEvaluation ¶
type ServicesHealthEvaluation struct { // ServiceTypeName - Name of the service type of the services. ServiceTypeName *string `json:"ServiceTypeName,omitempty"` // MaxPercentUnhealthyServices - Maximum allowed percentage of unhealthy services from the ServiceTypeHealthPolicy. MaxPercentUnhealthyServices *int32 `json:"MaxPercentUnhealthyServices,omitempty"` // TotalCount - Total number of services of the current service type in the application from the health store. TotalCount *int64 `json:"TotalCount,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
ServicesHealthEvaluation represents health evaluation for services of a certain service type belonging to an application, containing health evaluations for each unhealthy service that impacted current aggregated health state. Can be returned when evaluating application health and the aggregated health state is either Error or Warning.
func (ServicesHealthEvaluation) AsApplicationHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsBasicHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsEventHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsNodeHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsNodesHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsPartitionHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsReplicaHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsReplicasHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsServiceHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsServicesHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (she ServicesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.
func (ServicesHealthEvaluation) MarshalJSON ¶
func (she ServicesHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ServicesHealthEvaluation.
type SingletonPartitionInformation ¶
type SingletonPartitionInformation struct { ID *uuid.UUID `json:"Id,omitempty"` // ServicePartitionKind - Possible values include: 'ServicePartitionKindPartitionInformation', 'ServicePartitionKindInt64Range', 'ServicePartitionKindNamed', 'ServicePartitionKindSingleton' ServicePartitionKind ServicePartitionKind `json:"ServicePartitionKind,omitempty"` }
SingletonPartitionInformation information about a partition that is singleton. The services with singletone partitioning scheme are effectively non-partitioned. They only have one partition.
func (SingletonPartitionInformation) AsBasicPartitionInformation ¶
func (spi SingletonPartitionInformation) AsBasicPartitionInformation() (BasicPartitionInformation, bool)
AsBasicPartitionInformation is the BasicPartitionInformation implementation for SingletonPartitionInformation.
func (SingletonPartitionInformation) AsInt64RangePartitionInformation ¶
func (spi SingletonPartitionInformation) AsInt64RangePartitionInformation() (*Int64RangePartitionInformation, bool)
AsInt64RangePartitionInformation is the BasicPartitionInformation implementation for SingletonPartitionInformation.
func (SingletonPartitionInformation) AsNamedPartitionInformation ¶
func (spi SingletonPartitionInformation) AsNamedPartitionInformation() (*NamedPartitionInformation, bool)
AsNamedPartitionInformation is the BasicPartitionInformation implementation for SingletonPartitionInformation.
func (SingletonPartitionInformation) AsPartitionInformation ¶
func (spi SingletonPartitionInformation) AsPartitionInformation() (*PartitionInformation, bool)
AsPartitionInformation is the BasicPartitionInformation implementation for SingletonPartitionInformation.
func (SingletonPartitionInformation) AsSingletonPartitionInformation ¶
func (spi SingletonPartitionInformation) AsSingletonPartitionInformation() (*SingletonPartitionInformation, bool)
AsSingletonPartitionInformation is the BasicPartitionInformation implementation for SingletonPartitionInformation.
func (SingletonPartitionInformation) MarshalJSON ¶
func (spi SingletonPartitionInformation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SingletonPartitionInformation.
type SingletonPartitionSchemeDescription ¶
type SingletonPartitionSchemeDescription struct { // PartitionScheme - Possible values include: 'PartitionSchemePartitionSchemeDescription', 'PartitionSchemeNamed', 'PartitionSchemeSingleton', 'PartitionSchemeUniformInt64Range' PartitionScheme PartitionScheme `json:"PartitionScheme,omitempty"` }
SingletonPartitionSchemeDescription describes the partition scheme of a singleton-partitioned, or non-partitioned service.
func (SingletonPartitionSchemeDescription) AsBasicPartitionSchemeDescription ¶
func (spsd SingletonPartitionSchemeDescription) AsBasicPartitionSchemeDescription() (BasicPartitionSchemeDescription, bool)
AsBasicPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.
func (SingletonPartitionSchemeDescription) AsNamedPartitionSchemeDescription ¶
func (spsd SingletonPartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
AsNamedPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.
func (SingletonPartitionSchemeDescription) AsPartitionSchemeDescription ¶
func (spsd SingletonPartitionSchemeDescription) AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)
AsPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.
func (SingletonPartitionSchemeDescription) AsSingletonPartitionSchemeDescription ¶
func (spsd SingletonPartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
AsSingletonPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.
func (SingletonPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription ¶
func (spsd SingletonPartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
AsUniformInt64RangePartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for SingletonPartitionSchemeDescription.
func (SingletonPartitionSchemeDescription) MarshalJSON ¶
func (spsd SingletonPartitionSchemeDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SingletonPartitionSchemeDescription.
type 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 - Possible values include: 'UpgradeKind1Invalid', 'UpgradeKind1Rolling' UpgradeKind UpgradeKind1 `json:"UpgradeKind,omitempty"` // RollingUpgradeMode - Possible values include: 'RollingUpgradeMode2Invalid', 'RollingUpgradeMode2UnmonitoredAuto', 'RollingUpgradeMode2UnmonitoredManual', 'RollingUpgradeMode2Monitored' RollingUpgradeMode RollingUpgradeMode2 `json:"RollingUpgradeMode,omitempty"` UpgradeReplicaSetCheckTimeoutInSeconds *int64 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"` ForceRestart *bool `json:"ForceRestart,omitempty"` MonitoringPolicy *MonitoringPolicyDescription `json:"MonitoringPolicy,omitempty"` 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 *ClusterUpgradeHealthPolicyObject `json:"ClusterUpgradeHealthPolicy,omitempty"` ApplicationHealthPolicyMap *ApplicationHealthPolicies `json:"ApplicationHealthPolicyMap,omitempty"` }
StartClusterUpgradeDescription describes the parameters for starting a cluster upgrade.
type StartedChaosEvent ¶
type StartedChaosEvent struct { ChaosParameters *ChaosParameters `json:"ChaosParameters,omitempty"` TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"` // Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting' Kind KindBasicChaosEvent `json:"Kind,omitempty"` }
StartedChaosEvent describes a Chaos event that gets generated when Chaos is started.
func (StartedChaosEvent) AsBasicChaosEvent ¶
func (sce StartedChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
AsBasicChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.
func (StartedChaosEvent) AsChaosEvent ¶
func (sce StartedChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
AsChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.
func (StartedChaosEvent) AsExecutingFaultsChaosEvent ¶
func (sce StartedChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.
func (StartedChaosEvent) AsStartedChaosEvent ¶
func (sce StartedChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
AsStartedChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.
func (StartedChaosEvent) AsStoppedChaosEvent ¶
func (sce StartedChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
AsStoppedChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.
func (StartedChaosEvent) AsTestErrorChaosEvent ¶
func (sce StartedChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
AsTestErrorChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.
func (StartedChaosEvent) AsValidationFailedChaosEvent ¶
func (sce StartedChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
AsValidationFailedChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.
func (StartedChaosEvent) AsWaitingChaosEvent ¶
func (sce StartedChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
AsWaitingChaosEvent is the BasicChaosEvent implementation for StartedChaosEvent.
func (StartedChaosEvent) MarshalJSON ¶
func (sce StartedChaosEvent) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StartedChaosEvent.
type State ¶
type State string
State enumerates the values for state.
func PossibleStateValues ¶
func PossibleStateValues() []State
PossibleStateValues returns an array of possible values for the State const type.
type State1 ¶
type State1 string
State1 enumerates the values for state 1.
const ( // State1Cancelled ... State1Cancelled State1 = "Cancelled" // State1Completed ... State1Completed State1 = "Completed" // State1Faulted ... State1Faulted State1 = "Faulted" // State1ForceCancelled ... State1ForceCancelled State1 = "ForceCancelled" // State1Invalid ... State1Invalid State1 = "Invalid" // State1RollingBack ... State1RollingBack State1 = "RollingBack" // State1Running ... State1Running State1 = "Running" )
func PossibleState1Values ¶
func PossibleState1Values() []State1
PossibleState1Values returns an array of possible values for the State1 const type.
type State2 ¶
type State2 string
State2 enumerates the values for state 2.
const ( // State2Cancelled ... State2Cancelled State2 = "Cancelled" // State2Completed ... State2Completed State2 = "Completed" // State2Faulted ... State2Faulted State2 = "Faulted" // State2ForceCancelled ... State2ForceCancelled State2 = "ForceCancelled" // State2Invalid ... State2Invalid State2 = "Invalid" // State2RollingBack ... State2RollingBack State2 = "RollingBack" // State2Running ... State2Running State2 = "Running" )
func PossibleState2Values ¶
func PossibleState2Values() []State2
PossibleState2Values returns an array of possible values for the State2 const type.
type State3 ¶
type State3 string
State3 enumerates the values for state 3.
const ( // State3Cancelled ... State3Cancelled State3 = "Cancelled" // State3Completed ... State3Completed State3 = "Completed" // State3Faulted ... State3Faulted State3 = "Faulted" // State3ForceCancelled ... State3ForceCancelled State3 = "ForceCancelled" // State3Invalid ... State3Invalid State3 = "Invalid" // State3RollingBack ... State3RollingBack State3 = "RollingBack" // State3Running ... State3Running State3 = "Running" )
func PossibleState3Values ¶
func PossibleState3Values() []State3
PossibleState3Values returns an array of possible values for the State3 const type.
type State4 ¶
type State4 string
State4 enumerates the values for state 4.
const ( // State4Cancelled ... State4Cancelled State4 = "Cancelled" // State4Completed ... State4Completed State4 = "Completed" // State4Faulted ... State4Faulted State4 = "Faulted" // State4ForceCancelled ... State4ForceCancelled State4 = "ForceCancelled" // State4Invalid ... State4Invalid State4 = "Invalid" // State4RollingBack ... State4RollingBack State4 = "RollingBack" // State4Running ... State4Running State4 = "Running" )
func PossibleState4Values ¶
func PossibleState4Values() []State4
PossibleState4Values returns an array of possible values for the State4 const type.
type State5 ¶
type State5 string
State5 enumerates the values for state 5.
const ( // State5Cancelled ... State5Cancelled State5 = "Cancelled" // State5Completed ... State5Completed State5 = "Completed" // State5Faulted ... State5Faulted State5 = "Faulted" // State5ForceCancelled ... State5ForceCancelled State5 = "ForceCancelled" // State5Invalid ... State5Invalid State5 = "Invalid" // State5RollingBack ... State5RollingBack State5 = "RollingBack" // State5Running ... State5Running State5 = "Running" )
func PossibleState5Values ¶
func PossibleState5Values() []State5
PossibleState5Values returns an array of possible values for the State5 const type.
type State6 ¶
type State6 string
State6 enumerates the values for state 6.
const ( // State6Approved ... State6Approved State6 = "Approved" // State6Claimed ... State6Claimed State6 = "Claimed" // State6Completed ... State6Completed State6 = "Completed" // State6Created ... State6Created State6 = "Created" // State6Executing ... State6Executing State6 = "Executing" // State6Invalid ... State6Invalid State6 = "Invalid" // State6Preparing ... State6Preparing State6 = "Preparing" // State6Restoring ... State6Restoring State6 = "Restoring" )
func PossibleState6Values ¶
func PossibleState6Values() []State6
PossibleState6Values returns an array of possible values for the State6 const type.
type StatefulServiceDescription ¶
type StatefulServiceDescription struct { // TargetReplicaSetSize - The target replica set size as a number. TargetReplicaSetSize *int32 `json:"TargetReplicaSetSize,omitempty"` // MinReplicaSetSize - The minimum replica set size as a number. MinReplicaSetSize *int32 `json:"MinReplicaSetSize,omitempty"` // HasPersistedState - A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false. HasPersistedState *bool `json:"HasPersistedState,omitempty"` // Flags - Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified. // This property can be a combination of those flags obtained using bitwise 'OR' operator. // For example, if the provided value is 6 then the flags for QuorumLossWaitDuration (2) and StandByReplicaKeepDuration(4) are set. // - None - Does not indicate any other properties are set. The value is zero. // - ReplicaRestartWaitDuration - Indicates the ReplicaRestartWaitDuration property is set. The value is 1. // - QuorumLossWaitDuration - Indicates the QuorumLossWaitDuration property is set. The value is 2. // - StandByReplicaKeepDuration - Indicates the StandByReplicaKeepDuration property is set. The value is 4. Flags *int32 `json:"Flags,omitempty"` // ReplicaRestartWaitDurationSeconds - The duration, in seconds, between when a replica goes down and when a new replica is created. ReplicaRestartWaitDurationSeconds *int64 `json:"ReplicaRestartWaitDurationSeconds,omitempty"` // QuorumLossWaitDurationSeconds - The maximum duration, in seconds, for which a partition is allowed to be in a state of quorum loss. QuorumLossWaitDurationSeconds *int64 `json:"QuorumLossWaitDurationSeconds,omitempty"` // StandByReplicaKeepDurationSeconds - The definition on how long StandBy replicas should be maintained before being removed. StandByReplicaKeepDurationSeconds *int64 `json:"StandByReplicaKeepDurationSeconds,omitempty"` ApplicationName *string `json:"ApplicationName,omitempty"` ServiceName *string `json:"ServiceName,omitempty"` ServiceTypeName *string `json:"ServiceTypeName,omitempty"` InitializationData *[]int32 `json:"InitializationData,omitempty"` 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 *[]ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"` ServiceLoadMetrics *[]ServiceLoadMetricDescription `json:"ServiceLoadMetrics,omitempty"` ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"` // DefaultMoveCost - Possible values include: 'Zero', 'Low', 'Medium', 'High' DefaultMoveCost DefaultMoveCost `json:"DefaultMoveCost,omitempty"` // IsDefaultMoveCostSpecified - Indicates if the DefaultMoveCost property is specified. IsDefaultMoveCostSpecified *bool `json:"IsDefaultMoveCostSpecified,omitempty"` // ServicePackageActivationMode - Possible values include: 'ServicePackageActivationMode1SharedProcess', 'ServicePackageActivationMode1ExclusiveProcess' ServicePackageActivationMode ServicePackageActivationMode1 `json:"ServicePackageActivationMode,omitempty"` // ServiceDNSName - The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster. ServiceDNSName *string `json:"ServiceDnsName,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicServiceDescriptionServiceKindServiceDescription', 'ServiceKindBasicServiceDescriptionServiceKindStateful', 'ServiceKindBasicServiceDescriptionServiceKindStateless' ServiceKind ServiceKindBasicServiceDescription `json:"ServiceKind,omitempty"` }
StatefulServiceDescription describes a stateful service.
func (StatefulServiceDescription) AsBasicServiceDescription ¶
func (ssd StatefulServiceDescription) AsBasicServiceDescription() (BasicServiceDescription, bool)
AsBasicServiceDescription is the BasicServiceDescription implementation for StatefulServiceDescription.
func (StatefulServiceDescription) AsServiceDescription ¶
func (ssd StatefulServiceDescription) AsServiceDescription() (*ServiceDescription, bool)
AsServiceDescription is the BasicServiceDescription implementation for StatefulServiceDescription.
func (StatefulServiceDescription) AsStatefulServiceDescription ¶
func (ssd StatefulServiceDescription) AsStatefulServiceDescription() (*StatefulServiceDescription, bool)
AsStatefulServiceDescription is the BasicServiceDescription implementation for StatefulServiceDescription.
func (StatefulServiceDescription) AsStatelessServiceDescription ¶
func (ssd StatefulServiceDescription) AsStatelessServiceDescription() (*StatelessServiceDescription, bool)
AsStatelessServiceDescription is the BasicServiceDescription implementation for StatefulServiceDescription.
func (StatefulServiceDescription) MarshalJSON ¶
func (ssd StatefulServiceDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatefulServiceDescription.
func (*StatefulServiceDescription) UnmarshalJSON ¶
func (ssd *StatefulServiceDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StatefulServiceDescription struct.
type StatefulServiceInfo ¶
type StatefulServiceInfo struct { // HasPersistedState - Whether the service has persisted state. HasPersistedState *bool `json:"HasPersistedState,omitempty"` ID *string `json:"Id,omitempty"` Name *string `json:"Name,omitempty"` TypeName *string `json:"TypeName,omitempty"` // ManifestVersion - The version of the service manifest. ManifestVersion *string `json:"ManifestVersion,omitempty"` // HealthState - Possible values include: 'HealthState7Invalid', 'HealthState7Ok', 'HealthState7Warning', 'HealthState7Error', 'HealthState7Unknown' HealthState HealthState7 `json:"HealthState,omitempty"` // ServiceStatus - Possible values include: 'ServiceStatusUnknown', 'ServiceStatusActive', 'ServiceStatusUpgrading', 'ServiceStatusDeleting', 'ServiceStatusCreating', 'ServiceStatusFailed' ServiceStatus ServiceStatus `json:"ServiceStatus,omitempty"` // IsServiceGroup - Whether the service is in a service group. IsServiceGroup *bool `json:"IsServiceGroup,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicServiceInfoServiceKindServiceInfo', 'ServiceKindBasicServiceInfoServiceKindStateful', 'ServiceKindBasicServiceInfoServiceKindStateless' ServiceKind ServiceKindBasicServiceInfo `json:"ServiceKind,omitempty"` }
StatefulServiceInfo information about a stateful Service Fabric service.
func (StatefulServiceInfo) AsBasicServiceInfo ¶
func (ssi StatefulServiceInfo) AsBasicServiceInfo() (BasicServiceInfo, bool)
AsBasicServiceInfo is the BasicServiceInfo implementation for StatefulServiceInfo.
func (StatefulServiceInfo) AsServiceInfo ¶
func (ssi StatefulServiceInfo) AsServiceInfo() (*ServiceInfo, bool)
AsServiceInfo is the BasicServiceInfo implementation for StatefulServiceInfo.
func (StatefulServiceInfo) AsStatefulServiceInfo ¶
func (ssi StatefulServiceInfo) AsStatefulServiceInfo() (*StatefulServiceInfo, bool)
AsStatefulServiceInfo is the BasicServiceInfo implementation for StatefulServiceInfo.
func (StatefulServiceInfo) AsStatelessServiceInfo ¶
func (ssi StatefulServiceInfo) AsStatelessServiceInfo() (*StatelessServiceInfo, bool)
AsStatelessServiceInfo is the BasicServiceInfo implementation for StatefulServiceInfo.
func (StatefulServiceInfo) MarshalJSON ¶
func (ssi StatefulServiceInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatefulServiceInfo.
type StatefulServicePartitionInfo ¶
type StatefulServicePartitionInfo struct { // TargetReplicaSetSize - The target replica set size as a number. TargetReplicaSetSize *int64 `json:"TargetReplicaSetSize,omitempty"` // MinReplicaSetSize - The minimum replica set size as a number. MinReplicaSetSize *int64 `json:"MinReplicaSetSize,omitempty"` // LastQuorumLossDuration - The duration for which this partition was in quorum loss. If the partition is currently in quorum loss, it returns the duration since it has been in that state. This field is using ISO8601 format for specifying the duration. LastQuorumLossDuration *string `json:"LastQuorumLossDuration,omitempty"` CurrentConfigurationEpoch *Epoch `json:"CurrentConfigurationEpoch,omitempty"` // HealthState - Possible values include: 'HealthState5Invalid', 'HealthState5Ok', 'HealthState5Warning', 'HealthState5Error', 'HealthState5Unknown' HealthState HealthState5 `json:"HealthState,omitempty"` // PartitionStatus - Possible values include: 'PartitionStatusInvalid', 'PartitionStatusReady', 'PartitionStatusNotReady', 'PartitionStatusInQuorumLoss', 'PartitionStatusReconfiguring', 'PartitionStatusDeleting' PartitionStatus PartitionStatus `json:"PartitionStatus,omitempty"` PartitionInformation BasicPartitionInformation `json:"PartitionInformation,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo', 'ServiceKindBasicServicePartitionInfoServiceKindStateful', 'ServiceKindBasicServicePartitionInfoServiceKindStateless' ServiceKind ServiceKindBasicServicePartitionInfo `json:"ServiceKind,omitempty"` }
StatefulServicePartitionInfo information about a partition of a stateful Service Fabric service..
func (StatefulServicePartitionInfo) AsBasicServicePartitionInfo ¶
func (sspi StatefulServicePartitionInfo) AsBasicServicePartitionInfo() (BasicServicePartitionInfo, bool)
AsBasicServicePartitionInfo is the BasicServicePartitionInfo implementation for StatefulServicePartitionInfo.
func (StatefulServicePartitionInfo) AsServicePartitionInfo ¶
func (sspi StatefulServicePartitionInfo) AsServicePartitionInfo() (*ServicePartitionInfo, bool)
AsServicePartitionInfo is the BasicServicePartitionInfo implementation for StatefulServicePartitionInfo.
func (StatefulServicePartitionInfo) AsStatefulServicePartitionInfo ¶
func (sspi StatefulServicePartitionInfo) AsStatefulServicePartitionInfo() (*StatefulServicePartitionInfo, bool)
AsStatefulServicePartitionInfo is the BasicServicePartitionInfo implementation for StatefulServicePartitionInfo.
func (StatefulServicePartitionInfo) AsStatelessServicePartitionInfo ¶
func (sspi StatefulServicePartitionInfo) AsStatelessServicePartitionInfo() (*StatelessServicePartitionInfo, bool)
AsStatelessServicePartitionInfo is the BasicServicePartitionInfo implementation for StatefulServicePartitionInfo.
func (StatefulServicePartitionInfo) MarshalJSON ¶
func (sspi StatefulServicePartitionInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatefulServicePartitionInfo.
func (*StatefulServicePartitionInfo) UnmarshalJSON ¶
func (sspi *StatefulServicePartitionInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StatefulServicePartitionInfo struct.
type StatefulServiceReplicaHealth ¶
type StatefulServiceReplicaHealth struct { ReplicaID *string `json:"ReplicaId,omitempty"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicReplicaHealthServiceKindReplicaHealth', 'ServiceKindBasicReplicaHealthServiceKindStateful', 'ServiceKindBasicReplicaHealthServiceKindStateless' ServiceKind ServiceKindBasicReplicaHealth `json:"ServiceKind,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown' AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"` // HealthEvents - The list of health events reported on the entity. HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` 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) AsBasicReplicaHealth ¶
func (ssrh StatefulServiceReplicaHealth) AsBasicReplicaHealth() (BasicReplicaHealth, bool)
AsBasicReplicaHealth is the BasicReplicaHealth implementation for StatefulServiceReplicaHealth.
func (StatefulServiceReplicaHealth) AsReplicaHealth ¶
func (ssrh StatefulServiceReplicaHealth) AsReplicaHealth() (*ReplicaHealth, bool)
AsReplicaHealth is the BasicReplicaHealth implementation for StatefulServiceReplicaHealth.
func (StatefulServiceReplicaHealth) AsStatefulServiceReplicaHealth ¶
func (ssrh StatefulServiceReplicaHealth) AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)
AsStatefulServiceReplicaHealth is the BasicReplicaHealth implementation for StatefulServiceReplicaHealth.
func (StatefulServiceReplicaHealth) AsStatelessServiceInstanceHealth ¶
func (ssrh StatefulServiceReplicaHealth) AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)
AsStatelessServiceInstanceHealth is the BasicReplicaHealth implementation for StatefulServiceReplicaHealth.
func (StatefulServiceReplicaHealth) MarshalJSON ¶
func (ssrh StatefulServiceReplicaHealth) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatefulServiceReplicaHealth.
type StatefulServiceReplicaHealthState ¶
type StatefulServiceReplicaHealthState struct { ReplicaID *string `json:"ReplicaId,omitempty"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState', 'ServiceKindBasicReplicaHealthStateServiceKindStateful', 'ServiceKindBasicReplicaHealthStateServiceKindStateless' ServiceKind ServiceKindBasicReplicaHealthState `json:"ServiceKind,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown' AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"` }
StatefulServiceReplicaHealthState represents the health state of the stateful service replica, which contains the replica id and the aggregated health state.
func (StatefulServiceReplicaHealthState) AsBasicReplicaHealthState ¶
func (ssrhs StatefulServiceReplicaHealthState) AsBasicReplicaHealthState() (BasicReplicaHealthState, bool)
AsBasicReplicaHealthState is the BasicReplicaHealthState implementation for StatefulServiceReplicaHealthState.
func (StatefulServiceReplicaHealthState) AsReplicaHealthState ¶
func (ssrhs StatefulServiceReplicaHealthState) AsReplicaHealthState() (*ReplicaHealthState, bool)
AsReplicaHealthState is the BasicReplicaHealthState implementation for StatefulServiceReplicaHealthState.
func (StatefulServiceReplicaHealthState) AsStatefulServiceReplicaHealthState ¶
func (ssrhs StatefulServiceReplicaHealthState) AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)
AsStatefulServiceReplicaHealthState is the BasicReplicaHealthState implementation for StatefulServiceReplicaHealthState.
func (StatefulServiceReplicaHealthState) AsStatelessServiceInstanceHealthState ¶
func (ssrhs StatefulServiceReplicaHealthState) AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)
AsStatelessServiceInstanceHealthState is the BasicReplicaHealthState implementation for StatefulServiceReplicaHealthState.
func (StatefulServiceReplicaHealthState) MarshalJSON ¶
func (ssrhs StatefulServiceReplicaHealthState) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatefulServiceReplicaHealthState.
type StatefulServiceReplicaInfo ¶
type StatefulServiceReplicaInfo struct { // ReplicaRole - Possible values include: 'ReplicaRole1Unknown', 'ReplicaRole1None', 'ReplicaRole1Primary', 'ReplicaRole1IdleSecondary', 'ReplicaRole1ActiveSecondary' ReplicaRole ReplicaRole1 `json:"ReplicaRole,omitempty"` ReplicaID *string `json:"ReplicaId,omitempty"` // ReplicaStatus - Possible values include: 'ReplicaStatus1Invalid', 'ReplicaStatus1InBuild', 'ReplicaStatus1Standby', 'ReplicaStatus1Ready', 'ReplicaStatus1Down', 'ReplicaStatus1Dropped' ReplicaStatus ReplicaStatus1 `json:"ReplicaStatus,omitempty"` // HealthState - Possible values include: 'HealthState6Invalid', 'HealthState6Ok', 'HealthState6Warning', 'HealthState6Error', 'HealthState6Unknown' HealthState HealthState6 `json:"HealthState,omitempty"` NodeName *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 *string `json:"ServiceTypeName,omitempty"` // PlacementConstraints - The placement constraint to be used when instantiating this service in a Service Fabric cluster. PlacementConstraints *string `json:"PlacementConstraints,omitempty"` ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"` Extensions *[]ServiceTypeExtensionDescription `json:"Extensions,omitempty"` // Kind - Possible values include: 'KindServiceTypeDescription', 'KindStateful', 'KindStateless1' Kind KindBasicServiceTypeDescription `json:"Kind,omitempty"` }
StatefulServiceTypeDescription describes a stateful service type defined in the service manifest of a provisioned application type.
func (StatefulServiceTypeDescription) AsBasicServiceTypeDescription ¶
func (sstd StatefulServiceTypeDescription) AsBasicServiceTypeDescription() (BasicServiceTypeDescription, bool)
AsBasicServiceTypeDescription is the BasicServiceTypeDescription implementation for StatefulServiceTypeDescription.
func (StatefulServiceTypeDescription) AsServiceTypeDescription ¶
func (sstd StatefulServiceTypeDescription) AsServiceTypeDescription() (*ServiceTypeDescription, bool)
AsServiceTypeDescription is the BasicServiceTypeDescription implementation for StatefulServiceTypeDescription.
func (StatefulServiceTypeDescription) AsStatefulServiceTypeDescription ¶
func (sstd StatefulServiceTypeDescription) AsStatefulServiceTypeDescription() (*StatefulServiceTypeDescription, bool)
AsStatefulServiceTypeDescription is the BasicServiceTypeDescription implementation for StatefulServiceTypeDescription.
func (StatefulServiceTypeDescription) AsStatelessServiceTypeDescription ¶
func (sstd StatefulServiceTypeDescription) AsStatelessServiceTypeDescription() (*StatelessServiceTypeDescription, bool)
AsStatelessServiceTypeDescription is the BasicServiceTypeDescription implementation for StatefulServiceTypeDescription.
func (StatefulServiceTypeDescription) MarshalJSON ¶
func (sstd StatefulServiceTypeDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatefulServiceTypeDescription.
func (*StatefulServiceTypeDescription) UnmarshalJSON ¶
func (sstd *StatefulServiceTypeDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StatefulServiceTypeDescription struct.
type StatefulServiceUpdateDescription ¶
type StatefulServiceUpdateDescription struct { // TargetReplicaSetSize - The target replica set size as a number. TargetReplicaSetSize *int32 `json:"TargetReplicaSetSize,omitempty"` // MinReplicaSetSize - The minimum replica set size as a number. MinReplicaSetSize *int32 `json:"MinReplicaSetSize,omitempty"` // ReplicaRestartWaitDurationSeconds - The duration, in seconds, between when a replica goes down and when a new replica is created. ReplicaRestartWaitDurationSeconds *string `json:"ReplicaRestartWaitDurationSeconds,omitempty"` // QuorumLossWaitDurationSeconds - The maximum duration, in seconds, for which a partition is allowed to be in a state of quorum loss. QuorumLossWaitDurationSeconds *string `json:"QuorumLossWaitDurationSeconds,omitempty"` // StandByReplicaKeepDurationSeconds - The definition on how long StandBy replicas should be maintained before being removed. StandByReplicaKeepDurationSeconds *string `json:"StandByReplicaKeepDurationSeconds,omitempty"` // Flags - Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified. // This property can be a combination of those flags obtained using bitwise 'OR' operator. // For example, if the provided value is 6 then the flags for ReplicaRestartWaitDuration (2) and QuorumLossWaitDuration (4) are set. // - None - Does not indicate any other properties are set. The value is zero. // - TargetReplicaSetSize/InstanceCount - Indicates whether the TargetReplicaSetSize property (for Stateful services) or the InstanceCount property (for Stateless services) is set. The value is 1. // - ReplicaRestartWaitDuration - Indicates the ReplicaRestartWaitDuration property is set. The value is 2. // - QuorumLossWaitDuration - Indicates the QuorumLossWaitDuration property is set. The value is 4. // - StandByReplicaKeepDuration - Indicates the StandByReplicaKeepDuration property is set. The value is 8. // - MinReplicaSetSize - Indicates the MinReplicaSetSize property is set. The value is 16. // - PlacementConstraints - Indicates the PlacementConstraints property is set. The value is 32. // - PlacementPolicyList - Indicates the ServicePlacementPolicies property is set. The value is 64. // - Correlation - Indicates the CorrelationScheme property is set. The value is 128. // - Metrics - Indicates the ServiceLoadMetrics property is set. The value is 256. // - DefaultMoveCost - Indicates the DefaultMoveCost property is set. The value is 512. Flags *string `json:"Flags,omitempty"` // PlacementConstraints - The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)". PlacementConstraints *string `json:"PlacementConstraints,omitempty"` CorrelationScheme *[]ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"` LoadMetrics *[]ServiceLoadMetricDescription `json:"LoadMetrics,omitempty"` ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"` // DefaultMoveCost - Possible values include: 'DefaultMoveCost1Zero', 'DefaultMoveCost1Low', 'DefaultMoveCost1Medium', 'DefaultMoveCost1High' DefaultMoveCost DefaultMoveCost1 `json:"DefaultMoveCost,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription', 'ServiceKindBasicServiceUpdateDescriptionServiceKindStateful', 'ServiceKindBasicServiceUpdateDescriptionServiceKindStateless' ServiceKind ServiceKindBasicServiceUpdateDescription `json:"ServiceKind,omitempty"` }
StatefulServiceUpdateDescription describes an update for a stateful service.
func (StatefulServiceUpdateDescription) AsBasicServiceUpdateDescription ¶
func (ssud StatefulServiceUpdateDescription) AsBasicServiceUpdateDescription() (BasicServiceUpdateDescription, bool)
AsBasicServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatefulServiceUpdateDescription.
func (StatefulServiceUpdateDescription) AsServiceUpdateDescription ¶
func (ssud StatefulServiceUpdateDescription) AsServiceUpdateDescription() (*ServiceUpdateDescription, bool)
AsServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatefulServiceUpdateDescription.
func (StatefulServiceUpdateDescription) AsStatefulServiceUpdateDescription ¶
func (ssud StatefulServiceUpdateDescription) AsStatefulServiceUpdateDescription() (*StatefulServiceUpdateDescription, bool)
AsStatefulServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatefulServiceUpdateDescription.
func (StatefulServiceUpdateDescription) AsStatelessServiceUpdateDescription ¶
func (ssud StatefulServiceUpdateDescription) AsStatelessServiceUpdateDescription() (*StatelessServiceUpdateDescription, bool)
AsStatelessServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatefulServiceUpdateDescription.
func (StatefulServiceUpdateDescription) MarshalJSON ¶
func (ssud StatefulServiceUpdateDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatefulServiceUpdateDescription.
func (*StatefulServiceUpdateDescription) UnmarshalJSON ¶
func (ssud *StatefulServiceUpdateDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StatefulServiceUpdateDescription struct.
type StatelessServiceDescription ¶
type StatelessServiceDescription struct { // InstanceCount - The instance count. InstanceCount *int32 `json:"InstanceCount,omitempty"` ApplicationName *string `json:"ApplicationName,omitempty"` ServiceName *string `json:"ServiceName,omitempty"` ServiceTypeName *string `json:"ServiceTypeName,omitempty"` InitializationData *[]int32 `json:"InitializationData,omitempty"` 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 *[]ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"` ServiceLoadMetrics *[]ServiceLoadMetricDescription `json:"ServiceLoadMetrics,omitempty"` ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"` // DefaultMoveCost - Possible values include: 'Zero', 'Low', 'Medium', 'High' DefaultMoveCost DefaultMoveCost `json:"DefaultMoveCost,omitempty"` // IsDefaultMoveCostSpecified - Indicates if the DefaultMoveCost property is specified. IsDefaultMoveCostSpecified *bool `json:"IsDefaultMoveCostSpecified,omitempty"` // ServicePackageActivationMode - Possible values include: 'ServicePackageActivationMode1SharedProcess', 'ServicePackageActivationMode1ExclusiveProcess' ServicePackageActivationMode ServicePackageActivationMode1 `json:"ServicePackageActivationMode,omitempty"` // ServiceDNSName - The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster. ServiceDNSName *string `json:"ServiceDnsName,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicServiceDescriptionServiceKindServiceDescription', 'ServiceKindBasicServiceDescriptionServiceKindStateful', 'ServiceKindBasicServiceDescriptionServiceKindStateless' ServiceKind ServiceKindBasicServiceDescription `json:"ServiceKind,omitempty"` }
StatelessServiceDescription describes a stateless service.
func (StatelessServiceDescription) AsBasicServiceDescription ¶
func (ssd StatelessServiceDescription) AsBasicServiceDescription() (BasicServiceDescription, bool)
AsBasicServiceDescription is the BasicServiceDescription implementation for StatelessServiceDescription.
func (StatelessServiceDescription) AsServiceDescription ¶
func (ssd StatelessServiceDescription) AsServiceDescription() (*ServiceDescription, bool)
AsServiceDescription is the BasicServiceDescription implementation for StatelessServiceDescription.
func (StatelessServiceDescription) AsStatefulServiceDescription ¶
func (ssd StatelessServiceDescription) AsStatefulServiceDescription() (*StatefulServiceDescription, bool)
AsStatefulServiceDescription is the BasicServiceDescription implementation for StatelessServiceDescription.
func (StatelessServiceDescription) AsStatelessServiceDescription ¶
func (ssd StatelessServiceDescription) AsStatelessServiceDescription() (*StatelessServiceDescription, bool)
AsStatelessServiceDescription is the BasicServiceDescription implementation for StatelessServiceDescription.
func (StatelessServiceDescription) MarshalJSON ¶
func (ssd StatelessServiceDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatelessServiceDescription.
func (*StatelessServiceDescription) UnmarshalJSON ¶
func (ssd *StatelessServiceDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StatelessServiceDescription struct.
type StatelessServiceInfo ¶
type StatelessServiceInfo struct { ID *string `json:"Id,omitempty"` Name *string `json:"Name,omitempty"` TypeName *string `json:"TypeName,omitempty"` // ManifestVersion - The version of the service manifest. ManifestVersion *string `json:"ManifestVersion,omitempty"` // HealthState - Possible values include: 'HealthState7Invalid', 'HealthState7Ok', 'HealthState7Warning', 'HealthState7Error', 'HealthState7Unknown' HealthState HealthState7 `json:"HealthState,omitempty"` // ServiceStatus - Possible values include: 'ServiceStatusUnknown', 'ServiceStatusActive', 'ServiceStatusUpgrading', 'ServiceStatusDeleting', 'ServiceStatusCreating', 'ServiceStatusFailed' ServiceStatus ServiceStatus `json:"ServiceStatus,omitempty"` // IsServiceGroup - Whether the service is in a service group. IsServiceGroup *bool `json:"IsServiceGroup,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicServiceInfoServiceKindServiceInfo', 'ServiceKindBasicServiceInfoServiceKindStateful', 'ServiceKindBasicServiceInfoServiceKindStateless' ServiceKind ServiceKindBasicServiceInfo `json:"ServiceKind,omitempty"` }
StatelessServiceInfo information about a stateless Service Fabric service.
func (StatelessServiceInfo) AsBasicServiceInfo ¶
func (ssi StatelessServiceInfo) AsBasicServiceInfo() (BasicServiceInfo, bool)
AsBasicServiceInfo is the BasicServiceInfo implementation for StatelessServiceInfo.
func (StatelessServiceInfo) AsServiceInfo ¶
func (ssi StatelessServiceInfo) AsServiceInfo() (*ServiceInfo, bool)
AsServiceInfo is the BasicServiceInfo implementation for StatelessServiceInfo.
func (StatelessServiceInfo) AsStatefulServiceInfo ¶
func (ssi StatelessServiceInfo) AsStatefulServiceInfo() (*StatefulServiceInfo, bool)
AsStatefulServiceInfo is the BasicServiceInfo implementation for StatelessServiceInfo.
func (StatelessServiceInfo) AsStatelessServiceInfo ¶
func (ssi StatelessServiceInfo) AsStatelessServiceInfo() (*StatelessServiceInfo, bool)
AsStatelessServiceInfo is the BasicServiceInfo implementation for StatelessServiceInfo.
func (StatelessServiceInfo) MarshalJSON ¶
func (ssi StatelessServiceInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatelessServiceInfo.
type StatelessServiceInstanceHealth ¶
type StatelessServiceInstanceHealth struct { InstanceID *string `json:"InstanceId,omitempty"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicReplicaHealthServiceKindReplicaHealth', 'ServiceKindBasicReplicaHealthServiceKindStateful', 'ServiceKindBasicReplicaHealthServiceKindStateless' ServiceKind ServiceKindBasicReplicaHealth `json:"ServiceKind,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown' AggregatedHealthState AggregatedHealthState1 `json:"AggregatedHealthState,omitempty"` // HealthEvents - The list of health events reported on the entity. HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` HealthStatistics *HealthStatistics `json:"HealthStatistics,omitempty"` }
StatelessServiceInstanceHealth represents the health of the statelss service instance. Contains the instance aggregated health state, the health events and the unhealthy evaluations.
func (StatelessServiceInstanceHealth) AsBasicReplicaHealth ¶
func (ssih StatelessServiceInstanceHealth) AsBasicReplicaHealth() (BasicReplicaHealth, bool)
AsBasicReplicaHealth is the BasicReplicaHealth implementation for StatelessServiceInstanceHealth.
func (StatelessServiceInstanceHealth) AsReplicaHealth ¶
func (ssih StatelessServiceInstanceHealth) AsReplicaHealth() (*ReplicaHealth, bool)
AsReplicaHealth is the BasicReplicaHealth implementation for StatelessServiceInstanceHealth.
func (StatelessServiceInstanceHealth) AsStatefulServiceReplicaHealth ¶
func (ssih StatelessServiceInstanceHealth) AsStatefulServiceReplicaHealth() (*StatefulServiceReplicaHealth, bool)
AsStatefulServiceReplicaHealth is the BasicReplicaHealth implementation for StatelessServiceInstanceHealth.
func (StatelessServiceInstanceHealth) AsStatelessServiceInstanceHealth ¶
func (ssih StatelessServiceInstanceHealth) AsStatelessServiceInstanceHealth() (*StatelessServiceInstanceHealth, bool)
AsStatelessServiceInstanceHealth is the BasicReplicaHealth implementation for StatelessServiceInstanceHealth.
func (StatelessServiceInstanceHealth) MarshalJSON ¶
func (ssih StatelessServiceInstanceHealth) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatelessServiceInstanceHealth.
type StatelessServiceInstanceHealthState ¶
type StatelessServiceInstanceHealthState struct { ReplicaID *string `json:"ReplicaId,omitempty"` PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicReplicaHealthStateServiceKindReplicaHealthState', 'ServiceKindBasicReplicaHealthStateServiceKindStateful', 'ServiceKindBasicReplicaHealthStateServiceKindStateless' ServiceKind ServiceKindBasicReplicaHealthState `json:"ServiceKind,omitempty"` // AggregatedHealthState - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown' AggregatedHealthState AggregatedHealthState2 `json:"AggregatedHealthState,omitempty"` }
StatelessServiceInstanceHealthState represents the health state of the stateless service instance, which contains the instance id and the aggregated health state.
func (StatelessServiceInstanceHealthState) AsBasicReplicaHealthState ¶
func (ssihs StatelessServiceInstanceHealthState) AsBasicReplicaHealthState() (BasicReplicaHealthState, bool)
AsBasicReplicaHealthState is the BasicReplicaHealthState implementation for StatelessServiceInstanceHealthState.
func (StatelessServiceInstanceHealthState) AsReplicaHealthState ¶
func (ssihs StatelessServiceInstanceHealthState) AsReplicaHealthState() (*ReplicaHealthState, bool)
AsReplicaHealthState is the BasicReplicaHealthState implementation for StatelessServiceInstanceHealthState.
func (StatelessServiceInstanceHealthState) AsStatefulServiceReplicaHealthState ¶
func (ssihs StatelessServiceInstanceHealthState) AsStatefulServiceReplicaHealthState() (*StatefulServiceReplicaHealthState, bool)
AsStatefulServiceReplicaHealthState is the BasicReplicaHealthState implementation for StatelessServiceInstanceHealthState.
func (StatelessServiceInstanceHealthState) AsStatelessServiceInstanceHealthState ¶
func (ssihs StatelessServiceInstanceHealthState) AsStatelessServiceInstanceHealthState() (*StatelessServiceInstanceHealthState, bool)
AsStatelessServiceInstanceHealthState is the BasicReplicaHealthState implementation for StatelessServiceInstanceHealthState.
func (StatelessServiceInstanceHealthState) MarshalJSON ¶
func (ssihs StatelessServiceInstanceHealthState) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatelessServiceInstanceHealthState.
type StatelessServiceInstanceInfo ¶
type StatelessServiceInstanceInfo struct { InstanceID *string `json:"InstanceId,omitempty"` // ReplicaStatus - Possible values include: 'ReplicaStatus1Invalid', 'ReplicaStatus1InBuild', 'ReplicaStatus1Standby', 'ReplicaStatus1Ready', 'ReplicaStatus1Down', 'ReplicaStatus1Dropped' ReplicaStatus ReplicaStatus1 `json:"ReplicaStatus,omitempty"` // HealthState - Possible values include: 'HealthState6Invalid', 'HealthState6Ok', 'HealthState6Warning', 'HealthState6Error', 'HealthState6Unknown' HealthState HealthState6 `json:"HealthState,omitempty"` NodeName *string `json:"NodeName,omitempty"` // Address - The address the replica is listening on. Address *string `json:"Address,omitempty"` // LastInBuildDurationInSeconds - The last in build duration of the replica in seconds. LastInBuildDurationInSeconds *string `json:"LastInBuildDurationInSeconds,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicReplicaInfoServiceKindReplicaInfo', 'ServiceKindBasicReplicaInfoServiceKindStateful', 'ServiceKindBasicReplicaInfoServiceKindStateless' ServiceKind ServiceKindBasicReplicaInfo `json:"ServiceKind,omitempty"` }
StatelessServiceInstanceInfo represents a stateless service instance. This includes information about the identity, status, health, node name, uptime, and other details about the instance.
func (StatelessServiceInstanceInfo) AsBasicReplicaInfo ¶
func (ssii StatelessServiceInstanceInfo) AsBasicReplicaInfo() (BasicReplicaInfo, bool)
AsBasicReplicaInfo is the BasicReplicaInfo implementation for StatelessServiceInstanceInfo.
func (StatelessServiceInstanceInfo) AsReplicaInfo ¶
func (ssii StatelessServiceInstanceInfo) AsReplicaInfo() (*ReplicaInfo, bool)
AsReplicaInfo is the BasicReplicaInfo implementation for StatelessServiceInstanceInfo.
func (StatelessServiceInstanceInfo) AsStatefulServiceReplicaInfo ¶
func (ssii StatelessServiceInstanceInfo) AsStatefulServiceReplicaInfo() (*StatefulServiceReplicaInfo, bool)
AsStatefulServiceReplicaInfo is the BasicReplicaInfo implementation for StatelessServiceInstanceInfo.
func (StatelessServiceInstanceInfo) AsStatelessServiceInstanceInfo ¶
func (ssii StatelessServiceInstanceInfo) AsStatelessServiceInstanceInfo() (*StatelessServiceInstanceInfo, bool)
AsStatelessServiceInstanceInfo is the BasicReplicaInfo implementation for StatelessServiceInstanceInfo.
func (StatelessServiceInstanceInfo) MarshalJSON ¶
func (ssii StatelessServiceInstanceInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatelessServiceInstanceInfo.
type StatelessServicePartitionInfo ¶
type StatelessServicePartitionInfo struct { // InstanceCount - Number of instances of this partition. InstanceCount *int64 `json:"InstanceCount,omitempty"` // HealthState - Possible values include: 'HealthState5Invalid', 'HealthState5Ok', 'HealthState5Warning', 'HealthState5Error', 'HealthState5Unknown' HealthState HealthState5 `json:"HealthState,omitempty"` // PartitionStatus - Possible values include: 'PartitionStatusInvalid', 'PartitionStatusReady', 'PartitionStatusNotReady', 'PartitionStatusInQuorumLoss', 'PartitionStatusReconfiguring', 'PartitionStatusDeleting' PartitionStatus PartitionStatus `json:"PartitionStatus,omitempty"` PartitionInformation BasicPartitionInformation `json:"PartitionInformation,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicServicePartitionInfoServiceKindServicePartitionInfo', 'ServiceKindBasicServicePartitionInfoServiceKindStateful', 'ServiceKindBasicServicePartitionInfoServiceKindStateless' ServiceKind ServiceKindBasicServicePartitionInfo `json:"ServiceKind,omitempty"` }
StatelessServicePartitionInfo information about a partition of a stateless Service Fabric service.
func (StatelessServicePartitionInfo) AsBasicServicePartitionInfo ¶
func (sspi StatelessServicePartitionInfo) AsBasicServicePartitionInfo() (BasicServicePartitionInfo, bool)
AsBasicServicePartitionInfo is the BasicServicePartitionInfo implementation for StatelessServicePartitionInfo.
func (StatelessServicePartitionInfo) AsServicePartitionInfo ¶
func (sspi StatelessServicePartitionInfo) AsServicePartitionInfo() (*ServicePartitionInfo, bool)
AsServicePartitionInfo is the BasicServicePartitionInfo implementation for StatelessServicePartitionInfo.
func (StatelessServicePartitionInfo) AsStatefulServicePartitionInfo ¶
func (sspi StatelessServicePartitionInfo) AsStatefulServicePartitionInfo() (*StatefulServicePartitionInfo, bool)
AsStatefulServicePartitionInfo is the BasicServicePartitionInfo implementation for StatelessServicePartitionInfo.
func (StatelessServicePartitionInfo) AsStatelessServicePartitionInfo ¶
func (sspi StatelessServicePartitionInfo) AsStatelessServicePartitionInfo() (*StatelessServicePartitionInfo, bool)
AsStatelessServicePartitionInfo is the BasicServicePartitionInfo implementation for StatelessServicePartitionInfo.
func (StatelessServicePartitionInfo) MarshalJSON ¶
func (sspi StatelessServicePartitionInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatelessServicePartitionInfo.
func (*StatelessServicePartitionInfo) UnmarshalJSON ¶
func (sspi *StatelessServicePartitionInfo) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StatelessServicePartitionInfo struct.
type StatelessServiceTypeDescription ¶
type StatelessServiceTypeDescription struct { // UseImplicitHost - A flag indicating if this type is not implemented and hosted by a user service process, but is implicitly hosted by a system created process. This value is true for services using the guest executable services, false otherwise. UseImplicitHost *bool `json:"UseImplicitHost,omitempty"` // IsStateful - Indicates whether the service type is a stateful service type or a stateless service type. This property is true if the service type is a stateful service type, false otherwise. IsStateful *bool `json:"IsStateful,omitempty"` ServiceTypeName *string `json:"ServiceTypeName,omitempty"` // PlacementConstraints - The placement constraint to be used when instantiating this service in a Service Fabric cluster. PlacementConstraints *string `json:"PlacementConstraints,omitempty"` ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"` Extensions *[]ServiceTypeExtensionDescription `json:"Extensions,omitempty"` // Kind - Possible values include: 'KindServiceTypeDescription', 'KindStateful', 'KindStateless1' Kind KindBasicServiceTypeDescription `json:"Kind,omitempty"` }
StatelessServiceTypeDescription describes a stateless service type defined in the service manifest of a provisioned application type.
func (StatelessServiceTypeDescription) AsBasicServiceTypeDescription ¶
func (sstd StatelessServiceTypeDescription) AsBasicServiceTypeDescription() (BasicServiceTypeDescription, bool)
AsBasicServiceTypeDescription is the BasicServiceTypeDescription implementation for StatelessServiceTypeDescription.
func (StatelessServiceTypeDescription) AsServiceTypeDescription ¶
func (sstd StatelessServiceTypeDescription) AsServiceTypeDescription() (*ServiceTypeDescription, bool)
AsServiceTypeDescription is the BasicServiceTypeDescription implementation for StatelessServiceTypeDescription.
func (StatelessServiceTypeDescription) AsStatefulServiceTypeDescription ¶
func (sstd StatelessServiceTypeDescription) AsStatefulServiceTypeDescription() (*StatefulServiceTypeDescription, bool)
AsStatefulServiceTypeDescription is the BasicServiceTypeDescription implementation for StatelessServiceTypeDescription.
func (StatelessServiceTypeDescription) AsStatelessServiceTypeDescription ¶
func (sstd StatelessServiceTypeDescription) AsStatelessServiceTypeDescription() (*StatelessServiceTypeDescription, bool)
AsStatelessServiceTypeDescription is the BasicServiceTypeDescription implementation for StatelessServiceTypeDescription.
func (StatelessServiceTypeDescription) MarshalJSON ¶
func (sstd StatelessServiceTypeDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatelessServiceTypeDescription.
func (*StatelessServiceTypeDescription) UnmarshalJSON ¶
func (sstd *StatelessServiceTypeDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StatelessServiceTypeDescription struct.
type StatelessServiceUpdateDescription ¶
type StatelessServiceUpdateDescription struct { // InstanceCount - The instance count. InstanceCount *int32 `json:"InstanceCount,omitempty"` // Flags - Flags indicating whether other properties are set. Each of the associated properties corresponds to a flag, specified below, which, if set, indicate that the property is specified. // This property can be a combination of those flags obtained using bitwise 'OR' operator. // For example, if the provided value is 6 then the flags for ReplicaRestartWaitDuration (2) and QuorumLossWaitDuration (4) are set. // - None - Does not indicate any other properties are set. The value is zero. // - TargetReplicaSetSize/InstanceCount - Indicates whether the TargetReplicaSetSize property (for Stateful services) or the InstanceCount property (for Stateless services) is set. The value is 1. // - ReplicaRestartWaitDuration - Indicates the ReplicaRestartWaitDuration property is set. The value is 2. // - QuorumLossWaitDuration - Indicates the QuorumLossWaitDuration property is set. The value is 4. // - StandByReplicaKeepDuration - Indicates the StandByReplicaKeepDuration property is set. The value is 8. // - MinReplicaSetSize - Indicates the MinReplicaSetSize property is set. The value is 16. // - PlacementConstraints - Indicates the PlacementConstraints property is set. The value is 32. // - PlacementPolicyList - Indicates the ServicePlacementPolicies property is set. The value is 64. // - Correlation - Indicates the CorrelationScheme property is set. The value is 128. // - Metrics - Indicates the ServiceLoadMetrics property is set. The value is 256. // - DefaultMoveCost - Indicates the DefaultMoveCost property is set. The value is 512. Flags *string `json:"Flags,omitempty"` // PlacementConstraints - The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: "NodeColor == blue)". PlacementConstraints *string `json:"PlacementConstraints,omitempty"` CorrelationScheme *[]ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"` LoadMetrics *[]ServiceLoadMetricDescription `json:"LoadMetrics,omitempty"` ServicePlacementPolicies *[]BasicServicePlacementPolicyDescription `json:"ServicePlacementPolicies,omitempty"` // DefaultMoveCost - Possible values include: 'DefaultMoveCost1Zero', 'DefaultMoveCost1Low', 'DefaultMoveCost1Medium', 'DefaultMoveCost1High' DefaultMoveCost DefaultMoveCost1 `json:"DefaultMoveCost,omitempty"` // ServiceKind - Possible values include: 'ServiceKindBasicServiceUpdateDescriptionServiceKindServiceUpdateDescription', 'ServiceKindBasicServiceUpdateDescriptionServiceKindStateful', 'ServiceKindBasicServiceUpdateDescriptionServiceKindStateless' ServiceKind ServiceKindBasicServiceUpdateDescription `json:"ServiceKind,omitempty"` }
StatelessServiceUpdateDescription describes an update for a stateless service.
func (StatelessServiceUpdateDescription) AsBasicServiceUpdateDescription ¶
func (ssud StatelessServiceUpdateDescription) AsBasicServiceUpdateDescription() (BasicServiceUpdateDescription, bool)
AsBasicServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatelessServiceUpdateDescription.
func (StatelessServiceUpdateDescription) AsServiceUpdateDescription ¶
func (ssud StatelessServiceUpdateDescription) AsServiceUpdateDescription() (*ServiceUpdateDescription, bool)
AsServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatelessServiceUpdateDescription.
func (StatelessServiceUpdateDescription) AsStatefulServiceUpdateDescription ¶
func (ssud StatelessServiceUpdateDescription) AsStatefulServiceUpdateDescription() (*StatefulServiceUpdateDescription, bool)
AsStatefulServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatelessServiceUpdateDescription.
func (StatelessServiceUpdateDescription) AsStatelessServiceUpdateDescription ¶
func (ssud StatelessServiceUpdateDescription) AsStatelessServiceUpdateDescription() (*StatelessServiceUpdateDescription, bool)
AsStatelessServiceUpdateDescription is the BasicServiceUpdateDescription implementation for StatelessServiceUpdateDescription.
func (StatelessServiceUpdateDescription) MarshalJSON ¶
func (ssud StatelessServiceUpdateDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StatelessServiceUpdateDescription.
func (*StatelessServiceUpdateDescription) UnmarshalJSON ¶
func (ssud *StatelessServiceUpdateDescription) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for StatelessServiceUpdateDescription struct.
type Status ¶
type Status string
Status enumerates the values for status.
const ( // StatusCreating ... StatusCreating Status = "Creating" // StatusDeleting ... StatusDeleting Status = "Deleting" // StatusFailed ... StatusFailed Status = "Failed" // StatusInvalid ... StatusInvalid Status = "Invalid" // StatusReady ... StatusReady Status = "Ready" // StatusUpgrading ... StatusUpgrading Status = "Upgrading" )
func PossibleStatusValues ¶
func PossibleStatusValues() []Status
PossibleStatusValues returns an array of possible values for the Status const type.
type Status1 ¶
type Status1 string
Status1 enumerates the values for status 1.
const ( // Status1Available ... Status1Available Status1 = "Available" // Status1Failed ... Status1Failed Status1 = "Failed" // Status1Invalid ... Status1Invalid Status1 = "Invalid" // Status1Provisioning ... Status1Provisioning Status1 = "Provisioning" // Status1Unprovisioning ... Status1Unprovisioning Status1 = "Unprovisioning" )
func PossibleStatus1Values ¶
func PossibleStatus1Values() []Status1
PossibleStatus1Values returns an array of possible values for the Status1 const type.
type Status2 ¶
type Status2 string
Status2 enumerates the values for status 2.
const ( // Status2Activating ... Status2Activating Status2 = "Activating" // Status2Active ... Status2Active Status2 = "Active" // Status2Deactivating ... Status2Deactivating Status2 = "Deactivating" // Status2Downloading ... Status2Downloading Status2 = "Downloading" // Status2Invalid ... Status2Invalid Status2 = "Invalid" // Status2Upgrading ... Status2Upgrading Status2 = "Upgrading" )
func PossibleStatus2Values ¶
func PossibleStatus2Values() []Status2
PossibleStatus2Values returns an array of possible values for the Status2 const type.
type Status3 ¶
type Status3 string
Status3 enumerates the values for status 3.
const ( // Status3Invalid ... Status3Invalid Status3 = "Invalid" // Status3Pending ... Status3Pending Status3 = "Pending" // Status3Started ... Status3Started Status3 = "Started" // Status3Starting ... Status3Starting Status3 = "Starting" // Status3Stopped ... Status3Stopped Status3 = "Stopped" // Status3Stopping ... Status3Stopping Status3 = "Stopping" )
func PossibleStatus3Values ¶
func PossibleStatus3Values() []Status3
PossibleStatus3Values returns an array of possible values for the Status3 const type.
type Status4 ¶
type Status4 string
Status4 enumerates the values for status 4.
const ( // Status4Activating ... Status4Activating Status4 = "Activating" // Status4Active ... Status4Active Status4 = "Active" // Status4Deactivating ... Status4Deactivating Status4 = "Deactivating" // Status4Downloading ... Status4Downloading Status4 = "Downloading" // Status4Invalid ... Status4Invalid Status4 = "Invalid" // Status4Upgrading ... Status4Upgrading Status4 = "Upgrading" )
func PossibleStatus4Values ¶
func PossibleStatus4Values() []Status4
PossibleStatus4Values returns an array of possible values for the Status4 const type.
type Status5 ¶
type Status5 string
Status5 enumerates the values for status 5.
func PossibleStatus5Values ¶
func PossibleStatus5Values() []Status5
PossibleStatus5Values returns an array of possible values for the Status5 const type.
type Status6 ¶
type Status6 string
Status6 enumerates the values for status 6.
const ( // Status6Creating ... Status6Creating Status6 = "Creating" // Status6Deleting ... Status6Deleting Status6 = "Deleting" // Status6Failed ... Status6Failed Status6 = "Failed" // Status6Invalid ... Status6Invalid Status6 = "Invalid" // Status6Provisioning ... Status6Provisioning Status6 = "Provisioning" // Status6Ready ... Status6Ready Status6 = "Ready" // Status6Unprovisioning ... Status6Unprovisioning Status6 = "Unprovisioning" // Status6Upgrading ... Status6Upgrading Status6 = "Upgrading" )
func PossibleStatus6Values ¶
func PossibleStatus6Values() []Status6
PossibleStatus6Values returns an array of possible values for the Status6 const type.
type Status7 ¶
type Status7 string
Status7 enumerates the values for status 7.
const ( // Status7Activating ... Status7Activating Status7 = "Activating" // Status7Active ... Status7Active Status7 = "Active" // Status7Deactivating ... Status7Deactivating Status7 = "Deactivating" // Status7Downloading ... Status7Downloading Status7 = "Downloading" // Status7Invalid ... Status7Invalid Status7 = "Invalid" // Status7Upgrading ... Status7Upgrading Status7 = "Upgrading" )
func PossibleStatus7Values ¶
func PossibleStatus7Values() []Status7
PossibleStatus7Values returns an array of possible values for the Status7 const type.
type Status8 ¶
type Status8 string
Status8 enumerates the values for status 8.
func PossibleStatus8Values ¶
func PossibleStatus8Values() []Status8
PossibleStatus8Values returns an array of possible values for the Status8 const type.
type StoppedChaosEvent ¶
type StoppedChaosEvent struct { Reason *string `json:"Reason,omitempty"` TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"` // Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting' Kind KindBasicChaosEvent `json:"Kind,omitempty"` }
StoppedChaosEvent describes a Chaos event that gets generated when Chaos stops because either the user issued a stop or the time to run was up.
func (StoppedChaosEvent) AsBasicChaosEvent ¶
func (sce StoppedChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
AsBasicChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.
func (StoppedChaosEvent) AsChaosEvent ¶
func (sce StoppedChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
AsChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.
func (StoppedChaosEvent) AsExecutingFaultsChaosEvent ¶
func (sce StoppedChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.
func (StoppedChaosEvent) AsStartedChaosEvent ¶
func (sce StoppedChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
AsStartedChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.
func (StoppedChaosEvent) AsStoppedChaosEvent ¶
func (sce StoppedChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
AsStoppedChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.
func (StoppedChaosEvent) AsTestErrorChaosEvent ¶
func (sce StoppedChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
AsTestErrorChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.
func (StoppedChaosEvent) AsValidationFailedChaosEvent ¶
func (sce StoppedChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
AsValidationFailedChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.
func (StoppedChaosEvent) AsWaitingChaosEvent ¶
func (sce StoppedChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
AsWaitingChaosEvent is the BasicChaosEvent implementation for StoppedChaosEvent.
func (StoppedChaosEvent) MarshalJSON ¶
func (sce StoppedChaosEvent) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for StoppedChaosEvent.
type 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 *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
SystemApplicationHealthEvaluation represents health evaluation for the fabric:/System application, containing information about the data and the algorithm used by health store to evaluate health. The evaluation is returned only when the aggregated health state of the cluster is either Error or Warning.
func (SystemApplicationHealthEvaluation) AsApplicationHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsBasicHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsEventHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsNodeHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsNodesHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsPartitionHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsReplicaHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsReplicasHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsServiceHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsServicesHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (sahe SystemApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.
func (SystemApplicationHealthEvaluation) MarshalJSON ¶
func (sahe SystemApplicationHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SystemApplicationHealthEvaluation.
type TestErrorChaosEvent ¶
type TestErrorChaosEvent struct { Reason *string `json:"Reason,omitempty"` TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"` // Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting' Kind KindBasicChaosEvent `json:"Kind,omitempty"` }
TestErrorChaosEvent describes a Chaos event that gets generated when an unexpected event occurs in the Chaos engine. For example, due to the cluster snapshot being inconsistent, while faulting a faultable entity, Chaos found that the entity was alreay faulted -- which would be an unexpected event.
func (TestErrorChaosEvent) AsBasicChaosEvent ¶
func (tece TestErrorChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
AsBasicChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.
func (TestErrorChaosEvent) AsChaosEvent ¶
func (tece TestErrorChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
AsChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.
func (TestErrorChaosEvent) AsExecutingFaultsChaosEvent ¶
func (tece TestErrorChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.
func (TestErrorChaosEvent) AsStartedChaosEvent ¶
func (tece TestErrorChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
AsStartedChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.
func (TestErrorChaosEvent) AsStoppedChaosEvent ¶
func (tece TestErrorChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
AsStoppedChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.
func (TestErrorChaosEvent) AsTestErrorChaosEvent ¶
func (tece TestErrorChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
AsTestErrorChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.
func (TestErrorChaosEvent) AsValidationFailedChaosEvent ¶
func (tece TestErrorChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
AsValidationFailedChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.
func (TestErrorChaosEvent) AsWaitingChaosEvent ¶
func (tece TestErrorChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
AsWaitingChaosEvent is the BasicChaosEvent implementation for TestErrorChaosEvent.
func (TestErrorChaosEvent) MarshalJSON ¶
func (tece TestErrorChaosEvent) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TestErrorChaosEvent.
type Type ¶
type Type string
Type enumerates the values for type.
const ( // TypeInvalid ... TypeInvalid Type = "Invalid" // TypeNodeTransition ... TypeNodeTransition Type = "NodeTransition" // TypePartitionDataLoss ... TypePartitionDataLoss Type = "PartitionDataLoss" // TypePartitionQuorumLoss ... TypePartitionQuorumLoss Type = "PartitionQuorumLoss" // TypePartitionRestart ... TypePartitionRestart Type = "PartitionRestart" )
func PossibleTypeValues ¶
func PossibleTypeValues() []Type
PossibleTypeValues returns an array of possible values for the Type const type.
type TypeBasicServicePlacementPolicyDescription ¶
type TypeBasicServicePlacementPolicyDescription string
TypeBasicServicePlacementPolicyDescription enumerates the values for type basic service placement policy description.
const ( // TypeInvalidDomain ... TypeInvalidDomain TypeBasicServicePlacementPolicyDescription = "InvalidDomain" // TypeNonPartiallyPlaceService ... TypeNonPartiallyPlaceService TypeBasicServicePlacementPolicyDescription = "NonPartiallyPlaceService" // TypePreferPrimaryDomain ... TypePreferPrimaryDomain TypeBasicServicePlacementPolicyDescription = "PreferPrimaryDomain" // TypeRequireDomain ... TypeRequireDomain TypeBasicServicePlacementPolicyDescription = "RequireDomain" // TypeRequireDomainDistribution ... TypeRequireDomainDistribution TypeBasicServicePlacementPolicyDescription = "RequireDomainDistribution" // TypeServicePlacementPolicyDescription ... TypeServicePlacementPolicyDescription TypeBasicServicePlacementPolicyDescription = "ServicePlacementPolicyDescription" )
func PossibleTypeBasicServicePlacementPolicyDescriptionValues ¶
func PossibleTypeBasicServicePlacementPolicyDescriptionValues() []TypeBasicServicePlacementPolicyDescription
PossibleTypeBasicServicePlacementPolicyDescriptionValues returns an array of possible values for the TypeBasicServicePlacementPolicyDescription const type.
type TypeID ¶
type TypeID string
TypeID enumerates the values for type id.
const ( // TypeIDBinary ... TypeIDBinary TypeID = "Binary" // TypeIDDouble ... TypeIDDouble TypeID = "Double" // TypeIDGUID ... TypeIDGUID TypeID = "Guid" // TypeIDInt64 ... TypeIDInt64 TypeID = "Int64" // TypeIDInvalid ... TypeIDInvalid TypeID = "Invalid" // TypeIDString ... TypeIDString TypeID = "String" )
func PossibleTypeIDValues ¶
func PossibleTypeIDValues() []TypeID
PossibleTypeIDValues returns an array of possible values for the TypeID const type.
type UniformInt64RangePartitionSchemeDescription ¶
type UniformInt64RangePartitionSchemeDescription struct { // Count - The number of partitions. Count *int32 `json:"Count,omitempty"` // LowKey - String indicating the lower bound of the partition key range that // should be split between the partition ‘Count’ LowKey *string `json:"LowKey,omitempty"` // HighKey - String indicating the upper bound of the partition key range that // should be split between the partition ‘Count’ HighKey *string `json:"HighKey,omitempty"` // PartitionScheme - Possible values include: 'PartitionSchemePartitionSchemeDescription', 'PartitionSchemeNamed', 'PartitionSchemeSingleton', 'PartitionSchemeUniformInt64Range' PartitionScheme PartitionScheme `json:"PartitionScheme,omitempty"` }
UniformInt64RangePartitionSchemeDescription describes a partitioning scheme where an integer range is allocated evenly across a number of partitions.
func (UniformInt64RangePartitionSchemeDescription) AsBasicPartitionSchemeDescription ¶
func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsBasicPartitionSchemeDescription() (BasicPartitionSchemeDescription, bool)
AsBasicPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.
func (UniformInt64RangePartitionSchemeDescription) AsNamedPartitionSchemeDescription ¶
func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsNamedPartitionSchemeDescription() (*NamedPartitionSchemeDescription, bool)
AsNamedPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.
func (UniformInt64RangePartitionSchemeDescription) AsPartitionSchemeDescription ¶
func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsPartitionSchemeDescription() (*PartitionSchemeDescription, bool)
AsPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.
func (UniformInt64RangePartitionSchemeDescription) AsSingletonPartitionSchemeDescription ¶
func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsSingletonPartitionSchemeDescription() (*SingletonPartitionSchemeDescription, bool)
AsSingletonPartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.
func (UniformInt64RangePartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription ¶
func (ui6rpsd UniformInt64RangePartitionSchemeDescription) AsUniformInt64RangePartitionSchemeDescription() (*UniformInt64RangePartitionSchemeDescription, bool)
AsUniformInt64RangePartitionSchemeDescription is the BasicPartitionSchemeDescription implementation for UniformInt64RangePartitionSchemeDescription.
func (UniformInt64RangePartitionSchemeDescription) MarshalJSON ¶
func (ui6rpsd UniformInt64RangePartitionSchemeDescription) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UniformInt64RangePartitionSchemeDescription.
type 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 - Possible values include: 'UpgradeKind2Invalid', 'UpgradeKind2Rolling', 'UpgradeKind2RollingForceRestart' UpgradeKind UpgradeKind2 `json:"UpgradeKind,omitempty"` UpdateDescription *RollingUpgradeUpdateDescription `json:"UpdateDescription,omitempty"` ClusterHealthPolicy *ClusterHealthPolicy `json:"ClusterHealthPolicy,omitempty"` EnableDeltaHealthEvaluation *bool `json:"EnableDeltaHealthEvaluation,omitempty"` ClusterUpgradeHealthPolicy *ClusterUpgradeHealthPolicyObject `json:"ClusterUpgradeHealthPolicy,omitempty"` 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 *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
UpgradeDomainDeltaNodesCheckHealthEvaluation represents health evaluation for delta unhealthy cluster nodes in an upgrade domain, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned during cluster upgrade when cluster aggregated health state is Warning or Error.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsBasicHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.
func (UpgradeDomainDeltaNodesCheckHealthEvaluation) MarshalJSON ¶
func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpgradeDomainDeltaNodesCheckHealthEvaluation.
type UpgradeDomainInfo ¶
type UpgradeDomainInfo struct { Name *string `json:"Name,omitempty"` // State - Possible values include: 'StateInvalid', 'StatePending', 'StateInProgress', 'StateCompleted' State State `json:"State,omitempty"` }
UpgradeDomainInfo information about an upgrade domain.
type UpgradeDomainNodesHealthEvaluation ¶
type UpgradeDomainNodesHealthEvaluation struct { // UpgradeDomainName - Name of the upgrade domain where nodes health is currently evaluated. UpgradeDomainName *string `json:"UpgradeDomainName,omitempty"` // MaxPercentUnhealthyNodes - Maximum allowed percentage of unhealthy nodes from the ClusterHealthPolicy. MaxPercentUnhealthyNodes *int32 `json:"MaxPercentUnhealthyNodes,omitempty"` // TotalCount - Total number of nodes in the current upgrade domain. TotalCount *int64 `json:"TotalCount,omitempty"` UnhealthyEvaluations *[]HealthEvaluationWrapper `json:"UnhealthyEvaluations,omitempty"` // AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown' AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"` // Description - Description of the health evaluation, which represents a summary of the evaluation process. Description *string `json:"Description,omitempty"` // Kind - Possible values include: 'KindHealthEvaluation', 'KindApplication', 'KindApplications', 'KindApplicationTypeApplications', 'KindDeltaNodesCheck', 'KindDeployedApplication', 'KindDeployedApplications', 'KindDeployedServicePackage', 'KindDeployedServicePackages', 'KindEvent', 'KindNode', 'KindNodes', 'KindPartition', 'KindPartitions', 'KindReplica', 'KindReplicas', 'KindService', 'KindServices', 'KindSystemApplication', 'KindUpgradeDomainDeltaNodesCheck', 'KindUpgradeDomainNodes' Kind KindBasicHealthEvaluation `json:"Kind,omitempty"` }
UpgradeDomainNodesHealthEvaluation represents health evaluation for cluster nodes in an upgrade domain, containing health evaluations for each unhealthy node that impacted current aggregated health state. Can be returned when evaluating cluster health during cluster upgrade and the aggregated health state is either Error or Warning.
func (UpgradeDomainNodesHealthEvaluation) AsApplicationHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationTypeApplicationsHealthEvaluation() (*ApplicationTypeApplicationsHealthEvaluation, bool)
AsApplicationTypeApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsApplicationsHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsBasicHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)
AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsEventHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
AsEventHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)
AsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsNodeHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsNodesHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsPartitionHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsPartitionsHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsReplicaHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsReplicasHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsServiceHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsServicesHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsSystemApplicationHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.
func (UpgradeDomainNodesHealthEvaluation) MarshalJSON ¶
func (udnhe UpgradeDomainNodesHealthEvaluation) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpgradeDomainNodesHealthEvaluation.
type UpgradeKind ¶
type UpgradeKind string
UpgradeKind enumerates the values for upgrade kind.
const ( // UpgradeKindInvalid ... UpgradeKindInvalid UpgradeKind = "Invalid" // UpgradeKindRolling ... UpgradeKindRolling UpgradeKind = "Rolling" )
func PossibleUpgradeKindValues ¶
func PossibleUpgradeKindValues() []UpgradeKind
PossibleUpgradeKindValues returns an array of possible values for the UpgradeKind const type.
type UpgradeKind1 ¶
type UpgradeKind1 string
UpgradeKind1 enumerates the values for upgrade kind 1.
const ( // UpgradeKind1Invalid ... UpgradeKind1Invalid UpgradeKind1 = "Invalid" // UpgradeKind1Rolling ... UpgradeKind1Rolling UpgradeKind1 = "Rolling" )
func PossibleUpgradeKind1Values ¶
func PossibleUpgradeKind1Values() []UpgradeKind1
PossibleUpgradeKind1Values returns an array of possible values for the UpgradeKind1 const type.
type UpgradeKind2 ¶
type UpgradeKind2 string
UpgradeKind2 enumerates the values for upgrade kind 2.
const ( // UpgradeKind2Invalid ... UpgradeKind2Invalid UpgradeKind2 = "Invalid" // UpgradeKind2Rolling ... UpgradeKind2Rolling UpgradeKind2 = "Rolling" // UpgradeKind2RollingForceRestart ... UpgradeKind2RollingForceRestart UpgradeKind2 = "Rolling_ForceRestart" )
func PossibleUpgradeKind2Values ¶
func PossibleUpgradeKind2Values() []UpgradeKind2
PossibleUpgradeKind2Values returns an array of possible values for the UpgradeKind2 const type.
type UpgradeKind3 ¶
type UpgradeKind3 string
UpgradeKind3 enumerates the values for upgrade kind 3.
const ( // UpgradeKind3Invalid ... UpgradeKind3Invalid UpgradeKind3 = "Invalid" // UpgradeKind3Rolling ... UpgradeKind3Rolling UpgradeKind3 = "Rolling" )
func PossibleUpgradeKind3Values ¶
func PossibleUpgradeKind3Values() []UpgradeKind3
PossibleUpgradeKind3Values returns an array of possible values for the UpgradeKind3 const type.
type UpgradeKind4 ¶
type UpgradeKind4 string
UpgradeKind4 enumerates the values for upgrade kind 4.
const ( // UpgradeKind4Invalid ... UpgradeKind4Invalid UpgradeKind4 = "Invalid" // UpgradeKind4Rolling ... UpgradeKind4Rolling UpgradeKind4 = "Rolling" )
func PossibleUpgradeKind4Values ¶
func PossibleUpgradeKind4Values() []UpgradeKind4
PossibleUpgradeKind4Values returns an array of possible values for the UpgradeKind4 const type.
type UpgradeKind5 ¶
type UpgradeKind5 string
UpgradeKind5 enumerates the values for upgrade kind 5.
const ( // UpgradeKind5Invalid ... UpgradeKind5Invalid UpgradeKind5 = "Invalid" // UpgradeKind5Rolling ... UpgradeKind5Rolling UpgradeKind5 = "Rolling" )
func PossibleUpgradeKind5Values ¶
func PossibleUpgradeKind5Values() []UpgradeKind5
PossibleUpgradeKind5Values returns an array of possible values for the UpgradeKind5 const type.
type UpgradeKind6 ¶
type UpgradeKind6 string
UpgradeKind6 enumerates the values for upgrade kind 6.
const ( // UpgradeKind6Invalid ... UpgradeKind6Invalid UpgradeKind6 = "Invalid" // UpgradeKind6Rolling ... UpgradeKind6Rolling UpgradeKind6 = "Rolling" )
func PossibleUpgradeKind6Values ¶
func PossibleUpgradeKind6Values() []UpgradeKind6
PossibleUpgradeKind6Values returns an array of possible values for the UpgradeKind6 const type.
type UpgradePhase ¶
type UpgradePhase string
UpgradePhase enumerates the values for upgrade phase.
const ( // UpgradePhaseInvalid ... UpgradePhaseInvalid UpgradePhase = "Invalid" // UpgradePhasePostUpgradeSafetyCheck ... UpgradePhasePostUpgradeSafetyCheck UpgradePhase = "PostUpgradeSafetyCheck" // UpgradePhasePreUpgradeSafetyCheck ... UpgradePhasePreUpgradeSafetyCheck UpgradePhase = "PreUpgradeSafetyCheck" // UpgradePhaseUpgrading ... UpgradePhaseUpgrading UpgradePhase = "Upgrading" )
func PossibleUpgradePhaseValues ¶
func PossibleUpgradePhaseValues() []UpgradePhase
PossibleUpgradePhaseValues returns an array of possible values for the UpgradePhase const type.
type UpgradeState ¶
type UpgradeState string
UpgradeState enumerates the values for upgrade state.
const ( // UpgradeStateFailed ... UpgradeStateFailed UpgradeState = "Failed" // UpgradeStateInvalid ... UpgradeStateInvalid UpgradeState = "Invalid" // UpgradeStateRollingBackCompleted ... UpgradeStateRollingBackCompleted UpgradeState = "RollingBackCompleted" // UpgradeStateRollingBackInProgress ... UpgradeStateRollingBackInProgress UpgradeState = "RollingBackInProgress" // UpgradeStateRollingForwardCompleted ... UpgradeStateRollingForwardCompleted UpgradeState = "RollingForwardCompleted" // UpgradeStateRollingForwardInProgress ... UpgradeStateRollingForwardInProgress UpgradeState = "RollingForwardInProgress" // UpgradeStateRollingForwardPending ... UpgradeStateRollingForwardPending UpgradeState = "RollingForwardPending" )
func PossibleUpgradeStateValues ¶
func PossibleUpgradeStateValues() []UpgradeState
PossibleUpgradeStateValues returns an array of possible values for the UpgradeState const type.
type UpgradeState1 ¶
type UpgradeState1 string
UpgradeState1 enumerates the values for upgrade state 1.
const ( // UpgradeState1Failed ... UpgradeState1Failed UpgradeState1 = "Failed" // UpgradeState1Invalid ... UpgradeState1Invalid UpgradeState1 = "Invalid" // UpgradeState1RollingBackCompleted ... UpgradeState1RollingBackCompleted UpgradeState1 = "RollingBackCompleted" // UpgradeState1RollingBackInProgress ... UpgradeState1RollingBackInProgress UpgradeState1 = "RollingBackInProgress" // UpgradeState1RollingForwardCompleted ... UpgradeState1RollingForwardCompleted UpgradeState1 = "RollingForwardCompleted" // UpgradeState1RollingForwardInProgress ... UpgradeState1RollingForwardInProgress UpgradeState1 = "RollingForwardInProgress" // UpgradeState1RollingForwardPending ... UpgradeState1RollingForwardPending UpgradeState1 = "RollingForwardPending" )
func PossibleUpgradeState1Values ¶
func PossibleUpgradeState1Values() []UpgradeState1
PossibleUpgradeState1Values returns an array of possible values for the UpgradeState1 const type.
type UpgradeState2 ¶
type UpgradeState2 string
UpgradeState2 enumerates the values for upgrade state 2.
const ( // UpgradeState2Failed ... UpgradeState2Failed UpgradeState2 = "Failed" // UpgradeState2Invalid ... UpgradeState2Invalid UpgradeState2 = "Invalid" // UpgradeState2RollingBackCompleted ... UpgradeState2RollingBackCompleted UpgradeState2 = "RollingBackCompleted" // UpgradeState2RollingBackInProgress ... UpgradeState2RollingBackInProgress UpgradeState2 = "RollingBackInProgress" // UpgradeState2RollingForwardCompleted ... UpgradeState2RollingForwardCompleted UpgradeState2 = "RollingForwardCompleted" // UpgradeState2RollingForwardInProgress ... UpgradeState2RollingForwardInProgress UpgradeState2 = "RollingForwardInProgress" // UpgradeState2RollingForwardPending ... UpgradeState2RollingForwardPending UpgradeState2 = "RollingForwardPending" )
func PossibleUpgradeState2Values ¶
func PossibleUpgradeState2Values() []UpgradeState2
PossibleUpgradeState2Values returns an array of possible values for the UpgradeState2 const type.
type UpgradeState3 ¶
type UpgradeState3 string
UpgradeState3 enumerates the values for upgrade state 3.
const ( // UpgradeState3Failed ... UpgradeState3Failed UpgradeState3 = "Failed" // UpgradeState3Invalid ... UpgradeState3Invalid UpgradeState3 = "Invalid" // UpgradeState3ProvisioningTarget ... UpgradeState3ProvisioningTarget UpgradeState3 = "ProvisioningTarget" // UpgradeState3RollingBackCompleted ... UpgradeState3RollingBackCompleted UpgradeState3 = "RollingBackCompleted" // UpgradeState3RollingBackInProgress ... UpgradeState3RollingBackInProgress UpgradeState3 = "RollingBackInProgress" // UpgradeState3RollingForwardCompleted ... UpgradeState3RollingForwardCompleted UpgradeState3 = "RollingForwardCompleted" // UpgradeState3RollingForwardInProgress ... UpgradeState3RollingForwardInProgress UpgradeState3 = "RollingForwardInProgress" // UpgradeState3RollingForwardPending ... UpgradeState3RollingForwardPending UpgradeState3 = "RollingForwardPending" // UpgradeState3UnprovisioningCurrent ... UpgradeState3UnprovisioningCurrent UpgradeState3 = "UnprovisioningCurrent" // UpgradeState3UnprovisioningTarget ... UpgradeState3UnprovisioningTarget UpgradeState3 = "UnprovisioningTarget" )
func PossibleUpgradeState3Values ¶
func PossibleUpgradeState3Values() []UpgradeState3
PossibleUpgradeState3Values returns an array of possible values for the UpgradeState3 const type.
type ValidationFailedChaosEvent ¶
type ValidationFailedChaosEvent struct { Reason *string `json:"Reason,omitempty"` TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"` // Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting' Kind KindBasicChaosEvent `json:"Kind,omitempty"` }
ValidationFailedChaosEvent chaos event corresponding to a failure during validation.
func (ValidationFailedChaosEvent) AsBasicChaosEvent ¶
func (vfce ValidationFailedChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
AsBasicChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.
func (ValidationFailedChaosEvent) AsChaosEvent ¶
func (vfce ValidationFailedChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
AsChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.
func (ValidationFailedChaosEvent) AsExecutingFaultsChaosEvent ¶
func (vfce ValidationFailedChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.
func (ValidationFailedChaosEvent) AsStartedChaosEvent ¶
func (vfce ValidationFailedChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
AsStartedChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.
func (ValidationFailedChaosEvent) AsStoppedChaosEvent ¶
func (vfce ValidationFailedChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
AsStoppedChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.
func (ValidationFailedChaosEvent) AsTestErrorChaosEvent ¶
func (vfce ValidationFailedChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
AsTestErrorChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.
func (ValidationFailedChaosEvent) AsValidationFailedChaosEvent ¶
func (vfce ValidationFailedChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
AsValidationFailedChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.
func (ValidationFailedChaosEvent) AsWaitingChaosEvent ¶
func (vfce ValidationFailedChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
AsWaitingChaosEvent is the BasicChaosEvent implementation for ValidationFailedChaosEvent.
func (ValidationFailedChaosEvent) MarshalJSON ¶
func (vfce ValidationFailedChaosEvent) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ValidationFailedChaosEvent.
type WaitForInbuildReplicaSafetyCheck ¶
type WaitForInbuildReplicaSafetyCheck struct { PartitionID *uuid.UUID `json:"PartitionId,omitempty"` // Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration' Kind KindBasicSafetyCheck `json:"Kind,omitempty"` }
WaitForInbuildReplicaSafetyCheck safety check that waits for the replica build operation to finish. This indiciates that there is a replica that is going through the copy or is providing data for building another replica. Bring the node down will abort this copy operation which are typoically expensive involving data movements.
func (WaitForInbuildReplicaSafetyCheck) AsBasicPartitionSafetyCheck ¶
func (wfirsc WaitForInbuildReplicaSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.
func (WaitForInbuildReplicaSafetyCheck) AsBasicSafetyCheck ¶
func (wfirsc WaitForInbuildReplicaSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
AsBasicSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.
func (WaitForInbuildReplicaSafetyCheck) AsEnsureAvailabilitySafetyCheck ¶
func (wfirsc WaitForInbuildReplicaSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.
func (WaitForInbuildReplicaSafetyCheck) AsEnsurePartitionQurumSafetyCheck ¶
func (wfirsc WaitForInbuildReplicaSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.
func (WaitForInbuildReplicaSafetyCheck) AsPartitionSafetyCheck ¶
func (wfirsc WaitForInbuildReplicaSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
AsPartitionSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.
func (WaitForInbuildReplicaSafetyCheck) AsSafetyCheck ¶
func (wfirsc WaitForInbuildReplicaSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
AsSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.
func (WaitForInbuildReplicaSafetyCheck) AsSeedNodeSafetyCheck ¶
func (wfirsc WaitForInbuildReplicaSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.
func (WaitForInbuildReplicaSafetyCheck) AsWaitForInbuildReplicaSafetyCheck ¶
func (wfirsc WaitForInbuildReplicaSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.
func (WaitForInbuildReplicaSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck ¶
func (wfirsc WaitForInbuildReplicaSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.
func (WaitForInbuildReplicaSafetyCheck) AsWaitForPrimarySwapSafetyCheck ¶
func (wfirsc WaitForInbuildReplicaSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.
func (WaitForInbuildReplicaSafetyCheck) AsWaitForReconfigurationSafetyCheck ¶
func (wfirsc WaitForInbuildReplicaSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for WaitForInbuildReplicaSafetyCheck.
func (WaitForInbuildReplicaSafetyCheck) MarshalJSON ¶
func (wfirsc WaitForInbuildReplicaSafetyCheck) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WaitForInbuildReplicaSafetyCheck.
type WaitForPrimaryPlacementSafetyCheck ¶
type WaitForPrimaryPlacementSafetyCheck struct { PartitionID *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 *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 *uuid.UUID `json:"PartitionId,omitempty"` // Kind - Possible values include: 'KindSafetyCheck', 'KindPartitionSafetyCheck', 'KindEnsureAvailability', 'KindEnsurePartitionQuorum', 'KindEnsureSeedNodeQuorum', 'KindWaitForInbuildReplica', 'KindWaitForPrimaryPlacement', 'KindWaitForPrimarySwap', 'KindWaitForReconfiguration' Kind KindBasicSafetyCheck `json:"Kind,omitempty"` }
WaitForReconfigurationSafetyCheck safety check that waits for the current reconfiguration of the partition to be completed before starting an upgrade.
func (WaitForReconfigurationSafetyCheck) AsBasicPartitionSafetyCheck ¶
func (wfrsc WaitForReconfigurationSafetyCheck) AsBasicPartitionSafetyCheck() (BasicPartitionSafetyCheck, bool)
AsBasicPartitionSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.
func (WaitForReconfigurationSafetyCheck) AsBasicSafetyCheck ¶
func (wfrsc WaitForReconfigurationSafetyCheck) AsBasicSafetyCheck() (BasicSafetyCheck, bool)
AsBasicSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.
func (WaitForReconfigurationSafetyCheck) AsEnsureAvailabilitySafetyCheck ¶
func (wfrsc WaitForReconfigurationSafetyCheck) AsEnsureAvailabilitySafetyCheck() (*EnsureAvailabilitySafetyCheck, bool)
AsEnsureAvailabilitySafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.
func (WaitForReconfigurationSafetyCheck) AsEnsurePartitionQurumSafetyCheck ¶
func (wfrsc WaitForReconfigurationSafetyCheck) AsEnsurePartitionQurumSafetyCheck() (*EnsurePartitionQurumSafetyCheck, bool)
AsEnsurePartitionQurumSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.
func (WaitForReconfigurationSafetyCheck) AsPartitionSafetyCheck ¶
func (wfrsc WaitForReconfigurationSafetyCheck) AsPartitionSafetyCheck() (*PartitionSafetyCheck, bool)
AsPartitionSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.
func (WaitForReconfigurationSafetyCheck) AsSafetyCheck ¶
func (wfrsc WaitForReconfigurationSafetyCheck) AsSafetyCheck() (*SafetyCheck, bool)
AsSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.
func (WaitForReconfigurationSafetyCheck) AsSeedNodeSafetyCheck ¶
func (wfrsc WaitForReconfigurationSafetyCheck) AsSeedNodeSafetyCheck() (*SeedNodeSafetyCheck, bool)
AsSeedNodeSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.
func (WaitForReconfigurationSafetyCheck) AsWaitForInbuildReplicaSafetyCheck ¶
func (wfrsc WaitForReconfigurationSafetyCheck) AsWaitForInbuildReplicaSafetyCheck() (*WaitForInbuildReplicaSafetyCheck, bool)
AsWaitForInbuildReplicaSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.
func (WaitForReconfigurationSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck ¶
func (wfrsc WaitForReconfigurationSafetyCheck) AsWaitForPrimaryPlacementSafetyCheck() (*WaitForPrimaryPlacementSafetyCheck, bool)
AsWaitForPrimaryPlacementSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.
func (WaitForReconfigurationSafetyCheck) AsWaitForPrimarySwapSafetyCheck ¶
func (wfrsc WaitForReconfigurationSafetyCheck) AsWaitForPrimarySwapSafetyCheck() (*WaitForPrimarySwapSafetyCheck, bool)
AsWaitForPrimarySwapSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.
func (WaitForReconfigurationSafetyCheck) AsWaitForReconfigurationSafetyCheck ¶
func (wfrsc WaitForReconfigurationSafetyCheck) AsWaitForReconfigurationSafetyCheck() (*WaitForReconfigurationSafetyCheck, bool)
AsWaitForReconfigurationSafetyCheck is the BasicSafetyCheck implementation for WaitForReconfigurationSafetyCheck.
func (WaitForReconfigurationSafetyCheck) MarshalJSON ¶
func (wfrsc WaitForReconfigurationSafetyCheck) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WaitForReconfigurationSafetyCheck.
type WaitingChaosEvent ¶
type WaitingChaosEvent struct { Reason *string `json:"Reason,omitempty"` TimeStampUtc *date.Time `json:"TimeStampUtc,omitempty"` // Kind - Possible values include: 'KindChaosEvent', 'KindExecutingFaults', 'KindStarted', 'KindStopped', 'KindTestError', 'KindValidationFailed', 'KindWaiting' Kind KindBasicChaosEvent `json:"Kind,omitempty"` }
WaitingChaosEvent describes a Chaos event that gets generated when Chaos is waiting for the cluster to become ready for faulting, for example, Chaos may be waiting for the on-going upgrade to finish.
func (WaitingChaosEvent) AsBasicChaosEvent ¶
func (wce WaitingChaosEvent) AsBasicChaosEvent() (BasicChaosEvent, bool)
AsBasicChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.
func (WaitingChaosEvent) AsChaosEvent ¶
func (wce WaitingChaosEvent) AsChaosEvent() (*ChaosEvent, bool)
AsChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.
func (WaitingChaosEvent) AsExecutingFaultsChaosEvent ¶
func (wce WaitingChaosEvent) AsExecutingFaultsChaosEvent() (*ExecutingFaultsChaosEvent, bool)
AsExecutingFaultsChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.
func (WaitingChaosEvent) AsStartedChaosEvent ¶
func (wce WaitingChaosEvent) AsStartedChaosEvent() (*StartedChaosEvent, bool)
AsStartedChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.
func (WaitingChaosEvent) AsStoppedChaosEvent ¶
func (wce WaitingChaosEvent) AsStoppedChaosEvent() (*StoppedChaosEvent, bool)
AsStoppedChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.
func (WaitingChaosEvent) AsTestErrorChaosEvent ¶
func (wce WaitingChaosEvent) AsTestErrorChaosEvent() (*TestErrorChaosEvent, bool)
AsTestErrorChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.
func (WaitingChaosEvent) AsValidationFailedChaosEvent ¶
func (wce WaitingChaosEvent) AsValidationFailedChaosEvent() (*ValidationFailedChaosEvent, bool)
AsValidationFailedChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.
func (WaitingChaosEvent) AsWaitingChaosEvent ¶
func (wce WaitingChaosEvent) AsWaitingChaosEvent() (*WaitingChaosEvent, bool)
AsWaitingChaosEvent is the BasicChaosEvent implementation for WaitingChaosEvent.
func (WaitingChaosEvent) MarshalJSON ¶
func (wce WaitingChaosEvent) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WaitingChaosEvent.
type Weight ¶
type Weight string
Weight enumerates the values for weight.
func PossibleWeightValues ¶
func PossibleWeightValues() []Weight
PossibleWeightValues returns an array of possible values for the Weight const type.
type WriteStatus ¶
type WriteStatus string
WriteStatus enumerates the values for write status.
const ( // WriteStatusGranted ... WriteStatusGranted WriteStatus = "Granted" // WriteStatusInvalid ... WriteStatusInvalid WriteStatus = "Invalid" // WriteStatusNotPrimary ... WriteStatusNotPrimary WriteStatus = "NotPrimary" // WriteStatusNoWriteQuorum ... WriteStatusNoWriteQuorum WriteStatus = "NoWriteQuorum" // WriteStatusReconfigurationPending ... WriteStatusReconfigurationPending WriteStatus = "ReconfigurationPending" )
func PossibleWriteStatusValues ¶
func PossibleWriteStatusValues() []WriteStatus
PossibleWriteStatusValues returns an array of possible values for the WriteStatus const type.