1. Packages
  2. Azure Classic
  3. API Docs
  4. nginx
  5. Deployment

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

azure.nginx.Deployment

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi

    Manages a Nginx Deployment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    import * as std from "@pulumi/std";
    
    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 configContent = std.base64encode({
        input: `http {
        server {
            listen 80;
            location / {
                auth_basic "Protected Area";
                auth_basic_user_file /opt/.htpasswd;
                default_type text/html;
            }
            include site/*.conf;
        }
    }
    `,
    }).then(invoke => invoke.result);
    const protectedContent = std.base64encode({
        input: "user:$apr1$VeUA5kt.$IjjRk//8miRxDsZvD4daF1\n",
    }).then(invoke => invoke.result);
    const subConfigContent = std.base64encode({
        input: `location /bbb {
    	default_type text/html;
    	return 200 '<!doctype html><html lang="en"><head></head><body>
    		<div>this one will be updated</div>
    		<div>at 10:38 am</div>
    	</body></html>';
    }
    `,
    }).then(invoke => invoke.result);
    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",
        configuration: {
            rootFile: "/etc/nginx/nginx.conf",
            configFiles: [
                {
                    content: configContent,
                    virtualPath: "/etc/nginx/nginx.conf",
                },
                {
                    content: subConfigContent,
                    virtualPath: "/etc/nginx/site/b.conf",
                },
            ],
            protectedFiles: [{
                content: protectedContent,
                virtualPath: "/opt/.htpasswd",
            }],
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    import pulumi_std as std
    
    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"],
            ),
        )])
    config_content = std.base64encode(input="""http {
        server {
            listen 80;
            location / {
                auth_basic "Protected Area";
                auth_basic_user_file /opt/.htpasswd;
                default_type text/html;
            }
            include site/*.conf;
        }
    }
    """).result
    protected_content = std.base64encode(input="user:$apr1$VeUA5kt.$IjjRk//8miRxDsZvD4daF1\n").result
    sub_config_content = std.base64encode(input="""location /bbb {
    	default_type text/html;
    	return 200 '<!doctype html><html lang="en"><head></head><body>
    		<div>this one will be updated</div>
    		<div>at 10:38 am</div>
    	</body></html>';
    }
    """).result
    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",
        configuration=azure.nginx.DeploymentConfigurationArgs(
            root_file="/etc/nginx/nginx.conf",
            config_files=[
                azure.nginx.DeploymentConfigurationConfigFileArgs(
                    content=config_content,
                    virtual_path="/etc/nginx/nginx.conf",
                ),
                azure.nginx.DeploymentConfigurationConfigFileArgs(
                    content=sub_config_content,
                    virtual_path="/etc/nginx/site/b.conf",
                ),
            ],
            protected_files=[azure.nginx.DeploymentConfigurationProtectedFileArgs(
                content=protected_content,
                virtual_path="/opt/.htpasswd",
            )],
        ))
    
    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-std/sdk/go/std"
    	"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
    		}
    		configContent := std.Base64encode(ctx, &std.Base64encodeArgs{
    			Input: `http {
        server {
            listen 80;
            location / {
                auth_basic "Protected Area";
                auth_basic_user_file /opt/.htpasswd;
                default_type text/html;
            }
            include site/*.conf;
        }
    }
    `,
    		}, nil).Result
    		protectedContent := std.Base64encode(ctx, &std.Base64encodeArgs{
    			Input: "user:$apr1$VeUA5kt.$IjjRk//8miRxDsZvD4daF1\n",
    		}, nil).Result
    		subConfigContent := std.Base64encode(ctx, &std.Base64encodeArgs{
    			Input: `location /bbb {
    	default_type text/html;
    	return 200 '<!doctype html><html lang="en"><head></head><body>
    		<div>this one will be updated</div>
    		<div>at 10:38 am</div>
    	</body></html>';
    }
    `,
    		}, nil).Result
    		_, 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"),
    			Configuration: &nginx.DeploymentConfigurationArgs{
    				RootFile: pulumi.String("/etc/nginx/nginx.conf"),
    				ConfigFiles: nginx.DeploymentConfigurationConfigFileArray{
    					&nginx.DeploymentConfigurationConfigFileArgs{
    						Content:     pulumi.String(configContent),
    						VirtualPath: pulumi.String("/etc/nginx/nginx.conf"),
    					},
    					&nginx.DeploymentConfigurationConfigFileArgs{
    						Content:     pulumi.String(subConfigContent),
    						VirtualPath: pulumi.String("/etc/nginx/site/b.conf"),
    					},
    				},
    				ProtectedFiles: nginx.DeploymentConfigurationProtectedFileArray{
    					&nginx.DeploymentConfigurationProtectedFileArgs{
    						Content:     pulumi.String(protectedContent),
    						VirtualPath: pulumi.String("/opt/.htpasswd"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    using Std = Pulumi.Std;
    
    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 configContent = Std.Base64encode.Invoke(new()
        {
            Input = @"http {
        server {
            listen 80;
            location / {
                auth_basic ""Protected Area"";
                auth_basic_user_file /opt/.htpasswd;
                default_type text/html;
            }
            include site/*.conf;
        }
    }
    ",
        }).Apply(invoke => invoke.Result);
    
        var protectedContent = Std.Base64encode.Invoke(new()
        {
            Input = @"user:$apr1$VeUA5kt.$IjjRk//8miRxDsZvD4daF1
    ",
        }).Apply(invoke => invoke.Result);
    
        var subConfigContent = Std.Base64encode.Invoke(new()
        {
            Input = @"location /bbb {
    	default_type text/html;
    	return 200 '<!doctype html><html lang=""en""><head></head><body>
    		<div>this one will be updated</div>
    		<div>at 10:38 am</div>
    	</body></html>';
    }
    ",
        }).Apply(invoke => invoke.Result);
    
        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",
            Configuration = new Azure.Nginx.Inputs.DeploymentConfigurationArgs
            {
                RootFile = "/etc/nginx/nginx.conf",
                ConfigFiles = new[]
                {
                    new Azure.Nginx.Inputs.DeploymentConfigurationConfigFileArgs
                    {
                        Content = configContent,
                        VirtualPath = "/etc/nginx/nginx.conf",
                    },
                    new Azure.Nginx.Inputs.DeploymentConfigurationConfigFileArgs
                    {
                        Content = subConfigContent,
                        VirtualPath = "/etc/nginx/site/b.conf",
                    },
                },
                ProtectedFiles = new[]
                {
                    new Azure.Nginx.Inputs.DeploymentConfigurationProtectedFileArgs
                    {
                        Content = protectedContent,
                        VirtualPath = "/opt/.htpasswd",
                    },
                },
            },
        });
    
    });
    
    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 com.pulumi.azure.nginx.inputs.DeploymentConfigurationArgs;
    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());
    
            final var configContent = StdFunctions.base64encode(Base64encodeArgs.builder()
                .input("""
    http {
        server {
            listen 80;
            location / {
                auth_basic "Protected Area";
                auth_basic_user_file /opt/.htpasswd;
                default_type text/html;
            }
            include site/*.conf;
        }
    }
                """)
                .build()).result();
    
            final var protectedContent = StdFunctions.base64encode(Base64encodeArgs.builder()
                .input("""
    user:$apr1$VeUA5kt.$IjjRk//8miRxDsZvD4daF1
                """)
                .build()).result();
    
            final var subConfigContent = StdFunctions.base64encode(Base64encodeArgs.builder()
                .input("""
    location /bbb {
    	default_type text/html;
    	return 200 '<!doctype html><html lang="en"><head></head><body>
    		<div>this one will be updated</div>
    		<div>at 10:38 am</div>
    	</body></html>';
    }
                """)
                .build()).result();
    
            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")
                .configuration(DeploymentConfigurationArgs.builder()
                    .rootFile("/etc/nginx/nginx.conf")
                    .configFiles(                
                        DeploymentConfigurationConfigFileArgs.builder()
                            .content(configContent)
                            .virtualPath("/etc/nginx/nginx.conf")
                            .build(),
                        DeploymentConfigurationConfigFileArgs.builder()
                            .content(subConfigContent)
                            .virtualPath("/etc/nginx/site/b.conf")
                            .build())
                    .protectedFiles(DeploymentConfigurationProtectedFileArgs.builder()
                        .content(protectedContent)
                        .virtualPath("/opt/.htpasswd")
                        .build())
                    .build())
                .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
          configuration:
            rootFile: /etc/nginx/nginx.conf
            configFiles:
              - content: ${configContent}
                virtualPath: /etc/nginx/nginx.conf
              - content: ${subConfigContent}
                virtualPath: /etc/nginx/site/b.conf
            protectedFiles:
              - content: ${protectedContent}
                virtualPath: /opt/.htpasswd
    variables:
      configContent:
        fn::invoke:
          Function: std:base64encode
          Arguments:
            input: |
              http {
                  server {
                      listen 80;
                      location / {
                          auth_basic "Protected Area";
                          auth_basic_user_file /opt/.htpasswd;
                          default_type text/html;
                      }
                      include site/*.conf;
                  }
              }          
          Return: result
      protectedContent:
        fn::invoke:
          Function: std:base64encode
          Arguments:
            input: |
              user:$apr1$VeUA5kt.$IjjRk//8miRxDsZvD4daF1          
          Return: result
      subConfigContent:
        fn::invoke:
          Function: std:base64encode
          Arguments:
            input: |
              location /bbb {
              	default_type text/html;
              	return 200 '<!doctype html><html lang="en"><head></head><body>
              		<div>this one will be updated</div>
              		<div>at 10:38 am</div>
              	</body></html>';
              }          
          Return: result
    

    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.

    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",
            },
        },
        Configuration = new Azure.Nginx.Inputs.DeploymentConfigurationArgs
        {
            RootFile = "string",
            ConfigFiles = new[]
            {
                new Azure.Nginx.Inputs.DeploymentConfigurationConfigFileArgs
                {
                    Content = "string",
                    VirtualPath = "string",
                },
            },
            PackageData = "string",
            ProtectedFiles = new[]
            {
                new Azure.Nginx.Inputs.DeploymentConfigurationProtectedFileArgs
                {
                    Content = "string",
                    VirtualPath = "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"),
    		},
    	},
    	Configuration: &nginx.DeploymentConfigurationArgs{
    		RootFile: pulumi.String("string"),
    		ConfigFiles: nginx.DeploymentConfigurationConfigFileArray{
    			&nginx.DeploymentConfigurationConfigFileArgs{
    				Content:     pulumi.String("string"),
    				VirtualPath: pulumi.String("string"),
    			},
    		},
    		PackageData: pulumi.String("string"),
    		ProtectedFiles: nginx.DeploymentConfigurationProtectedFileArray{
    			&nginx.DeploymentConfigurationProtectedFileArgs{
    				Content:     pulumi.String("string"),
    				VirtualPath: 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())
        .configuration(DeploymentConfigurationArgs.builder()
            .rootFile("string")
            .configFiles(DeploymentConfigurationConfigFileArgs.builder()
                .content("string")
                .virtualPath("string")
                .build())
            .packageData("string")
            .protectedFiles(DeploymentConfigurationProtectedFileArgs.builder()
                .content("string")
                .virtualPath("string")
                .build())
            .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",
        )],
        configuration=azure.nginx.DeploymentConfigurationArgs(
            root_file="string",
            config_files=[azure.nginx.DeploymentConfigurationConfigFileArgs(
                content="string",
                virtual_path="string",
            )],
            package_data="string",
            protected_files=[azure.nginx.DeploymentConfigurationProtectedFileArgs(
                content="string",
                virtual_path="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",
        }],
        configuration: {
            rootFile: "string",
            configFiles: [{
                content: "string",
                virtualPath: "string",
            }],
            packageData: "string",
            protectedFiles: [{
                content: "string",
                virtualPath: "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
        configuration:
            configFiles:
                - content: string
                  virtualPath: string
            packageData: string
            protectedFiles:
                - content: string
                  virtualPath: string
            rootFile: string
        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:

    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
    Specifies the Nginx Deployment SKU. Possible values include standard_Monthly. Changing this forces a new resource to be created.
    AutoScaleProfiles List<DeploymentAutoScaleProfile>
    An auto_scale_profile block as defined below.
    AutomaticUpgradeChannel string
    Specify the automatic upgrade channel for the NGINX deployment. Defaults to stable. The possible values are stable and preview.
    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 DeploymentConfiguration
    Specify a custom configuration block as defined below.
    DiagnoseSupportEnabled bool
    Should the diagnosis support be enabled?
    Email string
    Specify the preferred support contact email address of the user used for sending alerts and notification.
    FrontendPrivates List<DeploymentFrontendPrivate>
    One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.
    FrontendPublic DeploymentFrontendPublic
    A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.
    Identity DeploymentIdentity
    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<DeploymentLoggingStorageAccount>
    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<DeploymentNetworkInterface>
    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
    Specifies the Nginx Deployment SKU. Possible values include standard_Monthly. Changing this forces a new resource to be created.
    AutoScaleProfiles []DeploymentAutoScaleProfileArgs
    An auto_scale_profile block as defined below.
    AutomaticUpgradeChannel string
    Specify the automatic upgrade channel for the NGINX deployment. Defaults to stable. The possible values are stable and preview.
    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 DeploymentConfigurationArgs
    Specify a custom configuration block as defined below.
    DiagnoseSupportEnabled bool
    Should the diagnosis support be enabled?
    Email string
    Specify the preferred support contact email address of the user used for sending alerts and notification.
    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
    Specifies the Nginx Deployment SKU. Possible values include standard_Monthly. Changing this forces a new resource to be created.
    autoScaleProfiles List<DeploymentAutoScaleProfile>
    An auto_scale_profile block as defined below.
    automaticUpgradeChannel String
    Specify the automatic upgrade channel for the NGINX deployment. Defaults to stable. The possible values are stable and preview.
    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 DeploymentConfiguration
    Specify a custom configuration block as defined below.
    diagnoseSupportEnabled Boolean
    Should the diagnosis support be enabled?
    email String
    Specify the preferred support contact email address of the user used for sending alerts and notification.
    frontendPrivates List<DeploymentFrontendPrivate>
    One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.
    frontendPublic DeploymentFrontendPublic
    A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.
    identity DeploymentIdentity
    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<DeploymentLoggingStorageAccount>
    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<DeploymentNetworkInterface>
    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
    Specifies the Nginx Deployment SKU. Possible values include standard_Monthly. Changing this forces a new resource to be created.
    autoScaleProfiles DeploymentAutoScaleProfile[]
    An auto_scale_profile block as defined below.
    automaticUpgradeChannel string
    Specify the automatic upgrade channel for the NGINX deployment. Defaults to stable. The possible values are stable and preview.
    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 DeploymentConfiguration
    Specify a custom configuration block as defined below.
    diagnoseSupportEnabled boolean
    Should the diagnosis support be enabled?
    email string
    Specify the preferred support contact email address of the user used for sending alerts and notification.
    frontendPrivates DeploymentFrontendPrivate[]
    One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.
    frontendPublic DeploymentFrontendPublic
    A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.
    identity DeploymentIdentity
    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 DeploymentLoggingStorageAccount[]
    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 DeploymentNetworkInterface[]
    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
    Specifies the Nginx Deployment SKU. Possible values include standard_Monthly. Changing this forces a new resource to be created.
    auto_scale_profiles Sequence[DeploymentAutoScaleProfileArgs]
    An auto_scale_profile block as defined below.
    automatic_upgrade_channel str
    Specify the automatic upgrade channel for the NGINX deployment. Defaults to stable. The possible values are stable and preview.
    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 DeploymentConfigurationArgs
    Specify a custom configuration block as defined below.
    diagnose_support_enabled bool
    Should the diagnosis support be enabled?
    email str
    Specify the preferred support contact email address of the user used for sending alerts and notification.
    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
    Specifies the Nginx Deployment SKU. Possible values include standard_Monthly. Changing this forces a new resource to be created.
    autoScaleProfiles List<Property Map>
    An auto_scale_profile block as defined below.
    automaticUpgradeChannel String
    Specify the automatic upgrade channel for the NGINX deployment. Defaults to stable. The possible values are stable and preview.
    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
    Specify a custom configuration block as defined below.
    diagnoseSupportEnabled Boolean
    Should the diagnosis support be enabled?
    email String
    Specify the preferred support contact email address of the user used for sending alerts and notification.
    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,
            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) -> 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:
    AutoScaleProfiles List<DeploymentAutoScaleProfile>
    An auto_scale_profile block as defined below.
    AutomaticUpgradeChannel string
    Specify the automatic upgrade channel for the NGINX deployment. Defaults to stable. The possible values are stable and preview.
    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 DeploymentConfiguration
    Specify a custom configuration block as defined below.
    DiagnoseSupportEnabled bool
    Should the diagnosis support be enabled?
    Email string
    Specify the preferred support contact email address of the user used for sending alerts and notification.
    FrontendPrivates List<DeploymentFrontendPrivate>
    One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.
    FrontendPublic DeploymentFrontendPublic
    A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.
    Identity DeploymentIdentity
    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<DeploymentLoggingStorageAccount>
    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<DeploymentNetworkInterface>
    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
    Specifies the Nginx Deployment SKU. Possible values include standard_Monthly. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Nginx Deployment.
    AutoScaleProfiles []DeploymentAutoScaleProfileArgs
    An auto_scale_profile block as defined below.
    AutomaticUpgradeChannel string
    Specify the automatic upgrade channel for the NGINX deployment. Defaults to stable. The possible values are stable and preview.
    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 DeploymentConfigurationArgs
    Specify a custom configuration block as defined below.
    DiagnoseSupportEnabled bool
    Should the diagnosis support be enabled?
    Email string
    Specify the preferred support contact email address of the user used for sending alerts and notification.
    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
    Specifies the Nginx Deployment SKU. Possible values include standard_Monthly. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Nginx Deployment.
    autoScaleProfiles List<DeploymentAutoScaleProfile>
    An auto_scale_profile block as defined below.
    automaticUpgradeChannel String
    Specify the automatic upgrade channel for the NGINX deployment. Defaults to stable. The possible values are stable and preview.
    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 DeploymentConfiguration
    Specify a custom configuration block as defined below.
    diagnoseSupportEnabled Boolean
    Should the diagnosis support be enabled?
    email String
    Specify the preferred support contact email address of the user used for sending alerts and notification.
    frontendPrivates List<DeploymentFrontendPrivate>
    One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.
    frontendPublic DeploymentFrontendPublic
    A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.
    identity DeploymentIdentity
    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<DeploymentLoggingStorageAccount>
    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<DeploymentNetworkInterface>
    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
    Specifies the Nginx Deployment SKU. Possible values include standard_Monthly. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Nginx Deployment.
    autoScaleProfiles DeploymentAutoScaleProfile[]
    An auto_scale_profile block as defined below.
    automaticUpgradeChannel string
    Specify the automatic upgrade channel for the NGINX deployment. Defaults to stable. The possible values are stable and preview.
    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 DeploymentConfiguration
    Specify a custom configuration block as defined below.
    diagnoseSupportEnabled boolean
    Should the diagnosis support be enabled?
    email string
    Specify the preferred support contact email address of the user used for sending alerts and notification.
    frontendPrivates DeploymentFrontendPrivate[]
    One or more frontend_private blocks as defined below. Changing this forces a new Nginx Deployment to be created.
    frontendPublic DeploymentFrontendPublic
    A frontend_public block as defined below. Changing this forces a new Nginx Deployment to be created.
    identity DeploymentIdentity
    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 DeploymentLoggingStorageAccount[]
    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 DeploymentNetworkInterface[]
    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
    Specifies the Nginx Deployment SKU. Possible values include standard_Monthly. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Nginx Deployment.
    auto_scale_profiles Sequence[DeploymentAutoScaleProfileArgs]
    An auto_scale_profile block as defined below.
    automatic_upgrade_channel str
    Specify the automatic upgrade channel for the NGINX deployment. Defaults to stable. The possible values are stable and preview.
    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 DeploymentConfigurationArgs
    Specify a custom configuration block as defined below.
    diagnose_support_enabled bool
    Should the diagnosis support be enabled?
    email str
    Specify the preferred support contact email address of the user used for sending alerts and notification.
    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
    Specifies the Nginx Deployment SKU. Possible values include standard_Monthly. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Nginx Deployment.
    autoScaleProfiles List<Property Map>
    An auto_scale_profile block as defined below.
    automaticUpgradeChannel String
    Specify the automatic upgrade channel for the NGINX deployment. Defaults to stable. The possible values are stable and preview.
    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
    Specify a custom configuration block as defined below.
    diagnoseSupportEnabled Boolean
    Should the diagnosis support be enabled?
    email String
    Specify the preferred support contact email address of the user used for sending alerts and notification.
    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
    Specifies the Nginx Deployment SKU. Possible values include standard_Monthly. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Nginx Deployment.

    Supporting Types

    DeploymentAutoScaleProfile, DeploymentAutoScaleProfileArgs

    MaxCapacity int
    MinCapacity int
    Specify the minimum number of NGINX capacity units for this NGINX Deployment.
    Name string
    Specify the name of the autoscaling profile.
    MaxCapacity int
    MinCapacity int
    Specify the minimum number of NGINX capacity units for this NGINX Deployment.
    Name string
    Specify the name of the autoscaling profile.
    maxCapacity Integer
    minCapacity Integer
    Specify the minimum number of NGINX capacity units for this NGINX Deployment.
    name String
    Specify the name of the autoscaling profile.
    maxCapacity number
    minCapacity 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.
    maxCapacity Number
    minCapacity Number
    Specify the minimum number of NGINX capacity units for this NGINX Deployment.
    name String
    Specify the name of the autoscaling profile.

    DeploymentConfiguration, DeploymentConfigurationArgs

    RootFile string
    Specify the root file path of this Nginx Configuration.
    ConfigFiles List<DeploymentConfigurationConfigFile>
    One or more config_file blocks as defined below.
    PackageData string
    Specify the package data for this configuration.
    ProtectedFiles List<DeploymentConfigurationProtectedFile>
    One or more protected_file blocks with sensitive information as defined below. If specified config_file must also be specified.
    RootFile string
    Specify the root file path of this Nginx Configuration.
    ConfigFiles []DeploymentConfigurationConfigFile
    One or more config_file blocks as defined below.
    PackageData string
    Specify the package data for this configuration.
    ProtectedFiles []DeploymentConfigurationProtectedFile
    One or more protected_file blocks with sensitive information as defined below. If specified config_file must also be specified.
    rootFile String
    Specify the root file path of this Nginx Configuration.
    configFiles List<DeploymentConfigurationConfigFile>
    One or more config_file blocks as defined below.
    packageData String
    Specify the package data for this configuration.
    protectedFiles List<DeploymentConfigurationProtectedFile>
    One or more protected_file blocks with sensitive information as defined below. If specified config_file must also be specified.
    rootFile string
    Specify the root file path of this Nginx Configuration.
    configFiles DeploymentConfigurationConfigFile[]
    One or more config_file blocks as defined below.
    packageData string
    Specify the package data for this configuration.
    protectedFiles DeploymentConfigurationProtectedFile[]
    One or more protected_file blocks with sensitive information as defined below. If specified config_file must also be specified.
    root_file str
    Specify the root file path of this Nginx Configuration.
    config_files Sequence[DeploymentConfigurationConfigFile]
    One or more config_file blocks as defined below.
    package_data str
    Specify the package data for this configuration.
    protected_files Sequence[DeploymentConfigurationProtectedFile]
    One or more protected_file blocks with sensitive information as defined below. If specified config_file must also be specified.
    rootFile String
    Specify the root file path of this Nginx Configuration.
    configFiles List<Property Map>
    One or more config_file blocks as defined below.
    packageData String
    Specify the package data for this configuration.
    protectedFiles List<Property Map>
    One or more protected_file blocks with sensitive information as defined below. If specified config_file must also be specified.

    DeploymentConfigurationConfigFile, DeploymentConfigurationConfigFileArgs

    Content string
    Specifies the base-64 encoded contents of this config file.
    VirtualPath string
    Specify the path of this config file.
    Content string
    Specifies the base-64 encoded contents of this config file.
    VirtualPath string
    Specify the path of this config file.
    content String
    Specifies the base-64 encoded contents of this config file.
    virtualPath String
    Specify the path of this config file.
    content string
    Specifies the base-64 encoded contents of this config file.
    virtualPath string
    Specify the path of this config file.
    content str
    Specifies the base-64 encoded contents of this config file.
    virtual_path str
    Specify the path of this config file.
    content String
    Specifies the base-64 encoded contents of this config file.
    virtualPath String
    Specify the path of this config file.

    DeploymentConfigurationProtectedFile, DeploymentConfigurationProtectedFileArgs

    Content string
    Specifies the base-64 encoded contents of this config file (Sensitive).
    VirtualPath string
    Specify the path of this config file.
    Content string
    Specifies the base-64 encoded contents of this config file (Sensitive).
    VirtualPath string
    Specify the path of this config file.
    content String
    Specifies the base-64 encoded contents of this config file (Sensitive).
    virtualPath String
    Specify the path of this config file.
    content string
    Specifies the base-64 encoded contents of this config file (Sensitive).
    virtualPath string
    Specify the path of this config file.
    content str
    Specifies the base-64 encoded contents of this config file (Sensitive).
    virtual_path str
    Specify the path of this config file.
    content String
    Specifies the base-64 encoded contents of this config file (Sensitive).
    virtualPath String
    Specify the path of this config file.

    DeploymentFrontendPrivate, DeploymentFrontendPrivateArgs

    AllocationMethod string
    Specify the method 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 method 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 method 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 method 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 method 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 method 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, DeploymentFrontendPublicArgs

    IpAddresses List<string>
    Specifies a list of Public IP Resource ID to this Nginx Deployment.
    IpAddresses []string
    Specifies a list of Public IP Resource ID to this Nginx Deployment.
    ipAddresses List<String>
    Specifies a list of Public IP Resource ID to this Nginx Deployment.
    ipAddresses 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.
    ipAddresses 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 UserAssigned, SystemAssigned.
    IdentityIds List<string>

    Specifies a list of user managed identity ids to be assigned.

    NOTE: This is required when type is set to UserAssigned.

    PrincipalId string
    TenantId string
    Type string
    Specifies the identity type of the Nginx Deployment. Possible values are UserAssigned, SystemAssigned.
    IdentityIds []string

    Specifies a list of user managed identity ids to be assigned.

    NOTE: This is required when type is set to UserAssigned.

    PrincipalId string
    TenantId string
    type String
    Specifies the identity type of the Nginx Deployment. Possible values are UserAssigned, SystemAssigned.
    identityIds List<String>

    Specifies a list of user managed identity ids to be assigned.

    NOTE: This is required when type is set to UserAssigned.

    principalId String
    tenantId String
    type string
    Specifies the identity type of the Nginx Deployment. Possible values are UserAssigned, SystemAssigned.
    identityIds string[]

    Specifies a list of user managed identity ids to be assigned.

    NOTE: This is required when type is set to UserAssigned.

    principalId string
    tenantId string
    type str
    Specifies the identity type of the Nginx Deployment. Possible values are UserAssigned, SystemAssigned.
    identity_ids Sequence[str]

    Specifies a list of user managed identity ids to be assigned.

    NOTE: This is required when type is set to UserAssigned.

    principal_id str
    tenant_id str
    type String
    Specifies the identity type of the Nginx Deployment. Possible values are UserAssigned, SystemAssigned.
    identityIds List<String>

    Specifies a list of user managed identity ids to be assigned.

    NOTE: This is required when type is set to UserAssigned.

    principalId String
    tenantId String

    DeploymentLoggingStorageAccount, DeploymentLoggingStorageAccountArgs

    ContainerName string
    Specify the container name of Storage Account for logging.
    Name string
    The account name of the StorageAccount for Nginx Logging.
    ContainerName string
    Specify the container name of Storage Account for logging.
    Name string
    The account name of the StorageAccount for Nginx Logging.
    containerName String
    Specify the container name of Storage Account for logging.
    name String
    The account name of the StorageAccount for Nginx Logging.
    containerName string
    Specify the container name of Storage Account for logging.
    name string
    The account name of the StorageAccount for Nginx Logging.
    container_name str
    Specify the container name of Storage Account for logging.
    name str
    The account name of the StorageAccount for Nginx Logging.
    containerName String
    Specify the container name of Storage Account for logging.
    name String
    The account name of the StorageAccount for Nginx Logging.

    DeploymentNetworkInterface, DeploymentNetworkInterfaceArgs

    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
    

    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 azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.73.0 published on Monday, Apr 22, 2024 by Pulumi