Zum Hauptinhalt springen

ServiceAccountImpersonationSwitchReportDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Answer of POST {tenantId}/v1/serviceAccount/switchToImpersonation (client surface) β€” the mirror of the communication controller's ServiceAccountImpersonationSwitchReportDto.

public record ServiceAccountImpersonationSwitchReportDto : IEquatable<ServiceAccountImpersonationSwitchReportDto>

Inheritance Object β†’ ServiceAccountImpersonationSwitchReportDto
Implements IEquatable<ServiceAccountImpersonationSwitchReportDto>

Remarks:

πŸ”΄ It deliberately carries no secret and no token: the report names accounts, client ids and outcomes only. Adding a secret-bearing member here would put a credential into proxy logs, shell history and CI output.

Properties​

TenantId​

The tenant the switch ran on.

public string TenantId { get; set; }

Property Value​

String

Applied​

false = dry run, nothing was written.

public bool Applied { get; set; }

Property Value​

Boolean

Accounts​

One entry per ServiceAccountConfiguration of the tenant.

public IReadOnlyList<ServiceAccountImpersonationSwitchEntryDto> Accounts { get; set; }

Property Value​

IReadOnlyList<ServiceAccountImpersonationSwitchEntryDto>

RedeployedDataFlowRtIds​

Data flows redeployed after the switch.

public IReadOnlyList<string> RedeployedDataFlowRtIds { get; set; }

Property Value​

IReadOnlyList<String>

FailedDataFlowRedeploys​

Data flows whose redeploy failed β€” to be redeployed by hand.

public IReadOnlyList<DataFlowRedeployFailureDto> FailedDataFlowRedeploys { get; set; }

Property Value​

IReadOnlyList<DataFlowRedeployFailureDto>

Constructors​

ServiceAccountImpersonationSwitchReportDto(String, Boolean, IReadOnlyList<ServiceAccountImpersonationSwitchEntryDto>, IReadOnlyList<String>, IReadOnlyList<DataFlowRedeployFailureDto>)​

Answer of POST {tenantId}/v1/serviceAccount/switchToImpersonation (client surface) β€” the mirror of the communication controller's ServiceAccountImpersonationSwitchReportDto.

public ServiceAccountImpersonationSwitchReportDto(string TenantId, bool Applied, IReadOnlyList<ServiceAccountImpersonationSwitchEntryDto> Accounts, IReadOnlyList<string> RedeployedDataFlowRtIds, IReadOnlyList<DataFlowRedeployFailureDto> FailedDataFlowRedeploys)

Parameters​

TenantId String
The tenant the switch ran on.

Applied Boolean
false = dry run, nothing was written.

Accounts IReadOnlyList<ServiceAccountImpersonationSwitchEntryDto>
One entry per ServiceAccountConfiguration of the tenant.

RedeployedDataFlowRtIds IReadOnlyList<String>
Data flows redeployed after the switch.

FailedDataFlowRedeploys IReadOnlyList<DataFlowRedeployFailureDto>
Data flows whose redeploy failed β€” to be redeployed by hand.

Remarks:

πŸ”΄ It deliberately carries no secret and no token: the report names accounts, client ids and outcomes only. Adding a secret-bearing member here would put a credential into proxy logs, shell history and CI output.