azure-native.network.SecurityPartnerProvider
Explore with Pulumi AI
Security Partner Provider resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.
Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.
Example Usage
Create Security Partner Provider
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var securityPartnerProvider = new AzureNative.Network.SecurityPartnerProvider("securityPartnerProvider", new()
    {
        Location = "West US",
        ResourceGroupName = "rg1",
        SecurityPartnerProviderName = "securityPartnerProvider",
        SecurityProviderName = AzureNative.Network.SecurityProviderName.ZScaler,
        Tags = 
        {
            { "key1", "value1" },
        },
        VirtualHub = new AzureNative.Network.Inputs.SubResourceArgs
        {
            Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1",
        },
    });
});
package main
import (
	network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewSecurityPartnerProvider(ctx, "securityPartnerProvider", &network.SecurityPartnerProviderArgs{
			Location:                    pulumi.String("West US"),
			ResourceGroupName:           pulumi.String("rg1"),
			SecurityPartnerProviderName: pulumi.String("securityPartnerProvider"),
			SecurityProviderName:        pulumi.String(network.SecurityProviderNameZScaler),
			Tags: pulumi.StringMap{
				"key1": pulumi.String("value1"),
			},
			VirtualHub: &network.SubResourceArgs{
				Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.SecurityPartnerProvider;
import com.pulumi.azurenative.network.SecurityPartnerProviderArgs;
import com.pulumi.azurenative.network.inputs.SubResourceArgs;
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 securityPartnerProvider = new SecurityPartnerProvider("securityPartnerProvider", SecurityPartnerProviderArgs.builder()
            .location("West US")
            .resourceGroupName("rg1")
            .securityPartnerProviderName("securityPartnerProvider")
            .securityProviderName("ZScaler")
            .tags(Map.of("key1", "value1"))
            .virtualHub(SubResourceArgs.builder()
                .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1")
                .build())
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const securityPartnerProvider = new azure_native.network.SecurityPartnerProvider("securityPartnerProvider", {
    location: "West US",
    resourceGroupName: "rg1",
    securityPartnerProviderName: "securityPartnerProvider",
    securityProviderName: azure_native.network.SecurityProviderName.ZScaler,
    tags: {
        key1: "value1",
    },
    virtualHub: {
        id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1",
    },
});
import pulumi
import pulumi_azure_native as azure_native
security_partner_provider = azure_native.network.SecurityPartnerProvider("securityPartnerProvider",
    location="West US",
    resource_group_name="rg1",
    security_partner_provider_name="securityPartnerProvider",
    security_provider_name=azure_native.network.SecurityProviderName.Z_SCALER,
    tags={
        "key1": "value1",
    },
    virtual_hub={
        "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1",
    })
resources:
  securityPartnerProvider:
    type: azure-native:network:SecurityPartnerProvider
    properties:
      location: West US
      resourceGroupName: rg1
      securityPartnerProviderName: securityPartnerProvider
      securityProviderName: ZScaler
      tags:
        key1: value1
      virtualHub:
        id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1
Create SecurityPartnerProvider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecurityPartnerProvider(name: string, args: SecurityPartnerProviderArgs, opts?: CustomResourceOptions);@overload
def SecurityPartnerProvider(resource_name: str,
                            args: SecurityPartnerProviderArgs,
                            opts: Optional[ResourceOptions] = None)
@overload
def SecurityPartnerProvider(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            resource_group_name: Optional[str] = None,
                            id: Optional[str] = None,
                            location: Optional[str] = None,
                            security_partner_provider_name: Optional[str] = None,
                            security_provider_name: Optional[Union[str, SecurityProviderName]] = None,
                            tags: Optional[Mapping[str, str]] = None,
                            virtual_hub: Optional[SubResourceArgs] = 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-native:network:SecurityPartnerProvider
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var securityPartnerProviderResource = new AzureNative.Network.SecurityPartnerProvider("securityPartnerProviderResource", new()
{
    ResourceGroupName = "string",
    Id = "string",
    Location = "string",
    SecurityPartnerProviderName = "string",
    SecurityProviderName = "string",
    Tags = 
    {
        { "string", "string" },
    },
    VirtualHub = new AzureNative.Network.Inputs.SubResourceArgs
    {
        Id = "string",
    },
});
example, err := network.NewSecurityPartnerProvider(ctx, "securityPartnerProviderResource", &network.SecurityPartnerProviderArgs{
	ResourceGroupName:           pulumi.String("string"),
	Id:                          pulumi.String("string"),
	Location:                    pulumi.String("string"),
	SecurityPartnerProviderName: pulumi.String("string"),
	SecurityProviderName:        pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	VirtualHub: &network.SubResourceArgs{
		Id: pulumi.String("string"),
	},
})
var securityPartnerProviderResource = new SecurityPartnerProvider("securityPartnerProviderResource", SecurityPartnerProviderArgs.builder()
    .resourceGroupName("string")
    .id("string")
    .location("string")
    .securityPartnerProviderName("string")
    .securityProviderName("string")
    .tags(Map.of("string", "string"))
    .virtualHub(SubResourceArgs.builder()
        .id("string")
        .build())
    .build());
security_partner_provider_resource = azure_native.network.SecurityPartnerProvider("securityPartnerProviderResource",
    resource_group_name="string",
    id="string",
    location="string",
    security_partner_provider_name="string",
    security_provider_name="string",
    tags={
        "string": "string",
    },
    virtual_hub={
        "id": "string",
    })
const securityPartnerProviderResource = new azure_native.network.SecurityPartnerProvider("securityPartnerProviderResource", {
    resourceGroupName: "string",
    id: "string",
    location: "string",
    securityPartnerProviderName: "string",
    securityProviderName: "string",
    tags: {
        string: "string",
    },
    virtualHub: {
        id: "string",
    },
});
type: azure-native:network:SecurityPartnerProvider
properties:
    id: string
    location: string
    resourceGroupName: string
    securityPartnerProviderName: string
    securityProviderName: string
    tags:
        string: string
    virtualHub:
        id: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SecurityPartnerProvider resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group.
- Id string
- Resource ID.
- Location string
- Resource location.
- SecurityPartner stringProvider Name 
- The name of the Security Partner Provider.
- SecurityProvider string | Pulumi.Name Azure Native. Network. Security Provider Name 
- The security provider name.
- Dictionary<string, string>
- Resource tags.
- VirtualHub Pulumi.Azure Native. Network. Inputs. Sub Resource 
- The virtualHub to which the Security Partner Provider belongs.
- ResourceGroup stringName 
- The name of the resource group.
- Id string
- Resource ID.
- Location string
- Resource location.
- SecurityPartner stringProvider Name 
- The name of the Security Partner Provider.
- SecurityProvider string | SecurityName Provider Name 
- The security provider name.
- map[string]string
- Resource tags.
- VirtualHub SubResource Args 
- The virtualHub to which the Security Partner Provider belongs.
- resourceGroup StringName 
- The name of the resource group.
- id String
- Resource ID.
- location String
- Resource location.
- securityPartner StringProvider Name 
- The name of the Security Partner Provider.
- securityProvider String | SecurityName Provider Name 
- The security provider name.
- Map<String,String>
- Resource tags.
- virtualHub SubResource 
- The virtualHub to which the Security Partner Provider belongs.
- resourceGroup stringName 
- The name of the resource group.
- id string
- Resource ID.
- location string
- Resource location.
- securityPartner stringProvider Name 
- The name of the Security Partner Provider.
- securityProvider string | SecurityName Provider Name 
- The security provider name.
- {[key: string]: string}
- Resource tags.
- virtualHub SubResource 
- The virtualHub to which the Security Partner Provider belongs.
- resource_group_ strname 
- The name of the resource group.
- id str
- Resource ID.
- location str
- Resource location.
- security_partner_ strprovider_ name 
- The name of the Security Partner Provider.
- security_provider_ str | Securityname Provider Name 
- The security provider name.
- Mapping[str, str]
- Resource tags.
- virtual_hub SubResource Args 
- The virtualHub to which the Security Partner Provider belongs.
- resourceGroup StringName 
- The name of the resource group.
- id String
- Resource ID.
- location String
- Resource location.
- securityPartner StringProvider Name 
- The name of the Security Partner Provider.
- securityProvider String | "ZScaler" | "IBoss" | "Checkpoint"Name 
- The security provider name.
- Map<String>
- Resource tags.
- virtualHub Property Map
- The virtualHub to which the Security Partner Provider belongs.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecurityPartnerProvider resource produces the following output properties:
- ConnectionStatus string
- The connection status with the Security Partner Provider.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- ProvisioningState string
- The provisioning state of the Security Partner Provider resource.
- Type string
- Resource type.
- ConnectionStatus string
- The connection status with the Security Partner Provider.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name.
- ProvisioningState string
- The provisioning state of the Security Partner Provider resource.
- Type string
- Resource type.
- connectionStatus String
- The connection status with the Security Partner Provider.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioningState String
- The provisioning state of the Security Partner Provider resource.
- type String
- Resource type.
- connectionStatus string
- The connection status with the Security Partner Provider.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name.
- provisioningState string
- The provisioning state of the Security Partner Provider resource.
- type string
- Resource type.
- connection_status str
- The connection status with the Security Partner Provider.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name.
- provisioning_state str
- The provisioning state of the Security Partner Provider resource.
- type str
- Resource type.
- connectionStatus String
- The connection status with the Security Partner Provider.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name.
- provisioningState String
- The provisioning state of the Security Partner Provider resource.
- type String
- Resource type.
Supporting Types
SecurityProviderName, SecurityProviderNameArgs      
- ZScaler
- ZScaler
- IBoss
- IBoss
- Checkpoint
- Checkpoint
- SecurityProvider Name ZScaler 
- ZScaler
- SecurityProvider Name IBoss 
- IBoss
- SecurityProvider Name Checkpoint 
- Checkpoint
- ZScaler
- ZScaler
- IBoss
- IBoss
- Checkpoint
- Checkpoint
- ZScaler
- ZScaler
- IBoss
- IBoss
- Checkpoint
- Checkpoint
- Z_SCALER
- ZScaler
- I_BOSS
- IBoss
- CHECKPOINT
- Checkpoint
- "ZScaler"
- ZScaler
- "IBoss"
- IBoss
- "Checkpoint"
- Checkpoint
SubResource, SubResourceArgs    
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id str
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
SubResourceResponse, SubResourceResponseArgs      
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:SecurityPartnerProvider securityPartnerProvider /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0