@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.39 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a setting.
*
* Uses Azure REST API version 2025-01-01-preview.
*/
export declare function getAnomalies(args: GetAnomaliesArgs, opts?: pulumi.InvokeOptions): Promise<GetAnomaliesResult>;
export interface GetAnomaliesArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba
*/
settingsName: string;
/**
* The name of the workspace.
*/
workspaceName: string;
}
/**
* Settings with single toggle.
*/
export interface GetAnomaliesResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Etag of the azure resource
*/
readonly etag?: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* Determines whether the setting is enable or disabled.
*/
readonly isEnabled: boolean;
/**
* The kind of the setting
* Expected value is 'Anomalies'.
*/
readonly kind: "Anomalies";
/**
* The name of the resource
*/
readonly name: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.securityinsights.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Gets a setting.
*
* Uses Azure REST API version 2025-01-01-preview.
*/
export declare function getAnomaliesOutput(args: GetAnomaliesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAnomaliesResult>;
export interface GetAnomaliesOutputArgs {
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba
*/
settingsName: pulumi.Input<string>;
/**
* The name of the workspace.
*/
workspaceName: pulumi.Input<string>;
}