relay

package
v4.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 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 HybridConnection

type HybridConnection struct {
	pulumi.CustomResourceState

	// Specifies the name of the Azure Relay Hybrid Connection. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Azure Relay in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created.
	RelayNamespaceName pulumi.StringOutput `pulumi:"relayNamespaceName"`
	// Specify if client authorization is needed for this hybrid connection. True by default. Changing this forces a new resource to be created.
	RequiresClientAuthorization pulumi.BoolPtrOutput `pulumi:"requiresClientAuthorization"`
	// The name of the resource group in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored.
	UserMetadata pulumi.StringPtrOutput `pulumi:"userMetadata"`
}

Manages an Azure Relay Hybrid Connection.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/relay"
"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
		}
		exampleNamespace, err := relay.NewNamespace(ctx, "exampleNamespace", &relay.NamespaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Standard"),
			Tags: pulumi.StringMap{
				"source": pulumi.String("managed"),
			},
		})
		if err != nil {
			return err
		}
		_, err = relay.NewHybridConnection(ctx, "exampleHybridConnection", &relay.HybridConnectionArgs{
			ResourceGroupName:           exampleResourceGroup.Name,
			RelayNamespaceName:          exampleNamespace.Name,
			RequiresClientAuthorization: pulumi.Bool(false),
			UserMetadata:                pulumi.String("testmetadata"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Relay Hybrid Connection's can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:relay/hybridConnection:HybridConnection relay1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Relay/namespaces/relay1/hybridConnections/hconn1

```

func GetHybridConnection

func GetHybridConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HybridConnectionState, opts ...pulumi.ResourceOption) (*HybridConnection, error)

GetHybridConnection gets an existing HybridConnection 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 NewHybridConnection

func NewHybridConnection(ctx *pulumi.Context,
	name string, args *HybridConnectionArgs, opts ...pulumi.ResourceOption) (*HybridConnection, error)

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

func (*HybridConnection) ElementType

func (*HybridConnection) ElementType() reflect.Type

func (*HybridConnection) ToHybridConnectionOutput

func (i *HybridConnection) ToHybridConnectionOutput() HybridConnectionOutput

func (*HybridConnection) ToHybridConnectionOutputWithContext

func (i *HybridConnection) ToHybridConnectionOutputWithContext(ctx context.Context) HybridConnectionOutput

func (*HybridConnection) ToHybridConnectionPtrOutput

func (i *HybridConnection) ToHybridConnectionPtrOutput() HybridConnectionPtrOutput

func (*HybridConnection) ToHybridConnectionPtrOutputWithContext

func (i *HybridConnection) ToHybridConnectionPtrOutputWithContext(ctx context.Context) HybridConnectionPtrOutput

type HybridConnectionArgs

type HybridConnectionArgs struct {
	// Specifies the name of the Azure Relay Hybrid Connection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Azure Relay in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created.
	RelayNamespaceName pulumi.StringInput
	// Specify if client authorization is needed for this hybrid connection. True by default. Changing this forces a new resource to be created.
	RequiresClientAuthorization pulumi.BoolPtrInput
	// The name of the resource group in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored.
	UserMetadata pulumi.StringPtrInput
}

The set of arguments for constructing a HybridConnection resource.

func (HybridConnectionArgs) ElementType

func (HybridConnectionArgs) ElementType() reflect.Type

type HybridConnectionArray

type HybridConnectionArray []HybridConnectionInput

func (HybridConnectionArray) ElementType

func (HybridConnectionArray) ElementType() reflect.Type

func (HybridConnectionArray) ToHybridConnectionArrayOutput

func (i HybridConnectionArray) ToHybridConnectionArrayOutput() HybridConnectionArrayOutput

func (HybridConnectionArray) ToHybridConnectionArrayOutputWithContext

func (i HybridConnectionArray) ToHybridConnectionArrayOutputWithContext(ctx context.Context) HybridConnectionArrayOutput

type HybridConnectionArrayInput

type HybridConnectionArrayInput interface {
	pulumi.Input

	ToHybridConnectionArrayOutput() HybridConnectionArrayOutput
	ToHybridConnectionArrayOutputWithContext(context.Context) HybridConnectionArrayOutput
}

HybridConnectionArrayInput is an input type that accepts HybridConnectionArray and HybridConnectionArrayOutput values. You can construct a concrete instance of `HybridConnectionArrayInput` via:

HybridConnectionArray{ HybridConnectionArgs{...} }

type HybridConnectionArrayOutput

type HybridConnectionArrayOutput struct{ *pulumi.OutputState }

func (HybridConnectionArrayOutput) ElementType

func (HybridConnectionArrayOutput) Index

func (HybridConnectionArrayOutput) ToHybridConnectionArrayOutput

func (o HybridConnectionArrayOutput) ToHybridConnectionArrayOutput() HybridConnectionArrayOutput

func (HybridConnectionArrayOutput) ToHybridConnectionArrayOutputWithContext

func (o HybridConnectionArrayOutput) ToHybridConnectionArrayOutputWithContext(ctx context.Context) HybridConnectionArrayOutput

type HybridConnectionAuthorizationRule added in v4.16.0

type HybridConnectionAuthorizationRule struct {
	pulumi.CustomResourceState

	// Name of the Azure Relay Hybrid Connection for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
	HybridConnectionName pulumi.StringOutput `pulumi:"hybridConnectionName"`
	// Grants listen access to this Authorization Rule. Defaults to `false`.
	Listen pulumi.BoolPtrOutput `pulumi:"listen"`
	// Grants manage access to this Authorization Rule. When this property is `true` - both `listen` and `send` must be set to `true` too. Defaults to `false`.
	Manage pulumi.BoolPtrOutput `pulumi:"manage"`
	// The name which should be used for this Azure Relay Hybrid Connection Authorization Rule. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Name of the Azure Relay Namespace for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
	NamespaceName pulumi.StringOutput `pulumi:"namespaceName"`
	// The Primary Connection String for the Azure Relay Hybrid Connection Authorization Rule.
	PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"`
	// The Primary Key for the Azure Relay Hybrid Connection Authorization Rule.
	PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"`
	// The name of the Resource Group where the Azure Relay Hybrid Connection Authorization Rule should exist. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The Secondary Connection String for the Azure Relay Hybrid Connection Authorization Rule.
	SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"`
	// The Secondary Key for the Azure Relay Hybrid Connection Authorization Rule.
	SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"`
	// Grants send access to this Authorization Rule. Defaults to `false`.
	Send pulumi.BoolPtrOutput `pulumi:"send"`
}

Manages an Azure Relay Hybrid Connection Authorization Rule.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/relay"
"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
		}
		exampleNamespace, err := relay.NewNamespace(ctx, "exampleNamespace", &relay.NamespaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Standard"),
			Tags: pulumi.StringMap{
				"source": pulumi.String("terraform"),
			},
		})
		if err != nil {
			return err
		}
		exampleHybridConnection, err := relay.NewHybridConnection(ctx, "exampleHybridConnection", &relay.HybridConnectionArgs{
			ResourceGroupName:           exampleResourceGroup.Name,
			RelayNamespaceName:          exampleNamespace.Name,
			RequiresClientAuthorization: pulumi.Bool(false),
			UserMetadata:                pulumi.String("testmetadata"),
		})
		if err != nil {
			return err
		}
		_, err = relay.NewHybridConnectionAuthorizationRule(ctx, "exampleHybridConnectionAuthorizationRule", &relay.HybridConnectionAuthorizationRuleArgs{
			ResourceGroupName:    exampleResourceGroup.Name,
			HybridConnectionName: exampleHybridConnection.Name,
			NamespaceName:        exampleNamespace.Name,
			Listen:               pulumi.Bool(true),
			Send:                 pulumi.Bool(true),
			Manage:               pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Azure Relay Hybrid Connection Authorization Rules can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:relay/hybridConnectionAuthorizationRule:HybridConnectionAuthorizationRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Relay/namespaces/namespace1/hybridConnections/connection1/authorizationRules/rule1

```

func GetHybridConnectionAuthorizationRule added in v4.16.0

func GetHybridConnectionAuthorizationRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HybridConnectionAuthorizationRuleState, opts ...pulumi.ResourceOption) (*HybridConnectionAuthorizationRule, error)

GetHybridConnectionAuthorizationRule gets an existing HybridConnectionAuthorizationRule 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 NewHybridConnectionAuthorizationRule added in v4.16.0

func NewHybridConnectionAuthorizationRule(ctx *pulumi.Context,
	name string, args *HybridConnectionAuthorizationRuleArgs, opts ...pulumi.ResourceOption) (*HybridConnectionAuthorizationRule, error)

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

func (*HybridConnectionAuthorizationRule) ElementType added in v4.16.0

func (*HybridConnectionAuthorizationRule) ToHybridConnectionAuthorizationRuleOutput added in v4.16.0

func (i *HybridConnectionAuthorizationRule) ToHybridConnectionAuthorizationRuleOutput() HybridConnectionAuthorizationRuleOutput

func (*HybridConnectionAuthorizationRule) ToHybridConnectionAuthorizationRuleOutputWithContext added in v4.16.0

func (i *HybridConnectionAuthorizationRule) ToHybridConnectionAuthorizationRuleOutputWithContext(ctx context.Context) HybridConnectionAuthorizationRuleOutput

func (*HybridConnectionAuthorizationRule) ToHybridConnectionAuthorizationRulePtrOutput added in v4.16.0

func (i *HybridConnectionAuthorizationRule) ToHybridConnectionAuthorizationRulePtrOutput() HybridConnectionAuthorizationRulePtrOutput

func (*HybridConnectionAuthorizationRule) ToHybridConnectionAuthorizationRulePtrOutputWithContext added in v4.16.0

func (i *HybridConnectionAuthorizationRule) ToHybridConnectionAuthorizationRulePtrOutputWithContext(ctx context.Context) HybridConnectionAuthorizationRulePtrOutput

type HybridConnectionAuthorizationRuleArgs added in v4.16.0

type HybridConnectionAuthorizationRuleArgs struct {
	// Name of the Azure Relay Hybrid Connection for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
	HybridConnectionName pulumi.StringInput
	// Grants listen access to this Authorization Rule. Defaults to `false`.
	Listen pulumi.BoolPtrInput
	// Grants manage access to this Authorization Rule. When this property is `true` - both `listen` and `send` must be set to `true` too. Defaults to `false`.
	Manage pulumi.BoolPtrInput
	// The name which should be used for this Azure Relay Hybrid Connection Authorization Rule. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
	Name pulumi.StringPtrInput
	// Name of the Azure Relay Namespace for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
	NamespaceName pulumi.StringInput
	// The name of the Resource Group where the Azure Relay Hybrid Connection Authorization Rule should exist. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
	ResourceGroupName pulumi.StringInput
	// Grants send access to this Authorization Rule. Defaults to `false`.
	Send pulumi.BoolPtrInput
}

The set of arguments for constructing a HybridConnectionAuthorizationRule resource.

func (HybridConnectionAuthorizationRuleArgs) ElementType added in v4.16.0

type HybridConnectionAuthorizationRuleArray added in v4.16.0

type HybridConnectionAuthorizationRuleArray []HybridConnectionAuthorizationRuleInput

func (HybridConnectionAuthorizationRuleArray) ElementType added in v4.16.0

func (HybridConnectionAuthorizationRuleArray) ToHybridConnectionAuthorizationRuleArrayOutput added in v4.16.0

func (i HybridConnectionAuthorizationRuleArray) ToHybridConnectionAuthorizationRuleArrayOutput() HybridConnectionAuthorizationRuleArrayOutput

func (HybridConnectionAuthorizationRuleArray) ToHybridConnectionAuthorizationRuleArrayOutputWithContext added in v4.16.0

func (i HybridConnectionAuthorizationRuleArray) ToHybridConnectionAuthorizationRuleArrayOutputWithContext(ctx context.Context) HybridConnectionAuthorizationRuleArrayOutput

type HybridConnectionAuthorizationRuleArrayInput added in v4.16.0

type HybridConnectionAuthorizationRuleArrayInput interface {
	pulumi.Input

	ToHybridConnectionAuthorizationRuleArrayOutput() HybridConnectionAuthorizationRuleArrayOutput
	ToHybridConnectionAuthorizationRuleArrayOutputWithContext(context.Context) HybridConnectionAuthorizationRuleArrayOutput
}

HybridConnectionAuthorizationRuleArrayInput is an input type that accepts HybridConnectionAuthorizationRuleArray and HybridConnectionAuthorizationRuleArrayOutput values. You can construct a concrete instance of `HybridConnectionAuthorizationRuleArrayInput` via:

HybridConnectionAuthorizationRuleArray{ HybridConnectionAuthorizationRuleArgs{...} }

type HybridConnectionAuthorizationRuleArrayOutput added in v4.16.0

type HybridConnectionAuthorizationRuleArrayOutput struct{ *pulumi.OutputState }

func (HybridConnectionAuthorizationRuleArrayOutput) ElementType added in v4.16.0

func (HybridConnectionAuthorizationRuleArrayOutput) Index added in v4.16.0

func (HybridConnectionAuthorizationRuleArrayOutput) ToHybridConnectionAuthorizationRuleArrayOutput added in v4.16.0

func (o HybridConnectionAuthorizationRuleArrayOutput) ToHybridConnectionAuthorizationRuleArrayOutput() HybridConnectionAuthorizationRuleArrayOutput

func (HybridConnectionAuthorizationRuleArrayOutput) ToHybridConnectionAuthorizationRuleArrayOutputWithContext added in v4.16.0

func (o HybridConnectionAuthorizationRuleArrayOutput) ToHybridConnectionAuthorizationRuleArrayOutputWithContext(ctx context.Context) HybridConnectionAuthorizationRuleArrayOutput

type HybridConnectionAuthorizationRuleInput added in v4.16.0

type HybridConnectionAuthorizationRuleInput interface {
	pulumi.Input

	ToHybridConnectionAuthorizationRuleOutput() HybridConnectionAuthorizationRuleOutput
	ToHybridConnectionAuthorizationRuleOutputWithContext(ctx context.Context) HybridConnectionAuthorizationRuleOutput
}

type HybridConnectionAuthorizationRuleMap added in v4.16.0

type HybridConnectionAuthorizationRuleMap map[string]HybridConnectionAuthorizationRuleInput

func (HybridConnectionAuthorizationRuleMap) ElementType added in v4.16.0

func (HybridConnectionAuthorizationRuleMap) ToHybridConnectionAuthorizationRuleMapOutput added in v4.16.0

func (i HybridConnectionAuthorizationRuleMap) ToHybridConnectionAuthorizationRuleMapOutput() HybridConnectionAuthorizationRuleMapOutput

func (HybridConnectionAuthorizationRuleMap) ToHybridConnectionAuthorizationRuleMapOutputWithContext added in v4.16.0

func (i HybridConnectionAuthorizationRuleMap) ToHybridConnectionAuthorizationRuleMapOutputWithContext(ctx context.Context) HybridConnectionAuthorizationRuleMapOutput

type HybridConnectionAuthorizationRuleMapInput added in v4.16.0

type HybridConnectionAuthorizationRuleMapInput interface {
	pulumi.Input

	ToHybridConnectionAuthorizationRuleMapOutput() HybridConnectionAuthorizationRuleMapOutput
	ToHybridConnectionAuthorizationRuleMapOutputWithContext(context.Context) HybridConnectionAuthorizationRuleMapOutput
}

HybridConnectionAuthorizationRuleMapInput is an input type that accepts HybridConnectionAuthorizationRuleMap and HybridConnectionAuthorizationRuleMapOutput values. You can construct a concrete instance of `HybridConnectionAuthorizationRuleMapInput` via:

HybridConnectionAuthorizationRuleMap{ "key": HybridConnectionAuthorizationRuleArgs{...} }

type HybridConnectionAuthorizationRuleMapOutput added in v4.16.0

type HybridConnectionAuthorizationRuleMapOutput struct{ *pulumi.OutputState }

func (HybridConnectionAuthorizationRuleMapOutput) ElementType added in v4.16.0

func (HybridConnectionAuthorizationRuleMapOutput) MapIndex added in v4.16.0

func (HybridConnectionAuthorizationRuleMapOutput) ToHybridConnectionAuthorizationRuleMapOutput added in v4.16.0

func (o HybridConnectionAuthorizationRuleMapOutput) ToHybridConnectionAuthorizationRuleMapOutput() HybridConnectionAuthorizationRuleMapOutput

func (HybridConnectionAuthorizationRuleMapOutput) ToHybridConnectionAuthorizationRuleMapOutputWithContext added in v4.16.0

func (o HybridConnectionAuthorizationRuleMapOutput) ToHybridConnectionAuthorizationRuleMapOutputWithContext(ctx context.Context) HybridConnectionAuthorizationRuleMapOutput

type HybridConnectionAuthorizationRuleOutput added in v4.16.0

type HybridConnectionAuthorizationRuleOutput struct {
	*pulumi.OutputState
}

func (HybridConnectionAuthorizationRuleOutput) ElementType added in v4.16.0

func (HybridConnectionAuthorizationRuleOutput) ToHybridConnectionAuthorizationRuleOutput added in v4.16.0

func (o HybridConnectionAuthorizationRuleOutput) ToHybridConnectionAuthorizationRuleOutput() HybridConnectionAuthorizationRuleOutput

func (HybridConnectionAuthorizationRuleOutput) ToHybridConnectionAuthorizationRuleOutputWithContext added in v4.16.0

func (o HybridConnectionAuthorizationRuleOutput) ToHybridConnectionAuthorizationRuleOutputWithContext(ctx context.Context) HybridConnectionAuthorizationRuleOutput

func (HybridConnectionAuthorizationRuleOutput) ToHybridConnectionAuthorizationRulePtrOutput added in v4.16.0

func (o HybridConnectionAuthorizationRuleOutput) ToHybridConnectionAuthorizationRulePtrOutput() HybridConnectionAuthorizationRulePtrOutput

func (HybridConnectionAuthorizationRuleOutput) ToHybridConnectionAuthorizationRulePtrOutputWithContext added in v4.16.0

func (o HybridConnectionAuthorizationRuleOutput) ToHybridConnectionAuthorizationRulePtrOutputWithContext(ctx context.Context) HybridConnectionAuthorizationRulePtrOutput

type HybridConnectionAuthorizationRulePtrInput added in v4.16.0

type HybridConnectionAuthorizationRulePtrInput interface {
	pulumi.Input

	ToHybridConnectionAuthorizationRulePtrOutput() HybridConnectionAuthorizationRulePtrOutput
	ToHybridConnectionAuthorizationRulePtrOutputWithContext(ctx context.Context) HybridConnectionAuthorizationRulePtrOutput
}

type HybridConnectionAuthorizationRulePtrOutput added in v4.16.0

type HybridConnectionAuthorizationRulePtrOutput struct {
	*pulumi.OutputState
}

func (HybridConnectionAuthorizationRulePtrOutput) ElementType added in v4.16.0

func (HybridConnectionAuthorizationRulePtrOutput) ToHybridConnectionAuthorizationRulePtrOutput added in v4.16.0

func (o HybridConnectionAuthorizationRulePtrOutput) ToHybridConnectionAuthorizationRulePtrOutput() HybridConnectionAuthorizationRulePtrOutput

func (HybridConnectionAuthorizationRulePtrOutput) ToHybridConnectionAuthorizationRulePtrOutputWithContext added in v4.16.0

func (o HybridConnectionAuthorizationRulePtrOutput) ToHybridConnectionAuthorizationRulePtrOutputWithContext(ctx context.Context) HybridConnectionAuthorizationRulePtrOutput

type HybridConnectionAuthorizationRuleState added in v4.16.0

type HybridConnectionAuthorizationRuleState struct {
	// Name of the Azure Relay Hybrid Connection for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
	HybridConnectionName pulumi.StringPtrInput
	// Grants listen access to this Authorization Rule. Defaults to `false`.
	Listen pulumi.BoolPtrInput
	// Grants manage access to this Authorization Rule. When this property is `true` - both `listen` and `send` must be set to `true` too. Defaults to `false`.
	Manage pulumi.BoolPtrInput
	// The name which should be used for this Azure Relay Hybrid Connection Authorization Rule. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
	Name pulumi.StringPtrInput
	// Name of the Azure Relay Namespace for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
	NamespaceName pulumi.StringPtrInput
	// The Primary Connection String for the Azure Relay Hybrid Connection Authorization Rule.
	PrimaryConnectionString pulumi.StringPtrInput
	// The Primary Key for the Azure Relay Hybrid Connection Authorization Rule.
	PrimaryKey pulumi.StringPtrInput
	// The name of the Resource Group where the Azure Relay Hybrid Connection Authorization Rule should exist. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The Secondary Connection String for the Azure Relay Hybrid Connection Authorization Rule.
	SecondaryConnectionString pulumi.StringPtrInput
	// The Secondary Key for the Azure Relay Hybrid Connection Authorization Rule.
	SecondaryKey pulumi.StringPtrInput
	// Grants send access to this Authorization Rule. Defaults to `false`.
	Send pulumi.BoolPtrInput
}

func (HybridConnectionAuthorizationRuleState) ElementType added in v4.16.0

type HybridConnectionInput

type HybridConnectionInput interface {
	pulumi.Input

	ToHybridConnectionOutput() HybridConnectionOutput
	ToHybridConnectionOutputWithContext(ctx context.Context) HybridConnectionOutput
}

type HybridConnectionMap

type HybridConnectionMap map[string]HybridConnectionInput

func (HybridConnectionMap) ElementType

func (HybridConnectionMap) ElementType() reflect.Type

func (HybridConnectionMap) ToHybridConnectionMapOutput

func (i HybridConnectionMap) ToHybridConnectionMapOutput() HybridConnectionMapOutput

func (HybridConnectionMap) ToHybridConnectionMapOutputWithContext

func (i HybridConnectionMap) ToHybridConnectionMapOutputWithContext(ctx context.Context) HybridConnectionMapOutput

type HybridConnectionMapInput

type HybridConnectionMapInput interface {
	pulumi.Input

	ToHybridConnectionMapOutput() HybridConnectionMapOutput
	ToHybridConnectionMapOutputWithContext(context.Context) HybridConnectionMapOutput
}

HybridConnectionMapInput is an input type that accepts HybridConnectionMap and HybridConnectionMapOutput values. You can construct a concrete instance of `HybridConnectionMapInput` via:

HybridConnectionMap{ "key": HybridConnectionArgs{...} }

type HybridConnectionMapOutput

type HybridConnectionMapOutput struct{ *pulumi.OutputState }

func (HybridConnectionMapOutput) ElementType

func (HybridConnectionMapOutput) ElementType() reflect.Type

func (HybridConnectionMapOutput) MapIndex

func (HybridConnectionMapOutput) ToHybridConnectionMapOutput

func (o HybridConnectionMapOutput) ToHybridConnectionMapOutput() HybridConnectionMapOutput

func (HybridConnectionMapOutput) ToHybridConnectionMapOutputWithContext

func (o HybridConnectionMapOutput) ToHybridConnectionMapOutputWithContext(ctx context.Context) HybridConnectionMapOutput

type HybridConnectionOutput

type HybridConnectionOutput struct {
	*pulumi.OutputState
}

func (HybridConnectionOutput) ElementType

func (HybridConnectionOutput) ElementType() reflect.Type

func (HybridConnectionOutput) ToHybridConnectionOutput

func (o HybridConnectionOutput) ToHybridConnectionOutput() HybridConnectionOutput

func (HybridConnectionOutput) ToHybridConnectionOutputWithContext

func (o HybridConnectionOutput) ToHybridConnectionOutputWithContext(ctx context.Context) HybridConnectionOutput

func (HybridConnectionOutput) ToHybridConnectionPtrOutput

func (o HybridConnectionOutput) ToHybridConnectionPtrOutput() HybridConnectionPtrOutput

func (HybridConnectionOutput) ToHybridConnectionPtrOutputWithContext

func (o HybridConnectionOutput) ToHybridConnectionPtrOutputWithContext(ctx context.Context) HybridConnectionPtrOutput

type HybridConnectionPtrInput

type HybridConnectionPtrInput interface {
	pulumi.Input

	ToHybridConnectionPtrOutput() HybridConnectionPtrOutput
	ToHybridConnectionPtrOutputWithContext(ctx context.Context) HybridConnectionPtrOutput
}

type HybridConnectionPtrOutput

type HybridConnectionPtrOutput struct {
	*pulumi.OutputState
}

func (HybridConnectionPtrOutput) ElementType

func (HybridConnectionPtrOutput) ElementType() reflect.Type

func (HybridConnectionPtrOutput) ToHybridConnectionPtrOutput

func (o HybridConnectionPtrOutput) ToHybridConnectionPtrOutput() HybridConnectionPtrOutput

func (HybridConnectionPtrOutput) ToHybridConnectionPtrOutputWithContext

func (o HybridConnectionPtrOutput) ToHybridConnectionPtrOutputWithContext(ctx context.Context) HybridConnectionPtrOutput

type HybridConnectionState

type HybridConnectionState struct {
	// Specifies the name of the Azure Relay Hybrid Connection. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Azure Relay in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created.
	RelayNamespaceName pulumi.StringPtrInput
	// Specify if client authorization is needed for this hybrid connection. True by default. Changing this forces a new resource to be created.
	RequiresClientAuthorization pulumi.BoolPtrInput
	// The name of the resource group in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored.
	UserMetadata pulumi.StringPtrInput
}

func (HybridConnectionState) ElementType

func (HybridConnectionState) ElementType() reflect.Type

type Namespace

type Namespace struct {
	pulumi.CustomResourceState

	// Specifies the supported Azure location where the Azure Relay Namespace exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The Identifier for Azure Insights metrics.
	MetricId pulumi.StringOutput `pulumi:"metricId"`
	// Specifies the name of the Azure Relay Namespace. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The primary connection string for the authorization rule `RootManageSharedAccessKey`.
	PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"`
	// The primary access key for the authorization rule `RootManageSharedAccessKey`.
	PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"`
	// The name of the resource group in which to create the Azure Relay Namespace.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The secondary connection string for the authorization rule `RootManageSharedAccessKey`.
	SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"`
	// The secondary access key for the authorization rule `RootManageSharedAccessKey`.
	SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"`
	// The name of the SKU to use. At this time the only supported value is `Standard`.
	SkuName pulumi.StringOutput `pulumi:"skuName"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an Azure Relay Namespace.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/relay"
"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
		}
		_, err = relay.NewNamespace(ctx, "exampleNamespace", &relay.NamespaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Standard"),
			Tags: pulumi.StringMap{
				"source": pulumi.String("example"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Azure Relay Namespace's can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:relay/namespace:Namespace relay1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Relay/namespaces/relay1

```

func GetNamespace

func GetNamespace(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NamespaceState, opts ...pulumi.ResourceOption) (*Namespace, error)

GetNamespace gets an existing Namespace 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 NewNamespace

func NewNamespace(ctx *pulumi.Context,
	name string, args *NamespaceArgs, opts ...pulumi.ResourceOption) (*Namespace, error)

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

func (*Namespace) ElementType

func (*Namespace) ElementType() reflect.Type

func (*Namespace) ToNamespaceOutput

func (i *Namespace) ToNamespaceOutput() NamespaceOutput

func (*Namespace) ToNamespaceOutputWithContext

func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

func (*Namespace) ToNamespacePtrOutput

func (i *Namespace) ToNamespacePtrOutput() NamespacePtrOutput

func (*Namespace) ToNamespacePtrOutputWithContext

func (i *Namespace) ToNamespacePtrOutputWithContext(ctx context.Context) NamespacePtrOutput

type NamespaceArgs

type NamespaceArgs struct {
	// Specifies the supported Azure location where the Azure Relay Namespace exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies the name of the Azure Relay Namespace. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the Azure Relay Namespace.
	ResourceGroupName pulumi.StringInput
	// The name of the SKU to use. At this time the only supported value is `Standard`.
	SkuName pulumi.StringInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Namespace resource.

func (NamespaceArgs) ElementType

func (NamespaceArgs) ElementType() reflect.Type

type NamespaceArray

type NamespaceArray []NamespaceInput

func (NamespaceArray) ElementType

func (NamespaceArray) ElementType() reflect.Type

func (NamespaceArray) ToNamespaceArrayOutput

func (i NamespaceArray) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArray) ToNamespaceArrayOutputWithContext

func (i NamespaceArray) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceArrayInput

type NamespaceArrayInput interface {
	pulumi.Input

	ToNamespaceArrayOutput() NamespaceArrayOutput
	ToNamespaceArrayOutputWithContext(context.Context) NamespaceArrayOutput
}

NamespaceArrayInput is an input type that accepts NamespaceArray and NamespaceArrayOutput values. You can construct a concrete instance of `NamespaceArrayInput` via:

NamespaceArray{ NamespaceArgs{...} }

type NamespaceArrayOutput

type NamespaceArrayOutput struct{ *pulumi.OutputState }

func (NamespaceArrayOutput) ElementType

func (NamespaceArrayOutput) ElementType() reflect.Type

func (NamespaceArrayOutput) Index

func (NamespaceArrayOutput) ToNamespaceArrayOutput

func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput

func (NamespaceArrayOutput) ToNamespaceArrayOutputWithContext

func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput

type NamespaceAuthorizationRule added in v4.16.0

type NamespaceAuthorizationRule struct {
	pulumi.CustomResourceState

	// Grants listen access to this Authorization Rule. Defaults to `false`.
	Listen pulumi.BoolPtrOutput `pulumi:"listen"`
	// Grants manage access to this Authorization Rule. When this property is `true` - both `listen` and `send` must be set to `true` too. Defaults to `false`.
	Manage pulumi.BoolPtrOutput `pulumi:"manage"`
	// The name which should be used for this Azure Relay Namespace Authorization Rule. Changing this forces a new Azure Relay Namespace Authorization Rule to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Name of the Azure Relay Namespace for which this Azure Relay Namespace Authorization Rule will be created. Changing this forces a new Azure Relay Namespace Authorization Rule to be created.
	NamespaceName pulumi.StringOutput `pulumi:"namespaceName"`
	// The Primary Connection String for the Azure Relay Namespace Authorization Rule.
	PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"`
	// The Primary Key for the Azure Relay Namespace Authorization Rule.
	PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"`
	// The name of the Resource Group where the Azure Relay Namespace Authorization Rule should exist. Changing this forces a new Azure Relay Namespace Authorization Rule to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The Secondary Connection String for the Azure Relay Namespace Authorization Rule.
	SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"`
	// The Secondary Key for the Azure Relay Namespace Authorization Rule.
	SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"`
	// Grants send access to this Authorization Rule. Defaults to `false`.
	Send pulumi.BoolPtrOutput `pulumi:"send"`
}

Manages an Azure Relay Namespace Authorization Rule.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/relay"
"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
		}
		exampleNamespace, err := relay.NewNamespace(ctx, "exampleNamespace", &relay.NamespaceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			SkuName:           pulumi.String("Standard"),
			Tags: pulumi.StringMap{
				"source": pulumi.String("terraform"),
			},
		})
		if err != nil {
			return err
		}
		_, err = relay.NewNamespaceAuthorizationRule(ctx, "exampleNamespaceAuthorizationRule", &relay.NamespaceAuthorizationRuleArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			NamespaceName:     exampleNamespace.Name,
			Listen:            pulumi.Bool(true),
			Send:              pulumi.Bool(true),
			Manage:            pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Azure Relay Namespace Authorization Rules can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:relay/namespaceAuthorizationRule:NamespaceAuthorizationRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Relay/namespaces/namespace1/authorizationRules/rule1

```

func GetNamespaceAuthorizationRule added in v4.16.0

func GetNamespaceAuthorizationRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NamespaceAuthorizationRuleState, opts ...pulumi.ResourceOption) (*NamespaceAuthorizationRule, error)

GetNamespaceAuthorizationRule gets an existing NamespaceAuthorizationRule 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 NewNamespaceAuthorizationRule added in v4.16.0

func NewNamespaceAuthorizationRule(ctx *pulumi.Context,
	name string, args *NamespaceAuthorizationRuleArgs, opts ...pulumi.ResourceOption) (*NamespaceAuthorizationRule, error)

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

func (*NamespaceAuthorizationRule) ElementType added in v4.16.0

func (*NamespaceAuthorizationRule) ElementType() reflect.Type

func (*NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutput added in v4.16.0

func (i *NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutput() NamespaceAuthorizationRuleOutput

func (*NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutputWithContext added in v4.16.0

func (i *NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleOutput

func (*NamespaceAuthorizationRule) ToNamespaceAuthorizationRulePtrOutput added in v4.16.0

func (i *NamespaceAuthorizationRule) ToNamespaceAuthorizationRulePtrOutput() NamespaceAuthorizationRulePtrOutput

func (*NamespaceAuthorizationRule) ToNamespaceAuthorizationRulePtrOutputWithContext added in v4.16.0

func (i *NamespaceAuthorizationRule) ToNamespaceAuthorizationRulePtrOutputWithContext(ctx context.Context) NamespaceAuthorizationRulePtrOutput

type NamespaceAuthorizationRuleArgs added in v4.16.0

type NamespaceAuthorizationRuleArgs struct {
	// Grants listen access to this Authorization Rule. Defaults to `false`.
	Listen pulumi.BoolPtrInput
	// Grants manage access to this Authorization Rule. When this property is `true` - both `listen` and `send` must be set to `true` too. Defaults to `false`.
	Manage pulumi.BoolPtrInput
	// The name which should be used for this Azure Relay Namespace Authorization Rule. Changing this forces a new Azure Relay Namespace Authorization Rule to be created.
	Name pulumi.StringPtrInput
	// Name of the Azure Relay Namespace for which this Azure Relay Namespace Authorization Rule will be created. Changing this forces a new Azure Relay Namespace Authorization Rule to be created.
	NamespaceName pulumi.StringInput
	// The name of the Resource Group where the Azure Relay Namespace Authorization Rule should exist. Changing this forces a new Azure Relay Namespace Authorization Rule to be created.
	ResourceGroupName pulumi.StringInput
	// Grants send access to this Authorization Rule. Defaults to `false`.
	Send pulumi.BoolPtrInput
}

The set of arguments for constructing a NamespaceAuthorizationRule resource.

func (NamespaceAuthorizationRuleArgs) ElementType added in v4.16.0

type NamespaceAuthorizationRuleArray added in v4.16.0

type NamespaceAuthorizationRuleArray []NamespaceAuthorizationRuleInput

func (NamespaceAuthorizationRuleArray) ElementType added in v4.16.0

func (NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutput added in v4.16.0

func (i NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutput() NamespaceAuthorizationRuleArrayOutput

func (NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutputWithContext added in v4.16.0

func (i NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleArrayOutput

type NamespaceAuthorizationRuleArrayInput added in v4.16.0

type NamespaceAuthorizationRuleArrayInput interface {
	pulumi.Input

	ToNamespaceAuthorizationRuleArrayOutput() NamespaceAuthorizationRuleArrayOutput
	ToNamespaceAuthorizationRuleArrayOutputWithContext(context.Context) NamespaceAuthorizationRuleArrayOutput
}

NamespaceAuthorizationRuleArrayInput is an input type that accepts NamespaceAuthorizationRuleArray and NamespaceAuthorizationRuleArrayOutput values. You can construct a concrete instance of `NamespaceAuthorizationRuleArrayInput` via:

NamespaceAuthorizationRuleArray{ NamespaceAuthorizationRuleArgs{...} }

type NamespaceAuthorizationRuleArrayOutput added in v4.16.0

type NamespaceAuthorizationRuleArrayOutput struct{ *pulumi.OutputState }

func (NamespaceAuthorizationRuleArrayOutput) ElementType added in v4.16.0

func (NamespaceAuthorizationRuleArrayOutput) Index added in v4.16.0

func (NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutput added in v4.16.0

func (o NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutput() NamespaceAuthorizationRuleArrayOutput

func (NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutputWithContext added in v4.16.0

func (o NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleArrayOutput

type NamespaceAuthorizationRuleInput added in v4.16.0

type NamespaceAuthorizationRuleInput interface {
	pulumi.Input

	ToNamespaceAuthorizationRuleOutput() NamespaceAuthorizationRuleOutput
	ToNamespaceAuthorizationRuleOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleOutput
}

type NamespaceAuthorizationRuleMap added in v4.16.0

type NamespaceAuthorizationRuleMap map[string]NamespaceAuthorizationRuleInput

func (NamespaceAuthorizationRuleMap) ElementType added in v4.16.0

func (NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutput added in v4.16.0

func (i NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutput() NamespaceAuthorizationRuleMapOutput

func (NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutputWithContext added in v4.16.0

func (i NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleMapOutput

type NamespaceAuthorizationRuleMapInput added in v4.16.0

type NamespaceAuthorizationRuleMapInput interface {
	pulumi.Input

	ToNamespaceAuthorizationRuleMapOutput() NamespaceAuthorizationRuleMapOutput
	ToNamespaceAuthorizationRuleMapOutputWithContext(context.Context) NamespaceAuthorizationRuleMapOutput
}

NamespaceAuthorizationRuleMapInput is an input type that accepts NamespaceAuthorizationRuleMap and NamespaceAuthorizationRuleMapOutput values. You can construct a concrete instance of `NamespaceAuthorizationRuleMapInput` via:

NamespaceAuthorizationRuleMap{ "key": NamespaceAuthorizationRuleArgs{...} }

type NamespaceAuthorizationRuleMapOutput added in v4.16.0

type NamespaceAuthorizationRuleMapOutput struct{ *pulumi.OutputState }

func (NamespaceAuthorizationRuleMapOutput) ElementType added in v4.16.0

func (NamespaceAuthorizationRuleMapOutput) MapIndex added in v4.16.0

func (NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutput added in v4.16.0

func (o NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutput() NamespaceAuthorizationRuleMapOutput

func (NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutputWithContext added in v4.16.0

func (o NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleMapOutput

type NamespaceAuthorizationRuleOutput added in v4.16.0

type NamespaceAuthorizationRuleOutput struct {
	*pulumi.OutputState
}

func (NamespaceAuthorizationRuleOutput) ElementType added in v4.16.0

func (NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutput added in v4.16.0

func (o NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutput() NamespaceAuthorizationRuleOutput

func (NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutputWithContext added in v4.16.0

func (o NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleOutput

func (NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRulePtrOutput added in v4.16.0

func (o NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRulePtrOutput() NamespaceAuthorizationRulePtrOutput

func (NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRulePtrOutputWithContext added in v4.16.0

func (o NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRulePtrOutputWithContext(ctx context.Context) NamespaceAuthorizationRulePtrOutput

type NamespaceAuthorizationRulePtrInput added in v4.16.0

type NamespaceAuthorizationRulePtrInput interface {
	pulumi.Input

	ToNamespaceAuthorizationRulePtrOutput() NamespaceAuthorizationRulePtrOutput
	ToNamespaceAuthorizationRulePtrOutputWithContext(ctx context.Context) NamespaceAuthorizationRulePtrOutput
}

type NamespaceAuthorizationRulePtrOutput added in v4.16.0

type NamespaceAuthorizationRulePtrOutput struct {
	*pulumi.OutputState
}

func (NamespaceAuthorizationRulePtrOutput) ElementType added in v4.16.0

func (NamespaceAuthorizationRulePtrOutput) ToNamespaceAuthorizationRulePtrOutput added in v4.16.0

func (o NamespaceAuthorizationRulePtrOutput) ToNamespaceAuthorizationRulePtrOutput() NamespaceAuthorizationRulePtrOutput

func (NamespaceAuthorizationRulePtrOutput) ToNamespaceAuthorizationRulePtrOutputWithContext added in v4.16.0

func (o NamespaceAuthorizationRulePtrOutput) ToNamespaceAuthorizationRulePtrOutputWithContext(ctx context.Context) NamespaceAuthorizationRulePtrOutput

type NamespaceAuthorizationRuleState added in v4.16.0

type NamespaceAuthorizationRuleState struct {
	// Grants listen access to this Authorization Rule. Defaults to `false`.
	Listen pulumi.BoolPtrInput
	// Grants manage access to this Authorization Rule. When this property is `true` - both `listen` and `send` must be set to `true` too. Defaults to `false`.
	Manage pulumi.BoolPtrInput
	// The name which should be used for this Azure Relay Namespace Authorization Rule. Changing this forces a new Azure Relay Namespace Authorization Rule to be created.
	Name pulumi.StringPtrInput
	// Name of the Azure Relay Namespace for which this Azure Relay Namespace Authorization Rule will be created. Changing this forces a new Azure Relay Namespace Authorization Rule to be created.
	NamespaceName pulumi.StringPtrInput
	// The Primary Connection String for the Azure Relay Namespace Authorization Rule.
	PrimaryConnectionString pulumi.StringPtrInput
	// The Primary Key for the Azure Relay Namespace Authorization Rule.
	PrimaryKey pulumi.StringPtrInput
	// The name of the Resource Group where the Azure Relay Namespace Authorization Rule should exist. Changing this forces a new Azure Relay Namespace Authorization Rule to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The Secondary Connection String for the Azure Relay Namespace Authorization Rule.
	SecondaryConnectionString pulumi.StringPtrInput
	// The Secondary Key for the Azure Relay Namespace Authorization Rule.
	SecondaryKey pulumi.StringPtrInput
	// Grants send access to this Authorization Rule. Defaults to `false`.
	Send pulumi.BoolPtrInput
}

func (NamespaceAuthorizationRuleState) ElementType added in v4.16.0

type NamespaceInput

type NamespaceInput interface {
	pulumi.Input

	ToNamespaceOutput() NamespaceOutput
	ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
}

type NamespaceMap

type NamespaceMap map[string]NamespaceInput

func (NamespaceMap) ElementType

func (NamespaceMap) ElementType() reflect.Type

func (NamespaceMap) ToNamespaceMapOutput

func (i NamespaceMap) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMap) ToNamespaceMapOutputWithContext

func (i NamespaceMap) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceMapInput

type NamespaceMapInput interface {
	pulumi.Input

	ToNamespaceMapOutput() NamespaceMapOutput
	ToNamespaceMapOutputWithContext(context.Context) NamespaceMapOutput
}

NamespaceMapInput is an input type that accepts NamespaceMap and NamespaceMapOutput values. You can construct a concrete instance of `NamespaceMapInput` via:

NamespaceMap{ "key": NamespaceArgs{...} }

type NamespaceMapOutput

type NamespaceMapOutput struct{ *pulumi.OutputState }

func (NamespaceMapOutput) ElementType

func (NamespaceMapOutput) ElementType() reflect.Type

func (NamespaceMapOutput) MapIndex

func (NamespaceMapOutput) ToNamespaceMapOutput

func (o NamespaceMapOutput) ToNamespaceMapOutput() NamespaceMapOutput

func (NamespaceMapOutput) ToNamespaceMapOutputWithContext

func (o NamespaceMapOutput) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput

type NamespaceOutput

type NamespaceOutput struct {
	*pulumi.OutputState
}

func (NamespaceOutput) ElementType

func (NamespaceOutput) ElementType() reflect.Type

func (NamespaceOutput) ToNamespaceOutput

func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput

func (NamespaceOutput) ToNamespaceOutputWithContext

func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput

func (NamespaceOutput) ToNamespacePtrOutput

func (o NamespaceOutput) ToNamespacePtrOutput() NamespacePtrOutput

func (NamespaceOutput) ToNamespacePtrOutputWithContext

func (o NamespaceOutput) ToNamespacePtrOutputWithContext(ctx context.Context) NamespacePtrOutput

type NamespacePtrInput

type NamespacePtrInput interface {
	pulumi.Input

	ToNamespacePtrOutput() NamespacePtrOutput
	ToNamespacePtrOutputWithContext(ctx context.Context) NamespacePtrOutput
}

type NamespacePtrOutput

type NamespacePtrOutput struct {
	*pulumi.OutputState
}

func (NamespacePtrOutput) ElementType

func (NamespacePtrOutput) ElementType() reflect.Type

func (NamespacePtrOutput) ToNamespacePtrOutput

func (o NamespacePtrOutput) ToNamespacePtrOutput() NamespacePtrOutput

func (NamespacePtrOutput) ToNamespacePtrOutputWithContext

func (o NamespacePtrOutput) ToNamespacePtrOutputWithContext(ctx context.Context) NamespacePtrOutput

type NamespaceState

type NamespaceState struct {
	// Specifies the supported Azure location where the Azure Relay Namespace exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The Identifier for Azure Insights metrics.
	MetricId pulumi.StringPtrInput
	// Specifies the name of the Azure Relay Namespace. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The primary connection string for the authorization rule `RootManageSharedAccessKey`.
	PrimaryConnectionString pulumi.StringPtrInput
	// The primary access key for the authorization rule `RootManageSharedAccessKey`.
	PrimaryKey pulumi.StringPtrInput
	// The name of the resource group in which to create the Azure Relay Namespace.
	ResourceGroupName pulumi.StringPtrInput
	// The secondary connection string for the authorization rule `RootManageSharedAccessKey`.
	SecondaryConnectionString pulumi.StringPtrInput
	// The secondary access key for the authorization rule `RootManageSharedAccessKey`.
	SecondaryKey pulumi.StringPtrInput
	// The name of the SKU to use. At this time the only supported value is `Standard`.
	SkuName pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (NamespaceState) ElementType

func (NamespaceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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