We recommend using Azure Native.
azure.nginx.Deployment
Explore with Pulumi AI
Manages an NGINX Deployment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "example-rg",
    location: "West Europe",
});
const examplePublicIp = new azure.network.PublicIp("example", {
    name: "example",
    resourceGroupName: example.name,
    location: example.location,
    allocationMethod: "Static",
    sku: "Standard",
    tags: {
        environment: "Production",
    },
});
const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
    name: "example-vnet",
    addressSpaces: ["10.0.0.0/16"],
    location: example.location,
    resourceGroupName: example.name,
});
const exampleSubnet = new azure.network.Subnet("example", {
    name: "example-subnet",
    resourceGroupName: example.name,
    virtualNetworkName: exampleVirtualNetwork.name,
    addressPrefixes: ["10.0.2.0/24"],
    delegations: [{
        name: "delegation",
        serviceDelegation: {
            name: "NGINX.NGINXPLUS/nginxDeployments",
            actions: ["Microsoft.Network/virtualNetworks/subnets/join/action"],
        },
    }],
});
const exampleDeployment = new azure.nginx.Deployment("example", {
    name: "example-nginx",
    resourceGroupName: example.name,
    sku: "publicpreview_Monthly_gmz7xq9ge3py",
    location: example.location,
    managedResourceGroup: "example",
    diagnoseSupportEnabled: true,
    automaticUpgradeChannel: "stable",
    frontendPublic: {
        ipAddresses: [examplePublicIp.id],
    },
    networkInterfaces: [{
        subnetId: exampleSubnet.id,
    }],
    capacity: 20,
    email: "user@test.com",
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-rg",
    location="West Europe")
example_public_ip = azure.network.PublicIp("example",
    name="example",
    resource_group_name=example.name,
    location=example.location,
    allocation_method="Static",
    sku="Standard",
    tags={
        "environment": "Production",
    })
example_virtual_network = azure.network.VirtualNetwork("example",
    name="example-vnet",
    address_spaces=["10.0.0.0/16"],
    location=example.location,
    resource_group_name=example.name)
example_subnet = azure.network.Subnet("example",
    name="example-subnet",
    resource_group_name=example.name,
    virtual_network_name=example_virtual_network.name,
    address_prefixes=["10.0.2.0/24"],
    delegations=[azure.network.SubnetDelegationArgs(
        name="delegation",
        service_delegation=azure.network.SubnetDelegationServiceDelegationArgs(
            name="NGINX.NGINXPLUS/nginxDeployments",
            actions=["Microsoft.Network/virtualNetworks/subnets/join/action"],
        ),
    )])
example_deployment = azure.nginx.Deployment("example",
    name="example-nginx",
    resource_group_name=example.name,
    sku="publicpreview_Monthly_gmz7xq9ge3py",
    location=example.location,
    managed_resource_group="example",
    diagnose_support_enabled=True,
    automatic_upgrade_channel="stable",
    frontend_public=azure.nginx.DeploymentFrontendPublicArgs(
        ip_addresses=[example_public_ip.id],
    ),
    network_interfaces=[azure.nginx.DeploymentNetworkInterfaceArgs(
        subnet_id=example_subnet.id,
    )],
    capacity=20,
    email="user@test.com")
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-azure/sdk/v5/go/azure/nginx"
	"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-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		examplePublicIp, err := network.NewPublicIp(ctx, "example", &network.PublicIpArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			AllocationMethod:  pulumi.String("Static"),
			Sku:               pulumi.String("Standard"),
			Tags: pulumi.StringMap{
				"environment": pulumi.String("Production"),
			},
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
			Name: pulumi.String("example-vnet"),
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			Location:          example.Location,
			ResourceGroupName: example.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "example", &network.SubnetArgs{
			Name:               pulumi.String("example-subnet"),
			ResourceGroupName:  example.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.0.2.0/24"),
			},
			Delegations: network.SubnetDelegationArray{
				&network.SubnetDelegationArgs{
					Name: pulumi.String("delegation"),
					ServiceDelegation: &network.SubnetDelegationServiceDelegationArgs{
						Name: pulumi.String("NGINX.NGINXPLUS/nginxDeployments"),
						Actions: pulumi.StringArray{
							pulumi.String("Microsoft.Network/virtualNetworks/subnets/join/action"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = nginx.NewDeployment(ctx, "example", &nginx.DeploymentArgs{
			Name:                    pulumi.String("example-nginx"),
			ResourceGroupName:       example.Name,
			Sku:                     pulumi.String("publicpreview_Monthly_gmz7xq9ge3py"),
			Location:                example.Location,
			ManagedResourceGroup:    pulumi.String("example"),
			DiagnoseSupportEnabled:  pulumi.Bool(true),
			AutomaticUpgradeChannel: pulumi.String("stable"),
			FrontendPublic: &nginx.DeploymentFrontendPublicArgs{
				IpAddresses: pulumi.StringArray{
					examplePublicIp.ID(),
				},
			},
			NetworkInterfaces: nginx.DeploymentNetworkInterfaceArray{
				&nginx.DeploymentNetworkInterfaceArgs{
					SubnetId: exampleSubnet.ID(),
				},
			},
			Capacity: pulumi.Int(20),
			Email:    pulumi.String("user@test.com"),
		})
		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-rg",
        Location = "West Europe",
    });
    var examplePublicIp = new Azure.Network.PublicIp("example", new()
    {
        Name = "example",
        ResourceGroupName = example.Name,
        Location = example.Location,
        AllocationMethod = "Static",
        Sku = "Standard",
        Tags = 
        {
            { "environment", "Production" },
        },
    });
    var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
    {
        Name = "example-vnet",
        AddressSpaces = new[]
        {
            "10.0.0.0/16",
        },
        Location = example.Location,
        ResourceGroupName = example.Name,
    });
    var exampleSubnet = new Azure.Network.Subnet("example", new()
    {
        Name = "example-subnet",
        ResourceGroupName = example.Name,
        VirtualNetworkName = exampleVirtualNetwork.Name,
        AddressPrefixes = new[]
        {
            "10.0.2.0/24",
        },
        Delegations = new[]
        {
            new Azure.Network.Inputs.SubnetDelegationArgs
            {
                Name = "delegation",
                ServiceDelegation = new Azure.Network.Inputs.SubnetDelegationServiceDelegationArgs
                {
                    Name = "NGINX.NGINXPLUS/nginxDeployments",
                    Actions = new[]
                    {
                        "Microsoft.Network/virtualNetworks/subnets/join/action",
                    },
                },
            },
        },
    });
    var exampleDeployment = new Azure.Nginx.Deployment("example", new()
    {
        Name = "example-nginx",
        ResourceGroupName = example.Name,
        Sku = "publicpreview_Monthly_gmz7xq9ge3py",
        Location = example.Location,
        ManagedResourceGroup = "example",
        DiagnoseSupportEnabled = true,
        AutomaticUpgradeChannel = "stable",
        FrontendPublic = new Azure.Nginx.Inputs.DeploymentFrontendPublicArgs
        {
            IpAddresses = new[]
            {
                examplePublicIp.Id,
            },
        },
        NetworkInterfaces = new[]
        {
            new Azure.Nginx.Inputs.DeploymentNetworkInterfaceArgs
            {
                SubnetId = exampleSubnet.Id,
            },
        },
        Capacity = 20,
        Email = "user@test.com",
    });
});
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.PublicIp;
import com.pulumi.azure.network.PublicIpArgs;
import com.pulumi.azure.network.VirtualNetwork;
import com.pulumi.azure.network.VirtualNetworkArgs;
import com.pulumi.azure.network.Subnet;
import com.pulumi.azure.network.SubnetArgs;
import com.pulumi.azure.network.inputs.SubnetDelegationArgs;
import com.pulumi.azure.network.inputs.SubnetDelegationServiceDelegationArgs;
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 ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-rg")
            .location("West Europe")
            .build());
        var examplePublicIp = new PublicIp("examplePublicIp", PublicIpArgs.builder()
            .name("example")
            .resourceGroupName(example.name())
            .location(example.location())
            .allocationMethod("Static")
            .sku("Standard")
            .tags(Map.of("environment", "Production"))
            .build());
        var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
            .name("example-vnet")
            .addressSpaces("10.0.0.0/16")
            .location(example.location())
            .resourceGroupName(example.name())
            .build());
        var exampleSubnet = new Subnet("exampleSubnet", SubnetArgs.builder()
            .name("example-subnet")
            .resourceGroupName(example.name())
            .virtualNetworkName(exampleVirtualNetwork.name())
            .addressPrefixes("10.0.2.0/24")
            .delegations(SubnetDelegationArgs.builder()
                .name("delegation")
                .serviceDelegation(SubnetDelegationServiceDelegationArgs.builder()
                    .name("NGINX.NGINXPLUS/nginxDeployments")
                    .actions("Microsoft.Network/virtualNetworks/subnets/join/action")
                    .build())
                .build())
            .build());
        var exampleDeployment = new Deployment("exampleDeployment", DeploymentArgs.builder()
            .name("example-nginx")
            .resourceGroupName(example.name())
            .sku("publicpreview_Monthly_gmz7xq9ge3py")
            .location(example.location())
            .managedResourceGroup("example")
            .diagnoseSupportEnabled(true)
            .automaticUpgradeChannel("stable")
            .frontendPublic(DeploymentFrontendPublicArgs.builder()
                .ipAddresses(examplePublicIp.id())
                .build())
            .networkInterfaces(DeploymentNetworkInterfaceArgs.builder()
                .subnetId(exampleSubnet.id())
                .build())
            .capacity(20)
            .email("user@test.com")
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-rg
      location: West Europe
  examplePublicIp:
    type: azure:network:PublicIp
    name: example
    properties:
      name: example
      resourceGroupName: ${example.name}
      location: ${example.location}
      allocationMethod: Static
      sku: Standard
      tags:
        environment: Production
  exampleVirtualNetwork:
    type: azure:network:VirtualNetwork
    name: example
    properties:
      name: example-vnet
      addressSpaces:
        - 10.0.0.0/16
      location: ${example.location}
      resourceGroupName: ${example.name}
  exampleSubnet:
    type: azure:network:Subnet
    name: example
    properties:
      name: example-subnet
      resourceGroupName: ${example.name}
      virtualNetworkName: ${exampleVirtualNetwork.name}
      addressPrefixes:
        - 10.0.2.0/24
      delegations:
        - name: delegation
          serviceDelegation:
            name: NGINX.NGINXPLUS/nginxDeployments
            actions:
              - Microsoft.Network/virtualNetworks/subnets/join/action
  exampleDeployment:
    type: azure:nginx:Deployment
    name: example
    properties:
      name: example-nginx
      resourceGroupName: ${example.name}
      sku: publicpreview_Monthly_gmz7xq9ge3py
      location: ${example.location}
      managedResourceGroup: example
      diagnoseSupportEnabled: true
      automaticUpgradeChannel: stable
      frontendPublic:
        ipAddresses:
          - ${examplePublicIp.id}
      networkInterfaces:
        - subnetId: ${exampleSubnet.id}
      capacity: 20
      email: user@test.com
Create Deployment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);@overload
def Deployment(resource_name: str,
               args: DeploymentArgs,
               opts: Optional[ResourceOptions] = None)
