relay

package
v5.82.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 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. Changing this forces a new resource to be created. Defaults to `true`.
	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/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/relay"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleNamespace, err := relay.NewNamespace(ctx, "example", &relay.NamespaceArgs{
			Name:              pulumi.String("example-relay"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Standard"),
			Tags: pulumi.StringMap{
				"source": pulumi.String("managed"),
			},
		})
		if err != nil {
			return err
		}
		_, err = relay.NewHybridConnection(ctx, "example", &relay.HybridConnectionArgs{
			Name:                        pulumi.String("acctestrnhc-%d"),
			ResourceGroupName:           example.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

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. Changing this forces a new resource to be created. Defaults to `true`.
	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

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/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/relay"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleNamespace, err := relay.NewNamespace(ctx, "example", &relay.NamespaceArgs{
			Name:              pulumi.String("example-relay"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Standard"),
			Tags: pulumi.StringMap{
				"source": pulumi.String("terraform"),
			},
		})
		if err != nil {
			return err
		}
		exampleHybridConnection, err := relay.NewHybridConnection(ctx, "example", &relay.HybridConnectionArgs{
			Name:                        pulumi.String("acctestrnhc-%d"),
			ResourceGroupName:           example.Name,
			RelayNamespaceName:          exampleNamespace.Name,
			RequiresClientAuthorization: pulumi.Bool(false),
			UserMetadata:                pulumi.String("testmetadata"),
		})
		if err != nil {
			return err
		}
		_, err = relay.NewHybridConnectionAuthorizationRule(ctx, "example", &relay.HybridConnectionAuthorizationRuleArgs{
			Name:                 pulumi.String("example"),
			ResourceGroupName:    example.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

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

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

func (*HybridConnectionAuthorizationRule) ToHybridConnectionAuthorizationRuleOutput

func (i *HybridConnectionAuthorizationRule) ToHybridConnectionAuthorizationRuleOutput() HybridConnectionAuthorizationRuleOutput

func (*HybridConnectionAuthorizationRule) ToHybridConnectionAuthorizationRuleOutputWithContext

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

type HybridConnectionAuthorizationRuleArgs

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

type HybridConnectionAuthorizationRuleArray

type HybridConnectionAuthorizationRuleArray []HybridConnectionAuthorizationRuleInput

func (HybridConnectionAuthorizationRuleArray) ElementType

func (HybridConnectionAuthorizationRuleArray) ToHybridConnectionAuthorizationRuleArrayOutput

func (i HybridConnectionAuthorizationRuleArray) ToHybridConnectionAuthorizationRuleArrayOutput() HybridConnectionAuthorizationRuleArrayOutput

func (HybridConnectionAuthorizationRuleArray) ToHybridConnectionAuthorizationRuleArrayOutputWithContext

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

type HybridConnectionAuthorizationRuleArrayInput

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

type HybridConnectionAuthorizationRuleArrayOutput struct{ *pulumi.OutputState }

func (HybridConnectionAuthorizationRuleArrayOutput) ElementType

func (HybridConnectionAuthorizationRuleArrayOutput) Index

func (HybridConnectionAuthorizationRuleArrayOutput) ToHybridConnectionAuthorizationRuleArrayOutput

func (o HybridConnectionAuthorizationRuleArrayOutput) ToHybridConnectionAuthorizationRuleArrayOutput() HybridConnectionAuthorizationRuleArrayOutput

func (HybridConnectionAuthorizationRuleArrayOutput) ToHybridConnectionAuthorizationRuleArrayOutputWithContext

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

type HybridConnectionAuthorizationRuleInput

type HybridConnectionAuthorizationRuleInput interface {
	pulumi.Input

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

type HybridConnectionAuthorizationRuleMap

type HybridConnectionAuthorizationRuleMap map[string]HybridConnectionAuthorizationRuleInput

func (HybridConnectionAuthorizationRuleMap) ElementType

func (HybridConnectionAuthorizationRuleMap) ToHybridConnectionAuthorizationRuleMapOutput

func (i HybridConnectionAuthorizationRuleMap) ToHybridConnectionAuthorizationRuleMapOutput() HybridConnectionAuthorizationRuleMapOutput

func (HybridConnectionAuthorizationRuleMap) ToHybridConnectionAuthorizationRuleMapOutputWithContext

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

type HybridConnectionAuthorizationRuleMapInput

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

type HybridConnectionAuthorizationRuleMapOutput struct{ *pulumi.OutputState }

func (HybridConnectionAuthorizationRuleMapOutput) ElementType

func (HybridConnectionAuthorizationRuleMapOutput) MapIndex

func (HybridConnectionAuthorizationRuleMapOutput) ToHybridConnectionAuthorizationRuleMapOutput

func (o HybridConnectionAuthorizationRuleMapOutput) ToHybridConnectionAuthorizationRuleMapOutput() HybridConnectionAuthorizationRuleMapOutput

func (HybridConnectionAuthorizationRuleMapOutput) ToHybridConnectionAuthorizationRuleMapOutputWithContext

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

type HybridConnectionAuthorizationRuleOutput

type HybridConnectionAuthorizationRuleOutput struct{ *pulumi.OutputState }

func (HybridConnectionAuthorizationRuleOutput) ElementType

func (HybridConnectionAuthorizationRuleOutput) HybridConnectionName added in v5.5.0

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.

func (HybridConnectionAuthorizationRuleOutput) Listen added in v5.5.0

Grants listen access to this Authorization Rule. Defaults to `false`.

func (HybridConnectionAuthorizationRuleOutput) Manage added in v5.5.0

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`.

func (HybridConnectionAuthorizationRuleOutput) Name added in v5.5.0

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.

func (HybridConnectionAuthorizationRuleOutput) NamespaceName added in v5.5.0

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.

func (HybridConnectionAuthorizationRuleOutput) PrimaryConnectionString added in v5.5.0

func (o HybridConnectionAuthorizationRuleOutput) PrimaryConnectionString() pulumi.StringOutput

The Primary Connection String for the Azure Relay Hybrid Connection Authorization Rule.

func (HybridConnectionAuthorizationRuleOutput) PrimaryKey added in v5.5.0

The Primary Key for the Azure Relay Hybrid Connection Authorization Rule.

func (HybridConnectionAuthorizationRuleOutput) ResourceGroupName added in v5.5.0

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.

func (HybridConnectionAuthorizationRuleOutput) SecondaryConnectionString added in v5.5.0

func (o HybridConnectionAuthorizationRuleOutput) SecondaryConnectionString() pulumi.StringOutput

The Secondary Connection String for the Azure Relay Hybrid Connection Authorization Rule.

func (HybridConnectionAuthorizationRuleOutput) SecondaryKey added in v5.5.0

The Secondary Key for the Azure Relay Hybrid Connection Authorization Rule.

func (HybridConnectionAuthorizationRuleOutput) Send added in v5.5.0

Grants send access to this Authorization Rule. Defaults to `false`.

func (HybridConnectionAuthorizationRuleOutput) ToHybridConnectionAuthorizationRuleOutput

func (o HybridConnectionAuthorizationRuleOutput) ToHybridConnectionAuthorizationRuleOutput() HybridConnectionAuthorizationRuleOutput

func (HybridConnectionAuthorizationRuleOutput) ToHybridConnectionAuthorizationRuleOutputWithContext

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

type HybridConnectionAuthorizationRuleState

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

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) Name added in v5.5.0

Specifies the name of the Azure Relay Hybrid Connection. Changing this forces a new resource to be created.

func (HybridConnectionOutput) RelayNamespaceName added in v5.5.0

func (o HybridConnectionOutput) RelayNamespaceName() pulumi.StringOutput

The name of the Azure Relay in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created.

func (HybridConnectionOutput) RequiresClientAuthorization added in v5.5.0

func (o HybridConnectionOutput) RequiresClientAuthorization() pulumi.BoolPtrOutput

Specify if client authorization is needed for this hybrid connection. Changing this forces a new resource to be created. Defaults to `true`.

func (HybridConnectionOutput) ResourceGroupName added in v5.5.0

func (o HybridConnectionOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created.

func (HybridConnectionOutput) ToHybridConnectionOutput

func (o HybridConnectionOutput) ToHybridConnectionOutput() HybridConnectionOutput

func (HybridConnectionOutput) ToHybridConnectionOutputWithContext

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

func (HybridConnectionOutput) UserMetadata added in v5.5.0

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.

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. Changing this forces a new resource to be created. Defaults to `true`.
	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. Changing this forces a new resource to be created.
	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/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/relay"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = relay.NewNamespace(ctx, "example", &relay.NamespaceArgs{
			Name:              pulumi.String("example-relay"),
			Location:          example.Location,
			ResourceGroupName: example.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

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. Changing this forces a new resource to be created.
	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

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/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/relay"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleNamespace, err := relay.NewNamespace(ctx, "example", &relay.NamespaceArgs{
			Name:              pulumi.String("example-relay"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			SkuName:           pulumi.String("Standard"),
			Tags: pulumi.StringMap{
				"source": pulumi.String("terraform"),
			},
		})
		if err != nil {
			return err
		}
		_, err = relay.NewNamespaceAuthorizationRule(ctx, "example", &relay.NamespaceAuthorizationRuleArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.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

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

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

func (*NamespaceAuthorizationRule) ElementType() reflect.Type

func (*NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutput

func (i *NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutput() NamespaceAuthorizationRuleOutput

func (*NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutputWithContext

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

type NamespaceAuthorizationRuleArgs

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

type NamespaceAuthorizationRuleArray

type NamespaceAuthorizationRuleArray []NamespaceAuthorizationRuleInput

func (NamespaceAuthorizationRuleArray) ElementType

func (NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutput

func (i NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutput() NamespaceAuthorizationRuleArrayOutput

func (NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutputWithContext

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

type NamespaceAuthorizationRuleArrayInput

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

type NamespaceAuthorizationRuleArrayOutput struct{ *pulumi.OutputState }

func (NamespaceAuthorizationRuleArrayOutput) ElementType

func (NamespaceAuthorizationRuleArrayOutput) Index

func (NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutput

func (o NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutput() NamespaceAuthorizationRuleArrayOutput

func (NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutputWithContext

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

type NamespaceAuthorizationRuleInput

type NamespaceAuthorizationRuleInput interface {
	pulumi.Input

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

type NamespaceAuthorizationRuleMap

type NamespaceAuthorizationRuleMap map[string]NamespaceAuthorizationRuleInput

func (NamespaceAuthorizationRuleMap) ElementType

func (NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutput

func (i NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutput() NamespaceAuthorizationRuleMapOutput

func (NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutputWithContext

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

type NamespaceAuthorizationRuleMapInput

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

type NamespaceAuthorizationRuleMapOutput struct{ *pulumi.OutputState }

func (NamespaceAuthorizationRuleMapOutput) ElementType

func (NamespaceAuthorizationRuleMapOutput) MapIndex

func (NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutput

func (o NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutput() NamespaceAuthorizationRuleMapOutput

func (NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutputWithContext

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

type NamespaceAuthorizationRuleOutput

type NamespaceAuthorizationRuleOutput struct{ *pulumi.OutputState }

func (NamespaceAuthorizationRuleOutput) ElementType

func (NamespaceAuthorizationRuleOutput) Listen added in v5.5.0

Grants listen access to this Authorization Rule. Defaults to `false`.

func (NamespaceAuthorizationRuleOutput) Manage added in v5.5.0

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`.

func (NamespaceAuthorizationRuleOutput) Name added in v5.5.0

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.

func (NamespaceAuthorizationRuleOutput) NamespaceName added in v5.5.0

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.

func (NamespaceAuthorizationRuleOutput) PrimaryConnectionString added in v5.5.0

func (o NamespaceAuthorizationRuleOutput) PrimaryConnectionString() pulumi.StringOutput

The Primary Connection String for the Azure Relay Namespace Authorization Rule.

func (NamespaceAuthorizationRuleOutput) PrimaryKey added in v5.5.0

The Primary Key for the Azure Relay Namespace Authorization Rule.

func (NamespaceAuthorizationRuleOutput) ResourceGroupName added in v5.5.0

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.

func (NamespaceAuthorizationRuleOutput) SecondaryConnectionString added in v5.5.0

func (o NamespaceAuthorizationRuleOutput) SecondaryConnectionString() pulumi.StringOutput

The Secondary Connection String for the Azure Relay Namespace Authorization Rule.

func (NamespaceAuthorizationRuleOutput) SecondaryKey added in v5.5.0

The Secondary Key for the Azure Relay Namespace Authorization Rule.

func (NamespaceAuthorizationRuleOutput) Send added in v5.5.0

Grants send access to this Authorization Rule. Defaults to `false`.

func (NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutput

func (o NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutput() NamespaceAuthorizationRuleOutput

func (NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutputWithContext

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

type NamespaceAuthorizationRuleState

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

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) Location added in v5.5.0

func (o NamespaceOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the Azure Relay Namespace exists. Changing this forces a new resource to be created.

func (NamespaceOutput) MetricId added in v5.5.0

func (o NamespaceOutput) MetricId() pulumi.StringOutput

The Identifier for Azure Insights metrics.

func (NamespaceOutput) Name added in v5.5.0

Specifies the name of the Azure Relay Namespace. Changing this forces a new resource to be created.

func (NamespaceOutput) PrimaryConnectionString added in v5.5.0

func (o NamespaceOutput) PrimaryConnectionString() pulumi.StringOutput

The primary connection string for the authorization rule `RootManageSharedAccessKey`.

func (NamespaceOutput) PrimaryKey added in v5.5.0

func (o NamespaceOutput) PrimaryKey() pulumi.StringOutput

The primary access key for the authorization rule `RootManageSharedAccessKey`.

func (NamespaceOutput) ResourceGroupName added in v5.5.0

func (o NamespaceOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the Azure Relay Namespace. Changing this forces a new resource to be created.

func (NamespaceOutput) SecondaryConnectionString added in v5.5.0

func (o NamespaceOutput) SecondaryConnectionString() pulumi.StringOutput

The secondary connection string for the authorization rule `RootManageSharedAccessKey`.

func (NamespaceOutput) SecondaryKey added in v5.5.0

func (o NamespaceOutput) SecondaryKey() pulumi.StringOutput

The secondary access key for the authorization rule `RootManageSharedAccessKey`.

func (NamespaceOutput) SkuName added in v5.5.0

func (o NamespaceOutput) SkuName() pulumi.StringOutput

The name of the SKU to use. At this time the only supported value is `Standard`.

func (NamespaceOutput) Tags added in v5.5.0

A mapping of tags to assign to the resource.

func (NamespaceOutput) ToNamespaceOutput

func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput

func (NamespaceOutput) ToNamespaceOutputWithContext

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

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. Changing this forces a new resource to be created.
	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