Azure Classic

v5.25.0 published on Thursday, Nov 24, 2022 by Pulumi

Deployment

Manages a Nginx Deployment.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var example = new Azure.Nginx.Deployment("example", new()
    {
        ResourceGroupName = azurerm_resource_group.Test.Name,
        Sku = "publicpreview_Monthly_gmz7xq9ge3py",
        Location = azurerm_resource_group.Test.Location,
        ManagedResourceGroup = "example",
        DiagnoseSupportEnabled = true,
        FrontendPublic = new Azure.Nginx.Inputs.DeploymentFrontendPublicArgs
        {
            IpAddresses = new[]
            {
                azurerm_public_ip.Test.Id,
            },
        },
        NetworkInterfaces = new[]
        {
            new Azure.Nginx.Inputs.DeploymentNetworkInterfaceArgs
            {
                SubnetId = azurerm_subnet.Test.Id,
            },
        },
        Tags = 
        {
            { "foo", "bar" },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/nginx"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := nginx.NewDeployment(ctx, "example", &nginx.DeploymentArgs{
			ResourceGroupName:      pulumi.Any(azurerm_resource_group.Test.Name),
			Sku:                    pulumi.String("publicpreview_Monthly_gmz7xq9ge3py"),
			Location:               pulumi.Any(azurerm_resource_group.Test.Location),
			ManagedResourceGroup:   pulumi.String("example"),
			DiagnoseSupportEnabled: pulumi.Bool(true),
			FrontendPublic: &nginx.DeploymentFrontendPublicArgs{
				IpAddresses: pulumi.StringArray{
					pulumi.Any(azurerm_public_ip.Test.Id),
				},
			},
			NetworkInterfaces: nginx.DeploymentNetworkInterfaceArray{
				&nginx.DeploymentNetworkInterfaceArgs{
					SubnetId: pulumi.Any(azurerm_subnet.Test.Id),
				},
			},
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		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.azure.nginx.Deployment;
import com.pulumi.azure.nginx.DeploymentArgs;
import com.pulumi.azure.nginx.inputs.DeploymentFrontendPublicArgs;
import com.pulumi.azure.nginx.inputs.DeploymentNetworkInterfaceArgs;
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 Deployment("example", DeploymentArgs.builder()        
            .resourceGroupName(azurerm_resource_group.test().name())
            .sku("publicpreview_Monthly_gmz7xq9ge3py")
            .location(azurerm_resource_group.test().location())
            .managedResourceGroup("example")
            .diagnoseSupportEnabled(true)
            .frontendPublic(DeploymentFrontendPublicArgs.builder()
                .ipAddresses(azurerm_public_ip.test().id())
                .build())
            .networkInterfaces(DeploymentNetworkInterfaceArgs.builder()
                .subnetId(azurerm_subnet.test().id())
                .build())
            .tags(Map.of("foo", "bar"))
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example = azure.nginx.Deployment("example",
    resource_group_name=azurerm_resource_group["test"]["name"],
    sku="publicpreview_Monthly_gmz7xq9ge3py",
    location=azurerm_resource_group["test"]["location"],
    managed_resource_group="example",
    diagnose_support_enabled=True,
    frontend_public=azure.nginx.DeploymentFrontendPublicArgs(
        ip_addresses=[azurerm_public_ip["test"]["id"]],
    ),
    network_interfaces=[azure.nginx.DeploymentNetworkInterfaceArgs(
        subnet_id=azurerm_subnet["test"]["id"],
    )],
    tags={
        "foo": "bar",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = new azure.nginx.Deployment("example", {
    resourceGroupName: azurerm_resource_group.test.name,
    sku: "publicpreview_Monthly_gmz7xq9ge3py",
    location: azurerm_resource_group.test.location,
    managedResourceGroup: "example",
    diagnoseSupportEnabled: true,
    frontendPublic: {
        ipAddresses: [azurerm_public_ip.test.id],
    },
    networkInterfaces: [{
        subnetId: azurerm_subnet.test.id,
    }],
    tags: {
        foo: "bar",
    },
});
resources:
  example:
    type: azure:nginx:Deployment
    properties:
      resourceGroupName: ${azurerm_resource_group.test.name}
      sku: publicpreview_Monthly_gmz7xq9ge3py
      location: ${azurerm_resource_group.test.location}
      managedResourceGroup: example
      diagnoseSupportEnabled: true
      frontendPublic:
        ipAddresses:
          - ${azurerm_public_ip.test.id}
      networkInterfaces:
        - subnetId: ${azurerm_subnet.test.id}
      tags:
        foo: bar

Create Deployment Resource

new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);
@overload
def Deployment(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               diagnose_support_enabled: Optional[bool] = None,
               frontend_privates: Optional[Sequence[DeploymentFrontendPrivateArgs]] = None,
               frontend_public: Optional[DeploymentFrontendPublicArgs] = None,
               identity: Optional[DeploymentIdentityArgs] = None,
               location: Optional[str] = None,
               logging_storage_accounts: Optional[Sequence[DeploymentLoggingStorageAccountArgs]] = None,
               managed_resource_group: Optional[str] = None,
               name: Optional[str] = None,
               network_interfaces: Optional[Sequence[DeploymentNetworkInterfaceArgs]] = None,
               resource_group_name: Optional[str] = None,
               sku: Optional[str] = None,
               tags: Optional[Mapping[str, str]] = None)
@overload
def Deployment(resource_name: str,
               args: DeploymentArgs,
               opts: Optional[ResourceOptions] = None)
func NewDeployment(ctx *Context, name string, args DeploymentArgs, opts ...ResourceOption) (*Deployment, error)
public Deployment(string name, DeploymentArgs args, CustomResourceOptions? opts = null)
public Deployment(String name, DeploymentArgs args)
public Deployment(String name, DeploymentArgs args, CustomResourceOptions options)
type: azure:nginx:Deployment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DeploymentArgs
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 DeploymentArgs
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 DeploymentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DeploymentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DeploymentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Deployment 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 Deployment resource accepts the following input properties:

ResourceGroupName string

The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

Sku string

Specify the Name of Nginx deployment SKU. The possible value is publicpreview_Monthly_gmz7xq9ge3py.

DiagnoseSupportEnabled bool

Should the diagnosis support be enabled?

FrontendPrivates List<DeploymentFrontendPrivateArgs>

One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.

FrontendPublic DeploymentFrontendPublicArgs

A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.

Identity DeploymentIdentityArgs

An identity block as defined below.

Location string

The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

LoggingStorageAccounts List<DeploymentLoggingStorageAccountArgs>

One or more logging_storage_account blocks as defined below.

ManagedResourceGroup string

Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.

Name string

The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.

NetworkInterfaces List<DeploymentNetworkInterfaceArgs>

One or more network_interface blocks as defined below. Changing this forces a new Nginx Deployment to be created.

Tags Dictionary<string, string>

A mapping of tags which should be assigned to the Nginx Deployment.

ResourceGroupName string

The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

Sku string

Specify the Name of Nginx deployment SKU. The possible value is publicpreview_Monthly_gmz7xq9ge3py.

DiagnoseSupportEnabled bool

Should the diagnosis support be enabled?

FrontendPrivates []DeploymentFrontendPrivateArgs

One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.

FrontendPublic DeploymentFrontendPublicArgs

A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.

Identity DeploymentIdentityArgs

An identity block as defined below.

Location string

The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

LoggingStorageAccounts []DeploymentLoggingStorageAccountArgs

One or more logging_storage_account blocks as defined below.

ManagedResourceGroup string

Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.

Name string

The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.

NetworkInterfaces []DeploymentNetworkInterfaceArgs

One or more network_interface blocks as defined below. Changing this forces a new Nginx Deployment to be created.

Tags map[string]string

A mapping of tags which should be assigned to the Nginx Deployment.

resourceGroupName String

The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

sku String

Specify the Name of Nginx deployment SKU. The possible value is publicpreview_Monthly_gmz7xq9ge3py.

diagnoseSupportEnabled Boolean

Should the diagnosis support be enabled?

frontendPrivates List<DeploymentFrontendPrivateArgs>

One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.

frontendPublic DeploymentFrontendPublicArgs

A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.

identity DeploymentIdentityArgs

An identity block as defined below.

location String

The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

loggingStorageAccounts List<DeploymentLoggingStorageAccountArgs>

One or more logging_storage_account blocks as defined below.

managedResourceGroup String

Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.

name String

The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.

networkInterfaces List<DeploymentNetworkInterfaceArgs>

One or more network_interface blocks as defined below. Changing this forces a new Nginx Deployment to be created.

tags Map<String,String>

A mapping of tags which should be assigned to the Nginx Deployment.

resourceGroupName string

The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

sku string

Specify the Name of Nginx deployment SKU. The possible value is publicpreview_Monthly_gmz7xq9ge3py.

diagnoseSupportEnabled boolean

Should the diagnosis support be enabled?

frontendPrivates DeploymentFrontendPrivateArgs[]

One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.

frontendPublic DeploymentFrontendPublicArgs

A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.

identity DeploymentIdentityArgs

An identity block as defined below.

location string

The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

loggingStorageAccounts DeploymentLoggingStorageAccountArgs[]

One or more logging_storage_account blocks as defined below.

managedResourceGroup string

Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.

name string

The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.

networkInterfaces DeploymentNetworkInterfaceArgs[]

One or more network_interface blocks as defined below. Changing this forces a new Nginx Deployment to be created.

tags {[key: string]: string}

A mapping of tags which should be assigned to the Nginx Deployment.

resource_group_name str

The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

sku str

Specify the Name of Nginx deployment SKU. The possible value is publicpreview_Monthly_gmz7xq9ge3py.

diagnose_support_enabled bool

Should the diagnosis support be enabled?

frontend_privates Sequence[DeploymentFrontendPrivateArgs]

One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.

frontend_public DeploymentFrontendPublicArgs

A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.

identity DeploymentIdentityArgs

An identity block as defined below.

location str

The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

logging_storage_accounts Sequence[DeploymentLoggingStorageAccountArgs]

One or more logging_storage_account blocks as defined below.

managed_resource_group str

Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.

name str

The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.

network_interfaces Sequence[DeploymentNetworkInterfaceArgs]

One or more network_interface blocks as defined below. Changing this forces a new Nginx Deployment to be created.

tags Mapping[str, str]

A mapping of tags which should be assigned to the Nginx Deployment.

resourceGroupName String

The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

sku String

Specify the Name of Nginx deployment SKU. The possible value is publicpreview_Monthly_gmz7xq9ge3py.

diagnoseSupportEnabled Boolean

Should the diagnosis support be enabled?

frontendPrivates List<Property Map>

One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.

frontendPublic Property Map

A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.

identity Property Map

An identity block as defined below.

location String

The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

loggingStorageAccounts List<Property Map>

One or more logging_storage_account blocks as defined below.

managedResourceGroup String

Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.

name String

The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.

networkInterfaces List<Property Map>

One or more network_interface blocks as defined below. Changing this forces a new Nginx Deployment to be created.

tags Map<String>

A mapping of tags which should be assigned to the Nginx Deployment.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

IpAddress string

Specify the IP Address of this private IP.

NginxVersion string

The version of deployed nginx.

Id string

The provider-assigned unique ID for this managed resource.

IpAddress string

Specify the IP Address of this private IP.

NginxVersion string

The version of deployed nginx.

id String

The provider-assigned unique ID for this managed resource.

ipAddress String

Specify the IP Address of this private IP.

nginxVersion String

The version of deployed nginx.

id string

The provider-assigned unique ID for this managed resource.

ipAddress string

Specify the IP Address of this private IP.

nginxVersion string

The version of deployed nginx.

id str

The provider-assigned unique ID for this managed resource.

ip_address str

Specify the IP Address of this private IP.

nginx_version str

The version of deployed nginx.

id String

The provider-assigned unique ID for this managed resource.

ipAddress String

Specify the IP Address of this private IP.

nginxVersion String

The version of deployed nginx.

Look up Existing Deployment Resource

Get an existing Deployment 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?: DeploymentState, opts?: CustomResourceOptions): Deployment
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        diagnose_support_enabled: Optional[bool] = None,
        frontend_privates: Optional[Sequence[DeploymentFrontendPrivateArgs]] = None,
        frontend_public: Optional[DeploymentFrontendPublicArgs] = None,
        identity: Optional[DeploymentIdentityArgs] = None,
        ip_address: Optional[str] = None,
        location: Optional[str] = None,
        logging_storage_accounts: Optional[Sequence[DeploymentLoggingStorageAccountArgs]] = None,
        managed_resource_group: Optional[str] = None,
        name: Optional[str] = None,
        network_interfaces: Optional[Sequence[DeploymentNetworkInterfaceArgs]] = None,
        nginx_version: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        sku: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> Deployment
func GetDeployment(ctx *Context, name string, id IDInput, state *DeploymentState, opts ...ResourceOption) (*Deployment, error)
public static Deployment Get(string name, Input<string> id, DeploymentState? state, CustomResourceOptions? opts = null)
public static Deployment get(String name, Output<String> id, DeploymentState 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:
DiagnoseSupportEnabled bool

Should the diagnosis support be enabled?

FrontendPrivates List<DeploymentFrontendPrivateArgs>

One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.

FrontendPublic DeploymentFrontendPublicArgs

A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.

Identity DeploymentIdentityArgs

An identity block as defined below.

IpAddress string

Specify the IP Address of this private IP.

Location string

The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

LoggingStorageAccounts List<DeploymentLoggingStorageAccountArgs>

One or more logging_storage_account blocks as defined below.

ManagedResourceGroup string

Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.

Name string

The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.

NetworkInterfaces List<DeploymentNetworkInterfaceArgs>

One or more network_interface blocks as defined below. Changing this forces a new Nginx Deployment to be created.

NginxVersion string

The version of deployed nginx.

ResourceGroupName string

The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

Sku string

Specify the Name of Nginx deployment SKU. The possible value is publicpreview_Monthly_gmz7xq9ge3py.

Tags Dictionary<string, string>

A mapping of tags which should be assigned to the Nginx Deployment.

DiagnoseSupportEnabled bool

Should the diagnosis support be enabled?

FrontendPrivates []DeploymentFrontendPrivateArgs

One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.

FrontendPublic DeploymentFrontendPublicArgs

A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.

Identity DeploymentIdentityArgs

An identity block as defined below.

IpAddress string

Specify the IP Address of this private IP.

Location string

The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

LoggingStorageAccounts []DeploymentLoggingStorageAccountArgs

One or more logging_storage_account blocks as defined below.

ManagedResourceGroup string

Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.

Name string

The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.

NetworkInterfaces []DeploymentNetworkInterfaceArgs

One or more network_interface blocks as defined below. Changing this forces a new Nginx Deployment to be created.

NginxVersion string

The version of deployed nginx.

ResourceGroupName string

The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

Sku string

Specify the Name of Nginx deployment SKU. The possible value is publicpreview_Monthly_gmz7xq9ge3py.

Tags map[string]string

A mapping of tags which should be assigned to the Nginx Deployment.

diagnoseSupportEnabled Boolean

Should the diagnosis support be enabled?

frontendPrivates List<DeploymentFrontendPrivateArgs>

One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.

frontendPublic DeploymentFrontendPublicArgs

A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.

identity DeploymentIdentityArgs

An identity block as defined below.

ipAddress String

Specify the IP Address of this private IP.

location String

The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

loggingStorageAccounts List<DeploymentLoggingStorageAccountArgs>

One or more logging_storage_account blocks as defined below.

managedResourceGroup String

Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.

name String

The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.

networkInterfaces List<DeploymentNetworkInterfaceArgs>

One or more network_interface blocks as defined below. Changing this forces a new Nginx Deployment to be created.

nginxVersion String

The version of deployed nginx.

resourceGroupName String

The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

sku String

Specify the Name of Nginx deployment SKU. The possible value is publicpreview_Monthly_gmz7xq9ge3py.

tags Map<String,String>

A mapping of tags which should be assigned to the Nginx Deployment.

diagnoseSupportEnabled boolean

Should the diagnosis support be enabled?

frontendPrivates DeploymentFrontendPrivateArgs[]

One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.

frontendPublic DeploymentFrontendPublicArgs

A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.

identity DeploymentIdentityArgs

An identity block as defined below.

ipAddress string

Specify the IP Address of this private IP.

location string

The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

loggingStorageAccounts DeploymentLoggingStorageAccountArgs[]

One or more logging_storage_account blocks as defined below.

managedResourceGroup string

Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.

name string

The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.

networkInterfaces DeploymentNetworkInterfaceArgs[]

One or more network_interface blocks as defined below. Changing this forces a new Nginx Deployment to be created.

nginxVersion string

The version of deployed nginx.

resourceGroupName string

The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

sku string

Specify the Name of Nginx deployment SKU. The possible value is publicpreview_Monthly_gmz7xq9ge3py.

tags {[key: string]: string}

A mapping of tags which should be assigned to the Nginx Deployment.

diagnose_support_enabled bool

Should the diagnosis support be enabled?

frontend_privates Sequence[DeploymentFrontendPrivateArgs]

One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.

frontend_public DeploymentFrontendPublicArgs

A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.

identity DeploymentIdentityArgs

An identity block as defined below.

ip_address str

Specify the IP Address of this private IP.

location str

The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

logging_storage_accounts Sequence[DeploymentLoggingStorageAccountArgs]

One or more logging_storage_account blocks as defined below.

managed_resource_group str

Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.

name str

The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.

network_interfaces Sequence[DeploymentNetworkInterfaceArgs]

One or more network_interface blocks as defined below. Changing this forces a new Nginx Deployment to be created.

nginx_version str

The version of deployed nginx.

resource_group_name str

The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

sku str

Specify the Name of Nginx deployment SKU. The possible value is publicpreview_Monthly_gmz7xq9ge3py.

tags Mapping[str, str]

A mapping of tags which should be assigned to the Nginx Deployment.

diagnoseSupportEnabled Boolean

Should the diagnosis support be enabled?

frontendPrivates List<Property Map>

One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.

frontendPublic Property Map

A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.

identity Property Map

An identity block as defined below.

ipAddress String

Specify the IP Address of this private IP.

location String

The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

loggingStorageAccounts List<Property Map>

One or more logging_storage_account blocks as defined below.

managedResourceGroup String

Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.

name String

The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.

networkInterfaces List<Property Map>

One or more network_interface blocks as defined below. Changing this forces a new Nginx Deployment to be created.

nginxVersion String

The version of deployed nginx.

resourceGroupName String

The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.

sku String

Specify the Name of Nginx deployment SKU. The possible value is publicpreview_Monthly_gmz7xq9ge3py.

tags Map<String>

A mapping of tags which should be assigned to the Nginx Deployment.

Supporting Types

DeploymentFrontendPrivate

AllocationMethod string

Specify the methos of allocating the private IP. Possible values are Static and Dynamic.

IpAddress string

Specify the IP Address of this private IP.

SubnetId string

Specify the SubNet Resource ID to this Nginx Deployment.

AllocationMethod string

Specify the methos of allocating the private IP. Possible values are Static and Dynamic.

IpAddress string

Specify the IP Address of this private IP.

SubnetId string

Specify the SubNet Resource ID to this Nginx Deployment.

allocationMethod String

Specify the methos of allocating the private IP. Possible values are Static and Dynamic.

ipAddress String

Specify the IP Address of this private IP.

subnetId String

Specify the SubNet Resource ID to this Nginx Deployment.

allocationMethod string

Specify the methos of allocating the private IP. Possible values are Static and Dynamic.

ipAddress string

Specify the IP Address of this private IP.

subnetId string

Specify the SubNet Resource ID to this Nginx Deployment.

allocation_method str

Specify the methos of allocating the private IP. Possible values are Static and Dynamic.

ip_address str

Specify the IP Address of this private IP.

subnet_id str

Specify the SubNet Resource ID to this Nginx Deployment.

allocationMethod String

Specify the methos of allocating the private IP. Possible values are Static and Dynamic.

ipAddress String

Specify the IP Address of this private IP.

subnetId String

Specify the SubNet Resource ID to this Nginx Deployment.

DeploymentFrontendPublic

IpAddresses List<string>

Specifies a list of Public IP Resouce ID to this Nginx Deployment.

IpAddresses []string

Specifies a list of Public IP Resouce ID to this Nginx Deployment.

ipAddresses List<String>

Specifies a list of Public IP Resouce ID to this Nginx Deployment.

ipAddresses string[]

Specifies a list of Public IP Resouce ID to this Nginx Deployment.

ip_addresses Sequence[str]

Specifies a list of Public IP Resouce ID to this Nginx Deployment.

ipAddresses List<String>

Specifies a list of Public IP Resouce ID to this Nginx Deployment.

DeploymentIdentity

Type string

Specifies the identity type of the Nginx Deployment. Possible values is UserAssigned where you can specify the Service Principal IDs in the identity_ids field.

IdentityIds List<string>

Specifies a list of user managed identity ids to be assigned. Required if type is UserAssigned.

PrincipalId string
TenantId string
Type string

Specifies the identity type of the Nginx Deployment. Possible values is UserAssigned where you can specify the Service Principal IDs in the identity_ids field.

IdentityIds []string

Specifies a list of user managed identity ids to be assigned. Required if type is UserAssigned.

PrincipalId string
TenantId string
type String

Specifies the identity type of the Nginx Deployment. Possible values is UserAssigned where you can specify the Service Principal IDs in the identity_ids field.

identityIds List<String>

Specifies a list of user managed identity ids to be assigned. Required if type is UserAssigned.

principalId String
tenantId String
type string

Specifies the identity type of the Nginx Deployment. Possible values is UserAssigned where you can specify the Service Principal IDs in the identity_ids field.

identityIds string[]

Specifies a list of user managed identity ids to be assigned. Required if type is UserAssigned.

principalId string
tenantId string
type str

Specifies the identity type of the Nginx Deployment. Possible values is UserAssigned where you can specify the Service Principal IDs in the identity_ids field.

identity_ids Sequence[str]

Specifies a list of user managed identity ids to be assigned. Required if type is UserAssigned.

principal_id str
tenant_id str
type String

Specifies the identity type of the Nginx Deployment. Possible values is UserAssigned where you can specify the Service Principal IDs in the identity_ids field.

identityIds List<String>

Specifies a list of user managed identity ids to be assigned. Required if type is UserAssigned.

principalId String
tenantId String

DeploymentLoggingStorageAccount

ContainerName string

Specify the container name of Stoage Account for logging.

Name string

The account name of the StorageAccount for Nginx Logging.

ContainerName string

Specify the container name of Stoage Account for logging.

Name string

The account name of the StorageAccount for Nginx Logging.

containerName String

Specify the container name of Stoage Account for logging.

name String

The account name of the StorageAccount for Nginx Logging.

containerName string

Specify the container name of Stoage Account for logging.

name string

The account name of the StorageAccount for Nginx Logging.

container_name str

Specify the container name of Stoage Account for logging.

name str

The account name of the StorageAccount for Nginx Logging.

containerName String

Specify the container name of Stoage Account for logging.

name String

The account name of the StorageAccount for Nginx Logging.

DeploymentNetworkInterface

SubnetId string

Specify The SubNet Resource ID to this Nginx Deployment.

SubnetId string

Specify The SubNet Resource ID to this Nginx Deployment.

subnetId String

Specify The SubNet Resource ID to this Nginx Deployment.

subnetId string

Specify The SubNet Resource ID to this Nginx Deployment.

subnet_id str

Specify The SubNet Resource ID to this Nginx Deployment.

subnetId String

Specify The SubNet Resource ID to this Nginx Deployment.

Import

Nginx Deployments can be imported using the resource id, e.g.

 $ pulumi import azure:nginx/deployment:Deployment example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Nginx.NginxPlus/nginxDeployments/dep1

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.