@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.42 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Lists active security admin rules in a network manager.
*
* Uses Azure REST API version 2021-02-01-preview.
*/
export declare function listActiveSecurityAdminRule(args: ListActiveSecurityAdminRuleArgs, opts?: pulumi.InvokeOptions): Promise<ListActiveSecurityAdminRuleResult>;
export interface ListActiveSecurityAdminRuleArgs {
/**
* The name of the network manager.
*/
networkManagerName: string;
/**
* List of regions.
*/
regions?: string[];
/**
* The name of the resource group.
*/
resourceGroupName: string;
/**
* When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
*/
skipToken?: string;
}
/**
* Result of the request to list active security admin rules. It contains a list of active security admin rules and a skiptoken to get the next set of results.
*/
export interface ListActiveSecurityAdminRuleResult {
/**
* When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
*/
readonly skipToken?: string;
/**
* Gets a page of active security admin rules.
*/
readonly value?: (outputs.network.ActiveDefaultSecurityAdminRuleResponse | outputs.network.ActiveSecurityAdminRuleResponse)[];
}
/**
* Lists active security admin rules in a network manager.
*
* Uses Azure REST API version 2021-02-01-preview.
*/
export declare function listActiveSecurityAdminRuleOutput(args: ListActiveSecurityAdminRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListActiveSecurityAdminRuleResult>;
export interface ListActiveSecurityAdminRuleOutputArgs {
/**
* The name of the network manager.
*/
networkManagerName: pulumi.Input<string>;
/**
* List of regions.
*/
regions?: pulumi.Input<pulumi.Input<string>[]>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
/**
* When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.
*/
skipToken?: pulumi.Input<string>;
}