ContainerAppManagedEnvironmentResource.GetContainerAppMaintenanceConfigurationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the maintenance configuration of a ManagedEnvironment .
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/maintenanceConfigurations/{configName}
- Operation Id: MaintenanceConfigurations_Get
- Default Api Version: 2025-07-01
- Resource: ContainerAppMaintenanceConfigurationResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppMaintenanceConfigurationResource>> GetContainerAppMaintenanceConfigurationAsync(string configName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerAppMaintenanceConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppMaintenanceConfigurationResource>>
override this.GetContainerAppMaintenanceConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppMaintenanceConfigurationResource>>
Public Overridable Function GetContainerAppMaintenanceConfigurationAsync (configName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppMaintenanceConfigurationResource))
Parameters
- configName
- String
The name of the maintenance configuration.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
configName is null.
configName is an empty string, and was expected to be non-empty.