import * as pulumi from "@pulumi/pulumi"; /** * Manages a Network Manager Security Admin Configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const current = azure.core.getSubscription({}); * const exampleNetworkManager = new azure.network.NetworkManager("example", { * name: "example-network-manager", * location: example.location, * resourceGroupName: example.name, * scope: { * subscriptionIds: [current.then(current => current.id)], * }, * scopeAccesses: [ * "Connectivity", * "SecurityAdmin", * ], * description: "example network manager", * }); * const exampleNetworkManagerNetworkGroup = new azure.network.NetworkManagerNetworkGroup("example", { * name: "example-network-group", * networkManagerId: exampleNetworkManager.id, * }); * const exampleNetworkManagerSecurityAdminConfiguration = new azure.network.NetworkManagerSecurityAdminConfiguration("example", { * name: "example-admin-conf", * networkManagerId: exampleNetworkManager.id, * description: "example admin conf", * applyOnNetworkIntentPolicyBasedServices: "None", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * Network Manager Security Admin Configuration can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:network/networkManagerSecurityAdminConfiguration:NetworkManagerSecurityAdminConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/networkManagers/networkManager1/securityAdminConfigurations/configuration1 * ``` */ export declare class NetworkManagerSecurityAdminConfiguration extends pulumi.CustomResource { /** * Get an existing NetworkManagerSecurityAdminConfiguration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: NetworkManagerSecurityAdminConfigurationState, opts?: pulumi.CustomResourceOptions): NetworkManagerSecurityAdminConfiguration; /** * Returns true if the given object is an instance of NetworkManagerSecurityAdminConfiguration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is NetworkManagerSecurityAdminConfiguration; /** * A list of network intent policy based services. Possible values are `All`, `None` and `AllowRulesOnly`. Exactly one value should be set. The `All` option requires `Microsoft.Network/AllowAdminRulesOnNipBasedServices` feature registration to Subscription. Please see [this document](https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-security-admins#network-intent-policies-and-security-admin-rules) for more information. */ readonly applyOnNetworkIntentPolicyBasedServices: pulumi.Output; /** * A description of the Security Admin Configuration. */ readonly description: pulumi.Output; /** * Specifies the name which should be used for this Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created. */ readonly name: pulumi.Output; /** * Specifies the ID of the Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created. */ readonly networkManagerId: pulumi.Output; /** * Create a NetworkManagerSecurityAdminConfiguration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: NetworkManagerSecurityAdminConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkManagerSecurityAdminConfiguration resources. */ export interface NetworkManagerSecurityAdminConfigurationState { /** * A list of network intent policy based services. Possible values are `All`, `None` and `AllowRulesOnly`. Exactly one value should be set. The `All` option requires `Microsoft.Network/AllowAdminRulesOnNipBasedServices` feature registration to Subscription. Please see [this document](https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-security-admins#network-intent-policies-and-security-admin-rules) for more information. */ applyOnNetworkIntentPolicyBasedServices?: pulumi.Input; /** * A description of the Security Admin Configuration. */ description?: pulumi.Input; /** * Specifies the name which should be used for this Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created. */ name?: pulumi.Input; /** * Specifies the ID of the Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created. */ networkManagerId?: pulumi.Input; } /** * The set of arguments for constructing a NetworkManagerSecurityAdminConfiguration resource. */ export interface NetworkManagerSecurityAdminConfigurationArgs { /** * A list of network intent policy based services. Possible values are `All`, `None` and `AllowRulesOnly`. Exactly one value should be set. The `All` option requires `Microsoft.Network/AllowAdminRulesOnNipBasedServices` feature registration to Subscription. Please see [this document](https://learn.microsoft.com/en-us/azure/virtual-network-manager/concept-security-admins#network-intent-policies-and-security-admin-rules) for more information. */ applyOnNetworkIntentPolicyBasedServices?: pulumi.Input; /** * A description of the Security Admin Configuration. */ description?: pulumi.Input; /** * Specifies the name which should be used for this Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created. */ name?: pulumi.Input; /** * Specifies the ID of the Network Manager Security Admin Configuration. Changing this forces a new Network Manager Security Admin Configuration to be created. */ networkManagerId: pulumi.Input; }