Enrollment
Set-CPSEnrollment
Synopsis
Update an enrollment.
Syntax
Set-CPSEnrollment [-EnrollmentID] <Int32> [-Body] <Object> [-AllowCancelPendingChanges] [-AllowStagingBypass] [[-DeployNotAfter] <String>] [[-DeployNotBefore] <String>] [-ForceRenewal] [-RenewalDateCheckOverride] [-AllowMissingCertificateAddition] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Updates an enrollment with changes.
Note: The request body for this function can be quite complex, therefore, it's recommended that you retrieve the existing enrollment with the
Get-CPSEnrollment
operation, make your changes locally, and then pipe the object to this function.
Parameters
‑AccountSwitchKey |
An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey. |
‑AllowCancelPendingChanges |
Cancels all pending changes when updating an enrollment. |
‑AllowMissingCertificateAddition |
Applicable to Third Party Dual Stack Enrollments, allows to update missing certificates. |
‑AllowStagingBypass |
Bypasses staging and pushes meta-data updates directly to the production network. The current change will also be updated with the same changes. |
‑Body Required |
A request body, either as a |
‑DeployNotAfter |
The date (UTC) after which the enrollment shouldn't be deployed. |
‑DeployNotBefore |
The date (UTC) before which the enrollment shouldn't be deployed. |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑EnrollmentID Required |
Enrollment on which to perform the desired operation. |
‑ForceRenewal |
Forces certificate renewal for an enrollment. |
‑RenewalDateCheckOverride |
If present, this starts a change to renew certificates in time before they expire. This automatic change is started when a certificate's expiration is within a renewal window, and the system will protect against other changes started during this renewal window. Setting |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated 5 days ago