RoleManagementAlertConfigurationCollection.Get 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.
Get the specified alert configuration.
- Request Path. : /{scope}/providers/Microsoft.Authorization/roleManagementAlertConfigurations/{alertId}.
- Operation Id. : AlertConfigurations_Get.
- Default Api Version. : 2022-08-01-preview.
public virtual Azure.Response<Azure.ResourceManager.Authorization.RoleManagementAlertConfigurationResource> Get(string alertId, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleManagementAlertConfigurationResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleManagementAlertConfigurationResource>
Public Overridable Function Get (alertId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RoleManagementAlertConfigurationResource)
Parameters
- alertId
- String
The name of the alert configuration to get.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
alertId is null.
alertId is an empty string, and was expected to be non-empty.