11 types derived from AzureIntent
Aspire.Hosting.Azure (11)
AzureProvisioningController.cs (11)
4368private sealed record ResetStateIntent(bool ReprovisionAfterReset) : AzureIntent(AzureOperationState.All("Reset provisioning state")); 4370private sealed record ChangeAzureContextIntent(AzureProvisioningOptionsUpdate? Options) : AzureIntent(AzureOperationState.All("Change Azure context")); 4372private sealed record ApplyAzureContextIntent() : AzureIntent(AzureOperationState.All("Configure Azure context")); 4374private sealed record EnsureProvisionedIntent() : AzureIntent(AzureOperationState.All("Provision Azure resources")); 4376private sealed record ReprovisionAllIntent() : AzureIntent(AzureOperationState.All("Reprovision all Azure resources")); 4378private sealed record DeleteAzureResourcesIntent() : AzureIntent(AzureOperationState.All("Delete Azure resources")); 4380private sealed record ForgetResourceStateIntent(string ResourceName) : AzureIntent(AzureOperationState.Resource(ResourceName, "Reset provisioning state")); 4382private sealed record ChangeResourceLocationIntent(string ResourceName, string Location, bool ConfirmDelete) : AzureIntent(AzureOperationState.Resource(ResourceName, "Change Azure resource location")); 4386private sealed record ReprovisionResourceIntent(string ResourceName) : AzureIntent(AzureOperationState.Resource(ResourceName, "Reprovision Azure resource")); 4388private sealed record DeleteAzureResourceIntent(string ResourceName) : AzureIntent(AzureOperationState.Resource(ResourceName, "Delete Azure resource")); 4392private sealed record DetectDriftIntent() : AzureIntent(AzureOperationState.None);
16 references to AzureIntent
Aspire.Hosting.Azure (16)
AzureProvisioningController.cs (16)
1008private async Task RunOperationAsync(DistributedApplicationModel model, AzureIntent intent, CancellationToken cancellationToken) 1016private async Task<T> RunOperationAsync<T>(DistributedApplicationModel model, AzureIntent intent, CancellationToken cancellationToken) 1391AzureIntent intent, 1704private async Task<object?> ExecuteIntentAsync(DistributedApplicationModel model, AzureIntent intent, CancellationToken cancellationToken) 2219private ActiveAzureOperation StartOperation(DistributedApplicationModel model, AzureIntent intent, CancellationToken cancellationToken) 2232private void CompleteOperation(AzureIntent intent, ActiveAzureOperation? activeOperation) 2256private void UpdateActiveOperationPhase(AzureIntent intent, string phase, string? status = null) 2278private static AzureOperationState CreateActiveOperationState(DistributedApplicationModel model, AzureIntent intent) 2297private static AzureOperationState CreateQueuedOperationState(DistributedApplicationModel model, AzureIntent intent) 2307private void RegisterQueuedOperation(AzureIntent intent, AzureOperationState queuedOperationState) 2373private static AzureControllerState CreateControllerState(AzureIntent? currentIntent, ActiveAzureOperation? activeOperation) 4229private ActiveAzureOperation(AzureIntent intent, AzureOperationState operation, DateTimeOffset startedAt, CancellationTokenSource cancellationTokenSource) 4239public AzureIntent Intent { get; } 4251public static ActiveAzureOperation Create(AzureIntent intent, AzureOperationState operation, DateTimeOffset startedAt, CancellationToken cancellationToken) 4316private sealed record AzureControllerStatus(AzureIntent? CurrentIntent, ActiveAzureOperation? ActiveOperation); 4396AzureIntent Intent,