Skip to content

Commit 684c5a2

Browse files
Merge pull request #2443 from MicrosoftDocs/main
Auto Publish – main to live - 2025-10-16 17:00 UTC
2 parents ffed7ee + c85edfa commit 684c5a2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

articles/service-fabric/probes-codepackage.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,12 @@ The HTTP probe has additional properties that you can set:
109109
> [!NOTE]
110110
> Port is not supported for non-containerized applications. For this scenario please use **EndpointRef="EndpointName"** attribute. Replace 'EndpointName' with the name from the Endpoint defined in ServiceManifest.xml.
111111
>
112-
> If you use `EndpointRef` with an HTTP endpoint, the `scheme` attribute is optional as HTTP is the default. If you use `EndpointRef` with an HTTPS endpoint, you must explicitly set the `scheme` attribute to "https". Additionally, the `CertificateRef` attribute must be defined for HTTPS to secure the connection to the endpoint being probed.
112+
> If you use `EndpointRef` with an HTTP endpoint, the `scheme` attribute is optional as HTTP is the default. If you use `EndpointRef` with an HTTPS endpoint, you must explicitly set the `scheme` attribute to "https".
113113
```xml
114114
<ServiceManifestImport>
115115
<ServiceManifestRef ServiceManifestName="Stateless1Pkg" ServiceManifestVersion="1.0.0" />
116116
<ConfigOverrides />
117117
<Policies>
118-
<EndpointBindingPolicy EndpointRef="ServiceEndpoint" CertificateRef="your.cert.name" />
119118
<CodePackagePolicy CodePackageRef="Code">
120119
<Probes>
121120
<Probe Type="Readiness" FailureThreshold="10" SuccessThreshold="2" InitialDelaySeconds="600" PeriodSeconds="60" TimeoutSeconds="20">
@@ -126,10 +125,6 @@ The HTTP probe has additional properties that you can set:
126125
</CodePackagePolicy>
127126
</Policies>
128127
</ServiceManifestImport>
129-
130-
<Certificates>
131-
<EndpointCertificate X509FindType="FindBySubjectName" X509FindValue="your.cert.name" Name="your.cert.name" />
132-
</Certificates>
133128
```
134129
### TCP probe
135130

0 commit comments

Comments
 (0)