@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.24 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a server vulnerability assessments setting of the requested kind, that is set on the subscription
*
* Uses Azure REST API version 2023-05-01.
*/
export declare function getAzureServersSetting(args: GetAzureServersSettingArgs, opts?: pulumi.InvokeOptions): Promise<GetAzureServersSettingResult>;
export interface GetAzureServersSettingArgs {
/**
* The kind of the server vulnerability assessments setting
*/
settingKind: string;
}
/**
* A vulnerability assessments setting on Azure servers in the defined scope.
*/
export interface GetAzureServersSettingResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The kind of the server vulnerability assessments setting
* Expected value is 'AzureServersSetting'.
*/
readonly kind: "AzureServersSetting";
/**
* The name of the resource
*/
readonly name: string;
/**
* The selected vulnerability assessments provider on Azure servers in the defined scope.
*/
readonly selectedProvider: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.security.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get a server vulnerability assessments setting of the requested kind, that is set on the subscription
*
* Uses Azure REST API version 2023-05-01.
*/
export declare function getAzureServersSettingOutput(args: GetAzureServersSettingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAzureServersSettingResult>;
export interface GetAzureServersSettingOutputArgs {
/**
* The kind of the server vulnerability assessments setting
*/
settingKind: pulumi.Input<string>;
}