@overload
def Deployment(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               resource_group_name: Optional[str] = None,
               sku: Optional[str] = None,
               identity: Optional[DeploymentIdentityArgs] = None,
               location: Optional[str] = None,
               diagnose_support_enabled: Optional[bool] = None,
               email: Optional[str] = None,
               frontend_privates: Optional[Sequence[DeploymentFrontendPrivateArgs]] = None,
               frontend_public: Optional[DeploymentFrontendPublicArgs] = None,
               auto_scale_profiles: Optional[Sequence[DeploymentAutoScaleProfileArgs]] = None,
               configuration: Optional[DeploymentConfigurationArgs] = None,
               logging_storage_accounts: Optional[Sequence[DeploymentLoggingStorageAccountArgs]] = None,
               managed_resource_group: Optional[str] = None,
               name: Optional[str] = None,
               network_interfaces: Optional[Sequence[DeploymentNetworkInterfaceArgs]] = None,
               capacity: Optional[int] = None,
               automatic_upgrade_channel: Optional[str] = None,
               tags: Optional[Mapping[str, str]] = 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.
Parameters
- 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.
 
Constructor example
The following reference example uses placeholder values for all input properties.
var azureDeploymentResource = new Azure.Nginx.Deployment("azureDeploymentResource", new()
{
    ResourceGroupName = "string",
    Sku = "string",
    Identity = new Azure.Nginx.Inputs.DeploymentIdentityArgs
    {
        Type = "string",
        IdentityIds = new[]
        {
            "string",
        },
        PrincipalId = "string",
        TenantId = "string",
    },
    Location = "string",
    DiagnoseSupportEnabled = false,
    Email = "string",
    FrontendPrivates = new[]
    {
        new Azure.Nginx.Inputs.DeploymentFrontendPrivateArgs
        {
            AllocationMethod = "string",
            IpAddress = "string",
            SubnetId = "string",
        },
    },
    FrontendPublic = new Azure.Nginx.Inputs.DeploymentFrontendPublicArgs
    {
        IpAddresses = new[]
        {
            "string",
        },
    },
    AutoScaleProfiles = new[]
    {
        new Azure.Nginx.Inputs.DeploymentAutoScaleProfileArgs
        {
            MaxCapacity = 0,
            MinCapacity = 0,
            Name = "string",
        },
    },
    LoggingStorageAccounts = new[]
    {
        new Azure.Nginx.Inputs.DeploymentLoggingStorageAccountArgs
        {
            ContainerName = "string",
            Name = "string",
        },
    },
    ManagedResourceGroup = "string",
    Name = "string",
    NetworkInterfaces = new[]
    {
        new Azure.Nginx.Inputs.DeploymentNetworkInterfaceArgs
        {
            SubnetId = "string",
        },
    },
    Capacity = 0,
    AutomaticUpgradeChannel = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := nginx.NewDeployment(ctx, "azureDeploymentResource", &nginx.DeploymentArgs{
	ResourceGroupName: pulumi.String("string"),
	Sku:               pulumi.String("string"),
	Identity: &nginx.DeploymentIdentityArgs{
		Type: pulumi.String("string"),
		IdentityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
	},
	Location:               pulumi.String("string"),
	DiagnoseSupportEnabled: pulumi.Bool(false),
	Email:                  pulumi.String("string"),
	FrontendPrivates: nginx.DeploymentFrontendPrivateArray{
		&nginx.DeploymentFrontendPrivateArgs{
			AllocationMethod: pulumi.String("string"),
			IpAddress:        pulumi.String("string"),
			SubnetId:         pulumi.String("string"),
		},
	},
	FrontendPublic: &nginx.DeploymentFrontendPublicArgs{
		IpAddresses: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	AutoScaleProfiles: nginx.DeploymentAutoScaleProfileArray{
		&nginx.DeploymentAutoScaleProfileArgs{
			MaxCapacity: pulumi.Int(0),
			MinCapacity: pulumi.Int(0),
			Name:        pulumi.String("string"),
		},
	},
	LoggingStorageAccounts: nginx.DeploymentLoggingStorageAccountArray{
		&nginx.DeploymentLoggingStorageAccountArgs{
			ContainerName: pulumi.String("string"),
			Name:          pulumi.String("string"),
		},
	},
	ManagedResourceGroup: pulumi.String("string"),
	Name:                 pulumi.String("string"),
	NetworkInterfaces: nginx.DeploymentNetworkInterfaceArray{
		&nginx.DeploymentNetworkInterfaceArgs{
			SubnetId: pulumi.String("string"),
		},
	},
	Capacity:                pulumi.Int(0),
	AutomaticUpgradeChannel: pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var azureDeploymentResource = new Deployment("azureDeploymentResource", DeploymentArgs.builder()
    .resourceGroupName("string")
    .sku("string")
    .identity(DeploymentIdentityArgs.builder()
        .type("string")
        .identityIds("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .location("string")
    .diagnoseSupportEnabled(false)
    .email("string")
    .frontendPrivates(DeploymentFrontendPrivateArgs.builder()
        .allocationMethod("string")
        .ipAddress("string")
        .subnetId("string")
        .build())
    .frontendPublic(DeploymentFrontendPublicArgs.builder()
        .ipAddresses("string")
        .build())
    .autoScaleProfiles(DeploymentAutoScaleProfileArgs.builder()
        .maxCapacity(0)
        .minCapacity(0)
        .name("string")
        .build())
    .loggingStorageAccounts(DeploymentLoggingStorageAccountArgs.builder()
        .containerName("string")
        .name("string")
        .build())
    .managedResourceGroup("string")
    .name("string")
    .networkInterfaces(DeploymentNetworkInterfaceArgs.builder()
        .subnetId("string")
        .build())
    .capacity(0)
    .automaticUpgradeChannel("string")
    .tags(Map.of("string", "string"))
    .build());
azure_deployment_resource = azure.nginx.Deployment("azureDeploymentResource",
    resource_group_name="string",
    sku="string",
    identity=azure.nginx.DeploymentIdentityArgs(
        type="string",
        identity_ids=["string"],
        principal_id="string",
        tenant_id="string",
    ),
    location="string",
    diagnose_support_enabled=False,
    email="string",
    frontend_privates=[azure.nginx.DeploymentFrontendPrivateArgs(
        allocation_method="string",
        ip_address="string",
        subnet_id="string",
    )],
    frontend_public=azure.nginx.DeploymentFrontendPublicArgs(
        ip_addresses=["string"],
    ),
    auto_scale_profiles=[azure.nginx.DeploymentAutoScaleProfileArgs(
        max_capacity=0,
        min_capacity=0,
        name="string",
    )],
    logging_storage_accounts=[azure.nginx.DeploymentLoggingStorageAccountArgs(
        container_name="string",
        name="string",
    )],
    managed_resource_group="string",
    name="string",
    network_interfaces=[azure.nginx.DeploymentNetworkInterfaceArgs(
        subnet_id="string",
    )],
    capacity=0,
    automatic_upgrade_channel="string",
    tags={
        "string": "string",
    })
const azureDeploymentResource = new azure.nginx.Deployment("azureDeploymentResource", {
    resourceGroupName: "string",
    sku: "string",
    identity: {
        type: "string",
        identityIds: ["string"],
        principalId: "string",
        tenantId: "string",
    },
    location: "string",
    diagnoseSupportEnabled: false,
    email: "string",
    frontendPrivates: [{
        allocationMethod: "string",
        ipAddress: "string",
        subnetId: "string",
    }],
    frontendPublic: {
        ipAddresses: ["string"],
    },
    autoScaleProfiles: [{
        maxCapacity: 0,
        minCapacity: 0,
        name: "string",
    }],
    loggingStorageAccounts: [{
        containerName: "string",
        name: "string",
    }],
    managedResourceGroup: "string",
    name: "string",
    networkInterfaces: [{
        subnetId: "string",
    }],
    capacity: 0,
    automaticUpgradeChannel: "string",
    tags: {
        string: "string",
    },
});
type: azure:nginx:Deployment
properties:
    autoScaleProfiles:
        - maxCapacity: 0
          minCapacity: 0
          name: string
    automaticUpgradeChannel: string
    capacity: 0
    diagnoseSupportEnabled: false
    email: string
    frontendPrivates:
        - allocationMethod: string
          ipAddress: string
          subnetId: string
    frontendPublic:
        ipAddresses:
            - string
    identity:
        identityIds:
            - string
        principalId: string
        tenantId: string
        type: string
    location: string
    loggingStorageAccounts:
        - containerName: string
          name: string
    managedResourceGroup: string
    name: string
    networkInterfaces:
        - subnetId: string
    resourceGroupName: string
    sku: string
    tags:
        string: string
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:
- Resource
Group stringName  - The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - Sku string
 - Auto
Scale List<DeploymentProfiles Auto Scale Profile>  - An 
auto_scale_profileblock as defined below. - Automatic
Upgrade stringChannel  - Specify the automatic upgrade channel for the NGINX deployment. Defaults to 
stable. The possible values arestableandpreview. - Capacity int
 Specify the number of NGINX capacity units for this NGINX deployment. Defaults to
20.Note For more information on NGINX capacity units, please refer to the NGINX scaling guidance documentation
- Configuration
Deployment
Configuration  - Diagnose
Support boolEnabled  - Should the metrics be exported to Azure Monitor?
 - Email string
 - Specify the preferred support contact email address for receiving alerts and notifications.
 - Frontend
Privates List<DeploymentFrontend Private>  - One or more 
frontend_privateblocks as defined below. Changing this forces a new NGINX Deployment to be created. - Frontend
Public DeploymentFrontend Public  - A 
frontend_publicblock as defined below. Changing this forces a new NGINX Deployment to be created. - Identity
Deployment
Identity  - An 
identityblock as defined below. - Location string
 - The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - Logging
Storage List<DeploymentAccounts Logging Storage Account>  - One or more 
logging_storage_accountblocks as defined below. - Managed
Resource stringGroup  - 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.
 - Network
Interfaces List<DeploymentNetwork Interface>  - One or more 
network_interfaceblocks as defined below. Changing this forces a new NGINX Deployment to be created. - Dictionary<string, string>
 - A mapping of tags which should be assigned to the NGINX Deployment.
 
- Resource
Group stringName  - The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - Sku string
 - Auto
Scale []DeploymentProfiles Auto Scale Profile Args  - An 
auto_scale_profileblock as defined below. - Automatic
Upgrade stringChannel  - Specify the automatic upgrade channel for the NGINX deployment. Defaults to 
stable. The possible values arestableandpreview. - Capacity int
 Specify the number of NGINX capacity units for this NGINX deployment. Defaults to
20.Note For more information on NGINX capacity units, please refer to the NGINX scaling guidance documentation
- Configuration
Deployment
Configuration Args  - Diagnose
Support boolEnabled  - Should the metrics be exported to Azure Monitor?
 - Email string
 - Specify the preferred support contact email address for receiving alerts and notifications.
 - Frontend
Privates []DeploymentFrontend Private Args  - One or more 
frontend_privateblocks as defined below. Changing this forces a new NGINX Deployment to be created. - Frontend
Public DeploymentFrontend Public Args  - A 
frontend_publicblock as defined below. Changing this forces a new NGINX Deployment to be created. - Identity
Deployment
Identity Args  - An 
identityblock as defined below. - Location string
 - The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - Logging
Storage []DeploymentAccounts Logging Storage Account Args  - One or more 
logging_storage_accountblocks as defined below. - Managed
Resource stringGroup  - 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.
 - Network
Interfaces []DeploymentNetwork Interface Args  - One or more 
network_interfaceblocks as defined below. Changing this forces a new NGINX Deployment to be created. - map[string]string
 - A mapping of tags which should be assigned to the NGINX Deployment.
 
- resource
Group StringName  - The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - sku String
 - auto
Scale List<DeploymentProfiles Auto Scale Profile>  - An 
auto_scale_profileblock as defined below. - automatic
Upgrade StringChannel  - Specify the automatic upgrade channel for the NGINX deployment. Defaults to 
stable. The possible values arestableandpreview. - capacity Integer
 Specify the number of NGINX capacity units for this NGINX deployment. Defaults to
20.Note For more information on NGINX capacity units, please refer to the NGINX scaling guidance documentation
- configuration
Deployment
Configuration  - diagnose
Support BooleanEnabled  - Should the metrics be exported to Azure Monitor?
 - email String
 - Specify the preferred support contact email address for receiving alerts and notifications.
 - frontend
Privates List<DeploymentFrontend Private>  - One or more 
frontend_privateblocks as defined below. Changing this forces a new NGINX Deployment to be created. - frontend
Public DeploymentFrontend Public  - A 
frontend_publicblock as defined below. Changing this forces a new NGINX Deployment to be created. - identity
Deployment
Identity  - An 
identityblock as defined below. - location String
 - The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - logging
Storage List<DeploymentAccounts Logging Storage Account>  - One or more 
logging_storage_accountblocks as defined below. - managed
Resource StringGroup  - 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.
 - network
Interfaces List<DeploymentNetwork Interface>  - One or more 
network_interfaceblocks as defined below. Changing this forces a new NGINX Deployment to be created. - Map<String,String>
 - A mapping of tags which should be assigned to the NGINX Deployment.
 
- resource
Group stringName  - The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - sku string
 - auto
Scale DeploymentProfiles Auto Scale Profile[]  - An 
auto_scale_profileblock as defined below. - automatic
Upgrade stringChannel  - Specify the automatic upgrade channel for the NGINX deployment. Defaults to 
stable. The possible values arestableandpreview. - capacity number
 Specify the number of NGINX capacity units for this NGINX deployment. Defaults to
20.Note For more information on NGINX capacity units, please refer to the NGINX scaling guidance documentation
- configuration
Deployment
Configuration  - diagnose
Support booleanEnabled  - Should the metrics be exported to Azure Monitor?
 - email string
 - Specify the preferred support contact email address for receiving alerts and notifications.
 - frontend
Privates DeploymentFrontend Private[]  - One or more 
frontend_privateblocks as defined below. Changing this forces a new NGINX Deployment to be created. - frontend
Public DeploymentFrontend Public  - A 
frontend_publicblock as defined below. Changing this forces a new NGINX Deployment to be created. - identity
Deployment
Identity  - An 
identityblock as defined below. - location string
 - The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - logging
Storage DeploymentAccounts Logging Storage Account[]  - One or more 
logging_storage_accountblocks as defined below. - managed
Resource stringGroup  - 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.
 - network
Interfaces DeploymentNetwork Interface[]  - One or more 
network_interfaceblocks as defined below. Changing this forces a new NGINX Deployment to be created. - {[key: string]: string}
 - A mapping of tags which should be assigned to the NGINX Deployment.
 
- resource_
group_ strname  - The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - sku str
 - auto_
scale_ Sequence[Deploymentprofiles Auto Scale Profile Args]  - An 
auto_scale_profileblock as defined below. - automatic_
upgrade_ strchannel  - Specify the automatic upgrade channel for the NGINX deployment. Defaults to 
stable. The possible values arestableandpreview. - capacity int
 Specify the number of NGINX capacity units for this NGINX deployment. Defaults to
20.Note For more information on NGINX capacity units, please refer to the NGINX scaling guidance documentation
- configuration
Deployment
Configuration Args  - diagnose_
support_ boolenabled  - Should the metrics be exported to Azure Monitor?
 - email str
 - Specify the preferred support contact email address for receiving alerts and notifications.
 - frontend_
privates Sequence[DeploymentFrontend Private Args]  - One or more 
frontend_privateblocks as defined below. Changing this forces a new NGINX Deployment to be created. - frontend_
public DeploymentFrontend Public Args  - A 
frontend_publicblock as defined below. Changing this forces a new NGINX Deployment to be created. - identity
Deployment
Identity Args  - An 
identityblock 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_ Sequence[Deploymentaccounts Logging Storage Account Args]  - One or more 
logging_storage_accountblocks as defined below. - managed_
resource_ strgroup  - 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[DeploymentNetwork Interface Args]  - One or more 
network_interfaceblocks as defined below. Changing this forces a new NGINX Deployment to be created. - Mapping[str, str]
 - A mapping of tags which should be assigned to the NGINX Deployment.
 
- resource
Group StringName  - The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - sku String
 - auto
Scale List<Property Map>Profiles  - An 
auto_scale_profileblock as defined below. - automatic
Upgrade StringChannel  - Specify the automatic upgrade channel for the NGINX deployment. Defaults to 
stable. The possible values arestableandpreview. - capacity Number
 Specify the number of NGINX capacity units for this NGINX deployment. Defaults to
20.Note For more information on NGINX capacity units, please refer to the NGINX scaling guidance documentation
- configuration Property Map
 - diagnose
Support BooleanEnabled  - Should the metrics be exported to Azure Monitor?
 - email String
 - Specify the preferred support contact email address for receiving alerts and notifications.
 - frontend
Privates List<Property Map> - One or more 
frontend_privateblocks as defined below. Changing this forces a new NGINX Deployment to be created. - frontend
Public Property Map - A 
frontend_publicblock as defined below. Changing this forces a new NGINX Deployment to be created. - identity Property Map
 - An 
identityblock as defined below. - location String
 - The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - logging
Storage List<Property Map>Accounts  - One or more 
logging_storage_accountblocks as defined below. - managed
Resource StringGroup  - 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.
 - network
Interfaces List<Property Map> - One or more 
network_interfaceblocks as defined below. Changing this forces a new NGINX Deployment to be created. - 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.
 - Ip
Address string - The IP address of the deployment.
 - Nginx
Version string - The version of deployed NGINX.
 
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Ip
Address string - The IP address of the deployment.
 - Nginx
Version string - The version of deployed NGINX.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - ip
Address String - The IP address of the deployment.
 - nginx
Version String - The version of deployed NGINX.
 
- id string
 - The provider-assigned unique ID for this managed resource.
 - ip
Address string - The IP address of the deployment.
 - nginx
Version string - The version of deployed NGINX.
 
- id str
 - The provider-assigned unique ID for this managed resource.
 - ip_
address str - The IP address of the deployment.
 - nginx_
version str - The version of deployed NGINX.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - ip
Address String - The IP address of the deployment.
 - nginx
Version 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,
        auto_scale_profiles: Optional[Sequence[DeploymentAutoScaleProfileArgs]] = None,
        automatic_upgrade_channel: Optional[str] = None,
        capacity: Optional[int] = None,
        configuration: Optional[DeploymentConfigurationArgs] = None,
        diagnose_support_enabled: Optional[bool] = None,
        email: Optional[str] = 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) -> Deploymentfunc 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.
 
- Auto
Scale List<DeploymentProfiles Auto Scale Profile>  - An 
auto_scale_profileblock as defined below. - Automatic
Upgrade stringChannel  - Specify the automatic upgrade channel for the NGINX deployment. Defaults to 
stable. The possible values arestableandpreview. - Capacity int
 Specify the number of NGINX capacity units for this NGINX deployment. Defaults to
20.Note For more information on NGINX capacity units, please refer to the NGINX scaling guidance documentation
- Configuration
Deployment
Configuration  - Diagnose
Support boolEnabled  - Should the metrics be exported to Azure Monitor?
 - Email string
 - Specify the preferred support contact email address for receiving alerts and notifications.
 - Frontend
Privates List<DeploymentFrontend Private>  - One or more 
frontend_privateblocks as defined below. Changing this forces a new NGINX Deployment to be created. - Frontend
Public DeploymentFrontend Public  - A 
frontend_publicblock as defined below. Changing this forces a new NGINX Deployment to be created. - Identity
Deployment
Identity  - An 
identityblock as defined below. - Ip
Address string - The IP address of the deployment.
 - Location string
 - The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - Logging
Storage List<DeploymentAccounts Logging Storage Account>  - One or more 
logging_storage_accountblocks as defined below. - Managed
Resource stringGroup  - 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.
 - Network
Interfaces List<DeploymentNetwork Interface>  - One or more 
network_interfaceblocks as defined below. Changing this forces a new NGINX Deployment to be created. - Nginx
Version string - The version of deployed NGINX.
 - Resource
Group stringName  - The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - Sku string
 - Dictionary<string, string>
 - A mapping of tags which should be assigned to the NGINX Deployment.
 
- Auto
Scale []DeploymentProfiles Auto Scale Profile Args  - An 
auto_scale_profileblock as defined below. - Automatic
Upgrade stringChannel  - Specify the automatic upgrade channel for the NGINX deployment. Defaults to 
stable. The possible values arestableandpreview. - Capacity int
 Specify the number of NGINX capacity units for this NGINX deployment. Defaults to
20.Note For more information on NGINX capacity units, please refer to the NGINX scaling guidance documentation
- Configuration
Deployment
Configuration Args  - Diagnose
Support boolEnabled  - Should the metrics be exported to Azure Monitor?
 - Email string
 - Specify the preferred support contact email address for receiving alerts and notifications.
 - Frontend
Privates []DeploymentFrontend Private Args  - One or more 
frontend_privateblocks as defined below. Changing this forces a new NGINX Deployment to be created. - Frontend
Public DeploymentFrontend Public Args  - A 
frontend_publicblock as defined below. Changing this forces a new NGINX Deployment to be created. - Identity
Deployment
Identity Args  - An 
identityblock as defined below. - Ip
Address string - The IP address of the deployment.
 - Location string
 - The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - Logging
Storage []DeploymentAccounts Logging Storage Account Args  - One or more 
logging_storage_accountblocks as defined below. - Managed
Resource stringGroup  - 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.
 - Network
Interfaces []DeploymentNetwork Interface Args  - One or more 
network_interfaceblocks as defined below. Changing this forces a new NGINX Deployment to be created. - Nginx
Version string - The version of deployed NGINX.
 - Resource
Group stringName  - The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - Sku string
 - map[string]string
 - A mapping of tags which should be assigned to the NGINX Deployment.
 
- auto
Scale List<DeploymentProfiles Auto Scale Profile>  - An 
auto_scale_profileblock as defined below. - automatic
Upgrade StringChannel  - Specify the automatic upgrade channel for the NGINX deployment. Defaults to 
stable. The possible values arestableandpreview. - capacity Integer
 Specify the number of NGINX capacity units for this NGINX deployment. Defaults to
20.Note For more information on NGINX capacity units, please refer to the NGINX scaling guidance documentation
- configuration
Deployment
Configuration  - diagnose
Support BooleanEnabled  - Should the metrics be exported to Azure Monitor?
 - email String
 - Specify the preferred support contact email address for receiving alerts and notifications.
 - frontend
Privates List<DeploymentFrontend Private>  - One or more 
frontend_privateblocks as defined below. Changing this forces a new NGINX Deployment to be created. - frontend
Public DeploymentFrontend Public  - A 
frontend_publicblock as defined below. Changing this forces a new NGINX Deployment to be created. - identity
Deployment
Identity  - An 
identityblock as defined below. - ip
Address String - The IP address of the deployment.
 - location String
 - The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - logging
Storage List<DeploymentAccounts Logging Storage Account>  - One or more 
logging_storage_accountblocks as defined below. - managed
Resource StringGroup  - 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.
 - network
Interfaces List<DeploymentNetwork Interface>  - One or more 
network_interfaceblocks as defined below. Changing this forces a new NGINX Deployment to be created. - nginx
Version String - The version of deployed NGINX.
 - resource
Group StringName  - The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - sku String
 - Map<String,String>
 - A mapping of tags which should be assigned to the NGINX Deployment.
 
- auto
Scale DeploymentProfiles Auto Scale Profile[]  - An 
auto_scale_profileblock as defined below. - automatic
Upgrade stringChannel  - Specify the automatic upgrade channel for the NGINX deployment. Defaults to 
stable. The possible values arestableandpreview. - capacity number
 Specify the number of NGINX capacity units for this NGINX deployment. Defaults to
20.Note For more information on NGINX capacity units, please refer to the NGINX scaling guidance documentation
- configuration
Deployment
Configuration  - diagnose
Support booleanEnabled  - Should the metrics be exported to Azure Monitor?
 - email string
 - Specify the preferred support contact email address for receiving alerts and notifications.
 - frontend
Privates DeploymentFrontend Private[]  - One or more 
frontend_privateblocks as defined below. Changing this forces a new NGINX Deployment to be created. - frontend
Public DeploymentFrontend Public  - A 
frontend_publicblock as defined below. Changing this forces a new NGINX Deployment to be created. - identity
Deployment
Identity  - An 
identityblock as defined below. - ip
Address string - The IP address of the deployment.
 - location string
 - The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - logging
Storage DeploymentAccounts Logging Storage Account[]  - One or more 
logging_storage_accountblocks as defined below. - managed
Resource stringGroup  - 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.
 - network
Interfaces DeploymentNetwork Interface[]  - One or more 
network_interfaceblocks as defined below. Changing this forces a new NGINX Deployment to be created. - nginx
Version string - The version of deployed NGINX.
 - resource
Group stringName  - The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - sku string
 - {[key: string]: string}
 - A mapping of tags which should be assigned to the NGINX Deployment.
 
- auto_
scale_ Sequence[Deploymentprofiles Auto Scale Profile Args]  - An 
auto_scale_profileblock as defined below. - automatic_
upgrade_ strchannel  - Specify the automatic upgrade channel for the NGINX deployment. Defaults to 
stable. The possible values arestableandpreview. - capacity int
 Specify the number of NGINX capacity units for this NGINX deployment. Defaults to
20.Note For more information on NGINX capacity units, please refer to the NGINX scaling guidance documentation
- configuration
Deployment
Configuration Args  - diagnose_
support_ boolenabled  - Should the metrics be exported to Azure Monitor?
 - email str
 - Specify the preferred support contact email address for receiving alerts and notifications.
 - frontend_
privates Sequence[DeploymentFrontend Private Args]  - One or more 
frontend_privateblocks as defined below. Changing this forces a new NGINX Deployment to be created. - frontend_
public DeploymentFrontend Public Args  - A 
frontend_publicblock as defined below. Changing this forces a new NGINX Deployment to be created. - identity
Deployment
Identity Args  - An 
identityblock as defined below. - ip_
address str - The IP address of the deployment.
 - location str
 - The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - logging_
storage_ Sequence[Deploymentaccounts Logging Storage Account Args]  - One or more 
logging_storage_accountblocks as defined below. - managed_
resource_ strgroup  - 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[DeploymentNetwork Interface Args]  - One or more 
network_interfaceblocks as defined below. Changing this forces a new NGINX Deployment to be created. - nginx_
version str - The version of deployed NGINX.
 - resource_
group_ strname  - The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - sku str
 - Mapping[str, str]
 - A mapping of tags which should be assigned to the NGINX Deployment.
 
- auto
Scale List<Property Map>Profiles  - An 
auto_scale_profileblock as defined below. - automatic
Upgrade StringChannel  - Specify the automatic upgrade channel for the NGINX deployment. Defaults to 
stable. The possible values arestableandpreview. - capacity Number
 Specify the number of NGINX capacity units for this NGINX deployment. Defaults to
20.Note For more information on NGINX capacity units, please refer to the NGINX scaling guidance documentation
- configuration Property Map
 - diagnose
Support BooleanEnabled  - Should the metrics be exported to Azure Monitor?
 - email String
 - Specify the preferred support contact email address for receiving alerts and notifications.
 - frontend
Privates List<Property Map> - One or more 
frontend_privateblocks as defined below. Changing this forces a new NGINX Deployment to be created. - frontend
Public Property Map - A 
frontend_publicblock as defined below. Changing this forces a new NGINX Deployment to be created. - identity Property Map
 - An 
identityblock as defined below. - ip
Address String - The IP address of the deployment.
 - location String
 - The Azure Region where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - logging
Storage List<Property Map>Accounts  - One or more 
logging_storage_accountblocks as defined below. - managed
Resource StringGroup  - 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.
 - network
Interfaces List<Property Map> - One or more 
network_interfaceblocks as defined below. Changing this forces a new NGINX Deployment to be created. - nginx
Version String - The version of deployed NGINX.
 - resource
Group StringName  - The name of the Resource Group where the NGINX Deployment should exist. Changing this forces a new NGINX Deployment to be created.
 - sku String
 - Map<String>
 - A mapping of tags which should be assigned to the NGINX Deployment.
 
Supporting Types
DeploymentAutoScaleProfile, DeploymentAutoScaleProfileArgs        
- Max
Capacity int - Min
Capacity int - Specify the minimum number of NGINX capacity units for this NGINX Deployment.
 - Name string
 - Specify the name of the autoscaling profile.
 
- Max
Capacity int - Min
Capacity int - Specify the minimum number of NGINX capacity units for this NGINX Deployment.
 - Name string
 - Specify the name of the autoscaling profile.
 
- max
Capacity Integer - min
Capacity Integer - Specify the minimum number of NGINX capacity units for this NGINX Deployment.
 - name String
 - Specify the name of the autoscaling profile.
 
- max
Capacity number - min
Capacity number - Specify the minimum number of NGINX capacity units for this NGINX Deployment.
 - name string
 - Specify the name of the autoscaling profile.
 
- max_
capacity int - min_
capacity int - Specify the minimum number of NGINX capacity units for this NGINX Deployment.
 - name str
 - Specify the name of the autoscaling profile.
 
- max
Capacity Number - min
Capacity Number - Specify the minimum number of NGINX capacity units for this NGINX Deployment.
 - name String
 - Specify the name of the autoscaling profile.
 
DeploymentConfiguration, DeploymentConfigurationArgs    
DeploymentConfigurationConfigFile, DeploymentConfigurationConfigFileArgs        
- Content string
 - Virtual
Path string 
- Content string
 - Virtual
Path string 
- content String
 - virtual
Path String 
- content string
 - virtual
Path string 
- content str
 - virtual_
path str 
- content String
 - virtual
Path String 
DeploymentConfigurationProtectedFile, DeploymentConfigurationProtectedFileArgs        
- Content string
 - Virtual
Path string 
- Content string
 - Virtual
Path string 
- content String
 - virtual
Path String 
- content string
 - virtual
Path string 
- content str
 - virtual_
path str 
- content String
 - virtual
Path String 
DeploymentFrontendPrivate, DeploymentFrontendPrivateArgs      
- Allocation
Method string - Specify the method for allocating the private IP. Possible values are 
StaticandDynamic. - Ip
Address string - Specify the private IP Address.
 - Subnet
Id string - Specify the Subnet Resource ID for this NGINX Deployment.
 
- Allocation
Method string - Specify the method for allocating the private IP. Possible values are 
StaticandDynamic. - Ip
Address string - Specify the private IP Address.
 - Subnet
Id string - Specify the Subnet Resource ID for this NGINX Deployment.
 
- allocation
Method String - Specify the method for allocating the private IP. Possible values are 
StaticandDynamic. - ip
Address String - Specify the private IP Address.
 - subnet
Id String - Specify the Subnet Resource ID for this NGINX Deployment.
 
- allocation
Method string - Specify the method for allocating the private IP. Possible values are 
StaticandDynamic. - ip
Address string - Specify the private IP Address.
 - subnet
Id string - Specify the Subnet Resource ID for this NGINX Deployment.
 
- allocation_
method str - Specify the method for allocating the private IP. Possible values are 
StaticandDynamic. - ip_
address str - Specify the private IP Address.
 - subnet_
id str - Specify the Subnet Resource ID for this NGINX Deployment.
 
- allocation
Method String - Specify the method for allocating the private IP. Possible values are 
StaticandDynamic. - ip
Address String - Specify the private IP Address.
 - subnet
Id String - Specify the Subnet Resource ID for this NGINX Deployment.
 
DeploymentFrontendPublic, DeploymentFrontendPublicArgs      
- Ip
Addresses List<string> - Specifies a list of Public IP Resource ID to this NGINX Deployment.
 
- Ip
Addresses []string - Specifies a list of Public IP Resource ID to this NGINX Deployment.
 
- ip
Addresses List<String> - Specifies a list of Public IP Resource ID to this NGINX Deployment.
 
- ip
Addresses string[] - Specifies a list of Public IP Resource ID to this NGINX Deployment.
 
- ip_
addresses Sequence[str] - Specifies a list of Public IP Resource ID to this NGINX Deployment.
 
- ip
Addresses List<String> - Specifies a list of Public IP Resource ID to this NGINX Deployment.
 
DeploymentIdentity, DeploymentIdentityArgs    
- Type string
 - Specifies the identity type of the NGINX Deployment. Possible values are 
SystemAssigned,UserAssignedorSystemAssigned, UserAssigned. - Identity
Ids List<string> Specifies a list of user managed identity ids to be assigned.
NOTE: This is required when
typeis set toUserAssigned.- Principal
Id string - Tenant
Id string 
- Type string
 - Specifies the identity type of the NGINX Deployment. Possible values are 
SystemAssigned,UserAssignedorSystemAssigned, UserAssigned. - Identity
Ids []string Specifies a list of user managed identity ids to be assigned.
NOTE: This is required when
typeis set toUserAssigned.- Principal
Id string - Tenant
Id string 
- type String
 - Specifies the identity type of the NGINX Deployment. Possible values are 
SystemAssigned,UserAssignedorSystemAssigned, UserAssigned. - identity
Ids List<String> Specifies a list of user managed identity ids to be assigned.
NOTE: This is required when
typeis set toUserAssigned.- principal
Id String - tenant
Id String 
- type string
 - Specifies the identity type of the NGINX Deployment. Possible values are 
SystemAssigned,UserAssignedorSystemAssigned, UserAssigned. - identity
Ids string[] Specifies a list of user managed identity ids to be assigned.
NOTE: This is required when
typeis set toUserAssigned.- principal
Id string - tenant
Id string 
- type str
 - Specifies the identity type of the NGINX Deployment. Possible values are 
SystemAssigned,UserAssignedorSystemAssigned, UserAssigned. - identity_
ids Sequence[str] Specifies a list of user managed identity ids to be assigned.
NOTE: This is required when
typeis set toUserAssigned.- principal_
id str - tenant_
id str 
- type String
 - Specifies the identity type of the NGINX Deployment. Possible values are 
SystemAssigned,UserAssignedorSystemAssigned, UserAssigned. - identity
Ids List<String> Specifies a list of user managed identity ids to be assigned.
NOTE: This is required when
typeis set toUserAssigned.- principal
Id String - tenant
Id String 
DeploymentLoggingStorageAccount, DeploymentLoggingStorageAccountArgs        
- Container
Name string - Specify the container name in the Storage Account for logging.
 - Name string
 - The name of the StorageAccount for NGINX Logging.
 
- Container
Name string - Specify the container name in the Storage Account for logging.
 - Name string
 - The name of the StorageAccount for NGINX Logging.
 
- container
Name String - Specify the container name in the Storage Account for logging.
 - name String
 - The name of the StorageAccount for NGINX Logging.
 
- container
Name string - Specify the container name in the Storage Account for logging.
 - name string
 - The name of the StorageAccount for NGINX Logging.
 
- container_
name str - Specify the container name in the Storage Account for logging.
 - name str
 - The name of the StorageAccount for NGINX Logging.
 
- container
Name String - Specify the container name in the Storage Account for logging.
 - name String
 - The name of the StorageAccount for NGINX Logging.
 
DeploymentNetworkInterface, DeploymentNetworkInterfaceArgs      
- Subnet
Id string - Specify The Subnet Resource ID for this NGINX Deployment.
 
- Subnet
Id string - Specify The Subnet Resource ID for this NGINX Deployment.
 
- subnet
Id String - Specify The Subnet Resource ID for this NGINX Deployment.
 
- subnet
Id string - Specify The Subnet Resource ID for this NGINX Deployment.
 
- subnet_
id str - Specify The Subnet Resource ID for this NGINX Deployment.
 
- subnet
Id String - Specify The Subnet Resource ID for 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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
 - Azure Classic pulumi/pulumi-azure
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
azurermTerraform Provider.