Share via


AppComplianceReportScopingConfigurationCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/scopingConfigurations/{scopingConfigurationName}
  • Operation Id: ScopingConfiguration_Get
  • Default Api Version: 2024-06-27
  • Resource: AppComplianceReportScopingConfigurationResource
public virtual Azure.NullableResponse<Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportScopingConfigurationResource> GetIfExists (string scopingConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportScopingConfigurationResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.AppComplianceAutomation.AppComplianceReportScopingConfigurationResource>
Public Overridable Function GetIfExists (scopingConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of AppComplianceReportScopingConfigurationResource)

Parameters

scopingConfigurationName
String

The scoping configuration of the specific report.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

scopingConfigurationName is an empty string, and was expected to be non-empty.

scopingConfigurationName is null.

Applies to