nginx

package
v5.59.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate added in v5.24.0

type Certificate struct {
	pulumi.CustomResourceState

	// Specify the path to the cert file of this certificate.
	CertificateVirtualPath pulumi.StringOutput `pulumi:"certificateVirtualPath"`
	// Specify the ID of the Key Vault Secret for this certificate.
	KeyVaultSecretId pulumi.StringOutput `pulumi:"keyVaultSecretId"`
	// Specify the path to the key file of this certificate.
	KeyVirtualPath pulumi.StringOutput `pulumi:"keyVirtualPath"`
	// The name which should be used for this Nginx Certificate. Changing this forces a new Nginx Certificate to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the Nginx Deployment that this Certificate should be associated with. Changing this forces a new Nginx Certificate to be created.
	NginxDeploymentId pulumi.StringOutput `pulumi:"nginxDeploymentId"`
}

Manages a Certificate for an NGinx Deployment.

## Example Usage

```go package main

import (

"encoding/base64"
"os"

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/keyvault"
"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 filebase64OrPanic(path string) pulumi.StringPtrInput {
	if fileData, err := os.ReadFile(path); err == nil {
		return pulumi.String(base64.StdEncoding.EncodeToString(fileData[:]))
	} else {
		panic(err.Error())
	}
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		examplePublicIp, err := network.NewPublicIp(ctx, "examplePublicIp", &network.PublicIpArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.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, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
			ResourceGroupName:  exampleResourceGroup.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
		}
		exampleDeployment, err := nginx.NewDeployment(ctx, "exampleDeployment", &nginx.DeploymentArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Sku:                    pulumi.String("publicpreview_Monthly_gmz7xq9ge3py"),
			Location:               exampleResourceGroup.Location,
			ManagedResourceGroup:   pulumi.String("example"),
			DiagnoseSupportEnabled: pulumi.Bool(true),
			FrontendPublic: &nginx.DeploymentFrontendPublicArgs{
				IpAddresses: pulumi.StringArray{
					examplePublicIp.ID(),
				},
			},
			NetworkInterfaces: nginx.DeploymentNetworkInterfaceArray{
				&nginx.DeploymentNetworkInterfaceArgs{
					SubnetId: exampleSubnet.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			TenantId:          *pulumi.String(current.TenantId),
			SkuName:           pulumi.String("premium"),
			AccessPolicies: keyvault.KeyVaultAccessPolicyArray{
				&keyvault.KeyVaultAccessPolicyArgs{
					TenantId: *pulumi.String(current.TenantId),
					ObjectId: *pulumi.String(current.ObjectId),
					CertificatePermissions: pulumi.StringArray{
						pulumi.String("Create"),
						pulumi.String("Delete"),
						pulumi.String("DeleteIssuers"),
						pulumi.String("Get"),
						pulumi.String("GetIssuers"),
						pulumi.String("Import"),
						pulumi.String("List"),
						pulumi.String("ListIssuers"),
						pulumi.String("ManageContacts"),
						pulumi.String("ManageIssuers"),
						pulumi.String("SetIssuers"),
						pulumi.String("Update"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleCertificate, err := keyvault.NewCertificate(ctx, "exampleCertificate", &keyvault.CertificateArgs{
			KeyVaultId: exampleKeyVault.ID(),
			Certificate: &keyvault.CertificateCertificateArgs{
				Contents: filebase64OrPanic("certificate-to-import.pfx"),
				Password: pulumi.String(""),
			},
		})
		if err != nil {
			return err
		}
		_, err = nginx.NewCertificate(ctx, "exampleNginx/certificateCertificate", &nginx.CertificateArgs{
			NginxDeploymentId:      exampleDeployment.ID(),
			KeyVirtualPath:         pulumi.String("/src/cert/soservermekey.key"),
			CertificateVirtualPath: pulumi.String("/src/cert/server.cert"),
			KeyVaultSecretId:       exampleCertificate.SecretId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An Nginx Certificate can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:nginx/certificate:Certificate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Nginx.NginxPlus/nginxDeployments/deploy1/certificates/cer1

```

func GetCertificate added in v5.24.0

func GetCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)

GetCertificate gets an existing Certificate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCertificate added in v5.24.0

func NewCertificate(ctx *pulumi.Context,
	name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)

NewCertificate registers a new resource with the given unique name, arguments, and options.

func (*Certificate) ElementType added in v5.24.0

func (*Certificate) ElementType() reflect.Type

func (*Certificate) ToCertificateOutput added in v5.24.0

func (i *Certificate) ToCertificateOutput() CertificateOutput

func (*Certificate) ToCertificateOutputWithContext added in v5.24.0

func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

type CertificateArgs added in v5.24.0

type CertificateArgs struct {
	// Specify the path to the cert file of this certificate.
	CertificateVirtualPath pulumi.StringInput
	// Specify the ID of the Key Vault Secret for this certificate.
	KeyVaultSecretId pulumi.StringInput
	// Specify the path to the key file of this certificate.
	KeyVirtualPath pulumi.StringInput
	// The name which should be used for this Nginx Certificate. Changing this forces a new Nginx Certificate to be created.
	Name pulumi.StringPtrInput
	// The ID of the Nginx Deployment that this Certificate should be associated with. Changing this forces a new Nginx Certificate to be created.
	NginxDeploymentId pulumi.StringInput
}

The set of arguments for constructing a Certificate resource.

func (CertificateArgs) ElementType added in v5.24.0

func (CertificateArgs) ElementType() reflect.Type

type CertificateArray added in v5.24.0

type CertificateArray []CertificateInput

func (CertificateArray) ElementType added in v5.24.0

func (CertificateArray) ElementType() reflect.Type

func (CertificateArray) ToCertificateArrayOutput added in v5.24.0

func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArray) ToCertificateArrayOutputWithContext added in v5.24.0

func (i CertificateArray) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput

type CertificateArrayInput added in v5.24.0

type CertificateArrayInput interface {
	pulumi.Input

	ToCertificateArrayOutput() CertificateArrayOutput
	ToCertificateArrayOutputWithContext(context.Context) CertificateArrayOutput
}

CertificateArrayInput is an input type that accepts CertificateArray and CertificateArrayOutput values. You can construct a concrete instance of `CertificateArrayInput` via:

CertificateArray{ CertificateArgs{...} }

type CertificateArrayOutput added in v5.24.0

type CertificateArrayOutput struct{ *pulumi.OutputState }

func (CertificateArrayOutput) ElementType added in v5.24.0

func (CertificateArrayOutput) ElementType() reflect.Type

func (CertificateArrayOutput) Index added in v5.24.0

func (CertificateArrayOutput) ToCertificateArrayOutput added in v5.24.0

func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput

func (CertificateArrayOutput) ToCertificateArrayOutputWithContext added in v5.24.0

func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput

type CertificateInput added in v5.24.0

type CertificateInput interface {
	pulumi.Input

	ToCertificateOutput() CertificateOutput
	ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
}

type CertificateMap added in v5.24.0

type CertificateMap map[string]CertificateInput

func (CertificateMap) ElementType added in v5.24.0

func (CertificateMap) ElementType() reflect.Type

func (CertificateMap) ToCertificateMapOutput added in v5.24.0

func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMap) ToCertificateMapOutputWithContext added in v5.24.0

func (i CertificateMap) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput

type CertificateMapInput added in v5.24.0

type CertificateMapInput interface {
	pulumi.Input

	ToCertificateMapOutput() CertificateMapOutput
	ToCertificateMapOutputWithContext(context.Context) CertificateMapOutput
}

CertificateMapInput is an input type that accepts CertificateMap and CertificateMapOutput values. You can construct a concrete instance of `CertificateMapInput` via:

CertificateMap{ "key": CertificateArgs{...} }

type CertificateMapOutput added in v5.24.0

type CertificateMapOutput struct{ *pulumi.OutputState }

func (CertificateMapOutput) ElementType added in v5.24.0

func (CertificateMapOutput) ElementType() reflect.Type

func (CertificateMapOutput) MapIndex added in v5.24.0

func (CertificateMapOutput) ToCertificateMapOutput added in v5.24.0

func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput

func (CertificateMapOutput) ToCertificateMapOutputWithContext added in v5.24.0

func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput

type CertificateOutput added in v5.24.0

type CertificateOutput struct{ *pulumi.OutputState }

func (CertificateOutput) CertificateVirtualPath added in v5.24.0

