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

96 lines (95 loc) 3.26 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets a network manager security user configuration rule collection. * * Uses Azure REST API version 2022-04-01-preview. * * Other available API versions: 2021-02-01-preview, 2022-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getUserRuleCollection(args: GetUserRuleCollectionArgs, opts?: pulumi.InvokeOptions): Promise<GetUserRuleCollectionResult>; export interface GetUserRuleCollectionArgs { /** * The name of the network manager Security Configuration. */ configurationName: string; /** * The name of the network manager. */ networkManagerName: string; /** * The name of the resource group. */ resourceGroupName: string; /** * The name of the network manager security Configuration rule collection. */ ruleCollectionName: string; } /** * Defines the user rule collection. */ export interface GetUserRuleCollectionResult { /** * Groups for configuration */ readonly appliesToGroups: outputs.network.NetworkManagerSecurityGroupItemResponse[]; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * A description of the user rule collection. */ readonly description?: string; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: string; /** * Resource ID. */ readonly id: string; /** * Resource name. */ readonly name: string; /** * The provisioning state of the resource. */ readonly provisioningState: string; /** * The system metadata related to this resource. */ readonly systemData: outputs.network.SystemDataResponse; /** * Resource type. */ readonly type: string; } /** * Gets a network manager security user configuration rule collection. * * Uses Azure REST API version 2022-04-01-preview. * * Other available API versions: 2021-02-01-preview, 2022-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getUserRuleCollectionOutput(args: GetUserRuleCollectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserRuleCollectionResult>; export interface GetUserRuleCollectionOutputArgs { /** * The name of the network manager Security Configuration. */ configurationName: pulumi.Input<string>; /** * The name of the network manager. */ networkManagerName: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; /** * The name of the network manager security Configuration rule collection. */ ruleCollectionName: pulumi.Input<string>; }