Share via


PurviewScanningServiceClient.GetSystemRulesetsAsync(RequestOptions) Method

Definition

List all system scan rulesets for an account.

public virtual Azure.AsyncPageable<BinaryData> GetSystemRulesetsAsync (Azure.RequestOptions options);
abstract member GetSystemRulesetsAsync : Azure.RequestOptions -> Azure.AsyncPageable<BinaryData>
override this.GetSystemRulesetsAsync : Azure.RequestOptions -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetSystemRulesetsAsync (options As RequestOptions) As AsyncPageable(Of BinaryData)

Parameters

options
Azure.RequestOptions

The request options.

Returns

Remarks

Schema for Response Body:

{
              value: [
                {
                  scanRulesetType: "Custom" | "System",
                  status: "Enabled" | "Disabled",
                  version: number,
                  id: string,
                  name: string,
                  kind: "None" | "AzureSubscription" | "AzureResourceGroup" | "AzureSynapseWorkspace" | "AzureSynapse" | "AdlsGen1" | "AdlsGen2" | "AmazonAccount" | "AmazonS3" | "AmazonSql" | "AzureCosmosDb" | "AzureDataExplorer" | "AzureFileService" | "AzureSqlDatabase" | "AmazonPostgreSql" | "AzurePostgreSql" | "SqlServerDatabase" | "AzureSqlDatabaseManagedInstance" | "AzureSqlDataWarehouse" | "AzureMySql" | "AzureStorage" | "Teradata" | "Oracle" | "SapS4Hana" | "SapEcc" | "PowerBI"
                }
              ],
              nextLink: string,
              count: number
            }

Schema for Response Error:

{
              error: {
                code: string,
                message: string,
                target: string,
                details: [
                  {
                    code: string,
                    message: string,
                    target: string,
                    details: [ErrorModel]
                  }
                ]
              }
            }

Applies to