func (o CertificateOutput) CertificateVirtualPath() pulumi.StringOutput

Specify the path to the cert file of this certificate.

func (CertificateOutput) ElementType added in v5.24.0

func (CertificateOutput) ElementType() reflect.Type

func (CertificateOutput) KeyVaultSecretId added in v5.24.0

func (o CertificateOutput) KeyVaultSecretId() pulumi.StringOutput

Specify the ID of the Key Vault Secret for this certificate.

func (CertificateOutput) KeyVirtualPath added in v5.24.0

func (o CertificateOutput) KeyVirtualPath() pulumi.StringOutput

Specify the path to the key file of this certificate.

func (CertificateOutput) Name added in v5.24.0

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

func (CertificateOutput) NginxDeploymentId added in v5.24.0

func (o CertificateOutput) NginxDeploymentId() pulumi.StringOutput

The ID of the Nginx Deployment that this Certificate should be associated with. Changing this forces a new Nginx Certificate to be created.

func (CertificateOutput) ToCertificateOutput added in v5.24.0

func (o CertificateOutput) ToCertificateOutput() CertificateOutput

func (CertificateOutput) ToCertificateOutputWithContext added in v5.24.0

func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput

type CertificateState added in v5.24.0

type CertificateState struct {
	// Specify the path to the cert file of this certificate.
	CertificateVirtualPath pulumi.StringPtrInput
	// Specify the ID of the Key Vault Secret for this certificate.
	KeyVaultSecretId pulumi.StringPtrInput
	// Specify the path to the key file of this certificate.
	KeyVirtualPath pulumi.StringPtrInput
	// The name which should be used for this Nginx Certificate. Changing this forces a new Nginx Certificate to be created.
	Name pulumi.StringPtrInput
	// The ID of the Nginx Deployment that this Certificate should be associated with. Changing this forces a new Nginx Certificate to be created.
	NginxDeploymentId pulumi.StringPtrInput
}

func (CertificateState) ElementType added in v5.24.0

func (CertificateState) ElementType() reflect.Type

type Configuration added in v5.24.0

type Configuration struct {
	pulumi.CustomResourceState

	// One or more `configFile` blocks as defined below.
	ConfigFiles ConfigurationConfigFileArrayOutput `pulumi:"configFiles"`
	// The ID of the Nginx Deployment. Changing this forces a new Nginx Configuration to be created.
	NginxDeploymentId pulumi.StringOutput `pulumi:"nginxDeploymentId"`
	// Specify the package data for this configuration.
	PackageData pulumi.StringPtrOutput `pulumi:"packageData"`
	// One or more `protectedFile` blocks with sensitive information as defined below. If specified `configFile` must also be specified.
	ProtectedFiles ConfigurationProtectedFileArrayOutput `pulumi:"protectedFiles"`
	// Specify the root file path of this Nginx Configuration.
	RootFile pulumi.StringOutput `pulumi:"rootFile"`
}

Manages the configuration for a Nginx Deployment.

## Import

An Nginx Configuration can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:nginx/configuration:Configuration example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Nginx.NginxPlus/nginxDeployments/dep1/configurations/default

