string Code { get; }
Source
Gets the stable diagnostic code.
Represents the closed, non-secret schema that maps AppSurface logical deployment ids to externally provisioned GCP resources.
EnvironmentExact Aspire environment selected for rendering.ProjectExisting 6-30 character lowercase Google Cloud project id.RegionExisting canonical Cloud Run region, such as us-central1.JobsLogical job ids mapped to distinct lowercase Cloud Run Job names of at most 63 characters.CloudSqlInstanceConnectionNameExisting canonical Cloud SQL project:region:instance name.NetworkExisting Direct VPC network and regional subnetwork resource references with an explicit supported egress mode.ServiceAccountsLogical identity ids mapped to canonical user-managed service-account emails.SecretsLogical secret ids mapped only to Secret Manager identifiers and the supported explicit version mode; no secret values are stored.Map keys are canonical lowercase AppSurface logical ids. Values are physical resource identifiers only; secret values and unknown properties are rejected by the profile loader.
Task<GcpCloudRunBindingProfile> LoadAsync(string path, string expectedEnvironment, CancellationToken cancellationToken = default)
Source
Loads and strictly validates a profile without resolving any secret value.
pathPath to a regular JSON file. The file and every ancestor to the filesystem root must not be symbolic links or reparse points, except the standard macOS /var, /tmp, and /etc aliases.expectedEnvironmentAspire environment selected for publishing.cancellationTokenCancellation observed while reading and parsing the profile.Task<GcpCloudRunBindingProfile> LoadAsync(string path, string expectedEnvironment, string trustedRoot, CancellationToken cancellationToken = default)
Source
Loads a profile and rejects symbolic links in every path component beneath a trusted root.
pathPath to the profile file.expectedEnvironmentAspire environment selected for publishing.trustedRootTrusted AppHost root that must lexically contain the profile.cancellationTokenCancellation observed while reading and parsing the profile.Externally provisioned Direct VPC binding.
NetworkFull global VPC network resource reference.SubnetworkFull regional subnetwork resource reference.Egress`PRIVATE_RANGES_ONLY` or `ALL_TRAFFIC`.Physical Secret Manager reference and explicit rotation mode.
SecretIdExisting Secret Manager secret id.VersionModeExplicit version mode; version 1 supports `latest`.Compiles migration-job intent to GCP Cloud Run v2 artifacts and performs read-only deployed parity checks.
GcpCloudRunDeploymentTarget Create()
Source
Creates the standard GCP Cloud Run deployment target.
Safe normalized Cloud Run migration-job configuration used for shadow and owned parity.
Executes one read-only gcloud invocation expressed as an argument array.
Task<GcloudCommandResult> RunAsync(IReadOnlyList<string> arguments, TimeSpan timeout, CancellationToken cancellationToken)
Source
Runs gcloud with bounded time and cancellation.
Captured process result. Callers must not log raw output without provider sanitization.
ExitCodeProcess exit code.StandardOutputCaptured standard output consumed only by safe provider parsing.StandardErrorCaptured standard error consumed only by safe classification.Safe classified process-launch or timeout failure.
string Code { get; }
Source
Gets the stable diagnostic code.
string Problem { get; }
Source
Gets the safe problem.
string Cause { get; }
Source
Gets the safe cause.
string Fix { get; }
Source
Gets the remediation.
Production gcloud process runner. It launches the executable directly except on Windows, where the Cloud SDK's gcloud.cmd launcher requires cmd.exe; that path rejects whitespace and shell metacharacters before dispatch. The runner kills the process tree on timeout or cancellation.
ProcessStartInfo CreateStartInfo(IReadOnlyList<string> arguments)
Source
Builds the non-shell or bounded Windows process-start contract without launching a process.
argumentsOrdered provider arguments.A fully configured process start description.
string BuildWindowsCommand(string command, IReadOnlyList<string> arguments)
Source
Builds a metacharacter-free Windows command line for the fixed Cloud SDK launcher.
commandThe fixed executable command name.argumentsOrdered gcloud arguments.A command string safe for the bounded cmd.exe /d /c dispatch path.
string Command { get; }
Source
Gets the selected gcloud command for platform-contract tests.
bool RequiresWindowsCommandInterpreter { get; }
Source
Gets whether the selected command requires the bounded Windows command-interpreter path.