signalr

package
v4.42.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 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 added in v4.20.0

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 added in v4.20.0

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/v4/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 added in v4.20.0

type LookupServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func LookupServiceOutput added in v4.20.0

func LookupServiceOutput(ctx *pulumi.Context, args LookupServiceOutputArgs, opts ...pulumi.InvokeOption) LookupServiceResultOutput

func (LookupServiceResultOutput) ElementType added in v4.20.0

func (LookupServiceResultOutput) ElementType() reflect.Type

func (LookupServiceResultOutput) Hostname added in v4.20.0

The FQDN of the SignalR service.

func (LookupServiceResultOutput) Id added in v4.20.0

The provider-assigned unique ID for this managed resource.

func (LookupServiceResultOutput) IpAddress added in v4.20.0

The publicly accessible IP of the SignalR service.

func (LookupServiceResultOutput) Location added in v4.20.0

Specifies the supported Azure location where the SignalR service exists.

func (LookupServiceResultOutput) Name added in v4.20.0

func (LookupServiceResultOutput) PrimaryAccessKey added in v4.20.0

func (o LookupServiceResultOutput) PrimaryAccessKey() pulumi.StringOutput

The primary access key of the SignalR service.

func (LookupServiceResultOutput) PrimaryConnectionString added in v4.20.0

func (o LookupServiceResultOutput) PrimaryConnectionString() pulumi.StringOutput

The primary connection string of the SignalR service.

func (LookupServiceResultOutput) PublicPort added in v4.20.0

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

func (LookupServiceResultOutput) ResourceGroupName added in v4.20.0

func (o LookupServiceResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupServiceResultOutput) SecondaryAccessKey added in v4.20.0

func (o LookupServiceResultOutput) SecondaryAccessKey() pulumi.StringOutput

The secondary access key of the SignalR service.

func (LookupServiceResultOutput) SecondaryConnectionString added in v4.20.0

func (o LookupServiceResultOutput) SecondaryConnectionString() pulumi.StringOutput

The secondary connection string of the SignalR service.

func (LookupServiceResultOutput) ServerPort added in v4.20.0

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

func (LookupServiceResultOutput) Tags added in v4.20.0

func (LookupServiceResultOutput) ToLookupServiceResultOutput added in v4.20.0

func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput

func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext added in v4.20.0

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.BoolOutput `pulumi:"connectivityLogsEnabled"`
	// A `cors` block as documented below.
	Cors ServiceCorArrayOutput `pulumi:"cors"`
	// A `features` block as documented below.
	//
	// Deprecated: Deprecated in favour of `connectivity_logs_enabled`, `messaging_logs_enabled`, `live_trace_enabled` and `service_mode`
	Features ServiceFeatureArrayOutput `pulumi:"features"`
	// The FQDN of the SignalR service.
	Hostname pulumi.StringOutput `pulumi:"hostname"`
	// The publicly accessible IP of the SignalR service.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// Specifies if Live Trace is enabled or not. Defaults to `false`.
	LiveTraceEnabled pulumi.BoolOutput `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.BoolOutput `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.StringOutput `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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/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 `features` block as documented below.
	//
	// Deprecated: Deprecated in favour of `connectivity_logs_enabled`, `messaging_logs_enabled`, `live_trace_enabled` and `service_mode`
	Features ServiceFeatureArrayInput
	// Specifies if Live Trace is enabled or not. Defaults to `false`.
	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 ServiceFeature

type ServiceFeature struct {
	// The kind of Feature. Possible values are `EnableConnectivityLogs`, `EnableMessagingLogs`, `EnableLiveTrace` and `ServiceMode`.
	Flag string `pulumi:"flag"`
	// A value of a feature flag. Possible values are `Classic`, `Default` and `Serverless`.
	Value string `pulumi:"value"`
}

type ServiceFeatureArgs

type ServiceFeatureArgs struct {
	// The kind of Feature. Possible values are `EnableConnectivityLogs`, `EnableMessagingLogs`, `EnableLiveTrace` and `ServiceMode`.
	Flag pulumi.StringInput `pulumi:"flag"`
	// A value of a feature flag. Possible values are `Classic`, `Default` and `Serverless`.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ServiceFeatureArgs) ElementType

func (ServiceFeatureArgs) ElementType() reflect.Type

func (ServiceFeatureArgs) ToServiceFeatureOutput

func (i ServiceFeatureArgs) ToServiceFeatureOutput() ServiceFeatureOutput

func (ServiceFeatureArgs) ToServiceFeatureOutputWithContext

func (i ServiceFeatureArgs) ToServiceFeatureOutputWithContext(ctx context.Context) ServiceFeatureOutput

type ServiceFeatureArray

type ServiceFeatureArray []ServiceFeatureInput

func (ServiceFeatureArray) ElementType

func (ServiceFeatureArray) ElementType() reflect.Type

func (ServiceFeatureArray) ToServiceFeatureArrayOutput

func (i ServiceFeatureArray) ToServiceFeatureArrayOutput() ServiceFeatureArrayOutput

func (ServiceFeatureArray) ToServiceFeatureArrayOutputWithContext

func (i ServiceFeatureArray) ToServiceFeatureArrayOutputWithContext(ctx context.Context) ServiceFeatureArrayOutput

type ServiceFeatureArrayInput

type ServiceFeatureArrayInput interface {
	pulumi.Input

	ToServiceFeatureArrayOutput() ServiceFeatureArrayOutput
	ToServiceFeatureArrayOutputWithContext(context.Context) ServiceFeatureArrayOutput
}

ServiceFeatureArrayInput is an input type that accepts ServiceFeatureArray and ServiceFeatureArrayOutput values. You can construct a concrete instance of `ServiceFeatureArrayInput` via:

ServiceFeatureArray{ ServiceFeatureArgs{...} }

type ServiceFeatureArrayOutput

type ServiceFeatureArrayOutput struct{ *pulumi.OutputState }

func (ServiceFeatureArrayOutput) ElementType

func (ServiceFeatureArrayOutput) ElementType() reflect.Type

func (ServiceFeatureArrayOutput) Index

func (ServiceFeatureArrayOutput) ToServiceFeatureArrayOutput

func (o ServiceFeatureArrayOutput) ToServiceFeatureArrayOutput() ServiceFeatureArrayOutput

func (ServiceFeatureArrayOutput) ToServiceFeatureArrayOutputWithContext

func (o ServiceFeatureArrayOutput) ToServiceFeatureArrayOutputWithContext(ctx context.Context) ServiceFeatureArrayOutput

type ServiceFeatureInput

type ServiceFeatureInput interface {
	pulumi.Input

	ToServiceFeatureOutput() ServiceFeatureOutput
	ToServiceFeatureOutputWithContext(context.Context) ServiceFeatureOutput
}

ServiceFeatureInput is an input type that accepts ServiceFeatureArgs and ServiceFeatureOutput values. You can construct a concrete instance of `ServiceFeatureInput` via:

ServiceFeatureArgs{...}

type ServiceFeatureOutput

type ServiceFeatureOutput struct{ *pulumi.OutputState }

func (ServiceFeatureOutput) ElementType

func (ServiceFeatureOutput) ElementType() reflect.Type

func (ServiceFeatureOutput) Flag

The kind of Feature. Possible values are `EnableConnectivityLogs`, `EnableMessagingLogs`, `EnableLiveTrace` and `ServiceMode`.

func (ServiceFeatureOutput) ToServiceFeatureOutput

func (o ServiceFeatureOutput) ToServiceFeatureOutput() ServiceFeatureOutput

func (ServiceFeatureOutput) ToServiceFeatureOutputWithContext

func (o ServiceFeatureOutput) ToServiceFeatureOutputWithContext(ctx context.Context) ServiceFeatureOutput

func (ServiceFeatureOutput) Value

A value of a feature flag. Possible values are `Classic`, `Default` and `Serverless`.

type ServiceInput

type ServiceInput interface {
	pulumi.Input

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

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 added in v4.13.0

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/v4/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/privatelink"
"github.com/pulumi/pulumi-azure/sdk/v4/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 added in v4.13.0

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 added in v4.13.0

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 added in v4.13.0

func (*ServiceNetworkAcl) ElementType() reflect.Type

func (*ServiceNetworkAcl) ToServiceNetworkAclOutput added in v4.13.0

func (i *ServiceNetworkAcl) ToServiceNetworkAclOutput() ServiceNetworkAclOutput

func (*ServiceNetworkAcl) ToServiceNetworkAclOutputWithContext added in v4.13.0

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

type ServiceNetworkAclArgs added in v4.13.0

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 added in v4.13.0

func (ServiceNetworkAclArgs) ElementType() reflect.Type

type ServiceNetworkAclArray added in v4.13.0

type ServiceNetworkAclArray []ServiceNetworkAclInput

func (ServiceNetworkAclArray) ElementType added in v4.13.0

func (ServiceNetworkAclArray) ElementType() reflect.Type

func (ServiceNetworkAclArray) ToServiceNetworkAclArrayOutput added in v4.13.0

func (i ServiceNetworkAclArray) ToServiceNetworkAclArrayOutput() ServiceNetworkAclArrayOutput

func (ServiceNetworkAclArray) ToServiceNetworkAclArrayOutputWithContext added in v4.13.0

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

type ServiceNetworkAclArrayInput added in v4.13.0

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 added in v4.13.0

type ServiceNetworkAclArrayOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclArrayOutput) ElementType added in v4.13.0

func (ServiceNetworkAclArrayOutput) Index added in v4.13.0

func (ServiceNetworkAclArrayOutput) ToServiceNetworkAclArrayOutput added in v4.13.0

func (o ServiceNetworkAclArrayOutput) ToServiceNetworkAclArrayOutput() ServiceNetworkAclArrayOutput

func (ServiceNetworkAclArrayOutput) ToServiceNetworkAclArrayOutputWithContext added in v4.13.0

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

type ServiceNetworkAclInput added in v4.13.0

type ServiceNetworkAclInput interface {
	pulumi.Input

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

type ServiceNetworkAclMap added in v4.13.0

type ServiceNetworkAclMap map[string]ServiceNetworkAclInput

func (ServiceNetworkAclMap) ElementType added in v4.13.0

func (ServiceNetworkAclMap) ElementType() reflect.Type

func (ServiceNetworkAclMap) ToServiceNetworkAclMapOutput added in v4.13.0

func (i ServiceNetworkAclMap) ToServiceNetworkAclMapOutput() ServiceNetworkAclMapOutput

func (ServiceNetworkAclMap) ToServiceNetworkAclMapOutputWithContext added in v4.13.0

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

type ServiceNetworkAclMapInput added in v4.13.0

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 added in v4.13.0

type ServiceNetworkAclMapOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclMapOutput) ElementType added in v4.13.0

func (ServiceNetworkAclMapOutput) ElementType() reflect.Type

func (ServiceNetworkAclMapOutput) MapIndex added in v4.13.0

func (ServiceNetworkAclMapOutput) ToServiceNetworkAclMapOutput added in v4.13.0

func (o ServiceNetworkAclMapOutput) ToServiceNetworkAclMapOutput() ServiceNetworkAclMapOutput

func (ServiceNetworkAclMapOutput) ToServiceNetworkAclMapOutputWithContext added in v4.13.0

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

type ServiceNetworkAclOutput added in v4.13.0

type ServiceNetworkAclOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclOutput) ElementType added in v4.13.0

func (ServiceNetworkAclOutput) ElementType() reflect.Type

func (ServiceNetworkAclOutput) ToServiceNetworkAclOutput added in v4.13.0

func (o ServiceNetworkAclOutput) ToServiceNetworkAclOutput() ServiceNetworkAclOutput

func (ServiceNetworkAclOutput) ToServiceNetworkAclOutputWithContext added in v4.13.0

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

type ServiceNetworkAclPrivateEndpoint added in v4.13.0

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 added in v4.13.0

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 added in v4.13.0

func (ServiceNetworkAclPrivateEndpointArgs) ToServiceNetworkAclPrivateEndpointOutput added in v4.13.0

func (i ServiceNetworkAclPrivateEndpointArgs) ToServiceNetworkAclPrivateEndpointOutput() ServiceNetworkAclPrivateEndpointOutput

func (ServiceNetworkAclPrivateEndpointArgs) ToServiceNetworkAclPrivateEndpointOutputWithContext added in v4.13.0

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

type ServiceNetworkAclPrivateEndpointArray added in v4.13.0

type ServiceNetworkAclPrivateEndpointArray []ServiceNetworkAclPrivateEndpointInput

func (ServiceNetworkAclPrivateEndpointArray) ElementType added in v4.13.0

func (ServiceNetworkAclPrivateEndpointArray) ToServiceNetworkAclPrivateEndpointArrayOutput added in v4.13.0

func (i ServiceNetworkAclPrivateEndpointArray) ToServiceNetworkAclPrivateEndpointArrayOutput() ServiceNetworkAclPrivateEndpointArrayOutput

func (ServiceNetworkAclPrivateEndpointArray) ToServiceNetworkAclPrivateEndpointArrayOutputWithContext added in v4.13.0

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

type ServiceNetworkAclPrivateEndpointArrayInput added in v4.13.0

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 added in v4.13.0

type ServiceNetworkAclPrivateEndpointArrayOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclPrivateEndpointArrayOutput) ElementType added in v4.13.0

func (ServiceNetworkAclPrivateEndpointArrayOutput) Index added in v4.13.0

func (ServiceNetworkAclPrivateEndpointArrayOutput) ToServiceNetworkAclPrivateEndpointArrayOutput added in v4.13.0

func (o ServiceNetworkAclPrivateEndpointArrayOutput) ToServiceNetworkAclPrivateEndpointArrayOutput() ServiceNetworkAclPrivateEndpointArrayOutput

func (ServiceNetworkAclPrivateEndpointArrayOutput) ToServiceNetworkAclPrivateEndpointArrayOutputWithContext added in v4.13.0

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

type ServiceNetworkAclPrivateEndpointInput added in v4.13.0

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 added in v4.13.0

type ServiceNetworkAclPrivateEndpointOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclPrivateEndpointOutput) AllowedRequestTypes added in v4.13.0

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

func (ServiceNetworkAclPrivateEndpointOutput) DeniedRequestTypes added in v4.13.0

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

func (ServiceNetworkAclPrivateEndpointOutput) ElementType added in v4.13.0

func (ServiceNetworkAclPrivateEndpointOutput) Id added in v4.13.0

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

func (ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutput added in v4.13.0

func (o ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutput() ServiceNetworkAclPrivateEndpointOutput

func (ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutputWithContext added in v4.13.0

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

type ServiceNetworkAclPublicNetwork added in v4.13.0

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 added in v4.13.0

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 added in v4.13.0

func (ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkOutput added in v4.13.0

func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkOutput() ServiceNetworkAclPublicNetworkOutput

func (ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkOutputWithContext added in v4.13.0

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

func (ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkPtrOutput added in v4.13.0

func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput

func (ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkPtrOutputWithContext added in v4.13.0

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

type ServiceNetworkAclPublicNetworkInput added in v4.13.0

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 added in v4.13.0

type ServiceNetworkAclPublicNetworkOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclPublicNetworkOutput) AllowedRequestTypes added in v4.13.0

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

func (ServiceNetworkAclPublicNetworkOutput) DeniedRequestTypes added in v4.13.0

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

func (ServiceNetworkAclPublicNetworkOutput) ElementType added in v4.13.0

func (ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkOutput added in v4.13.0

func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkOutput() ServiceNetworkAclPublicNetworkOutput

func (ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkOutputWithContext added in v4.13.0

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

func (ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkPtrOutput added in v4.13.0

func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput

func (ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkPtrOutputWithContext added in v4.13.0

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

type ServiceNetworkAclPublicNetworkPtrInput added in v4.13.0

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 added in v4.13.0

type ServiceNetworkAclPublicNetworkPtrOutput struct{ *pulumi.OutputState }

func (ServiceNetworkAclPublicNetworkPtrOutput) AllowedRequestTypes added in v4.13.0

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

func (ServiceNetworkAclPublicNetworkPtrOutput) DeniedRequestTypes added in v4.13.0

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

func (ServiceNetworkAclPublicNetworkPtrOutput) Elem added in v4.13.0

func (ServiceNetworkAclPublicNetworkPtrOutput) ElementType added in v4.13.0

func (ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutput added in v4.13.0

func (o ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput

func (ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutputWithContext added in v4.13.0

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

type ServiceNetworkAclState added in v4.13.0

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 added in v4.13.0

func (ServiceNetworkAclState) ElementType() reflect.Type

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) ElementType

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) ToServiceOutput

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext

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

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

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

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
	// A `features` block as documented below.
	//
	// Deprecated: Deprecated in favour of `connectivity_logs_enabled`, `messaging_logs_enabled`, `live_trace_enabled` and `service_mode`
	Features ServiceFeatureArrayInput
	// The FQDN of the SignalR service.
	Hostname pulumi.StringPtrInput
	// The publicly accessible IP of the SignalR service.
	IpAddress pulumi.StringPtrInput
	// Specifies if Live Trace is enabled or not. Defaults to `false`.
	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}`.

Jump to

Keyboard shortcuts

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