```

func GetConfiguration added in v5.24.0

func GetConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigurationState, opts ...pulumi.ResourceOption) (*Configuration, error)

GetConfiguration gets an existing Configuration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConfiguration added in v5.24.0

func NewConfiguration(ctx *pulumi.Context,
	name string, args *ConfigurationArgs, opts ...pulumi.ResourceOption) (*Configuration, error)

NewConfiguration registers a new resource with the given unique name, arguments, and options.

func (*Configuration) ElementType added in v5.24.0

func (*Configuration) ElementType() reflect.Type

func (*Configuration) ToConfigurationOutput added in v5.24.0

func (i *Configuration) ToConfigurationOutput() ConfigurationOutput

func (*Configuration) ToConfigurationOutputWithContext added in v5.24.0

func (i *Configuration) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput

type ConfigurationArgs added in v5.24.0

type ConfigurationArgs struct {
	// One or more `configFile` blocks as defined below.
	ConfigFiles ConfigurationConfigFileArrayInput
	// The ID of the Nginx Deployment. Changing this forces a new Nginx Configuration to be created.
	NginxDeploymentId pulumi.StringInput
	// Specify the package data for this configuration.
	PackageData pulumi.StringPtrInput
	// One or more `protectedFile` blocks with sensitive information as defined below. If specified `configFile` must also be specified.
	ProtectedFiles ConfigurationProtectedFileArrayInput
	// Specify the root file path of this Nginx Configuration.
	RootFile pulumi.StringInput
}

The set of arguments for constructing a Configuration resource.

func (ConfigurationArgs) ElementType added in v5.24.0

func (ConfigurationArgs) ElementType() reflect.Type

type ConfigurationArray added in v5.24.0

type ConfigurationArray []ConfigurationInput

func (ConfigurationArray) ElementType added in v5.24.0

func (ConfigurationArray) ElementType() reflect.Type

func (ConfigurationArray) ToConfigurationArrayOutput added in v5.24.0

func (i ConfigurationArray) ToConfigurationArrayOutput() ConfigurationArrayOutput

func (ConfigurationArray) ToConfigurationArrayOutputWithContext added in v5.24.0

func (i ConfigurationArray) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput

type ConfigurationArrayInput added in v5.24.0

type ConfigurationArrayInput interface {
	pulumi.Input

	ToConfigurationArrayOutput() ConfigurationArrayOutput
	ToConfigurationArrayOutputWithContext(context.Context) ConfigurationArrayOutput
}

ConfigurationArrayInput is an input type that accepts ConfigurationArray and ConfigurationArrayOutput values. You can construct a concrete instance of `ConfigurationArrayInput` via:

ConfigurationArray{ ConfigurationArgs{...} }

type ConfigurationArrayOutput added in v5.24.0

type ConfigurationArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationArrayOutput) ElementType added in v5.24.0

func (ConfigurationArrayOutput) ElementType() reflect.Type

func (ConfigurationArrayOutput) Index added in v5.24.0

func (ConfigurationArrayOutput) ToConfigurationArrayOutput added in v5.24.0

func (o ConfigurationArrayOutput) ToConfigurationArrayOutput() ConfigurationArrayOutput

func (ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext added in v5.24.0

func (o ConfigurationArrayOutput) ToConfigurationArrayOutputWithContext(ctx context.Context) ConfigurationArrayOutput

type ConfigurationConfigFile added in v5.24.0

type ConfigurationConfigFile struct {
	// Specifies the base-64 encoded contents of this config file.
	Content string `pulumi:"content"`
	// Specify the path of this config file.
	VirtualPath string `pulumi:"virtualPath"`
}

type ConfigurationConfigFileArgs added in v5.24.0

type ConfigurationConfigFileArgs struct {
	// Specifies the base-64 encoded contents of this config file.
	Content pulumi.StringInput `pulumi:"content"`
	// Specify the path of this config file.
	VirtualPath pulumi.StringInput `pulumi:"virtualPath"`
}

func (ConfigurationConfigFileArgs) ElementType added in v5.24.0

func (ConfigurationConfigFileArgs) ToConfigurationConfigFileOutput added in v5.24.0

func (i ConfigurationConfigFileArgs) ToConfigurationConfigFileOutput() ConfigurationConfigFileOutput

func (ConfigurationConfigFileArgs) ToConfigurationConfigFileOutputWithContext added in v5.24.0

func (i ConfigurationConfigFileArgs) ToConfigurationConfigFileOutputWithContext(ctx context.Context) ConfigurationConfigFileOutput

type ConfigurationConfigFileArray added in v5.24.0

type ConfigurationConfigFileArray []ConfigurationConfigFileInput

func (ConfigurationConfigFileArray) ElementType added in v5.24.0

func (ConfigurationConfigFileArray) ToConfigurationConfigFileArrayOutput added in v5.24.0

func (i ConfigurationConfigFileArray) ToConfigurationConfigFileArrayOutput() ConfigurationConfigFileArrayOutput

func (ConfigurationConfigFileArray) ToConfigurationConfigFileArrayOutputWithContext added in v5.24.0

func (i ConfigurationConfigFileArray) ToConfigurationConfigFileArrayOutputWithContext(ctx context.Context) ConfigurationConfigFileArrayOutput

type ConfigurationConfigFileArrayInput added in v5.24.0

type ConfigurationConfigFileArrayInput interface {
	pulumi.Input

	ToConfigurationConfigFileArrayOutput() ConfigurationConfigFileArrayOutput
	ToConfigurationConfigFileArrayOutputWithContext(context.Context) ConfigurationConfigFileArrayOutput
}

ConfigurationConfigFileArrayInput is an input type that accepts ConfigurationConfigFileArray and ConfigurationConfigFileArrayOutput values. You can construct a concrete instance of `ConfigurationConfigFileArrayInput` via:

ConfigurationConfigFileArray{ ConfigurationConfigFileArgs{...} }

type ConfigurationConfigFileArrayOutput added in v5.24.0

type ConfigurationConfigFileArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationConfigFileArrayOutput) ElementType added in v5.24.0

func (ConfigurationConfigFileArrayOutput) Index added in v5.24.0

func (ConfigurationConfigFileArrayOutput) ToConfigurationConfigFileArrayOutput added in v5.24.0

func (o ConfigurationConfigFileArrayOutput) ToConfigurationConfigFileArrayOutput() ConfigurationConfigFileArrayOutput

func (ConfigurationConfigFileArrayOutput) ToConfigurationConfigFileArrayOutputWithContext added in v5.24.0

func (o ConfigurationConfigFileArrayOutput) ToConfigurationConfigFileArrayOutputWithContext(ctx context.Context) ConfigurationConfigFileArrayOutput

type ConfigurationConfigFileInput added in v5.24.0

type ConfigurationConfigFileInput interface {
	pulumi.Input

	ToConfigurationConfigFileOutput() ConfigurationConfigFileOutput
	ToConfigurationConfigFileOutputWithContext(context.Context) ConfigurationConfigFileOutput
}

ConfigurationConfigFileInput is an input type that accepts ConfigurationConfigFileArgs and ConfigurationConfigFileOutput values. You can construct a concrete instance of `ConfigurationConfigFileInput` via:

ConfigurationConfigFileArgs{...}

type ConfigurationConfigFileOutput added in v5.24.0

type ConfigurationConfigFileOutput struct{ *pulumi.OutputState }

func (ConfigurationConfigFileOutput) Content added in v5.24.0

Specifies the base-64 encoded contents of this config file.

func (ConfigurationConfigFileOutput) ElementType added in v5.24.0

func (ConfigurationConfigFileOutput) ToConfigurationConfigFileOutput added in v5.24.0

func (o ConfigurationConfigFileOutput) ToConfigurationConfigFileOutput() ConfigurationConfigFileOutput

func (ConfigurationConfigFileOutput) ToConfigurationConfigFileOutputWithContext added in v5.24.0

func (o ConfigurationConfigFileOutput) ToConfigurationConfigFileOutputWithContext(ctx context.Context) ConfigurationConfigFileOutput

func (ConfigurationConfigFileOutput) VirtualPath added in v5.24.0

Specify the path of this config file.

type ConfigurationInput added in v5.24.0

type ConfigurationInput interface {
	pulumi.Input

	ToConfigurationOutput() ConfigurationOutput
	ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
}

type ConfigurationMap added in v5.24.0

type ConfigurationMap map[string]ConfigurationInput

func (ConfigurationMap) ElementType added in v5.24.0

func (ConfigurationMap) ElementType() reflect.Type

func (ConfigurationMap) ToConfigurationMapOutput added in v5.24.0

func (i ConfigurationMap) ToConfigurationMapOutput() ConfigurationMapOutput

func (ConfigurationMap) ToConfigurationMapOutputWithContext added in v5.24.0

func (i ConfigurationMap) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput

type ConfigurationMapInput added in v5.24.0

type ConfigurationMapInput interface {
	pulumi.Input

	ToConfigurationMapOutput() ConfigurationMapOutput
	ToConfigurationMapOutputWithContext(context.Context) ConfigurationMapOutput
}

ConfigurationMapInput is an input type that accepts ConfigurationMap and ConfigurationMapOutput values. You can construct a concrete instance of `ConfigurationMapInput` via:

ConfigurationMap{ "key": ConfigurationArgs{...} }

type ConfigurationMapOutput added in v5.24.0

type ConfigurationMapOutput struct{ *pulumi.OutputState }

func (ConfigurationMapOutput) ElementType added in v5.24.0

func (ConfigurationMapOutput) ElementType() reflect.Type

func (ConfigurationMapOutput) MapIndex added in v5.24.0

func (ConfigurationMapOutput) ToConfigurationMapOutput added in v5.24.0

func (o ConfigurationMapOutput) ToConfigurationMapOutput() ConfigurationMapOutput

func (ConfigurationMapOutput) ToConfigurationMapOutputWithContext added in v5.24.0

func (o ConfigurationMapOutput) ToConfigurationMapOutputWithContext(ctx context.Context) ConfigurationMapOutput

type ConfigurationOutput added in v5.24.0

type ConfigurationOutput struct{ *pulumi.OutputState }

func (ConfigurationOutput) ConfigFiles added in v5.24.0

One or more `configFile` blocks as defined below.

func (ConfigurationOutput) ElementType added in v5.24.0

func (ConfigurationOutput) ElementType() reflect.Type

func (ConfigurationOutput) NginxDeploymentId added in v5.24.0

func (o ConfigurationOutput) NginxDeploymentId() pulumi.StringOutput

The ID of the Nginx Deployment. Changing this forces a new Nginx Configuration to be created.

func (ConfigurationOutput) PackageData added in v5.24.0

func (o ConfigurationOutput) PackageData() pulumi.StringPtrOutput

Specify the package data for this configuration.

func (ConfigurationOutput) ProtectedFiles added in v5.24.0

One or more `protectedFile` blocks with sensitive information as defined below. If specified `configFile` must also be specified.

func (ConfigurationOutput) RootFile added in v5.24.0

Specify the root file path of this Nginx Configuration.

func (ConfigurationOutput) ToConfigurationOutput added in v5.24.0

func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput

func (ConfigurationOutput) ToConfigurationOutputWithContext added in v5.24.0

func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput

type ConfigurationProtectedFile added in v5.24.0

type ConfigurationProtectedFile struct {
	// Specifies the base-64 encoded contents of this config file (Sensitive).
	Content string `pulumi:"content"`
	// Specify the path of this config file.
	VirtualPath string `pulumi:"virtualPath"`
}

type ConfigurationProtectedFileArgs added in v5.24.0

type ConfigurationProtectedFileArgs struct {
	// Specifies the base-64 encoded contents of this config file (Sensitive).
	Content pulumi.StringInput `pulumi:"content"`
	// Specify the path of this config file.
	VirtualPath pulumi.StringInput `pulumi:"virtualPath"`
}

func (ConfigurationProtectedFileArgs) ElementType added in v5.24.0

func (ConfigurationProtectedFileArgs) ToConfigurationProtectedFileOutput added in v5.24.0

func (i ConfigurationProtectedFileArgs) ToConfigurationProtectedFileOutput() ConfigurationProtectedFileOutput

func (ConfigurationProtectedFileArgs) ToConfigurationProtectedFileOutputWithContext added in v5.24.0

func (i ConfigurationProtectedFileArgs) ToConfigurationProtectedFileOutputWithContext(ctx context.Context) ConfigurationProtectedFileOutput

type ConfigurationProtectedFileArray added in v5.24.0

type ConfigurationProtectedFileArray []ConfigurationProtectedFileInput

func (ConfigurationProtectedFileArray) ElementType added in v5.24.0

func (ConfigurationProtectedFileArray) ToConfigurationProtectedFileArrayOutput added in v5.24.0

func (i ConfigurationProtectedFileArray) ToConfigurationProtectedFileArrayOutput() ConfigurationProtectedFileArrayOutput

func (ConfigurationProtectedFileArray) ToConfigurationProtectedFileArrayOutputWithContext added in v5.24.0

func (i ConfigurationProtectedFileArray) ToConfigurationProtectedFileArrayOutputWithContext(ctx context.Context) ConfigurationProtectedFileArrayOutput

type ConfigurationProtectedFileArrayInput added in v5.24.0

type ConfigurationProtectedFileArrayInput interface {
	pulumi.Input

	ToConfigurationProtectedFileArrayOutput() ConfigurationProtectedFileArrayOutput
	ToConfigurationProtectedFileArrayOutputWithContext(context.Context) ConfigurationProtectedFileArrayOutput
}

ConfigurationProtectedFileArrayInput is an input type that accepts ConfigurationProtectedFileArray and ConfigurationProtectedFileArrayOutput values. You can construct a concrete instance of `ConfigurationProtectedFileArrayInput` via:

ConfigurationProtectedFileArray{ ConfigurationProtectedFileArgs{...} }

type ConfigurationProtectedFileArrayOutput added in v5.24.0

type ConfigurationProtectedFileArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationProtectedFileArrayOutput) ElementType added in v5.24.0

func (ConfigurationProtectedFileArrayOutput) Index added in v5.24.0

func (ConfigurationProtectedFileArrayOutput) ToConfigurationProtectedFileArrayOutput added in v5.24.0

func (o ConfigurationProtectedFileArrayOutput) ToConfigurationProtectedFileArrayOutput() ConfigurationProtectedFileArrayOutput

func (ConfigurationProtectedFileArrayOutput) ToConfigurationProtectedFileArrayOutputWithContext added in v5.24.0

func (o ConfigurationProtectedFileArrayOutput) ToConfigurationProtectedFileArrayOutputWithContext(ctx context.Context) ConfigurationProtectedFileArrayOutput

type ConfigurationProtectedFileInput added in v5.24.0

type ConfigurationProtectedFileInput interface {
	pulumi.Input

	ToConfigurationProtectedFileOutput() ConfigurationProtectedFileOutput
	ToConfigurationProtectedFileOutputWithContext(context.Context) ConfigurationProtectedFileOutput
}

ConfigurationProtectedFileInput is an input type that accepts ConfigurationProtectedFileArgs and ConfigurationProtectedFileOutput values. You can construct a concrete instance of `ConfigurationProtectedFileInput` via:

ConfigurationProtectedFileArgs{...}

type ConfigurationProtectedFileOutput added in v5.24.0

type ConfigurationProtectedFileOutput struct{ *pulumi.OutputState }

func (ConfigurationProtectedFileOutput) Content added in v5.24.0

Specifies the base-64 encoded contents of this config file (Sensitive).

func (ConfigurationProtectedFileOutput) ElementType added in v5.24.0

func (ConfigurationProtectedFileOutput) ToConfigurationProtectedFileOutput added in v5.24.0

func (o ConfigurationProtectedFileOutput) ToConfigurationProtectedFileOutput() ConfigurationProtectedFileOutput

func (ConfigurationProtectedFileOutput) ToConfigurationProtectedFileOutputWithContext added in v5.24.0

func (o ConfigurationProtectedFileOutput) ToConfigurationProtectedFileOutputWithContext(ctx context.Context) ConfigurationProtectedFileOutput

func (ConfigurationProtectedFileOutput) VirtualPath added in v5.24.0

Specify the path of this config file.

type ConfigurationState added in v5.24.0

type ConfigurationState struct {
	// One or more `configFile` blocks as defined below.
	ConfigFiles ConfigurationConfigFileArrayInput
	// The ID of the Nginx Deployment. Changing this forces a new Nginx Configuration to be created.
	NginxDeploymentId pulumi.StringPtrInput
	// Specify the package data for this configuration.
	PackageData pulumi.StringPtrInput
	// One or more `protectedFile` blocks with sensitive information as defined below. If specified `configFile` must also be specified.
	ProtectedFiles ConfigurationProtectedFileArrayInput
	// Specify the root file path of this Nginx Configuration.
	RootFile pulumi.StringPtrInput
}

func (ConfigurationState) ElementType added in v5.24.0

func (ConfigurationState) ElementType() reflect.Type

type Deployment

type Deployment struct {
	pulumi.CustomResourceState

	// 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](https://docs.nginx.com/nginxaas/azure/quickstart/scaling/)
	Capacity pulumi.IntPtrOutput `pulumi:"capacity"`
	// Should the diagnosis support be enabled?
	DiagnoseSupportEnabled pulumi.BoolPtrOutput `pulumi:"diagnoseSupportEnabled"`
	// Specify the preferred support contact email address of the user used for sending alerts and notification.
	Email pulumi.StringPtrOutput `pulumi:"email"`
	// One or more `frontendPrivate` blocks as defined below. Changing this forces a new Nginx Deployment to be created.
	FrontendPrivates DeploymentFrontendPrivateArrayOutput `pulumi:"frontendPrivates"`
	// A `frontendPublic` block as defined below. Changing this forces a new Nginx Deployment to be created.
	FrontendPublic DeploymentFrontendPublicPtrOutput `pulumi:"frontendPublic"`
	// An `identity` block as defined below.
	Identity DeploymentIdentityPtrOutput `pulumi:"identity"`
	// Specify the IP Address of this private IP.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// One or more `loggingStorageAccount` blocks as defined below.
	LoggingStorageAccounts DeploymentLoggingStorageAccountArrayOutput `pulumi:"loggingStorageAccounts"`
	// Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.
	ManagedResourceGroup pulumi.StringOutput `pulumi:"managedResourceGroup"`
	// The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// One or more `networkInterface` blocks as defined below. Changing this forces a new Nginx Deployment to be created.
	NetworkInterfaces DeploymentNetworkInterfaceArrayOutput `pulumi:"networkInterfaces"`
	// The version of deployed nginx.
	NginxVersion pulumi.StringOutput `pulumi:"nginxVersion"`
	// The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Specify the Name of Nginx deployment SKU. The possible value are `publicpreview_Monthly_gmz7xq9ge3py` and `standard_Monthly`.
	Sku pulumi.StringOutput `pulumi:"sku"`
	// A mapping of tags which should be assigned to the Nginx Deployment.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Nginx Deployment.

## Example Usage

```go 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 {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		examplePublicIp, err := network.NewPublicIp(ctx, "examplePublicIp", &network.PublicIpArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.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, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
			ResourceGroupName:  exampleResourceGroup.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, "exampleDeployment", &nginx.DeploymentArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Sku:                    pulumi.String("publicpreview_Monthly_gmz7xq9ge3py"),
			Location:               exampleResourceGroup.Location,
			ManagedResourceGroup:   pulumi.String("example"),
			DiagnoseSupportEnabled: pulumi.Bool(true),
			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
	})
}

