azure-native.network.SecurityPartnerProvider
Explore with Pulumi AI
Security Partner Provider resource. API Version: 2020-11-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 = "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"
"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("ZScaler"),
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 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(Map.of("id", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1"))
.build());
}
}
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="ZScaler",
tags={
"key1": "value1",
},
virtual_hub=azure_native.network.SubResourceArgs(
id="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1",
))
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: "ZScaler",
tags: {
key1: "value1",
},
virtualHub: {
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 =
{
{ "id", "string" },
},
});
example, err := network.NewSecurityPartnerProvider(ctx, "securityPartnerProviderResource", &network.SecurityPartnerProviderArgs{
ResourceGroupName: "string",
Id: "string",
Location: "string",
SecurityPartnerProviderName: "string",
SecurityProviderName: "string",
Tags: map[string]interface{}{
"string": "string",
},
VirtualHub: map[string]interface{}{
"id": "string",
},
})
var securityPartnerProviderResource = new SecurityPartnerProvider("securityPartnerProviderResource", SecurityPartnerProviderArgs.builder()
.resourceGroupName("string")
.id("string")
.location("string")
.securityPartnerProviderName("string")
.securityProviderName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.virtualHub(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.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:
- Resource
Group stringName - The name of the resource group.
- Id string
- Resource ID.
- Location string
- Resource location.
- Security
Partner stringProvider Name - The name of the Security Partner Provider.
- Security
Provider string | Pulumi.Name Azure Native. Network. Security Provider Name - The security provider name.
- Dictionary<string, string>
- Resource tags.
- Virtual
Hub Pulumi.Azure Native. Network. Inputs. Sub Resource - The virtualHub to which the Security Partner Provider belongs.
- Resource
Group stringName - The name of the resource group.
- Id string
- Resource ID.
- Location string
- Resource location.
- Security
Partner stringProvider Name - The name of the Security Partner Provider.
- Security
Provider string | SecurityName Provider Name - The security provider name.
- map[string]string
- Resource tags.
- Virtual
Hub SubResource Args - The virtualHub to which the Security Partner Provider belongs.
- resource
Group StringName - The name of the resource group.
- id String
- Resource ID.
- location String
- Resource location.
- security
Partner StringProvider Name - The name of the Security Partner Provider.
- security
Provider String | SecurityName Provider Name - The security provider name.
- Map<String,String>
- Resource tags.
- virtual
Hub SubResource - The virtualHub to which the Security Partner Provider belongs.
- resource
Group stringName - The name of the resource group.
- id string
- Resource ID.
- location string
- Resource location.
- security
Partner stringProvider Name - The name of the Security Partner Provider.
- security
Provider string | SecurityName Provider Name - The security provider name.
- {[key: string]: string}
- Resource tags.
- virtual
Hub 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.
- resource
Group StringName - The name of the resource group.
- id String
- Resource ID.
- location String
- Resource location.
- security
Partner StringProvider Name - The name of the Security Partner Provider.
- security
Provider String | "ZScaler" | "IBoss" | "Checkpoint"Name - The security provider name.
- Map<String>
- Resource tags.
- virtual
Hub 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:
- Connection
Status 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.
- Provisioning
State string - The provisioning state of the Security Partner Provider resource.
- Type string
- Resource type.
- Connection
Status 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.
- Provisioning
State string - The provisioning state of the Security Partner Provider resource.
- Type string
- Resource type.
- connection
Status 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.
- provisioning
State String - The provisioning state of the Security Partner Provider resource.
- type String
- Resource type.
- connection
Status 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.
- provisioning
State 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.
- connection
Status 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.
- provisioning
State String - The provisioning state of the Security Partner Provider resource.
- type String
- Resource type.
Supporting Types
SecurityProviderName, SecurityProviderNameArgs
- ZScaler
- ZScaler
- IBoss
- IBoss
- Checkpoint
- Checkpoint
- Security
Provider Name ZScaler - ZScaler
- Security
Provider Name IBoss - IBoss
- Security
Provider 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/subid/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0