signalr

package
v0.0.0-...-37ff63d Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

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 LookupServiceResult

type LookupServiceResult struct {
	// The FQDN of the SignalR service.
	Hostname string `pulumi:"hostname"`
	// id is 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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/signalr_service.html.markdown.

type Service

type Service struct {
	pulumi.CustomResourceState

	// A `cors` block as documented below.
	Cors ServiceCorArrayOutput `pulumi:"cors"`
	// A `features` block as documented below.
	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 the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// 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"`
	// A `sku` block as documented below.
	Sku ServiceSkuOutput `pulumi:"sku"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages an Azure SignalR service.

> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/signalr_service.html.markdown.

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.

type ServiceArgs

type ServiceArgs struct {
	// A `cors` block as documented below.
	Cors ServiceCorArrayInput
	// A `features` block as documented below.
	Features ServiceFeatureArrayInput
	// Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// 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
	// A `sku` block as documented below.
	Sku ServiceSkuInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

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
}

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
}

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

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
}

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

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
}

func ServiceSkuPtr

func ServiceSkuPtr(v *ServiceSkuArgs) ServiceSkuPtrInput

type ServiceSkuPtrOutput

type ServiceSkuPtrOutput struct{ *pulumi.OutputState }

func (ServiceSkuPtrOutput) Capacity

func (o ServiceSkuPtrOutput) 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 (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 {
	// A `cors` block as documented below.
	Cors ServiceCorArrayInput
	// A `features` block as documented below.
	Features ServiceFeatureArrayInput
	// The FQDN of the SignalR service.
	Hostname pulumi.StringPtrInput
	// The publicly accessible IP of the SignalR service.
	IpAddress pulumi.StringPtrInput
	// Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// 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
	// A `sku` block as documented below.
	Sku ServiceSkuPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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