@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.69 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 2024-05-01.
*
* Other available API versions: 2022-01-01, 2022-02-01-preview, 2022-04-01-preview, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. 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 listActiveSecurityAdminRules(args: ListActiveSecurityAdminRulesArgs, opts?: pulumi.InvokeOptions): Promise<ListActiveSecurityAdminRulesResult>;
export interface ListActiveSecurityAdminRulesArgs {
/**
* 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;
/**
* An optional query parameter which specifies the maximum number of records to be returned by the server.
*/
top?: number;
}
/**
* 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 ListActiveSecurityAdminRulesResult {
/**
* 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 2024-05-01.
*
* Other available API versions: 2022-01-01, 2022-02-01-preview, 2022-04-01-preview, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. 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 listActiveSecurityAdminRulesOutput(args: ListActiveSecurityAdminRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListActiveSecurityAdminRulesResult>;
export interface ListActiveSecurityAdminRulesOutputArgs {
/**
* 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>;
/**
* An optional query parameter which specifies the maximum number of records to be returned by the server.
*/
top?: pulumi.Input<number>;
}