SDK reference / Models / DeployPolicy
DeployAdmission
Kind: class
Namespace: Egulu.Sdk.Models.DeployPolicy
The record of one deployment the gate decided: admitted, refused, would have been refused (a dry-run rule failed and the deployment wenton), overridden with a reason, or a rollback. The log is append-only.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
CreateTime | DateTimeOffset? | createTime | The createTime property |
Digest | string? | digest | The digest the image pins, when it pins one. |
Image | string? | image | The image as the caller wrote it. |
Intent | string? | intent | deploy | rollback. |
Kind | string? | kind | container-app | web-app | job. |
Name | string? | name | The name property |
Outcome | Models.DeployPolicy.DeployAdmission_outcome? | outcome | The outcome property |
OverrideUid | string? | overrideUid | The override that admitted it, when the outcome is `overridden`. |
PolicyVersion | int? | policyVersion | The policy version the decision was made under; 0 when the project had none. |
RequestedBy | string? | requestedBy | Who asked for the deployment. |
Resource | string? | resource | The app, web app or job. |
Revision | string? | revision | The revision rolled back to, when the deployment is a rollback. |
Uid | string? | uid | The uid property |
Violations | List<Models.DeployPolicy.DeployViolation>? | violations | Every rule that failed, enforced or dry-run. |