UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

61 lines (60 loc) 2.24 kB
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>; }