```

## Import

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

```sh

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

```

func GetDeployment

func GetDeployment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeploymentState, opts ...pulumi.ResourceOption) (*Deployment, error)

GetDeployment gets an existing Deployment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeployment

func NewDeployment(ctx *pulumi.Context,
	name string, args *DeploymentArgs, opts ...pulumi.ResourceOption) (*Deployment, error)

NewDeployment registers a new resource with the given unique name, arguments, and options.

func (*Deployment) ElementType

func (*Deployment) ElementType() reflect.Type

func (*Deployment) ToDeploymentOutput

func (i *Deployment) ToDeploymentOutput() DeploymentOutput

func (*Deployment) ToDeploymentOutputWithContext

func (i *Deployment) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput

type DeploymentArgs

type DeploymentArgs struct {
	// 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](https://docs.nginx.com/nginxaas/azure/quickstart/scaling/)
	Capacity pulumi.IntPtrInput
	// Should the diagnosis support be enabled?
	DiagnoseSupportEnabled pulumi.BoolPtrInput
	// Specify the preferred support contact email address of the user used for sending alerts and notification.
	Email pulumi.StringPtrInput
	// One or more `frontendPrivate` blocks as defined below. Changing this forces a new Nginx Deployment to be created.
	FrontendPrivates DeploymentFrontendPrivateArrayInput
	// A `frontendPublic` block as defined below. Changing this forces a new Nginx Deployment to be created.
	FrontendPublic DeploymentFrontendPublicPtrInput
	// An `identity` block as defined below.
	Identity DeploymentIdentityPtrInput
	// The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.
	Location pulumi.StringPtrInput
	// One or more `loggingStorageAccount` blocks as defined below.
	LoggingStorageAccounts DeploymentLoggingStorageAccountArrayInput
	// Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.
	ManagedResourceGroup pulumi.StringPtrInput
	// The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.
	Name pulumi.StringPtrInput
	// One or more `networkInterface` blocks as defined below. Changing this forces a new Nginx Deployment to be created.
	NetworkInterfaces DeploymentNetworkInterfaceArrayInput
	// The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.
	ResourceGroupName pulumi.StringInput
	// Specify the Name of Nginx deployment SKU. The possible value are `publicpreview_Monthly_gmz7xq9ge3py` and `standard_Monthly`.
	Sku pulumi.StringInput
	// A mapping of tags which should be assigned to the Nginx Deployment.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Deployment resource.

func (DeploymentArgs) ElementType

func (DeploymentArgs) ElementType() reflect.Type

type DeploymentArray

type DeploymentArray []DeploymentInput

func (DeploymentArray) ElementType

func (DeploymentArray) ElementType() reflect.Type

func (DeploymentArray) ToDeploymentArrayOutput

func (i DeploymentArray) ToDeploymentArrayOutput() DeploymentArrayOutput

func (DeploymentArray) ToDeploymentArrayOutputWithContext

func (i DeploymentArray) ToDeploymentArrayOutputWithContext(ctx context.Context) DeploymentArrayOutput

type DeploymentArrayInput

type DeploymentArrayInput interface {
	pulumi.Input

	ToDeploymentArrayOutput() DeploymentArrayOutput
	ToDeploymentArrayOutputWithContext(context.Context) DeploymentArrayOutput
}

DeploymentArrayInput is an input type that accepts DeploymentArray and DeploymentArrayOutput values. You can construct a concrete instance of `DeploymentArrayInput` via:

DeploymentArray{ DeploymentArgs{...} }

type DeploymentArrayOutput

type DeploymentArrayOutput struct{ *pulumi.OutputState }

func (DeploymentArrayOutput) ElementType

func (DeploymentArrayOutput) ElementType() reflect.Type

func (DeploymentArrayOutput) Index

func (DeploymentArrayOutput) ToDeploymentArrayOutput

func (o DeploymentArrayOutput) ToDeploymentArrayOutput() DeploymentArrayOutput

func (DeploymentArrayOutput) ToDeploymentArrayOutputWithContext

func (o DeploymentArrayOutput) ToDeploymentArrayOutputWithContext(ctx context.Context) DeploymentArrayOutput

type DeploymentFrontendPrivate

type DeploymentFrontendPrivate struct {
	// Specify the methos of allocating the private IP. Possible values are `Static` and `Dynamic`.
	AllocationMethod string `pulumi:"allocationMethod"`
	// Specify the IP Address of this private IP.
	IpAddress string `pulumi:"ipAddress"`
	// Specify the SubNet Resource ID to this Nginx Deployment.
	SubnetId string `pulumi:"subnetId"`
}

type DeploymentFrontendPrivateArgs

type DeploymentFrontendPrivateArgs struct {
	// Specify the methos of allocating the private IP. Possible values are `Static` and `Dynamic`.
	AllocationMethod pulumi.StringInput `pulumi:"allocationMethod"`
	// Specify the IP Address of this private IP.
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// Specify the SubNet Resource ID to this Nginx Deployment.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (DeploymentFrontendPrivateArgs) ElementType

func (DeploymentFrontendPrivateArgs) ToDeploymentFrontendPrivateOutput

func (i DeploymentFrontendPrivateArgs) ToDeploymentFrontendPrivateOutput() DeploymentFrontendPrivateOutput

func (DeploymentFrontendPrivateArgs) ToDeploymentFrontendPrivateOutputWithContext

func (i DeploymentFrontendPrivateArgs) ToDeploymentFrontendPrivateOutputWithContext(ctx context.Context) DeploymentFrontendPrivateOutput

type DeploymentFrontendPrivateArray

type DeploymentFrontendPrivateArray []DeploymentFrontendPrivateInput

func (DeploymentFrontendPrivateArray) ElementType

func (DeploymentFrontendPrivateArray) ToDeploymentFrontendPrivateArrayOutput

func (i DeploymentFrontendPrivateArray) ToDeploymentFrontendPrivateArrayOutput() DeploymentFrontendPrivateArrayOutput

func (DeploymentFrontendPrivateArray) ToDeploymentFrontendPrivateArrayOutputWithContext

func (i DeploymentFrontendPrivateArray) ToDeploymentFrontendPrivateArrayOutputWithContext(ctx context.Context) DeploymentFrontendPrivateArrayOutput

type DeploymentFrontendPrivateArrayInput

type DeploymentFrontendPrivateArrayInput interface {
	pulumi.Input

	ToDeploymentFrontendPrivateArrayOutput() DeploymentFrontendPrivateArrayOutput
	ToDeploymentFrontendPrivateArrayOutputWithContext(context.Context) DeploymentFrontendPrivateArrayOutput
}

DeploymentFrontendPrivateArrayInput is an input type that accepts DeploymentFrontendPrivateArray and DeploymentFrontendPrivateArrayOutput values. You can construct a concrete instance of `DeploymentFrontendPrivateArrayInput` via:

DeploymentFrontendPrivateArray{ DeploymentFrontendPrivateArgs{...} }

type DeploymentFrontendPrivateArrayOutput

type DeploymentFrontendPrivateArrayOutput struct{ *pulumi.OutputState }

func (DeploymentFrontendPrivateArrayOutput) ElementType

func (DeploymentFrontendPrivateArrayOutput) Index

func (DeploymentFrontendPrivateArrayOutput) ToDeploymentFrontendPrivateArrayOutput

func (o DeploymentFrontendPrivateArrayOutput) ToDeploymentFrontendPrivateArrayOutput() DeploymentFrontendPrivateArrayOutput

func (DeploymentFrontendPrivateArrayOutput) ToDeploymentFrontendPrivateArrayOutputWithContext

func (o DeploymentFrontendPrivateArrayOutput) ToDeploymentFrontendPrivateArrayOutputWithContext(ctx context.Context) DeploymentFrontendPrivateArrayOutput

type DeploymentFrontendPrivateInput

type DeploymentFrontendPrivateInput interface {
	pulumi.Input

	ToDeploymentFrontendPrivateOutput() DeploymentFrontendPrivateOutput
	ToDeploymentFrontendPrivateOutputWithContext(context.Context) DeploymentFrontendPrivateOutput
}

DeploymentFrontendPrivateInput is an input type that accepts DeploymentFrontendPrivateArgs and DeploymentFrontendPrivateOutput values. You can construct a concrete instance of `DeploymentFrontendPrivateInput` via:

DeploymentFrontendPrivateArgs{...}

type DeploymentFrontendPrivateOutput

type DeploymentFrontendPrivateOutput struct{ *pulumi.OutputState }

func (DeploymentFrontendPrivateOutput) AllocationMethod

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

func (DeploymentFrontendPrivateOutput) ElementType

func (DeploymentFrontendPrivateOutput) IpAddress

Specify the IP Address of this private IP.

func (DeploymentFrontendPrivateOutput) SubnetId

Specify the SubNet Resource ID to this Nginx Deployment.

func (DeploymentFrontendPrivateOutput) ToDeploymentFrontendPrivateOutput

func (o DeploymentFrontendPrivateOutput) ToDeploymentFrontendPrivateOutput() DeploymentFrontendPrivateOutput

func (DeploymentFrontendPrivateOutput) ToDeploymentFrontendPrivateOutputWithContext

func (o DeploymentFrontendPrivateOutput) ToDeploymentFrontendPrivateOutputWithContext(ctx context.Context) DeploymentFrontendPrivateOutput

type DeploymentFrontendPublic

type DeploymentFrontendPublic struct {
	// Specifies a list of Public IP Resouce ID to this Nginx Deployment.
	IpAddresses []string `pulumi:"ipAddresses"`
}

type DeploymentFrontendPublicArgs

type DeploymentFrontendPublicArgs struct {
	// Specifies a list of Public IP Resouce ID to this Nginx Deployment.
	IpAddresses pulumi.StringArrayInput `pulumi:"ipAddresses"`
}

func (DeploymentFrontendPublicArgs) ElementType

func (DeploymentFrontendPublicArgs) ToDeploymentFrontendPublicOutput

func (i DeploymentFrontendPublicArgs) ToDeploymentFrontendPublicOutput() DeploymentFrontendPublicOutput

func (DeploymentFrontendPublicArgs) ToDeploymentFrontendPublicOutputWithContext

func (i DeploymentFrontendPublicArgs) ToDeploymentFrontendPublicOutputWithContext(ctx context.Context) DeploymentFrontendPublicOutput

func (DeploymentFrontendPublicArgs) ToDeploymentFrontendPublicPtrOutput

func (i DeploymentFrontendPublicArgs) ToDeploymentFrontendPublicPtrOutput() DeploymentFrontendPublicPtrOutput

func (DeploymentFrontendPublicArgs) ToDeploymentFrontendPublicPtrOutputWithContext

func (i DeploymentFrontendPublicArgs) ToDeploymentFrontendPublicPtrOutputWithContext(ctx context.Context) DeploymentFrontendPublicPtrOutput

type DeploymentFrontendPublicInput

type DeploymentFrontendPublicInput interface {
	pulumi.Input

	ToDeploymentFrontendPublicOutput() DeploymentFrontendPublicOutput
	ToDeploymentFrontendPublicOutputWithContext(context.Context) DeploymentFrontendPublicOutput
}

DeploymentFrontendPublicInput is an input type that accepts DeploymentFrontendPublicArgs and DeploymentFrontendPublicOutput values. You can construct a concrete instance of `DeploymentFrontendPublicInput` via:

DeploymentFrontendPublicArgs{...}

type DeploymentFrontendPublicOutput

type DeploymentFrontendPublicOutput struct{ *pulumi.OutputState }

func (DeploymentFrontendPublicOutput) ElementType

func (DeploymentFrontendPublicOutput) IpAddresses

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

func (DeploymentFrontendPublicOutput) ToDeploymentFrontendPublicOutput

func (o DeploymentFrontendPublicOutput) ToDeploymentFrontendPublicOutput() DeploymentFrontendPublicOutput

func (DeploymentFrontendPublicOutput) ToDeploymentFrontendPublicOutputWithContext

func (o DeploymentFrontendPublicOutput) ToDeploymentFrontendPublicOutputWithContext(ctx context.Context) DeploymentFrontendPublicOutput

func (DeploymentFrontendPublicOutput) ToDeploymentFrontendPublicPtrOutput

func (o DeploymentFrontendPublicOutput) ToDeploymentFrontendPublicPtrOutput() DeploymentFrontendPublicPtrOutput

func (DeploymentFrontendPublicOutput) ToDeploymentFrontendPublicPtrOutputWithContext

func (o DeploymentFrontendPublicOutput) ToDeploymentFrontendPublicPtrOutputWithContext(ctx context.Context) DeploymentFrontendPublicPtrOutput

type DeploymentFrontendPublicPtrInput

type DeploymentFrontendPublicPtrInput interface {
	pulumi.Input

	ToDeploymentFrontendPublicPtrOutput() DeploymentFrontendPublicPtrOutput
	ToDeploymentFrontendPublicPtrOutputWithContext(context.Context) DeploymentFrontendPublicPtrOutput
}

DeploymentFrontendPublicPtrInput is an input type that accepts DeploymentFrontendPublicArgs, DeploymentFrontendPublicPtr and DeploymentFrontendPublicPtrOutput values. You can construct a concrete instance of `DeploymentFrontendPublicPtrInput` via:

        DeploymentFrontendPublicArgs{...}

or:

        nil

type DeploymentFrontendPublicPtrOutput

type DeploymentFrontendPublicPtrOutput struct{ *pulumi.OutputState }

func (DeploymentFrontendPublicPtrOutput) Elem

func (DeploymentFrontendPublicPtrOutput) ElementType

func (DeploymentFrontendPublicPtrOutput) IpAddresses

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

func (DeploymentFrontendPublicPtrOutput) ToDeploymentFrontendPublicPtrOutput

func (o DeploymentFrontendPublicPtrOutput) ToDeploymentFrontendPublicPtrOutput() DeploymentFrontendPublicPtrOutput

func (DeploymentFrontendPublicPtrOutput) ToDeploymentFrontendPublicPtrOutputWithContext

func (o DeploymentFrontendPublicPtrOutput) ToDeploymentFrontendPublicPtrOutputWithContext(ctx context.Context) DeploymentFrontendPublicPtrOutput

type DeploymentIdentity

type DeploymentIdentity struct {
	// Specifies a list of user managed identity ids to be assigned. Required if `type` is `UserAssigned`.
	IdentityIds []string `pulumi:"identityIds"`
	PrincipalId *string  `pulumi:"principalId"`
	TenantId    *string  `pulumi:"tenantId"`
	// Specifies the identity type of the Nginx Deployment. Possible values is `UserAssigned` where you can specify the Service Principal IDs in the `identityIds` field.
	Type string `pulumi:"type"`
}

type DeploymentIdentityArgs

type DeploymentIdentityArgs struct {
	// Specifies a list of user managed identity ids to be assigned. Required if `type` is `UserAssigned`.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	PrincipalId pulumi.StringPtrInput   `pulumi:"principalId"`
	TenantId    pulumi.StringPtrInput   `pulumi:"tenantId"`
	// Specifies the identity type of the Nginx Deployment. Possible values is `UserAssigned` where you can specify the Service Principal IDs in the `identityIds` field.
	Type pulumi.StringInput `pulumi:"type"`
}

func (DeploymentIdentityArgs) ElementType

func (DeploymentIdentityArgs) ElementType() reflect.Type

func (DeploymentIdentityArgs) ToDeploymentIdentityOutput

func (i DeploymentIdentityArgs) ToDeploymentIdentityOutput() DeploymentIdentityOutput

func (DeploymentIdentityArgs) ToDeploymentIdentityOutputWithContext

func (i DeploymentIdentityArgs) ToDeploymentIdentityOutputWithContext(ctx context.Context) DeploymentIdentityOutput

func (DeploymentIdentityArgs) ToDeploymentIdentityPtrOutput

func (i DeploymentIdentityArgs) ToDeploymentIdentityPtrOutput() DeploymentIdentityPtrOutput

func (DeploymentIdentityArgs) ToDeploymentIdentityPtrOutputWithContext

func (i DeploymentIdentityArgs) ToDeploymentIdentityPtrOutputWithContext(ctx context.Context) DeploymentIdentityPtrOutput

type DeploymentIdentityInput

type DeploymentIdentityInput interface {
	pulumi.Input

	ToDeploymentIdentityOutput() DeploymentIdentityOutput
	ToDeploymentIdentityOutputWithContext(context.Context) DeploymentIdentityOutput
}

DeploymentIdentityInput is an input type that accepts DeploymentIdentityArgs and DeploymentIdentityOutput values. You can construct a concrete instance of `DeploymentIdentityInput` via:

DeploymentIdentityArgs{...}

type DeploymentIdentityOutput

type DeploymentIdentityOutput struct{ *pulumi.OutputState }

func (DeploymentIdentityOutput) ElementType

func (DeploymentIdentityOutput) ElementType() reflect.Type

func (DeploymentIdentityOutput) IdentityIds

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

func (DeploymentIdentityOutput) PrincipalId

func (DeploymentIdentityOutput) TenantId

func (DeploymentIdentityOutput) ToDeploymentIdentityOutput

func (o DeploymentIdentityOutput) ToDeploymentIdentityOutput() DeploymentIdentityOutput

func (DeploymentIdentityOutput) ToDeploymentIdentityOutputWithContext

func (o DeploymentIdentityOutput) ToDeploymentIdentityOutputWithContext(ctx context.Context) DeploymentIdentityOutput

func (DeploymentIdentityOutput) ToDeploymentIdentityPtrOutput

func (o DeploymentIdentityOutput) ToDeploymentIdentityPtrOutput() DeploymentIdentityPtrOutput

func (DeploymentIdentityOutput) ToDeploymentIdentityPtrOutputWithContext

func (o DeploymentIdentityOutput) ToDeploymentIdentityPtrOutputWithContext(ctx context.Context) DeploymentIdentityPtrOutput

func (DeploymentIdentityOutput) Type

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

type DeploymentIdentityPtrInput

type DeploymentIdentityPtrInput interface {
	pulumi.Input

	ToDeploymentIdentityPtrOutput() DeploymentIdentityPtrOutput
	ToDeploymentIdentityPtrOutputWithContext(context.Context) DeploymentIdentityPtrOutput
}

DeploymentIdentityPtrInput is an input type that accepts DeploymentIdentityArgs, DeploymentIdentityPtr and DeploymentIdentityPtrOutput values. You can construct a concrete instance of `DeploymentIdentityPtrInput` via:

        DeploymentIdentityArgs{...}

or:

        nil

type DeploymentIdentityPtrOutput

type DeploymentIdentityPtrOutput struct{ *pulumi.OutputState }

func (DeploymentIdentityPtrOutput) Elem

func (DeploymentIdentityPtrOutput) ElementType

func (DeploymentIdentityPtrOutput) IdentityIds

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

func (DeploymentIdentityPtrOutput) PrincipalId

func (DeploymentIdentityPtrOutput) TenantId

func (DeploymentIdentityPtrOutput) ToDeploymentIdentityPtrOutput

func (o DeploymentIdentityPtrOutput) ToDeploymentIdentityPtrOutput() DeploymentIdentityPtrOutput

func (DeploymentIdentityPtrOutput) ToDeploymentIdentityPtrOutputWithContext

func (o DeploymentIdentityPtrOutput) ToDeploymentIdentityPtrOutputWithContext(ctx context.Context) DeploymentIdentityPtrOutput

func (DeploymentIdentityPtrOutput) Type

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

type DeploymentInput

type DeploymentInput interface {
	pulumi.Input

	ToDeploymentOutput() DeploymentOutput
	ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput
}

type DeploymentLoggingStorageAccount

type DeploymentLoggingStorageAccount struct {
	// Specify the container name of Stoage Account for logging.
	ContainerName *string `pulumi:"containerName"`
	// The account name of the StorageAccount for Nginx Logging.
	Name *string `pulumi:"name"`
}

type DeploymentLoggingStorageAccountArgs

type DeploymentLoggingStorageAccountArgs struct {
	// Specify the container name of Stoage Account for logging.
	ContainerName pulumi.StringPtrInput `pulumi:"containerName"`
	// The account name of the StorageAccount for Nginx Logging.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (DeploymentLoggingStorageAccountArgs) ElementType

func (DeploymentLoggingStorageAccountArgs) ToDeploymentLoggingStorageAccountOutput

func (i DeploymentLoggingStorageAccountArgs) ToDeploymentLoggingStorageAccountOutput() DeploymentLoggingStorageAccountOutput

func (DeploymentLoggingStorageAccountArgs) ToDeploymentLoggingStorageAccountOutputWithContext

func (i DeploymentLoggingStorageAccountArgs) ToDeploymentLoggingStorageAccountOutputWithContext(ctx context.Context) DeploymentLoggingStorageAccountOutput

type DeploymentLoggingStorageAccountArray

type DeploymentLoggingStorageAccountArray []DeploymentLoggingStorageAccountInput

func (DeploymentLoggingStorageAccountArray) ElementType

func (DeploymentLoggingStorageAccountArray) ToDeploymentLoggingStorageAccountArrayOutput

func (i DeploymentLoggingStorageAccountArray) ToDeploymentLoggingStorageAccountArrayOutput() DeploymentLoggingStorageAccountArrayOutput

func (DeploymentLoggingStorageAccountArray) ToDeploymentLoggingStorageAccountArrayOutputWithContext

func (i DeploymentLoggingStorageAccountArray) ToDeploymentLoggingStorageAccountArrayOutputWithContext(ctx context.Context) DeploymentLoggingStorageAccountArrayOutput

type DeploymentLoggingStorageAccountArrayInput

type DeploymentLoggingStorageAccountArrayInput interface {
	pulumi.Input

	ToDeploymentLoggingStorageAccountArrayOutput() DeploymentLoggingStorageAccountArrayOutput
	ToDeploymentLoggingStorageAccountArrayOutputWithContext(context.Context) DeploymentLoggingStorageAccountArrayOutput
}

DeploymentLoggingStorageAccountArrayInput is an input type that accepts DeploymentLoggingStorageAccountArray and DeploymentLoggingStorageAccountArrayOutput values. You can construct a concrete instance of `DeploymentLoggingStorageAccountArrayInput` via:

DeploymentLoggingStorageAccountArray{ DeploymentLoggingStorageAccountArgs{...} }

type DeploymentLoggingStorageAccountArrayOutput

type DeploymentLoggingStorageAccountArrayOutput struct{ *pulumi.OutputState }

func (DeploymentLoggingStorageAccountArrayOutput) ElementType

func (DeploymentLoggingStorageAccountArrayOutput) Index

func (DeploymentLoggingStorageAccountArrayOutput) ToDeploymentLoggingStorageAccountArrayOutput

func (o DeploymentLoggingStorageAccountArrayOutput) ToDeploymentLoggingStorageAccountArrayOutput() DeploymentLoggingStorageAccountArrayOutput

func (DeploymentLoggingStorageAccountArrayOutput) ToDeploymentLoggingStorageAccountArrayOutputWithContext

func (o DeploymentLoggingStorageAccountArrayOutput) ToDeploymentLoggingStorageAccountArrayOutputWithContext(ctx context.Context) DeploymentLoggingStorageAccountArrayOutput

type DeploymentLoggingStorageAccountInput

type DeploymentLoggingStorageAccountInput interface {
	pulumi.Input

	ToDeploymentLoggingStorageAccountOutput() DeploymentLoggingStorageAccountOutput
	ToDeploymentLoggingStorageAccountOutputWithContext(context.Context) DeploymentLoggingStorageAccountOutput
}

DeploymentLoggingStorageAccountInput is an input type that accepts DeploymentLoggingStorageAccountArgs and DeploymentLoggingStorageAccountOutput values. You can construct a concrete instance of `DeploymentLoggingStorageAccountInput` via:

DeploymentLoggingStorageAccountArgs{...}

type DeploymentLoggingStorageAccountOutput

type DeploymentLoggingStorageAccountOutput struct{ *pulumi.OutputState }

func (DeploymentLoggingStorageAccountOutput) ContainerName

Specify the container name of Stoage Account for logging.

func (DeploymentLoggingStorageAccountOutput) ElementType

func (DeploymentLoggingStorageAccountOutput) Name

The account name of the StorageAccount for Nginx Logging.

func (DeploymentLoggingStorageAccountOutput) ToDeploymentLoggingStorageAccountOutput

func (o DeploymentLoggingStorageAccountOutput) ToDeploymentLoggingStorageAccountOutput() DeploymentLoggingStorageAccountOutput

func (DeploymentLoggingStorageAccountOutput) ToDeploymentLoggingStorageAccountOutputWithContext

func (o DeploymentLoggingStorageAccountOutput) ToDeploymentLoggingStorageAccountOutputWithContext(ctx context.Context) DeploymentLoggingStorageAccountOutput

type DeploymentMap

type DeploymentMap map[string]DeploymentInput

func (DeploymentMap) ElementType

func (DeploymentMap) ElementType() reflect.Type

func (DeploymentMap) ToDeploymentMapOutput

func (i DeploymentMap) ToDeploymentMapOutput() DeploymentMapOutput

func (DeploymentMap) ToDeploymentMapOutputWithContext

func (i DeploymentMap) ToDeploymentMapOutputWithContext(ctx context.Context) DeploymentMapOutput

type DeploymentMapInput

type DeploymentMapInput interface {
	pulumi.Input

	ToDeploymentMapOutput() DeploymentMapOutput
	ToDeploymentMapOutputWithContext(context.Context) DeploymentMapOutput
}

DeploymentMapInput is an input type that accepts DeploymentMap and DeploymentMapOutput values. You can construct a concrete instance of `DeploymentMapInput` via:

DeploymentMap{ "key": DeploymentArgs{...} }

type DeploymentMapOutput

type DeploymentMapOutput struct{ *pulumi.OutputState }

func (DeploymentMapOutput) ElementType

func (DeploymentMapOutput) ElementType() reflect.Type

func (DeploymentMapOutput) MapIndex

func (DeploymentMapOutput) ToDeploymentMapOutput

func (o DeploymentMapOutput) ToDeploymentMapOutput() DeploymentMapOutput

func (DeploymentMapOutput) ToDeploymentMapOutputWithContext

func (o DeploymentMapOutput) ToDeploymentMapOutputWithContext(ctx context.Context) DeploymentMapOutput

type DeploymentNetworkInterface

type DeploymentNetworkInterface struct {
	// Specify The SubNet Resource ID to this Nginx Deployment.
	SubnetId string `pulumi:"subnetId"`
}

type DeploymentNetworkInterfaceArgs

type DeploymentNetworkInterfaceArgs struct {
	// Specify The SubNet Resource ID to this Nginx Deployment.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
}

func (DeploymentNetworkInterfaceArgs) ElementType

func (DeploymentNetworkInterfaceArgs) ToDeploymentNetworkInterfaceOutput

func (i DeploymentNetworkInterfaceArgs) ToDeploymentNetworkInterfaceOutput() DeploymentNetworkInterfaceOutput

func (DeploymentNetworkInterfaceArgs) ToDeploymentNetworkInterfaceOutputWithContext

func (i DeploymentNetworkInterfaceArgs) ToDeploymentNetworkInterfaceOutputWithContext(ctx context.Context) DeploymentNetworkInterfaceOutput

type DeploymentNetworkInterfaceArray

type DeploymentNetworkInterfaceArray []DeploymentNetworkInterfaceInput

func (DeploymentNetworkInterfaceArray) ElementType

func (DeploymentNetworkInterfaceArray) ToDeploymentNetworkInterfaceArrayOutput

func (i DeploymentNetworkInterfaceArray) ToDeploymentNetworkInterfaceArrayOutput() DeploymentNetworkInterfaceArrayOutput

func (DeploymentNetworkInterfaceArray) ToDeploymentNetworkInterfaceArrayOutputWithContext

func (i DeploymentNetworkInterfaceArray) ToDeploymentNetworkInterfaceArrayOutputWithContext(ctx context.Context) DeploymentNetworkInterfaceArrayOutput

type DeploymentNetworkInterfaceArrayInput

type DeploymentNetworkInterfaceArrayInput interface {
	pulumi.Input

	ToDeploymentNetworkInterfaceArrayOutput() DeploymentNetworkInterfaceArrayOutput
	ToDeploymentNetworkInterfaceArrayOutputWithContext(context.Context) DeploymentNetworkInterfaceArrayOutput
}

DeploymentNetworkInterfaceArrayInput is an input type that accepts DeploymentNetworkInterfaceArray and DeploymentNetworkInterfaceArrayOutput values. You can construct a concrete instance of `DeploymentNetworkInterfaceArrayInput` via:

DeploymentNetworkInterfaceArray{ DeploymentNetworkInterfaceArgs{...} }

type DeploymentNetworkInterfaceArrayOutput

type DeploymentNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }

func (DeploymentNetworkInterfaceArrayOutput) ElementType

func (DeploymentNetworkInterfaceArrayOutput) Index

func (DeploymentNetworkInterfaceArrayOutput) ToDeploymentNetworkInterfaceArrayOutput

func (o DeploymentNetworkInterfaceArrayOutput) ToDeploymentNetworkInterfaceArrayOutput() DeploymentNetworkInterfaceArrayOutput

func (DeploymentNetworkInterfaceArrayOutput) ToDeploymentNetworkInterfaceArrayOutputWithContext

func (o DeploymentNetworkInterfaceArrayOutput) ToDeploymentNetworkInterfaceArrayOutputWithContext(ctx context.Context) DeploymentNetworkInterfaceArrayOutput

type DeploymentNetworkInterfaceInput

type DeploymentNetworkInterfaceInput interface {
	pulumi.Input

	ToDeploymentNetworkInterfaceOutput() DeploymentNetworkInterfaceOutput
	ToDeploymentNetworkInterfaceOutputWithContext(context.Context) DeploymentNetworkInterfaceOutput
}

DeploymentNetworkInterfaceInput is an input type that accepts DeploymentNetworkInterfaceArgs and DeploymentNetworkInterfaceOutput values. You can construct a concrete instance of `DeploymentNetworkInterfaceInput` via:

DeploymentNetworkInterfaceArgs{...}

type DeploymentNetworkInterfaceOutput

type DeploymentNetworkInterfaceOutput struct{ *pulumi.OutputState }

func (DeploymentNetworkInterfaceOutput) ElementType

func (DeploymentNetworkInterfaceOutput) SubnetId

Specify The SubNet Resource ID to this Nginx Deployment.

func (DeploymentNetworkInterfaceOutput) ToDeploymentNetworkInterfaceOutput

func (o DeploymentNetworkInterfaceOutput) ToDeploymentNetworkInterfaceOutput() DeploymentNetworkInterfaceOutput

func (DeploymentNetworkInterfaceOutput) ToDeploymentNetworkInterfaceOutputWithContext

func (o DeploymentNetworkInterfaceOutput) ToDeploymentNetworkInterfaceOutputWithContext(ctx context.Context) DeploymentNetworkInterfaceOutput

type DeploymentOutput

type DeploymentOutput struct{ *pulumi.OutputState }

func (DeploymentOutput) Capacity added in v5.53.0

func (o DeploymentOutput) Capacity() pulumi.IntPtrOutput

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](https://docs.nginx.com/nginxaas/azure/quickstart/scaling/)

func (DeploymentOutput) DiagnoseSupportEnabled

func (o DeploymentOutput) DiagnoseSupportEnabled() pulumi.BoolPtrOutput

Should the diagnosis support be enabled?

func (DeploymentOutput) ElementType

func (DeploymentOutput) ElementType() reflect.Type

func (DeploymentOutput) Email added in v5.53.0

Specify the preferred support contact email address of the user used for sending alerts and notification.

func (DeploymentOutput) FrontendPrivates

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

func (DeploymentOutput) FrontendPublic

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

func (DeploymentOutput) Identity

An `identity` block as defined below.

func (DeploymentOutput) IpAddress

func (o DeploymentOutput) IpAddress() pulumi.StringOutput

Specify the IP Address of this private IP.

func (DeploymentOutput) Location

func (o DeploymentOutput) Location() pulumi.StringOutput

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

func (DeploymentOutput) LoggingStorageAccounts

One or more `loggingStorageAccount` blocks as defined below.

func (DeploymentOutput) ManagedResourceGroup

func (o DeploymentOutput) ManagedResourceGroup() pulumi.StringOutput

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

func (DeploymentOutput) Name

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

func (DeploymentOutput) NetworkInterfaces

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

func (DeploymentOutput) NginxVersion

func (o DeploymentOutput) NginxVersion() pulumi.StringOutput

The version of deployed nginx.

func (DeploymentOutput) ResourceGroupName

func (o DeploymentOutput) ResourceGroupName() pulumi.StringOutput

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

func (DeploymentOutput) Sku

Specify the Name of Nginx deployment SKU. The possible value are `publicpreview_Monthly_gmz7xq9ge3py` and `standard_Monthly`.

func (DeploymentOutput) Tags

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

func (DeploymentOutput) ToDeploymentOutput

func (o DeploymentOutput) ToDeploymentOutput() DeploymentOutput

func (DeploymentOutput) ToDeploymentOutputWithContext

func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput

type DeploymentState

type DeploymentState struct {
	// 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](https://docs.nginx.com/nginxaas/azure/quickstart/scaling/)
	Capacity pulumi.IntPtrInput
	// Should the diagnosis support be enabled?
	DiagnoseSupportEnabled pulumi.BoolPtrInput
	// Specify the preferred support contact email address of the user used for sending alerts and notification.
	Email pulumi.StringPtrInput
	// One or more `frontendPrivate` blocks as defined below. Changing this forces a new Nginx Deployment to be created.
	FrontendPrivates DeploymentFrontendPrivateArrayInput
	// A `frontendPublic` block as defined below. Changing this forces a new Nginx Deployment to be created.
	FrontendPublic DeploymentFrontendPublicPtrInput
	// An `identity` block as defined below.
	Identity DeploymentIdentityPtrInput
	// Specify the IP Address of this private IP.
	IpAddress pulumi.StringPtrInput
	// The Azure Region where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.
	Location pulumi.StringPtrInput
	// One or more `loggingStorageAccount` blocks as defined below.
	LoggingStorageAccounts DeploymentLoggingStorageAccountArrayInput
	// Specify the managed resource group to deploy VNet injection related network resources. Changing this forces a new Nginx Deployment to be created.
	ManagedResourceGroup pulumi.StringPtrInput
	// The name which should be used for this Nginx Deployment. Changing this forces a new Nginx Deployment to be created.
	Name pulumi.StringPtrInput
	// One or more `networkInterface` blocks as defined below. Changing this forces a new Nginx Deployment to be created.
	NetworkInterfaces DeploymentNetworkInterfaceArrayInput
	// The version of deployed nginx.
	NginxVersion pulumi.StringPtrInput
	// The name of the Resource Group where the Nginx Deployment should exist. Changing this forces a new Nginx Deployment to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Specify the Name of Nginx deployment SKU. The possible value are `publicpreview_Monthly_gmz7xq9ge3py` and `standard_Monthly`.
	Sku pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Nginx Deployment.
	Tags pulumi.StringMapInput
}

func (DeploymentState) ElementType

func (DeploymentState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL