1. Packages
  2. Azure Classic
  3. API Docs
  4. network
  5. SecurityPartnerProvider

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

azure.network.SecurityPartnerProvider

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi

    Manages a Security Partner Provider which could be associated to virtual hub.

    Example Usage

    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 exampleVirtualWan = new azure.network.VirtualWan("example", {
        name: "example-vwan",
        resourceGroupName: example.name,
        location: example.location,
    });
    const exampleVirtualHub = new azure.network.VirtualHub("example", {
        name: "example-vhub",
        resourceGroupName: example.name,
        location: example.location,
        virtualWanId: exampleVirtualWan.id,
        addressPrefix: "10.0.2.0/24",
    });
    const exampleVpnGateway = new azure.network.VpnGateway("example", {
        name: "example-vpngw",
        location: example.location,
        resourceGroupName: example.name,
        virtualHubId: exampleVirtualHub.id,
    });
    const exampleSecurityPartnerProvider = new azure.network.SecurityPartnerProvider("example", {
        name: "example-spp",
        resourceGroupName: example.name,
        location: example.location,
        virtualHubId: exampleVirtualHub.id,
        securityProviderName: "IBoss",
        tags: {
            ENV: "Prod",
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_virtual_wan = azure.network.VirtualWan("example",
        name="example-vwan",
        resource_group_name=example.name,
        location=example.location)
    example_virtual_hub = azure.network.VirtualHub("example",
        name="example-vhub",
        resource_group_name=example.name,
        location=example.location,
        virtual_wan_id=example_virtual_wan.id,
        address_prefix="10.0.2.0/24")
    example_vpn_gateway = azure.network.VpnGateway("example",
        name="example-vpngw",
        location=example.location,
        resource_group_name=example.name,
        virtual_hub_id=example_virtual_hub.id)
    example_security_partner_provider = azure.network.SecurityPartnerProvider("example",
        name="example-spp",
        resource_group_name=example.name,
        location=example.location,
        virtual_hub_id=example_virtual_hub.id,
        security_provider_name="IBoss",
        tags={
            "ENV": "Prod",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualWan, err := network.NewVirtualWan(ctx, "example", &network.VirtualWanArgs{
    			Name:              pulumi.String("example-vwan"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualHub, err := network.NewVirtualHub(ctx, "example", &network.VirtualHubArgs{
    			Name:              pulumi.String("example-vhub"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    			VirtualWanId:      exampleVirtualWan.ID(),
    			AddressPrefix:     pulumi.String("10.0.2.0/24"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = network.NewVpnGateway(ctx, "example", &network.VpnGatewayArgs{
    			Name:              pulumi.String("example-vpngw"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			VirtualHubId:      exampleVirtualHub.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = network.NewSecurityPartnerProvider(ctx, "example", &network.SecurityPartnerProviderArgs{
    			Name:                 pulumi.String("example-spp"),
    			ResourceGroupName:    example.Name,
    			Location:             example.Location,
    			VirtualHubId:         exampleVirtualHub.ID(),
    			SecurityProviderName: pulumi.String("IBoss"),
    			Tags: pulumi.StringMap{
    				"ENV": pulumi.String("Prod"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleVirtualWan = new Azure.Network.VirtualWan("example", new()
        {
            Name = "example-vwan",
            ResourceGroupName = example.Name,
            Location = example.Location,
        });
    
        var exampleVirtualHub = new Azure.Network.VirtualHub("example", new()
        {
            Name = "example-vhub",
            ResourceGroupName = example.Name,
            Location = example.Location,
            VirtualWanId = exampleVirtualWan.Id,
            AddressPrefix = "10.0.2.0/24",
        });
    
        var exampleVpnGateway = new Azure.Network.VpnGateway("example", new()
        {
            Name = "example-vpngw",
            Location = example.Location,
            ResourceGroupName = example.Name,
            VirtualHubId = exampleVirtualHub.Id,
        });
    
        var exampleSecurityPartnerProvider = new Azure.Network.SecurityPartnerProvider("example", new()
        {
            Name = "example-spp",
            ResourceGroupName = example.Name,
            Location = example.Location,
            VirtualHubId = exampleVirtualHub.Id,
            SecurityProviderName = "IBoss",
            Tags = 
            {
                { "ENV", "Prod" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.network.VirtualWan;
    import com.pulumi.azure.network.VirtualWanArgs;
    import com.pulumi.azure.network.VirtualHub;
    import com.pulumi.azure.network.VirtualHubArgs;
    import com.pulumi.azure.network.VpnGateway;
    import com.pulumi.azure.network.VpnGatewayArgs;
    import com.pulumi.azure.network.SecurityPartnerProvider;
    import com.pulumi.azure.network.SecurityPartnerProviderArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleVirtualWan = new VirtualWan("exampleVirtualWan", VirtualWanArgs.builder()        
                .name("example-vwan")
                .resourceGroupName(example.name())
                .location(example.location())
                .build());
    
            var exampleVirtualHub = new VirtualHub("exampleVirtualHub", VirtualHubArgs.builder()        
                .name("example-vhub")
                .resourceGroupName(example.name())
                .location(example.location())
                .virtualWanId(exampleVirtualWan.id())
                .addressPrefix("10.0.2.0/24")
                .build());
    
            var exampleVpnGateway = new VpnGateway("exampleVpnGateway", VpnGatewayArgs.builder()        
                .name("example-vpngw")
                .location(example.location())
                .resourceGroupName(example.name())
                .virtualHubId(exampleVirtualHub.id())
                .build());
    
            var exampleSecurityPartnerProvider = new SecurityPartnerProvider("exampleSecurityPartnerProvider", SecurityPartnerProviderArgs.builder()        
                .name("example-spp")
                .resourceGroupName(example.name())
                .location(example.location())
                .virtualHubId(exampleVirtualHub.id())
                .securityProviderName("IBoss")
                .tags(Map.of("ENV", "Prod"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleVirtualWan:
        type: azure:network:VirtualWan
        name: example
        properties:
          name: example-vwan
          resourceGroupName: ${example.name}
          location: ${example.location}
      exampleVirtualHub:
        type: azure:network:VirtualHub
        name: example
        properties:
          name: example-vhub
          resourceGroupName: ${example.name}
          location: ${example.location}
          virtualWanId: ${exampleVirtualWan.id}
          addressPrefix: 10.0.2.0/24
      exampleVpnGateway:
        type: azure:network:VpnGateway
        name: example
        properties:
          name: example-vpngw
          location: ${example.location}
          resourceGroupName: ${example.name}
          virtualHubId: ${exampleVirtualHub.id}
      exampleSecurityPartnerProvider:
        type: azure:network:SecurityPartnerProvider
        name: example
        properties:
          name: example-spp
          resourceGroupName: ${example.name}
          location: ${example.location}
          virtualHubId: ${exampleVirtualHub.id}
          securityProviderName: IBoss
          tags:
            ENV: Prod
    

    Create SecurityPartnerProvider Resource

    new SecurityPartnerProvider(name: string, args: SecurityPartnerProviderArgs, opts?: CustomResourceOptions);
    @overload
    def SecurityPartnerProvider(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                location: Optional[str] = None,
                                name: Optional[str] = None,
                                resource_group_name: Optional[str] = None,
                                security_provider_name: Optional[str] = None,
                                tags: Optional[Mapping[str, str]] = None,
                                virtual_hub_id: Optional[str] = None)
    @overload
    def SecurityPartnerProvider(resource_name: str,
                                args: SecurityPartnerProviderArgs,
                                opts: Optional[ResourceOptions] = None)
    func NewSecurityPartnerProvider(ctx *Context, name string, args SecurityPartnerProviderArgs, opts ...ResourceOption) (*SecurityPartnerProvider, error)
    public SecurityPartnerProvider(string name, SecurityPartnerProviderArgs args, CustomResourceOptions? opts = null)
    public SecurityPartnerProvider(String name, SecurityPartnerProviderArgs args)
    public SecurityPartnerProvider(String name, SecurityPartnerProviderArgs args, CustomResourceOptions options)
    
    type: azure:network:SecurityPartnerProvider
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SecurityPartnerProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SecurityPartnerProviderArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SecurityPartnerProviderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SecurityPartnerProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SecurityPartnerProviderArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SecurityPartnerProvider Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SecurityPartnerProvider resource accepts the following input properties:

    ResourceGroupName string
    The name of the Resource Group where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    SecurityProviderName string
    The security provider name. Possible values are ZScaler, IBoss and Checkpoint is allowed. Changing this forces a new resource to be created.
    Location string
    The Azure Region where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Security Partner Provider. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Security Partner Provider.
    VirtualHubId string
    The ID of the Virtual Hub within which this Security Partner Provider should be created. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    SecurityProviderName string
    The security provider name. Possible values are ZScaler, IBoss and Checkpoint is allowed. Changing this forces a new resource to be created.
    Location string
    The Azure Region where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Security Partner Provider. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Security Partner Provider.
    VirtualHubId string
    The ID of the Virtual Hub within which this Security Partner Provider should be created. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    securityProviderName String
    The security provider name. Possible values are ZScaler, IBoss and Checkpoint is allowed. Changing this forces a new resource to be created.
    location String
    The Azure Region where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Security Partner Provider. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Security Partner Provider.
    virtualHubId String
    The ID of the Virtual Hub within which this Security Partner Provider should be created. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    securityProviderName string
    The security provider name. Possible values are ZScaler, IBoss and Checkpoint is allowed. Changing this forces a new resource to be created.
    location string
    The Azure Region where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    name string
    The name which should be used for this Security Partner Provider. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Security Partner Provider.
    virtualHubId string
    The ID of the Virtual Hub within which this Security Partner Provider should be created. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    security_provider_name str
    The security provider name. Possible values are ZScaler, IBoss and Checkpoint is allowed. Changing this forces a new resource to be created.
    location str
    The Azure Region where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    name str
    The name which should be used for this Security Partner Provider. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Security Partner Provider.
    virtual_hub_id str
    The ID of the Virtual Hub within which this Security Partner Provider should be created. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    securityProviderName String
    The security provider name. Possible values are ZScaler, IBoss and Checkpoint is allowed. Changing this forces a new resource to be created.
    location String
    The Azure Region where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Security Partner Provider. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Security Partner Provider.
    virtualHubId String
    The ID of the Virtual Hub within which this Security Partner Provider should be created. Changing this forces a new resource to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SecurityPartnerProvider resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SecurityPartnerProvider Resource

    Get an existing SecurityPartnerProvider resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SecurityPartnerProviderState, opts?: CustomResourceOptions): SecurityPartnerProvider
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            security_provider_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            virtual_hub_id: Optional[str] = None) -> SecurityPartnerProvider
    func GetSecurityPartnerProvider(ctx *Context, name string, id IDInput, state *SecurityPartnerProviderState, opts ...ResourceOption) (*SecurityPartnerProvider, error)
    public static SecurityPartnerProvider Get(string name, Input<string> id, SecurityPartnerProviderState? state, CustomResourceOptions? opts = null)
    public static SecurityPartnerProvider get(String name, Output<String> id, SecurityPartnerProviderState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Location string
    The Azure Region where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Security Partner Provider. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    SecurityProviderName string
    The security provider name. Possible values are ZScaler, IBoss and Checkpoint is allowed. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Security Partner Provider.
    VirtualHubId string
    The ID of the Virtual Hub within which this Security Partner Provider should be created. Changing this forces a new resource to be created.
    Location string
    The Azure Region where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Security Partner Provider. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    SecurityProviderName string
    The security provider name. Possible values are ZScaler, IBoss and Checkpoint is allowed. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Security Partner Provider.
    VirtualHubId string
    The ID of the Virtual Hub within which this Security Partner Provider should be created. Changing this forces a new resource to be created.
    location String
    The Azure Region where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Security Partner Provider. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    securityProviderName String
    The security provider name. Possible values are ZScaler, IBoss and Checkpoint is allowed. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Security Partner Provider.
    virtualHubId String
    The ID of the Virtual Hub within which this Security Partner Provider should be created. Changing this forces a new resource to be created.
    location string
    The Azure Region where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    name string
    The name which should be used for this Security Partner Provider. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    securityProviderName string
    The security provider name. Possible values are ZScaler, IBoss and Checkpoint is allowed. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Security Partner Provider.
    virtualHubId string
    The ID of the Virtual Hub within which this Security Partner Provider should be created. Changing this forces a new resource to be created.
    location str
    The Azure Region where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    name str
    The name which should be used for this Security Partner Provider. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    security_provider_name str
    The security provider name. Possible values are ZScaler, IBoss and Checkpoint is allowed. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Security Partner Provider.
    virtual_hub_id str
    The ID of the Virtual Hub within which this Security Partner Provider should be created. Changing this forces a new resource to be created.
    location String
    The Azure Region where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Security Partner Provider. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the Security Partner Provider should exist. Changing this forces a new resource to be created.
    securityProviderName String
    The security provider name. Possible values are ZScaler, IBoss and Checkpoint is allowed. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Security Partner Provider.
    virtualHubId String
    The ID of the Virtual Hub within which this Security Partner Provider should be created. Changing this forces a new resource to be created.

    Import

    Security Partner Providers can be imported using the resource id, e.g.

    $ pulumi import azure:network/securityPartnerProvider:SecurityPartnerProvider example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider1
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi