Module signalr

@pulumi/azure > signalr

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-azure repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-azurerm repo.

class Service

extends CustomResource

Manages an Azure SignalR service.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("example", {
    location: "West US",
    name: "my-signalr",
});
const exampleService = new azure.signalr.Service("example", {
    location: exampleResourceGroup.location,
    name: "tfex-signalr",
    resourceGroupName: exampleResourceGroup.name,
    sku: {
        capacity: 1,
        name: "Free_F1",
    },
});

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

constructor

new Service(name: string, args: ServiceArgs, opts?: pulumi.CustomResourceOptions)

Create a Service resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceState, opts?: pulumi.CustomResourceOptions): Service

Get an existing Service resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

public static isInstance(obj: any): boolean

Returns true if the given object is an instance of Service. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property hostname

public hostname: pulumi.Output<string>;

The FQDN of the SignalR service.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property ipAddress

public ipAddress: pulumi.Output<string>;

The publicly accessible IP of the SignalR service.

property location

public location: pulumi.Output<string>;

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

property name

public name: pulumi.Output<string>;

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

property primaryAccessKey

public primaryAccessKey: pulumi.Output<string>;

The primary access key for the SignalR service.

property primaryConnectionString

public primaryConnectionString: pulumi.Output<string>;

The primary connection string for the SignalR service.

property publicPort

public publicPort: pulumi.Output<number>;

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

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

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

property secondaryAccessKey

public secondaryAccessKey: pulumi.Output<string>;

The secondary access key for the SignalR service.

property secondaryConnectionString

public secondaryConnectionString: pulumi.Output<string>;

The secondary connection string for the SignalR service.

property serverPort

public serverPort: pulumi.Output<number>;

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

property sku

public sku: pulumi.Output<{
    capacity: number;
    name: string;
}>;

A sku block as documented below.

property tags

public tags: pulumi.Output<{[key: string]: any}>;

A mapping of tags to assign to the resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface ServiceArgs

The set of arguments for constructing a Service resource.

property location

location?: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

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

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

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

property sku

sku: pulumi.Input<{
    capacity: pulumi.Input<number>;
    name: pulumi.Input<string>;
}>;

A sku block as documented below.

property tags

tags?: pulumi.Input<{[key: string]: any}>;

A mapping of tags to assign to the resource.

interface ServiceState

Input properties used for looking up and filtering Service resources.

property hostname

hostname?: pulumi.Input<string>;

The FQDN of the SignalR service.

property ipAddress

ipAddress?: pulumi.Input<string>;

The publicly accessible IP of the SignalR service.

property location

location?: pulumi.Input<string>;

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

property name

name?: pulumi.Input<string>;

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

property primaryAccessKey

primaryAccessKey?: pulumi.Input<string>;

The primary access key for the SignalR service.

property primaryConnectionString

primaryConnectionString?: pulumi.Input<string>;

The primary connection string for the SignalR service.

property publicPort

publicPort?: pulumi.Input<number>;

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

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

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

property secondaryAccessKey

secondaryAccessKey?: pulumi.Input<string>;

The secondary access key for the SignalR service.

property secondaryConnectionString

secondaryConnectionString?: pulumi.Input<string>;

The secondary connection string for the SignalR service.

property serverPort

serverPort?: pulumi.Input<number>;

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

property sku

sku?: pulumi.Input<{
    capacity: pulumi.Input<number>;
    name: pulumi.Input<string>;
}>;

A sku block as documented below.

property tags

tags?: pulumi.Input<{[key: string]: any}>;

A mapping of tags to assign to the resource.