11 types derived from AzureIntent
Aspire.Hosting.Azure (11)
AzureProvisioningController.cs (11)
4596private sealed record ResetStateIntent(bool ReprovisionAfterReset) : AzureIntent(AzureOperationState.All("Reset provisioning state")); 4598private sealed record ChangeAzureContextIntent(AzureProvisioningOptionsUpdate? Options) : AzureIntent(AzureOperationState.All("Change Azure context")); 4600private sealed record ApplyAzureContextIntent() : AzureIntent(AzureOperationState.All("Configure Azure context")); 4602private sealed record EnsureProvisionedIntent() : AzureIntent(AzureOperationState.All("Provision Azure resources")); 4604private sealed record ReprovisionAllIntent() : AzureIntent(AzureOperationState.All("Reprovision all Azure resources")); 4606private sealed record DeleteAzureResourcesIntent() : AzureIntent(AzureOperationState.All("Delete Azure resources")); 4608private sealed record ForgetResourceStateIntent(string ResourceName) : AzureIntent(AzureOperationState.Resource(ResourceName, "Reset provisioning state")); 4610private sealed record ChangeResourceLocationIntent(string ResourceName, string Location, bool ConfirmDelete) : AzureIntent(AzureOperationState.Resource(ResourceName, "Change Azure resource location")); 4614private sealed record ReprovisionResourceIntent(string ResourceName) : AzureIntent(AzureOperationState.Resource(ResourceName, "Reprovision Azure resource")); 4616private sealed record DeleteAzureResourceIntent(string ResourceName) : AzureIntent(AzureOperationState.Resource(ResourceName, "Delete Azure resource")); 4620private 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) 1456AzureIntent intent, 1769private async Task<object?> ExecuteIntentAsync(DistributedApplicationModel model, AzureIntent intent, CancellationToken cancellationToken) 2375private ActiveAzureOperation StartOperation(DistributedApplicationModel model, AzureIntent intent, CancellationToken cancellationToken) 2388private void CompleteOperation(AzureIntent intent, ActiveAzureOperation? activeOperation) 2412private void UpdateActiveOperationPhase(AzureIntent intent, string phase, string? status = null) 2434private static AzureOperationState CreateActiveOperationState(DistributedApplicationModel model, AzureIntent intent) 2453private static AzureOperationState CreateQueuedOperationState(DistributedApplicationModel model, AzureIntent intent) 2463private void RegisterQueuedOperation(AzureIntent intent, AzureOperationState queuedOperationState) 2529private static AzureControllerState CreateControllerState(AzureIntent? currentIntent, ActiveAzureOperation? activeOperation) 4453private ActiveAzureOperation(AzureIntent intent, AzureOperationState operation, DateTimeOffset startedAt, CancellationTokenSource cancellationTokenSource) 4463public AzureIntent Intent { get; } 4475public static ActiveAzureOperation Create(AzureIntent intent, AzureOperationState operation, DateTimeOffset startedAt, CancellationToken cancellationToken) 4540private sealed record AzureControllerStatus(AzureIntent? CurrentIntent, ActiveAzureOperation? ActiveOperation); 4624AzureIntent Intent,