11 types derived from AzureIntent
Aspire.Hosting.Azure (11)
AzureProvisioningController.cs (11)
4503private sealed record ResetStateIntent(bool ReprovisionAfterReset) : AzureIntent(AzureOperationState.All("Reset provisioning state")); 4505private sealed record ChangeAzureContextIntent(AzureProvisioningOptionsUpdate? Options) : AzureIntent(AzureOperationState.All("Change Azure context")); 4507private sealed record ApplyAzureContextIntent() : AzureIntent(AzureOperationState.All("Configure Azure context")); 4509private sealed record EnsureProvisionedIntent() : AzureIntent(AzureOperationState.All("Provision Azure resources")); 4511private sealed record ReprovisionAllIntent() : AzureIntent(AzureOperationState.All("Reprovision all Azure resources")); 4513private sealed record DeleteAzureResourcesIntent() : AzureIntent(AzureOperationState.All("Delete Azure resources")); 4515private sealed record ForgetResourceStateIntent(string ResourceName) : AzureIntent(AzureOperationState.Resource(ResourceName, "Reset provisioning state")); 4517private sealed record ChangeResourceLocationIntent(string ResourceName, string Location, bool ConfirmDelete) : AzureIntent(AzureOperationState.Resource(ResourceName, "Change Azure resource location")); 4521private sealed record ReprovisionResourceIntent(string ResourceName) : AzureIntent(AzureOperationState.Resource(ResourceName, "Reprovision Azure resource")); 4523private sealed record DeleteAzureResourceIntent(string ResourceName) : AzureIntent(AzureOperationState.Resource(ResourceName, "Delete Azure resource")); 4527private sealed record DetectDriftIntent() : AzureIntent(AzureOperationState.None);
16 references to AzureIntent
Aspire.Hosting.Azure (16)
AzureProvisioningController.cs (16)
1053private async Task RunOperationAsync(DistributedApplicationModel model, AzureIntent intent, CancellationToken cancellationToken) 1061private async Task<T> RunOperationAsync<T>(DistributedApplicationModel model, AzureIntent intent, CancellationToken cancellationToken) 1436AzureIntent intent, 1749private async Task<object?> ExecuteIntentAsync(DistributedApplicationModel model, AzureIntent intent, CancellationToken cancellationToken) 2316private ActiveAzureOperation StartOperation(DistributedApplicationModel model, AzureIntent intent, CancellationToken cancellationToken) 2329private void CompleteOperation(AzureIntent intent, ActiveAzureOperation? activeOperation) 2353private void UpdateActiveOperationPhase(AzureIntent intent, string phase, string? status = null) 2375private static AzureOperationState CreateActiveOperationState(DistributedApplicationModel model, AzureIntent intent) 2394private static AzureOperationState CreateQueuedOperationState(DistributedApplicationModel model, AzureIntent intent) 2404private void RegisterQueuedOperation(AzureIntent intent, AzureOperationState queuedOperationState) 2470private static AzureControllerState CreateControllerState(AzureIntent? currentIntent, ActiveAzureOperation? activeOperation) 4360private ActiveAzureOperation(AzureIntent intent, AzureOperationState operation, DateTimeOffset startedAt, CancellationTokenSource cancellationTokenSource) 4370public AzureIntent Intent { get; } 4382public static ActiveAzureOperation Create(AzureIntent intent, AzureOperationState operation, DateTimeOffset startedAt, CancellationToken cancellationToken) 4447private sealed record AzureControllerStatus(AzureIntent? CurrentIntent, ActiveAzureOperation? ActiveOperation); 4531AzureIntent Intent,