signalr

package
v5.26.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 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 LookupServiceArgs

type LookupServiceArgs struct {
	// Specifies the name of the SignalR service.
	Name string `pulumi:"name"`
	// Specifies the name of the resource group the SignalR service is located in.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getService.

type LookupServiceOutputArgs

type LookupServiceOutputArgs struct {
	// Specifies the name of the SignalR service.
	Name pulumi.StringInput `pulumi:"name"`
	// Specifies the name of the resource group the SignalR service is located in.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getService.

func (LookupServiceOutputArgs) ElementType

func (LookupServiceOutputArgs) ElementType() reflect.Type

type LookupServiceResult

type LookupServiceResult struct {
	// The FQDN of the SignalR service.
	Hostname string `pulumi:"hostname"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The publicly accessible IP of the SignalR service.
	IpAddress string `pulumi:"ipAddress"`
	// Specifies the supported Azure location where the SignalR service exists.
	Location string `pulumi:"location"`
	Name     string `pulumi:"name"`
	// The primary access key of the SignalR service.
	PrimaryAccessKey string `pulumi:"primaryAccessKey"`
	// The primary connection string of the SignalR service.
	PrimaryConnectionString string `pulumi:"primaryConnectionString"`
	// The publicly accessible port of the SignalR service which is designed for browser/client use.
	PublicPort        int    `pulumi:"publicPort"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The secondary access key of the SignalR service.
	SecondaryAccessKey string `pulumi:"secondaryAccessKey"`
	// The secondary connection string of the SignalR service.
	SecondaryConnectionString string `pulumi:"secondaryConnectionString"`
	// The publicly accessible port of the SignalR service which is designed for customer server side use.
	ServerPort int               `pulumi:"serverPort"`
	Tags       map[string]string `pulumi:"tags"`
}

A collection of values returned by getService.

func LookupService

func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)

Use this data source to access information about an existing Azure SignalR service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/signalr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := signalr.LookupService(ctx, &signalr.LookupServiceArgs{
			Name:              "test-signalr",
			ResourceGroupName: "signalr-resource-group",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupServiceResultOutput

type LookupServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func (LookupServiceResultOutput) ElementType

func (LookupServiceResultOutput) ElementType() reflect.Type

func (LookupServiceResultOutput) Hostname

The FQDN of the SignalR service.

func (LookupServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupServiceResultOutput) IpAddress

The publicly accessible IP of the SignalR service.

func (LookupServiceResultOutput) Location

Specifies the supported Azure location where the SignalR service exists.

func (LookupServiceResultOutput) Name

func (LookupServiceResultOutput) PrimaryAccessKey

func (o LookupServiceResultOutput) PrimaryAccessKey() pulumi.StringOutput

The primary access key of the SignalR service.

func (LookupServiceResultOutput) PrimaryConnectionString

func (o LookupServiceResultOutput) PrimaryConnectionString() pulumi.StringOutput

The primary connection string of the SignalR service.

func (LookupServiceResultOutput) PublicPort

The publicly accessible port of the SignalR service which is designed for browser/client use.

func (LookupServiceResultOutput) ResourceGroupName

func (o LookupServiceResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupServiceResultOutput) SecondaryAccessKey

func (o LookupServiceResultOutput) SecondaryAccessKey() pulumi.StringOutput

The secondary access key of the SignalR service.

func (LookupServiceResultOutput) SecondaryConnectionString

func (o LookupServiceResultOutput) SecondaryConnectionString() pulumi.StringOutput

The secondary connection string of the SignalR service.

func (LookupServiceResultOutput) ServerPort

The publicly accessible port of the SignalR service which is designed for customer server side use.

func (LookupServiceResultOutput) Tags

func (LookupServiceResultOutput) ToLookupServiceResultOutput

func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput

func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext

func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput

type Service

type Service struct {
	pulumi.CustomResourceState

	// Specifies if Connectivity Logs are enabled or not. Defaults to `false`.
	ConnectivityLogsEnabled pulumi.BoolPtrOutput `pulumi:"connectivityLogsEnabled"`
	// A `cors` block as documented below.
	Cors ServiceCorArrayOutput `pulumi:"cors"`
	// The FQDN of the SignalR service.
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// The publicly accessible IP of the SignalR service.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// A `liveTrace` block as defined below.
	LiveTrace ServiceLiveTracePtrOutput `pulumi:"liveTrace"`
	// Specifies if Live Trace is enabled or not. Defaults to `false`.
	//
	// Deprecated: `live_trace_enabled` has been deprecated in favor of `live_trace` and will be removed in 4.0.
	LiveTraceEnabled pulumi.BoolPtrOutput `pulumi:"liveTraceEnabled"`
	// Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies if Messaging Logs are enabled or not. Defaults to `false`.
	MessagingLogsEnabled pulumi.BoolPtrOutput `pulumi:"messagingLogsEnabled"`
	// The name of the SignalR service. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The primary access key for the SignalR service.
	PrimaryAccessKey pulumi.StringOutput `pulumi:"primaryAccessKey"`
	// The primary connection string for the SignalR service.
	PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"`
	// The publicly accessible port of the SignalR service which is designed for browser/client use.
	PublicPort pulumi.IntOutput `pulumi:"publicPort"`
	// The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// The secondary access key for the SignalR service.
	SecondaryAccessKey pulumi.StringOutput `pulumi:"secondaryAccessKey"`
	// The secondary connection string for the SignalR service.
	SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"`
	// The publicly accessible port of the SignalR service which is designed for customer server side use.
	ServerPort pulumi.IntOutput `pulumi:"serverPort"`
	// Specifies the service mode. Possible values are `Classic`, `Default` and `Serverless`. Defaults to `Default`.
	ServiceMode pulumi.StringPtrOutput `pulumi:"serviceMode"`
	// A `sku` block as documented below.
	Sku ServiceSkuOutput `pulumi:"sku"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// An `upstreamEndpoint` block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
	UpstreamEndpoints ServiceUpstreamEndpointArrayOutput `pulumi:"upstreamEndpoints"`
}

Manages an Azure SignalR service.

## 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/signalr"
"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 US"),
		})
		if err != nil {
			return err
		}
		_, err = signalr.NewService(ctx, "exampleService", &signalr.ServiceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku: &signalr.ServiceSkuArgs{
				Name:     pulumi.String("Free_F1"),
				Capacity: pulumi.Int(1),
			},
			Cors: signalr.ServiceCorArray{
				&signalr.ServiceCorArgs{
					AllowedOrigins: pulumi.StringArray{
						pulumi.String("http://www.example.com"),
					},
				},
			},
			ConnectivityLogsEnabled: pulumi.Bool(true),
			MessagingLogsEnabled:    pulumi.Bool(true),
			ServiceMode:             pulumi.String("Default"),
			UpstreamEndpoints: signalr.ServiceUpstreamEndpointArray{
				&signalr.ServiceUpstreamEndpointArgs{
					CategoryPatterns: pulumi.StringArray{
						pulumi.String("connections"),
						pulumi.String("messages"),
					},
					EventPatterns: pulumi.StringArray{
						pulumi.String("*"),
					},
					HubPatterns: pulumi.StringArray{
						pulumi.String("hub1"),
					},
					UrlTemplate: pulumi.String("http://foo.com"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SignalR services can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:signalr/service:Service example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/terraform-signalr/providers/Microsoft.SignalRService/signalR/tfex-signalr

```

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service 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 NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

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

func (*Service) ElementType

func (*Service) ElementType() reflect.Type

func (*Service) ToServiceOutput

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

type ServiceArgs

type ServiceArgs struct {
	// Specifies if Connectivity Logs are enabled or not. Defaults to `false`.
	ConnectivityLogsEnabled pulumi.BoolPtrInput
	// A `cors` block as documented below.
	Cors ServiceCorArrayInput
	// A `liveTrace` block as defined below.
	LiveTrace ServiceLiveTracePtrInput
	// Specifies if Live Trace is enabled or not. Defaults to `false`.
	//
	// Deprecated: `live_trace_enabled` has been deprecated in favor of `live_trace` and will be removed in 4.0.
	LiveTraceEnabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies if Messaging Logs are enabled or not. Defaults to `false`.
	MessagingLogsEnabled pulumi.BoolPtrInput
	// The name of the SignalR service. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Specifies the service mode. Possible values are `Classic`, `Default` and `Serverless`. Defaults to `Default`.
	ServiceMode pulumi.StringPtrInput
	// A `sku` block as documented below.
	Sku ServiceSkuInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// An `upstreamEndpoint` block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
	UpstreamEndpoints ServiceUpstreamEndpointArrayInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray

type ServiceArray []ServiceInput

func (ServiceArray) ElementType

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToServiceArrayOutput

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput

type ServiceArrayInput interface {
	pulumi.Input

	ToServiceArrayOutput() ServiceArrayOutput
	ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput
}

ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index

func (ServiceArrayOutput) ToServiceArrayOutput

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceCor

type ServiceCor struct {
	// A list of origins which should be able to make cross-origin calls. `*` can be used to allow all calls.
	AllowedOrigins []string `pulumi:"allowedOrigins"`
}

type ServiceCorArgs

type ServiceCorArgs struct {
	// A list of origins which should be able to make cross-origin calls. `*` can be used to allow all calls.
	AllowedOrigins pulumi.StringArrayInput `pulumi:"allowedOrigins"`
}

func (ServiceCorArgs) ElementType

func (ServiceCorArgs) ElementType() reflect.Type

func (ServiceCorArgs) ToServiceCorOutput

func (i ServiceCorArgs) ToServiceCorOutput() ServiceCorOutput

func (ServiceCorArgs) ToServiceCorOutputWithContext

func (i ServiceCorArgs) ToServiceCorOutputWithContext(ctx context.Context) ServiceCorOutput

type ServiceCorArray

type ServiceCorArray []ServiceCorInput

func (ServiceCorArray) ElementType

func (ServiceCorArray) ElementType() reflect.Type

func (ServiceCorArray) ToServiceCorArrayOutput

func (i ServiceCorArray) ToServiceCorArrayOutput() ServiceCorArrayOutput

func (ServiceCorArray) ToServiceCorArrayOutputWithContext

func (i ServiceCorArray) ToServiceCorArrayOutputWithContext(ctx context.Context) ServiceCorArrayOutput

type ServiceCorArrayInput

type ServiceCorArrayInput interface {
	pulumi.Input

	ToServiceCorArrayOutput() ServiceCorArrayOutput
	ToServiceCorArrayOutputWithContext(context.Context) ServiceCorArrayOutput
}

ServiceCorArrayInput is an input type that accepts ServiceCorArray and ServiceCorArrayOutput values. You can construct a concrete instance of `ServiceCorArrayInput` via:

ServiceCorArray{ ServiceCorArgs{...} }

type ServiceCorArrayOutput

type ServiceCorArrayOutput struct{ *pulumi.OutputState }

func (ServiceCorArrayOutput) ElementType

func (ServiceCorArrayOutput) ElementType() reflect.Type

func (ServiceCorArrayOutput) Index

func (ServiceCorArrayOutput) ToServiceCorArrayOutput

func (o ServiceCorArrayOutput) ToServiceCorArrayOutput() ServiceCorArrayOutput

func (ServiceCorArrayOutput) ToServiceCorArrayOutputWithContext

func (o ServiceCorArrayOutput) ToServiceCorArrayOutputWithContext(ctx context.Context) ServiceCorArrayOutput

type ServiceCorInput

type ServiceCorInput interface {
	pulumi.Input

	ToServiceCorOutput() ServiceCorOutput
	ToServiceCorOutputWithContext(context.Context) ServiceCorOutput
}

ServiceCorInput is an input type that accepts ServiceCorArgs and ServiceCorOutput values. You can construct a concrete instance of `ServiceCorInput` via:

ServiceCorArgs{...}

type ServiceCorOutput

type ServiceCorOutput struct{ *pulumi.OutputState }

func (ServiceCorOutput) AllowedOrigins

func (o ServiceCorOutput) AllowedOrigins() pulumi.StringArrayOutput

A list of origins which should be able to make cross-origin calls. `*` can be used to allow all calls.

func (ServiceCorOutput) ElementType

func (ServiceCorOutput) ElementType() reflect.Type

func (ServiceCorOutput) ToServiceCorOutput

func (o ServiceCorOutput) ToServiceCorOutput() ServiceCorOutput

func (ServiceCorOutput) ToServiceCorOutputWithContext

func (o ServiceCorOutput) ToServiceCorOutputWithContext(ctx context.Context) ServiceCorOutput

type ServiceInput

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceLiveTrace added in v5.13.0

type ServiceLiveTrace struct {
	// Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
	ConnectivityLogsEnabled *bool `pulumi:"connectivityLogsEnabled"`
	// Whether the live trace is enabled? Defaults to `true`.
	Enabled *bool `pulumi:"enabled"`
	// Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
	HttpRequestLogsEnabled *bool `pulumi:"httpRequestLogsEnabled"`
	// Whether the log category `MessagingLogs` is enabled? Defaults to `true`
	MessagingLogsEnabled *bool `pulumi:"messagingLogsEnabled"`
}

type ServiceLiveTraceArgs added in v5.13.0

type ServiceLiveTraceArgs struct {
	// Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
	ConnectivityLogsEnabled pulumi.BoolPtrInput `pulumi:"connectivityLogsEnabled"`
	// Whether the live trace is enabled? Defaults to `true`.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
	HttpRequestLogsEnabled pulumi.BoolPtrInput `pulumi:"httpRequestLogsEnabled"`
	// Whether the log category `MessagingLogs` is enabled? Defaults to `true`
	MessagingLogsEnabled pulumi.BoolPtrInput `pulumi:"messagingLogsEnabled"`
}

func (ServiceLiveTraceArgs) ElementType added in v5.13.0

func (ServiceLiveTraceArgs) ElementType() reflect.Type

func (ServiceLiveTraceArgs) ToServiceLiveTraceOutput added in v5.13.0

func (i ServiceLiveTraceArgs) ToServiceLiveTraceOutput() ServiceLiveTraceOutput

func (ServiceLiveTraceArgs) ToServiceLiveTraceOutputWithContext added in v5.13.0

func (i ServiceLiveTraceArgs) ToServiceLiveTraceOutputWithContext(ctx context.Context) ServiceLiveTraceOutput

func (ServiceLiveTraceArgs) ToServiceLiveTracePtrOutput added in v5.13.0

func (i ServiceLiveTraceArgs) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput

func (ServiceLiveTraceArgs) ToServiceLiveTracePtrOutputWithContext added in v5.13.0

func (i ServiceLiveTraceArgs) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput

type ServiceLiveTraceInput added in v5.13.0

type ServiceLiveTraceInput interface {
	pulumi.Input

	ToServiceLiveTraceOutput() ServiceLiveTraceOutput
	ToServiceLiveTraceOutputWithContext(context.Context) ServiceLiveTraceOutput
}

ServiceLiveTraceInput is an input type that accepts ServiceLiveTraceArgs and ServiceLiveTraceOutput values. You can construct a concrete instance of `ServiceLiveTraceInput` via:

ServiceLiveTraceArgs{...}

type ServiceLiveTraceOutput added in v5.13.0

type ServiceLiveTraceOutput struct{ *pulumi.OutputState }

func (ServiceLiveTraceOutput) ConnectivityLogsEnabled added in v5.13.0

func (o ServiceLiveTraceOutput) ConnectivityLogsEnabled() pulumi.BoolPtrOutput

Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`

func (ServiceLiveTraceOutput) ElementType added in v5.13.0

func (ServiceLiveTraceOutput) ElementType() reflect.Type

func (ServiceLiveTraceOutput) Enabled added in v5.13.0

Whether the live trace is enabled? Defaults to `true`.

func (ServiceLiveTraceOutput) HttpRequestLogsEnabled added in v5.13.0

func (o ServiceLiveTraceOutput) HttpRequestLogsEnabled() pulumi.BoolPtrOutput

Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`

func (ServiceLiveTraceOutput) MessagingLogsEnabled added in v5.13.0

func (o ServiceLiveTraceOutput) MessagingLogsEnabled() pulumi.BoolPtrOutput

Whether the log category `MessagingLogs` is enabled? Defaults to `true`

func (ServiceLiveTraceOutput) ToServiceLiveTraceOutput added in v5.13.0

func (o ServiceLiveTraceOutput) ToServiceLiveTraceOutput() ServiceLiveTraceOutput

func (ServiceLiveTraceOutput) ToServiceLiveTraceOutputWithContext added in v5.13.0

func (o ServiceLiveTraceOutput) ToServiceLiveTraceOutputWithContext(ctx context.Context) ServiceLiveTraceOutput

func (ServiceLiveTraceOutput) ToServiceLiveTracePtrOutput added in v5.13.0

func (o ServiceLiveTraceOutput) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput

func (ServiceLiveTraceOutput) ToServiceLiveTracePtrOutputWithContext added in v5.13.0

func (o ServiceLiveTraceOutput) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput

type ServiceLiveTracePtrInput added in v5.13.0

type ServiceLiveTracePtrInput interface {
	pulumi.Input

	ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput
	ToServiceLiveTracePtrOutputWithContext(context.Context) ServiceLiveTracePtrOutput
}

ServiceLiveTracePtrInput is an input type that accepts ServiceLiveTraceArgs, ServiceLiveTracePtr and ServiceLiveTracePtrOutput values. You can construct a concrete instance of `ServiceLiveTracePtrInput` via:

        ServiceLiveTraceArgs{...}

or:

        nil

func ServiceLiveTracePtr added in v5.13.0

func ServiceLiveTracePtr(v *ServiceLiveTraceArgs) ServiceLiveTracePtrInput

type ServiceLiveTracePtrOutput added in v5.13.0

type ServiceLiveTracePtrOutput struct{ *pulumi.OutputState }

func (ServiceLiveTracePtrOutput) ConnectivityLogsEnabled added in v5.13.0

func (o ServiceLiveTracePtrOutput) ConnectivityLogsEnabled() pulumi.BoolPtrOutput

Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`

func (ServiceLiveTracePtrOutput) Elem added in v5.13.0

func (ServiceLiveTracePtrOutput) ElementType added in v5.13.0

func (ServiceLiveTracePtrOutput) ElementType() reflect.Type

func (ServiceLiveTracePtrOutput) Enabled added in v5.13.0

Whether the live trace is enabled? Defaults to `true`.

func (ServiceLiveTracePtrOutput) HttpRequestLogsEnabled added in v5.13.0

func (o ServiceLiveTracePtrOutput) HttpRequestLogsEnabled() pulumi.BoolPtrOutput

Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`

func (ServiceLiveTracePtrOutput) MessagingLogsEnabled added in v5.13.0

func (o ServiceLiveTracePtrOutput) MessagingLogsEnabled() pulumi.BoolPtrOutput

Whether the log category `MessagingLogs` is enabled? Defaults to `true`

func (ServiceLiveTracePtrOutput) ToServiceLiveTracePtrOutput added in v5.13.0

func (o ServiceLiveTracePtrOutput) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput

func (ServiceLiveTracePtrOutput) ToServiceLiveTracePtrOutputWithContext added in v5.13.0

func (o ServiceLiveTracePtrOutput) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput

type ServiceMap

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToServiceMapOutput

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput

type ServiceMapInput interface {
	pulumi.Input

	ToServiceMapOutput() ServiceMapOutput
	ToServiceMapOutputWithContext(context.Context) ServiceMapOutput
}

ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:

ServiceMap{ "key": ServiceArgs{...} }

type ServiceMapOutput

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex

func (ServiceMapOutput) ToServiceMapOutput

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceNetworkAcl

type ServiceNetworkAcl struct {
	pulumi.CustomResourceState

	// The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`.
	DefaultAction pulumi.StringOutput `pulumi:"defaultAction"`
	// A `privateEndpoint` block as defined below.
	PrivateEndpoints ServiceNetworkAclPrivateEndpointArrayOutput `pulumi:"privateEndpoints"`
	// A `publicNetwork` block as defined below.
	PublicNetwork ServiceNetworkAclPublicNetworkOutput `pulumi:"publicNetwork"`
	// The ID of the SignalR service. Changing this forces a new resource to be created.
	SignalrServiceId pulumi.StringOutput `pulumi:"signalrServiceId"`
}

Manages the Network ACL for a SignalR service.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/privatelink"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/signalr"
"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
		}
		exampleService, err := signalr.NewService(ctx, "exampleService", &signalr.ServiceArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Sku: &signalr.ServiceSkuArgs{
				Name:     pulumi.String("Standard_S1"),
				Capacity: pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.5.0.0/16"),
			},
		})
		if err != nil {
			return err
		}
		exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{
			ResourceGroupName:  exampleResourceGroup.Name,
			VirtualNetworkName: exampleVirtualNetwork.Name,
			AddressPrefixes: pulumi.StringArray{
				pulumi.String("10.5.2.0/24"),
			},
			EnforcePrivateLinkEndpointNetworkPolicies: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		exampleEndpoint, err := privatelink.NewEndpoint(ctx, "exampleEndpoint", &privatelink.EndpointArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          exampleResourceGroup.Location,
			SubnetId:          exampleSubnet.ID(),
			PrivateServiceConnection: &privatelink.EndpointPrivateServiceConnectionArgs{
				Name:                        pulumi.String("psc-sig-test"),
				IsManualConnection:          pulumi.Bool(false),
				PrivateConnectionResourceId: exampleService.ID(),
				SubresourceNames: pulumi.StringArray{
					pulumi.String("signalr"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = signalr.NewServiceNetworkAcl(ctx, "exampleServiceNetworkAcl", &signalr.ServiceNetworkAclArgs{
			SignalrServiceId: exampleService.ID(),
			DefaultAction:    pulumi.String("Deny"),
			PublicNetwork: &signalr.ServiceNetworkAclPublicNetworkArgs{
				AllowedRequestTypes: pulumi.StringArray{
					pulumi.String("ClientConnection"),
				},
			},
			PrivateEndpoints: signalr.ServiceNetworkAclPrivateEndpointArray{
				&signalr.ServiceNetworkAclPrivateEndpointArgs{
					Id: exampleEndpoint.ID(),
					AllowedRequestTypes: pulumi.StringArray{
						pulumi.String("ServerConnection"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Network ACLs for a SignalR service can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:signalr/serviceNetworkAcl:ServiceNetworkAcl example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/signalR/signalr1

```

func GetServiceNetworkAcl

func GetServiceNetworkAcl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceNetworkAclState, opts ...pulumi.ResourceOption) (*ServiceNetworkAcl, error)

GetServiceNetworkAcl gets an existing ServiceNetworkAcl 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 NewServiceNetworkAcl

func NewServiceNetworkAcl(ctx *pulumi.Context,
	name string, args *ServiceNetworkAclArgs, opts ...pulumi.ResourceOption) (*ServiceNetworkAcl, error)

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

func (*ServiceNetworkAcl) ElementType

func (*ServiceNetworkAcl) ElementType() reflect.Type

func (*ServiceNetworkAcl) ToServiceNetworkAclOutput

func (i *ServiceNetworkAcl) ToServiceNetworkAclOutput() ServiceNetworkAclOutput

func (*ServiceNetworkAcl) ToServiceNetworkAclOutputWithContext

func (i *ServiceNetworkAcl) ToServiceNetworkAclOutputWithContext(ctx context.Context) ServiceNetworkAclOutput

type ServiceNetworkAclArgs

type ServiceNetworkAclArgs struct {
	// The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`.
	DefaultAction pulumi.StringInput
	// A `privateEndpoint` block as defined below.
	PrivateEndpoints ServiceNetworkAclPrivateEndpointArrayInput
	// A `publicNetwork` block as defined below.
	PublicNetwork ServiceNetworkAclPublicNetworkInput
	// The ID of the SignalR service. Changing this forces a new resource to be created.
	SignalrServiceId pulumi.StringInput
}

The set of arguments for constructing a ServiceNetworkAcl resource.

func (ServiceNetworkAclArgs) ElementType

func (ServiceNetworkAclArgs) ElementType() reflect.Type

type ServiceNetworkAclArray

type ServiceNetworkAclArray []ServiceNetworkAclInput

func (ServiceNetworkAclArray) ElementType

func (ServiceNetworkAclArray) ElementType() reflect.Type

func (ServiceNetworkAclArray) ToServiceNetworkAclArrayOutput

func (i ServiceNetworkAclArray) ToServiceNetworkAclArrayOutput() ServiceNetworkAclArrayOutput

func (ServiceNetworkAclArray) ToServiceNetworkAclArrayOutputWithContext

func (i ServiceNetworkAclArray) ToServiceNetworkAclArrayOutputWithContext(ctx context.Context) ServiceNetworkAclArrayOutput

type ServiceNetworkAclArrayInput

type ServiceNetworkAclArrayInput interface {
	pulumi.Input

	ToServiceNetworkAclArrayOutput() ServiceNetworkAclArrayOutput
	ToServiceNetworkAclArrayOutputWithContext(context.Context) ServiceNetworkAclArrayOutput
}

ServiceNetworkAclArrayInput is an input type that accepts ServiceNetworkAclArray and ServiceNetworkAclArrayOutput values. You can construct a concrete instance of `ServiceNetworkAclArrayInput` via:

ServiceNetworkAclArray{ ServiceNetworkAclArgs{...} }

type ServiceNetworkAclArrayOutput

type ServiceNetworkAclArrayOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclArrayOutput) ElementType

func (ServiceNetworkAclArrayOutput) Index

func (ServiceNetworkAclArrayOutput) ToServiceNetworkAclArrayOutput

func (o ServiceNetworkAclArrayOutput) ToServiceNetworkAclArrayOutput() ServiceNetworkAclArrayOutput

func (ServiceNetworkAclArrayOutput) ToServiceNetworkAclArrayOutputWithContext

func (o ServiceNetworkAclArrayOutput) ToServiceNetworkAclArrayOutputWithContext(ctx context.Context) ServiceNetworkAclArrayOutput

type ServiceNetworkAclInput

type ServiceNetworkAclInput interface {
	pulumi.Input

	ToServiceNetworkAclOutput() ServiceNetworkAclOutput
	ToServiceNetworkAclOutputWithContext(ctx context.Context) ServiceNetworkAclOutput
}

type ServiceNetworkAclMap

type ServiceNetworkAclMap map[string]ServiceNetworkAclInput

func (ServiceNetworkAclMap) ElementType

func (ServiceNetworkAclMap) ElementType() reflect.Type

func (ServiceNetworkAclMap) ToServiceNetworkAclMapOutput

func (i ServiceNetworkAclMap) ToServiceNetworkAclMapOutput() ServiceNetworkAclMapOutput

func (ServiceNetworkAclMap) ToServiceNetworkAclMapOutputWithContext

func (i ServiceNetworkAclMap) ToServiceNetworkAclMapOutputWithContext(ctx context.Context) ServiceNetworkAclMapOutput

type ServiceNetworkAclMapInput

type ServiceNetworkAclMapInput interface {
	pulumi.Input

	ToServiceNetworkAclMapOutput() ServiceNetworkAclMapOutput
	ToServiceNetworkAclMapOutputWithContext(context.Context) ServiceNetworkAclMapOutput
}

ServiceNetworkAclMapInput is an input type that accepts ServiceNetworkAclMap and ServiceNetworkAclMapOutput values. You can construct a concrete instance of `ServiceNetworkAclMapInput` via:

ServiceNetworkAclMap{ "key": ServiceNetworkAclArgs{...} }

type ServiceNetworkAclMapOutput

type ServiceNetworkAclMapOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclMapOutput) ElementType

func (ServiceNetworkAclMapOutput) ElementType() reflect.Type

func (ServiceNetworkAclMapOutput) MapIndex

func (ServiceNetworkAclMapOutput) ToServiceNetworkAclMapOutput

func (o ServiceNetworkAclMapOutput) ToServiceNetworkAclMapOutput() ServiceNetworkAclMapOutput

func (ServiceNetworkAclMapOutput) ToServiceNetworkAclMapOutputWithContext

func (o ServiceNetworkAclMapOutput) ToServiceNetworkAclMapOutputWithContext(ctx context.Context) ServiceNetworkAclMapOutput

type ServiceNetworkAclOutput

type ServiceNetworkAclOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclOutput) DefaultAction added in v5.5.0

func (o ServiceNetworkAclOutput) DefaultAction() pulumi.StringOutput

The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`.

func (ServiceNetworkAclOutput) ElementType

func (ServiceNetworkAclOutput) ElementType() reflect.Type

func (ServiceNetworkAclOutput) PrivateEndpoints added in v5.5.0

A `privateEndpoint` block as defined below.

func (ServiceNetworkAclOutput) PublicNetwork added in v5.5.0

A `publicNetwork` block as defined below.

func (ServiceNetworkAclOutput) SignalrServiceId added in v5.5.0

func (o ServiceNetworkAclOutput) SignalrServiceId() pulumi.StringOutput

The ID of the SignalR service. Changing this forces a new resource to be created.

func (ServiceNetworkAclOutput) ToServiceNetworkAclOutput

func (o ServiceNetworkAclOutput) ToServiceNetworkAclOutput() ServiceNetworkAclOutput

func (ServiceNetworkAclOutput) ToServiceNetworkAclOutputWithContext

func (o ServiceNetworkAclOutput) ToServiceNetworkAclOutputWithContext(ctx context.Context) ServiceNetworkAclOutput

type ServiceNetworkAclPrivateEndpoint

type ServiceNetworkAclPrivateEndpoint struct {
	// The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
	AllowedRequestTypes []string `pulumi:"allowedRequestTypes"`
	// The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
	DeniedRequestTypes []string `pulumi:"deniedRequestTypes"`
	// The ID of the Private Endpoint which is based on the SignalR service.
	Id string `pulumi:"id"`
}

type ServiceNetworkAclPrivateEndpointArgs

type ServiceNetworkAclPrivateEndpointArgs struct {
	// The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
	AllowedRequestTypes pulumi.StringArrayInput `pulumi:"allowedRequestTypes"`
	// The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
	DeniedRequestTypes pulumi.StringArrayInput `pulumi:"deniedRequestTypes"`
	// The ID of the Private Endpoint which is based on the SignalR service.
	Id pulumi.StringInput `pulumi:"id"`
}

func (ServiceNetworkAclPrivateEndpointArgs) ElementType

func (ServiceNetworkAclPrivateEndpointArgs) ToServiceNetworkAclPrivateEndpointOutput

func (i ServiceNetworkAclPrivateEndpointArgs) ToServiceNetworkAclPrivateEndpointOutput() ServiceNetworkAclPrivateEndpointOutput

func (ServiceNetworkAclPrivateEndpointArgs) ToServiceNetworkAclPrivateEndpointOutputWithContext

func (i ServiceNetworkAclPrivateEndpointArgs) ToServiceNetworkAclPrivateEndpointOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointOutput

type ServiceNetworkAclPrivateEndpointArray

type ServiceNetworkAclPrivateEndpointArray []ServiceNetworkAclPrivateEndpointInput

func (ServiceNetworkAclPrivateEndpointArray) ElementType

func (ServiceNetworkAclPrivateEndpointArray) ToServiceNetworkAclPrivateEndpointArrayOutput

func (i ServiceNetworkAclPrivateEndpointArray) ToServiceNetworkAclPrivateEndpointArrayOutput() ServiceNetworkAclPrivateEndpointArrayOutput

func (ServiceNetworkAclPrivateEndpointArray) ToServiceNetworkAclPrivateEndpointArrayOutputWithContext

func (i ServiceNetworkAclPrivateEndpointArray) ToServiceNetworkAclPrivateEndpointArrayOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointArrayOutput

type ServiceNetworkAclPrivateEndpointArrayInput

type ServiceNetworkAclPrivateEndpointArrayInput interface {
	pulumi.Input

	ToServiceNetworkAclPrivateEndpointArrayOutput() ServiceNetworkAclPrivateEndpointArrayOutput
	ToServiceNetworkAclPrivateEndpointArrayOutputWithContext(context.Context) ServiceNetworkAclPrivateEndpointArrayOutput
}

ServiceNetworkAclPrivateEndpointArrayInput is an input type that accepts ServiceNetworkAclPrivateEndpointArray and ServiceNetworkAclPrivateEndpointArrayOutput values. You can construct a concrete instance of `ServiceNetworkAclPrivateEndpointArrayInput` via:

ServiceNetworkAclPrivateEndpointArray{ ServiceNetworkAclPrivateEndpointArgs{...} }

type ServiceNetworkAclPrivateEndpointArrayOutput

type ServiceNetworkAclPrivateEndpointArrayOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclPrivateEndpointArrayOutput) ElementType

func (ServiceNetworkAclPrivateEndpointArrayOutput) Index

func (ServiceNetworkAclPrivateEndpointArrayOutput) ToServiceNetworkAclPrivateEndpointArrayOutput

func (o ServiceNetworkAclPrivateEndpointArrayOutput) ToServiceNetworkAclPrivateEndpointArrayOutput() ServiceNetworkAclPrivateEndpointArrayOutput

func (ServiceNetworkAclPrivateEndpointArrayOutput) ToServiceNetworkAclPrivateEndpointArrayOutputWithContext

func (o ServiceNetworkAclPrivateEndpointArrayOutput) ToServiceNetworkAclPrivateEndpointArrayOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointArrayOutput

type ServiceNetworkAclPrivateEndpointInput

type ServiceNetworkAclPrivateEndpointInput interface {
	pulumi.Input

	ToServiceNetworkAclPrivateEndpointOutput() ServiceNetworkAclPrivateEndpointOutput
	ToServiceNetworkAclPrivateEndpointOutputWithContext(context.Context) ServiceNetworkAclPrivateEndpointOutput
}

ServiceNetworkAclPrivateEndpointInput is an input type that accepts ServiceNetworkAclPrivateEndpointArgs and ServiceNetworkAclPrivateEndpointOutput values. You can construct a concrete instance of `ServiceNetworkAclPrivateEndpointInput` via:

ServiceNetworkAclPrivateEndpointArgs{...}

type ServiceNetworkAclPrivateEndpointOutput

type ServiceNetworkAclPrivateEndpointOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclPrivateEndpointOutput) AllowedRequestTypes

The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.

func (ServiceNetworkAclPrivateEndpointOutput) DeniedRequestTypes

The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.

func (ServiceNetworkAclPrivateEndpointOutput) ElementType

func (ServiceNetworkAclPrivateEndpointOutput) Id

The ID of the Private Endpoint which is based on the SignalR service.

func (ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutput

func (o ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutput() ServiceNetworkAclPrivateEndpointOutput

func (ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutputWithContext

func (o ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointOutput

type ServiceNetworkAclPublicNetwork

type ServiceNetworkAclPublicNetwork struct {
	// The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
	AllowedRequestTypes []string `pulumi:"allowedRequestTypes"`
	// The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
	DeniedRequestTypes []string `pulumi:"deniedRequestTypes"`
}

type ServiceNetworkAclPublicNetworkArgs

type ServiceNetworkAclPublicNetworkArgs struct {
	// The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
	AllowedRequestTypes pulumi.StringArrayInput `pulumi:"allowedRequestTypes"`
	// The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
	DeniedRequestTypes pulumi.StringArrayInput `pulumi:"deniedRequestTypes"`
}

func (ServiceNetworkAclPublicNetworkArgs) ElementType

func (ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkOutput

func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkOutput() ServiceNetworkAclPublicNetworkOutput

func (ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkOutputWithContext

func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkOutput

func (ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkPtrOutput

func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput

func (ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkPtrOutputWithContext

func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkPtrOutput

type ServiceNetworkAclPublicNetworkInput

type ServiceNetworkAclPublicNetworkInput interface {
	pulumi.Input

	ToServiceNetworkAclPublicNetworkOutput() ServiceNetworkAclPublicNetworkOutput
	ToServiceNetworkAclPublicNetworkOutputWithContext(context.Context) ServiceNetworkAclPublicNetworkOutput
}

ServiceNetworkAclPublicNetworkInput is an input type that accepts ServiceNetworkAclPublicNetworkArgs and ServiceNetworkAclPublicNetworkOutput values. You can construct a concrete instance of `ServiceNetworkAclPublicNetworkInput` via:

ServiceNetworkAclPublicNetworkArgs{...}

type ServiceNetworkAclPublicNetworkOutput

type ServiceNetworkAclPublicNetworkOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclPublicNetworkOutput) AllowedRequestTypes

The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.

func (ServiceNetworkAclPublicNetworkOutput) DeniedRequestTypes

The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.

func (ServiceNetworkAclPublicNetworkOutput) ElementType

func (ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkOutput

func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkOutput() ServiceNetworkAclPublicNetworkOutput

func (ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkOutputWithContext

func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkOutput

func (ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkPtrOutput

func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput

func (ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkPtrOutputWithContext

func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkPtrOutput

type ServiceNetworkAclPublicNetworkPtrInput

type ServiceNetworkAclPublicNetworkPtrInput interface {
	pulumi.Input

	ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput
	ToServiceNetworkAclPublicNetworkPtrOutputWithContext(context.Context) ServiceNetworkAclPublicNetworkPtrOutput
}

ServiceNetworkAclPublicNetworkPtrInput is an input type that accepts ServiceNetworkAclPublicNetworkArgs, ServiceNetworkAclPublicNetworkPtr and ServiceNetworkAclPublicNetworkPtrOutput values. You can construct a concrete instance of `ServiceNetworkAclPublicNetworkPtrInput` via:

        ServiceNetworkAclPublicNetworkArgs{...}

or:

        nil

type ServiceNetworkAclPublicNetworkPtrOutput

type ServiceNetworkAclPublicNetworkPtrOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclPublicNetworkPtrOutput) AllowedRequestTypes

The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.

func (ServiceNetworkAclPublicNetworkPtrOutput) DeniedRequestTypes

The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.

func (ServiceNetworkAclPublicNetworkPtrOutput) Elem

func (ServiceNetworkAclPublicNetworkPtrOutput) ElementType

func (ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutput

func (o ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput

func (ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutputWithContext

func (o ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkPtrOutput

type ServiceNetworkAclState

type ServiceNetworkAclState struct {
	// The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`.
	DefaultAction pulumi.StringPtrInput
	// A `privateEndpoint` block as defined below.
	PrivateEndpoints ServiceNetworkAclPrivateEndpointArrayInput
	// A `publicNetwork` block as defined below.
	PublicNetwork ServiceNetworkAclPublicNetworkPtrInput
	// The ID of the SignalR service. Changing this forces a new resource to be created.
	SignalrServiceId pulumi.StringPtrInput
}

func (ServiceNetworkAclState) ElementType

func (ServiceNetworkAclState) ElementType() reflect.Type

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) ConnectivityLogsEnabled added in v5.5.0

func (o ServiceOutput) ConnectivityLogsEnabled() pulumi.BoolPtrOutput

Specifies if Connectivity Logs are enabled or not. Defaults to `false`.

func (ServiceOutput) Cors added in v5.5.0

A `cors` block as documented below.

func (ServiceOutput) ElementType

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) Hostname added in v5.5.0

func (o ServiceOutput) Hostname() pulumi.StringOutput

The FQDN of the SignalR service.

func (ServiceOutput) IpAddress added in v5.5.0

func (o ServiceOutput) IpAddress() pulumi.StringOutput

The publicly accessible IP of the SignalR service.

func (ServiceOutput) LiveTrace added in v5.13.0

A `liveTrace` block as defined below.

func (ServiceOutput) LiveTraceEnabled deprecated added in v5.5.0

func (o ServiceOutput) LiveTraceEnabled() pulumi.BoolPtrOutput

Specifies if Live Trace is enabled or not. Defaults to `false`.

Deprecated: `live_trace_enabled` has been deprecated in favor of `live_trace` and will be removed in 4.0.

func (ServiceOutput) Location added in v5.5.0

func (o ServiceOutput) Location() pulumi.StringOutput

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

func (ServiceOutput) MessagingLogsEnabled added in v5.5.0

func (o ServiceOutput) MessagingLogsEnabled() pulumi.BoolPtrOutput

Specifies if Messaging Logs are enabled or not. Defaults to `false`.

func (ServiceOutput) Name added in v5.5.0

The name of the SignalR service. Changing this forces a new resource to be created.

func (ServiceOutput) PrimaryAccessKey added in v5.5.0

func (o ServiceOutput) PrimaryAccessKey() pulumi.StringOutput

The primary access key for the SignalR service.

func (ServiceOutput) PrimaryConnectionString added in v5.5.0

func (o ServiceOutput) PrimaryConnectionString() pulumi.StringOutput

The primary connection string for the SignalR service.

func (ServiceOutput) PublicPort added in v5.5.0

func (o ServiceOutput) PublicPort() pulumi.IntOutput

The publicly accessible port of the SignalR service which is designed for browser/client use.

func (ServiceOutput) ResourceGroupName added in v5.5.0

func (o ServiceOutput) ResourceGroupName() pulumi.StringOutput

The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.

func (ServiceOutput) SecondaryAccessKey added in v5.5.0

func (o ServiceOutput) SecondaryAccessKey() pulumi.StringOutput

The secondary access key for the SignalR service.

func (ServiceOutput) SecondaryConnectionString added in v5.5.0

func (o ServiceOutput) SecondaryConnectionString() pulumi.StringOutput

The secondary connection string for the SignalR service.

func (ServiceOutput) ServerPort added in v5.5.0

func (o ServiceOutput) ServerPort() pulumi.IntOutput

The publicly accessible port of the SignalR service which is designed for customer server side use.

func (ServiceOutput) ServiceMode added in v5.5.0

func (o ServiceOutput) ServiceMode() pulumi.StringPtrOutput

Specifies the service mode. Possible values are `Classic`, `Default` and `Serverless`. Defaults to `Default`.

func (ServiceOutput) Sku added in v5.5.0

A `sku` block as documented below.

func (ServiceOutput) Tags added in v5.5.0

A mapping of tags to assign to the resource.

func (ServiceOutput) ToServiceOutput

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

func (ServiceOutput) UpstreamEndpoints added in v5.5.0

func (o ServiceOutput) UpstreamEndpoints() ServiceUpstreamEndpointArrayOutput

An `upstreamEndpoint` block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.

type ServiceSku

type ServiceSku struct {
	// Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `5`, `10`, `20`, `50` and `100`.
	Capacity int `pulumi:"capacity"`
	// Specifies which tier to use. Valid values are `Free_F1`, `Standard_S1` and `Premium_P1`.
	Name string `pulumi:"name"`
}

type ServiceSkuArgs

type ServiceSkuArgs struct {
	// Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `5`, `10`, `20`, `50` and `100`.
	Capacity pulumi.IntInput `pulumi:"capacity"`
	// Specifies which tier to use. Valid values are `Free_F1`, `Standard_S1` and `Premium_P1`.
	Name pulumi.StringInput `pulumi:"name"`
}

func (ServiceSkuArgs) ElementType

func (ServiceSkuArgs) ElementType() reflect.Type

func (ServiceSkuArgs) ToServiceSkuOutput

func (i ServiceSkuArgs) ToServiceSkuOutput() ServiceSkuOutput

func (ServiceSkuArgs) ToServiceSkuOutputWithContext

func (i ServiceSkuArgs) ToServiceSkuOutputWithContext(ctx context.Context) ServiceSkuOutput

func (ServiceSkuArgs) ToServiceSkuPtrOutput

func (i ServiceSkuArgs) ToServiceSkuPtrOutput() ServiceSkuPtrOutput

func (ServiceSkuArgs) ToServiceSkuPtrOutputWithContext

func (i ServiceSkuArgs) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput

type ServiceSkuInput

type ServiceSkuInput interface {
	pulumi.Input

	ToServiceSkuOutput() ServiceSkuOutput
	ToServiceSkuOutputWithContext(context.Context) ServiceSkuOutput
}

ServiceSkuInput is an input type that accepts ServiceSkuArgs and ServiceSkuOutput values. You can construct a concrete instance of `ServiceSkuInput` via:

ServiceSkuArgs{...}

type ServiceSkuOutput

type ServiceSkuOutput struct{ *pulumi.OutputState }

func (ServiceSkuOutput) Capacity

func (o ServiceSkuOutput) Capacity() pulumi.IntOutput

Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `5`, `10`, `20`, `50` and `100`.

func (ServiceSkuOutput) ElementType

func (ServiceSkuOutput) ElementType() reflect.Type

func (ServiceSkuOutput) Name

Specifies which tier to use. Valid values are `Free_F1`, `Standard_S1` and `Premium_P1`.

func (ServiceSkuOutput) ToServiceSkuOutput

func (o ServiceSkuOutput) ToServiceSkuOutput() ServiceSkuOutput

func (ServiceSkuOutput) ToServiceSkuOutputWithContext

func (o ServiceSkuOutput) ToServiceSkuOutputWithContext(ctx context.Context) ServiceSkuOutput

func (ServiceSkuOutput) ToServiceSkuPtrOutput

func (o ServiceSkuOutput) ToServiceSkuPtrOutput() ServiceSkuPtrOutput

func (ServiceSkuOutput) ToServiceSkuPtrOutputWithContext

func (o ServiceSkuOutput) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput

type ServiceSkuPtrInput

type ServiceSkuPtrInput interface {
	pulumi.Input

	ToServiceSkuPtrOutput() ServiceSkuPtrOutput
	ToServiceSkuPtrOutputWithContext(context.Context) ServiceSkuPtrOutput
}

ServiceSkuPtrInput is an input type that accepts ServiceSkuArgs, ServiceSkuPtr and ServiceSkuPtrOutput values. You can construct a concrete instance of `ServiceSkuPtrInput` via:

        ServiceSkuArgs{...}

or:

        nil

func ServiceSkuPtr

func ServiceSkuPtr(v *ServiceSkuArgs) ServiceSkuPtrInput

type ServiceSkuPtrOutput

type ServiceSkuPtrOutput struct{ *pulumi.OutputState }

func (ServiceSkuPtrOutput) Capacity

Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `5`, `10`, `20`, `50` and `100`.

func (ServiceSkuPtrOutput) Elem

func (ServiceSkuPtrOutput) ElementType

func (ServiceSkuPtrOutput) ElementType() reflect.Type

func (ServiceSkuPtrOutput) Name

Specifies which tier to use. Valid values are `Free_F1`, `Standard_S1` and `Premium_P1`.

func (ServiceSkuPtrOutput) ToServiceSkuPtrOutput

func (o ServiceSkuPtrOutput) ToServiceSkuPtrOutput() ServiceSkuPtrOutput

func (ServiceSkuPtrOutput) ToServiceSkuPtrOutputWithContext

func (o ServiceSkuPtrOutput) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput

type ServiceState

type ServiceState struct {
	// Specifies if Connectivity Logs are enabled or not. Defaults to `false`.
	ConnectivityLogsEnabled pulumi.BoolPtrInput
	// A `cors` block as documented below.
	Cors ServiceCorArrayInput
	// The FQDN of the SignalR service.
	Hostname pulumi.StringPtrInput
	// The publicly accessible IP of the SignalR service.
	IpAddress pulumi.StringPtrInput
	// A `liveTrace` block as defined below.
	LiveTrace ServiceLiveTracePtrInput
	// Specifies if Live Trace is enabled or not. Defaults to `false`.
	//
	// Deprecated: `live_trace_enabled` has been deprecated in favor of `live_trace` and will be removed in 4.0.
	LiveTraceEnabled pulumi.BoolPtrInput
	// Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// Specifies if Messaging Logs are enabled or not. Defaults to `false`.
	MessagingLogsEnabled pulumi.BoolPtrInput
	// The name of the SignalR service. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The primary access key for the SignalR service.
	PrimaryAccessKey pulumi.StringPtrInput
	// The primary connection string for the SignalR service.
	PrimaryConnectionString pulumi.StringPtrInput
	// The publicly accessible port of the SignalR service which is designed for browser/client use.
	PublicPort pulumi.IntPtrInput
	// The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// The secondary access key for the SignalR service.
	SecondaryAccessKey pulumi.StringPtrInput
	// The secondary connection string for the SignalR service.
	SecondaryConnectionString pulumi.StringPtrInput
	// The publicly accessible port of the SignalR service which is designed for customer server side use.
	ServerPort pulumi.IntPtrInput
	// Specifies the service mode. Possible values are `Classic`, `Default` and `Serverless`. Defaults to `Default`.
	ServiceMode pulumi.StringPtrInput
	// A `sku` block as documented below.
	Sku ServiceSkuPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// An `upstreamEndpoint` block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
	UpstreamEndpoints ServiceUpstreamEndpointArrayInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type ServiceUpstreamEndpoint

type ServiceUpstreamEndpoint struct {
	// The categories to match on, or `*` for all.
	CategoryPatterns []string `pulumi:"categoryPatterns"`
	// The events to match on, or `*` for all.
	EventPatterns []string `pulumi:"eventPatterns"`
	// The hubs to match on, or `*` for all.
	HubPatterns []string `pulumi:"hubPatterns"`
	// The upstream URL Template. This can be a url or a template such as `http://host.com/{hub}/api/{category}/{event}`.
	UrlTemplate string `pulumi:"urlTemplate"`
}

type ServiceUpstreamEndpointArgs

type ServiceUpstreamEndpointArgs struct {
	// The categories to match on, or `*` for all.
	CategoryPatterns pulumi.StringArrayInput `pulumi:"categoryPatterns"`
	// The events to match on, or `*` for all.
	EventPatterns pulumi.StringArrayInput `pulumi:"eventPatterns"`
	// The hubs to match on, or `*` for all.
	HubPatterns pulumi.StringArrayInput `pulumi:"hubPatterns"`
	// The upstream URL Template. This can be a url or a template such as `http://host.com/{hub}/api/{category}/{event}`.
	UrlTemplate pulumi.StringInput `pulumi:"urlTemplate"`
}

func (ServiceUpstreamEndpointArgs) ElementType

func (ServiceUpstreamEndpointArgs) ToServiceUpstreamEndpointOutput

func (i ServiceUpstreamEndpointArgs) ToServiceUpstreamEndpointOutput() ServiceUpstreamEndpointOutput

func (ServiceUpstreamEndpointArgs) ToServiceUpstreamEndpointOutputWithContext

func (i ServiceUpstreamEndpointArgs) ToServiceUpstreamEndpointOutputWithContext(ctx context.Context) ServiceUpstreamEndpointOutput

type ServiceUpstreamEndpointArray

type ServiceUpstreamEndpointArray []ServiceUpstreamEndpointInput

func (ServiceUpstreamEndpointArray) ElementType

func (ServiceUpstreamEndpointArray) ToServiceUpstreamEndpointArrayOutput

func (i ServiceUpstreamEndpointArray) ToServiceUpstreamEndpointArrayOutput() ServiceUpstreamEndpointArrayOutput

func (ServiceUpstreamEndpointArray) ToServiceUpstreamEndpointArrayOutputWithContext

func (i ServiceUpstreamEndpointArray) ToServiceUpstreamEndpointArrayOutputWithContext(ctx context.Context) ServiceUpstreamEndpointArrayOutput

type ServiceUpstreamEndpointArrayInput

type ServiceUpstreamEndpointArrayInput interface {
	pulumi.Input

	ToServiceUpstreamEndpointArrayOutput() ServiceUpstreamEndpointArrayOutput
	ToServiceUpstreamEndpointArrayOutputWithContext(context.Context) ServiceUpstreamEndpointArrayOutput
}

ServiceUpstreamEndpointArrayInput is an input type that accepts ServiceUpstreamEndpointArray and ServiceUpstreamEndpointArrayOutput values. You can construct a concrete instance of `ServiceUpstreamEndpointArrayInput` via:

ServiceUpstreamEndpointArray{ ServiceUpstreamEndpointArgs{...} }

type ServiceUpstreamEndpointArrayOutput

type ServiceUpstreamEndpointArrayOutput struct{ *pulumi.OutputState }

func (ServiceUpstreamEndpointArrayOutput) ElementType

func (ServiceUpstreamEndpointArrayOutput) Index

func (ServiceUpstreamEndpointArrayOutput) ToServiceUpstreamEndpointArrayOutput

func (o ServiceUpstreamEndpointArrayOutput) ToServiceUpstreamEndpointArrayOutput() ServiceUpstreamEndpointArrayOutput

func (ServiceUpstreamEndpointArrayOutput) ToServiceUpstreamEndpointArrayOutputWithContext

func (o ServiceUpstreamEndpointArrayOutput) ToServiceUpstreamEndpointArrayOutputWithContext(ctx context.Context) ServiceUpstreamEndpointArrayOutput

type ServiceUpstreamEndpointInput

type ServiceUpstreamEndpointInput interface {
	pulumi.Input

	ToServiceUpstreamEndpointOutput() ServiceUpstreamEndpointOutput
	ToServiceUpstreamEndpointOutputWithContext(context.Context) ServiceUpstreamEndpointOutput
}

ServiceUpstreamEndpointInput is an input type that accepts ServiceUpstreamEndpointArgs and ServiceUpstreamEndpointOutput values. You can construct a concrete instance of `ServiceUpstreamEndpointInput` via:

ServiceUpstreamEndpointArgs{...}

type ServiceUpstreamEndpointOutput

type ServiceUpstreamEndpointOutput struct{ *pulumi.OutputState }

func (ServiceUpstreamEndpointOutput) CategoryPatterns

The categories to match on, or `*` for all.

func (ServiceUpstreamEndpointOutput) ElementType

func (ServiceUpstreamEndpointOutput) EventPatterns

The events to match on, or `*` for all.

func (ServiceUpstreamEndpointOutput) HubPatterns

The hubs to match on, or `*` for all.

func (ServiceUpstreamEndpointOutput) ToServiceUpstreamEndpointOutput

func (o ServiceUpstreamEndpointOutput) ToServiceUpstreamEndpointOutput() ServiceUpstreamEndpointOutput

func (ServiceUpstreamEndpointOutput) ToServiceUpstreamEndpointOutputWithContext

func (o ServiceUpstreamEndpointOutput) ToServiceUpstreamEndpointOutputWithContext(ctx context.Context) ServiceUpstreamEndpointOutput

func (ServiceUpstreamEndpointOutput) UrlTemplate

The upstream URL Template. This can be a url or a template such as `http://host.com/{hub}/api/{category}/{event}`.

type SharedPrivateLinkResource added in v5.15.0

type SharedPrivateLinkResource struct {
	pulumi.CustomResourceState

	// The name of the Signalr Shared Private Link Resource. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The request message for requesting approval of the Shared Private Link Enabled Remote Resource.
	RequestMessage pulumi.StringPtrOutput `pulumi:"requestMessage"`
	// The id of the Signalr Service. Changing this forces a new resource to be created.
	SignalrServiceId pulumi.StringOutput `pulumi:"signalrServiceId"`
	// The status of a private endpoint connection. Possible values are `Pending`, `Approved`, `Rejected` or `Disconnected`.
	Status pulumi.StringOutput `pulumi:"status"`
	// The sub resource name which the Signalr Private Endpoint can connect to. Possible values are `sites`, `vault`. Changing this forces a new resource to be created.
	SubResourceName pulumi.StringOutput `pulumi:"subResourceName"`
	// The ID of the Shared Private Link Enabled Remote Resource which this Signalr Private Endpoint should be connected to. Changing this forces a new resource to be created.
	TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"`
}

Manages the Shared Private Link Resource for a Signalr service.

## 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/keyvault"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/signalr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := core.GetClientConfig(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("east us"),
		})
		if err != nil {
			return err
		}
		exampleKeyVault, err := keyvault.NewKeyVault(ctx, "exampleKeyVault", &keyvault.KeyVaultArgs{
			Location:                exampleResourceGroup.Location,
			ResourceGroupName:       exampleResourceGroup.Name,
			TenantId:                pulumi.String(current.TenantId),
			SkuName:                 pulumi.String("standard"),
			SoftDeleteRetentionDays: pulumi.Int(7),
			AccessPolicies: keyvault.KeyVaultAccessPolicyArray{
				&keyvault.KeyVaultAccessPolicyArgs{
					TenantId: pulumi.String(current.TenantId),
					ObjectId: pulumi.String(current.ObjectId),
					CertificatePermissions: pulumi.StringArray{
						pulumi.String("ManageContacts"),
					},
					KeyPermissions: pulumi.StringArray{
						pulumi.String("Create"),
					},
					SecretPermissions: pulumi.StringArray{
						pulumi.String("Set"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = signalr.NewService(ctx, "test", &signalr.ServiceArgs{
			Location:          pulumi.Any(azurerm_resource_group.Test.Location),
			ResourceGroupName: pulumi.Any(azurerm_resource_group.Test.Name),
			Sku: &signalr.ServiceSkuArgs{
				Name:     pulumi.String("Standard_S1"),
				Capacity: pulumi.Int(1),
			},
		})
		if err != nil {
			return err
		}
		_, err = signalr.NewSharedPrivateLinkResource(ctx, "exampleSharedPrivateLinkResource", &signalr.SharedPrivateLinkResourceArgs{
			SignalrServiceId: pulumi.Any(azurerm_signalr_service.Example.Id),
			SubResourceName:  pulumi.String("vault"),
			TargetResourceId: exampleKeyVault.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Signalr Shared Private Link Resource can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:signalr/sharedPrivateLinkResource:SharedPrivateLinkResource example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/signalR/signalr1/sharedPrivateLinkResources/resource1

```

func GetSharedPrivateLinkResource added in v5.15.0

func GetSharedPrivateLinkResource(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SharedPrivateLinkResourceState, opts ...pulumi.ResourceOption) (*SharedPrivateLinkResource, error)

GetSharedPrivateLinkResource gets an existing SharedPrivateLinkResource 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 NewSharedPrivateLinkResource added in v5.15.0

func NewSharedPrivateLinkResource(ctx *pulumi.Context,
	name string, args *SharedPrivateLinkResourceArgs, opts ...pulumi.ResourceOption) (*SharedPrivateLinkResource, error)

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

func (*SharedPrivateLinkResource) ElementType added in v5.15.0

func (*SharedPrivateLinkResource) ElementType() reflect.Type

func (*SharedPrivateLinkResource) ToSharedPrivateLinkResourceOutput added in v5.15.0

func (i *SharedPrivateLinkResource) ToSharedPrivateLinkResourceOutput() SharedPrivateLinkResourceOutput

func (*SharedPrivateLinkResource) ToSharedPrivateLinkResourceOutputWithContext added in v5.15.0

func (i *SharedPrivateLinkResource) ToSharedPrivateLinkResourceOutputWithContext(ctx context.Context) SharedPrivateLinkResourceOutput

type SharedPrivateLinkResourceArgs added in v5.15.0

type SharedPrivateLinkResourceArgs struct {
	// The name of the Signalr Shared Private Link Resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The request message for requesting approval of the Shared Private Link Enabled Remote Resource.
	RequestMessage pulumi.StringPtrInput
	// The id of the Signalr Service. Changing this forces a new resource to be created.
	SignalrServiceId pulumi.StringInput
	// The sub resource name which the Signalr Private Endpoint can connect to. Possible values are `sites`, `vault`. Changing this forces a new resource to be created.
	SubResourceName pulumi.StringInput
	// The ID of the Shared Private Link Enabled Remote Resource which this Signalr Private Endpoint should be connected to. Changing this forces a new resource to be created.
	TargetResourceId pulumi.StringInput
}

The set of arguments for constructing a SharedPrivateLinkResource resource.

func (SharedPrivateLinkResourceArgs) ElementType added in v5.15.0

type SharedPrivateLinkResourceArray added in v5.15.0

type SharedPrivateLinkResourceArray []SharedPrivateLinkResourceInput

func (SharedPrivateLinkResourceArray) ElementType added in v5.15.0

func (SharedPrivateLinkResourceArray) ToSharedPrivateLinkResourceArrayOutput added in v5.15.0

func (i SharedPrivateLinkResourceArray) ToSharedPrivateLinkResourceArrayOutput() SharedPrivateLinkResourceArrayOutput

func (SharedPrivateLinkResourceArray) ToSharedPrivateLinkResourceArrayOutputWithContext added in v5.15.0

func (i SharedPrivateLinkResourceArray) ToSharedPrivateLinkResourceArrayOutputWithContext(ctx context.Context) SharedPrivateLinkResourceArrayOutput

type SharedPrivateLinkResourceArrayInput added in v5.15.0

type SharedPrivateLinkResourceArrayInput interface {
	pulumi.Input

	ToSharedPrivateLinkResourceArrayOutput() SharedPrivateLinkResourceArrayOutput
	ToSharedPrivateLinkResourceArrayOutputWithContext(context.Context) SharedPrivateLinkResourceArrayOutput
}

SharedPrivateLinkResourceArrayInput is an input type that accepts SharedPrivateLinkResourceArray and SharedPrivateLinkResourceArrayOutput values. You can construct a concrete instance of `SharedPrivateLinkResourceArrayInput` via:

SharedPrivateLinkResourceArray{ SharedPrivateLinkResourceArgs{...} }

type SharedPrivateLinkResourceArrayOutput added in v5.15.0

type SharedPrivateLinkResourceArrayOutput struct{ *pulumi.OutputState }

func (SharedPrivateLinkResourceArrayOutput) ElementType added in v5.15.0

func (SharedPrivateLinkResourceArrayOutput) Index added in v5.15.0

func (SharedPrivateLinkResourceArrayOutput) ToSharedPrivateLinkResourceArrayOutput added in v5.15.0

func (o SharedPrivateLinkResourceArrayOutput) ToSharedPrivateLinkResourceArrayOutput() SharedPrivateLinkResourceArrayOutput

func (SharedPrivateLinkResourceArrayOutput) ToSharedPrivateLinkResourceArrayOutputWithContext added in v5.15.0

func (o SharedPrivateLinkResourceArrayOutput) ToSharedPrivateLinkResourceArrayOutputWithContext(ctx context.Context) SharedPrivateLinkResourceArrayOutput

type SharedPrivateLinkResourceInput added in v5.15.0

type SharedPrivateLinkResourceInput interface {
	pulumi.Input

	ToSharedPrivateLinkResourceOutput() SharedPrivateLinkResourceOutput
	ToSharedPrivateLinkResourceOutputWithContext(ctx context.Context) SharedPrivateLinkResourceOutput
}

type SharedPrivateLinkResourceMap added in v5.15.0

type SharedPrivateLinkResourceMap map[string]SharedPrivateLinkResourceInput

func (SharedPrivateLinkResourceMap) ElementType added in v5.15.0

func (SharedPrivateLinkResourceMap) ToSharedPrivateLinkResourceMapOutput added in v5.15.0

func (i SharedPrivateLinkResourceMap) ToSharedPrivateLinkResourceMapOutput() SharedPrivateLinkResourceMapOutput

func (SharedPrivateLinkResourceMap) ToSharedPrivateLinkResourceMapOutputWithContext added in v5.15.0

func (i SharedPrivateLinkResourceMap) ToSharedPrivateLinkResourceMapOutputWithContext(ctx context.Context) SharedPrivateLinkResourceMapOutput

type SharedPrivateLinkResourceMapInput added in v5.15.0

type SharedPrivateLinkResourceMapInput interface {
	pulumi.Input

	ToSharedPrivateLinkResourceMapOutput() SharedPrivateLinkResourceMapOutput
	ToSharedPrivateLinkResourceMapOutputWithContext(context.Context) SharedPrivateLinkResourceMapOutput
}

SharedPrivateLinkResourceMapInput is an input type that accepts SharedPrivateLinkResourceMap and SharedPrivateLinkResourceMapOutput values. You can construct a concrete instance of `SharedPrivateLinkResourceMapInput` via:

SharedPrivateLinkResourceMap{ "key": SharedPrivateLinkResourceArgs{...} }

type SharedPrivateLinkResourceMapOutput added in v5.15.0

type SharedPrivateLinkResourceMapOutput struct{ *pulumi.OutputState }

func (SharedPrivateLinkResourceMapOutput) ElementType added in v5.15.0

func (SharedPrivateLinkResourceMapOutput) MapIndex added in v5.15.0

func (SharedPrivateLinkResourceMapOutput) ToSharedPrivateLinkResourceMapOutput added in v5.15.0

func (o SharedPrivateLinkResourceMapOutput) ToSharedPrivateLinkResourceMapOutput() SharedPrivateLinkResourceMapOutput

func (SharedPrivateLinkResourceMapOutput) ToSharedPrivateLinkResourceMapOutputWithContext added in v5.15.0

func (o SharedPrivateLinkResourceMapOutput) ToSharedPrivateLinkResourceMapOutputWithContext(ctx context.Context) SharedPrivateLinkResourceMapOutput

type SharedPrivateLinkResourceOutput added in v5.15.0

type SharedPrivateLinkResourceOutput struct{ *pulumi.OutputState }

func (SharedPrivateLinkResourceOutput) ElementType added in v5.15.0

func (SharedPrivateLinkResourceOutput) Name added in v5.15.0

The name of the Signalr Shared Private Link Resource. Changing this forces a new resource to be created.

func (SharedPrivateLinkResourceOutput) RequestMessage added in v5.15.0

The request message for requesting approval of the Shared Private Link Enabled Remote Resource.

func (SharedPrivateLinkResourceOutput) SignalrServiceId added in v5.15.0

The id of the Signalr Service. Changing this forces a new resource to be created.

func (SharedPrivateLinkResourceOutput) Status added in v5.15.0

The status of a private endpoint connection. Possible values are `Pending`, `Approved`, `Rejected` or `Disconnected`.

func (SharedPrivateLinkResourceOutput) SubResourceName added in v5.15.0

The sub resource name which the Signalr Private Endpoint can connect to. Possible values are `sites`, `vault`. Changing this forces a new resource to be created.

func (SharedPrivateLinkResourceOutput) TargetResourceId added in v5.15.0

The ID of the Shared Private Link Enabled Remote Resource which this Signalr Private Endpoint should be connected to. Changing this forces a new resource to be created.

func (SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutput added in v5.15.0

func (o SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutput() SharedPrivateLinkResourceOutput

func (SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutputWithContext added in v5.15.0

func (o SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutputWithContext(ctx context.Context) SharedPrivateLinkResourceOutput

type SharedPrivateLinkResourceState added in v5.15.0

type SharedPrivateLinkResourceState struct {
	// The name of the Signalr Shared Private Link Resource. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The request message for requesting approval of the Shared Private Link Enabled Remote Resource.
	RequestMessage pulumi.StringPtrInput
	// The id of the Signalr Service. Changing this forces a new resource to be created.
	SignalrServiceId pulumi.StringPtrInput
	// The status of a private endpoint connection. Possible values are `Pending`, `Approved`, `Rejected` or `Disconnected`.
	Status pulumi.StringPtrInput
	// The sub resource name which the Signalr Private Endpoint can connect to. Possible values are `sites`, `vault`. Changing this forces a new resource to be created.
	SubResourceName pulumi.StringPtrInput
	// The ID of the Shared Private Link Enabled Remote Resource which this Signalr Private Endpoint should be connected to. Changing this forces a new resource to be created.
	TargetResourceId pulumi.StringPtrInput
}

func (SharedPrivateLinkResourceState) ElementType added in v5.15.0

Jump to

Keyboard shortcuts

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