signalr

package
v5.64.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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 {
	// Is aad auth enabled for this SignalR service?
	AadAuthEnabled bool `pulumi:"aadAuthEnabled"`
	// 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"`
	// Is local auth enable for this SignalR serviced?
	LocalAuthEnabled bool `pulumi:"localAuthEnabled"`
	// 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"`
	// Is public network access enabled for this SignalR service?
	PublicNetworkAccessEnabled bool `pulumi:"publicNetworkAccessEnabled"`
	// 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"`
	// The serverless connection timeout of this SignalR service.
	ServerlessConnectionTimeoutInSeconds int               `pulumi:"serverlessConnectionTimeoutInSeconds"`
	Tags                                 map[string]string `pulumi:"tags"`
	// Is tls client cert enabled for this SignalR service?
	TlsClientCertEnabled bool `pulumi:"tlsClientCertEnabled"`
}

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) AadAuthEnabled added in v5.39.0

func (o LookupServiceResultOutput) AadAuthEnabled() pulumi.BoolOutput

Is aad auth enabled for this SignalR service?

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) LocalAuthEnabled added in v5.39.0

func (o LookupServiceResultOutput) LocalAuthEnabled() pulumi.BoolOutput

Is local auth enable for this SignalR serviced?

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) PublicNetworkAccessEnabled added in v5.39.0

func (o LookupServiceResultOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput

Is public network access enabled for this 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) ServerlessConnectionTimeoutInSeconds added in v5.39.0

func (o LookupServiceResultOutput) ServerlessConnectionTimeoutInSeconds() pulumi.IntOutput

The serverless connection timeout of this SignalR service.

func (LookupServiceResultOutput) Tags

func (LookupServiceResultOutput) TlsClientCertEnabled added in v5.39.0

func (o LookupServiceResultOutput) TlsClientCertEnabled() pulumi.BoolOutput

Is tls client cert enabled for this SignalR service?

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

	// Whether to enable AAD auth? Defaults to `true`.
	AadAuthEnabled pulumi.BoolPtrOutput `pulumi:"aadAuthEnabled"`
	// 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"`
	// Specifies if Http Request Logs are enabled or not. Defaults to `false`.
	HttpRequestLogsEnabled pulumi.BoolPtrOutput `pulumi:"httpRequestLogsEnabled"`
	// An `identity` block as defined below.
	Identity ServiceIdentityPtrOutput `pulumi:"identity"`
	// 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"`
	// Whether to enable local auth? Defaults to `true`.
	LocalAuthEnabled pulumi.BoolPtrOutput `pulumi:"localAuthEnabled"`
	// 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"`
	// Whether to enable public network access? Defaults to `true`.
	//
	// > **Note:** `publicNetworkAccessEnabled` cannot be set to `false` in `Free` sku tier.
	PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"`
	// 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 client connection timeout. Defaults to `30`.
	ServerlessConnectionTimeoutInSeconds pulumi.IntPtrOutput `pulumi:"serverlessConnectionTimeoutInSeconds"`
	// 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"`
	// Whether to request client certificate during TLS handshake? Defaults to `false`.
	//
	// > **Note:** `tlsClientCertEnabled` cannot be set to `true` in `Free` sku tier.
	TlsClientCertEnabled pulumi.BoolPtrOutput `pulumi:"tlsClientCertEnabled"`
	// 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"),
					},
				},
			},
			PublicNetworkAccessEnabled: pulumi.Bool(false),
			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 {
	// Whether to enable AAD auth? Defaults to `true`.
	AadAuthEnabled pulumi.BoolPtrInput
	// Specifies if Connectivity Logs are enabled or not. Defaults to `false`.
	ConnectivityLogsEnabled pulumi.BoolPtrInput
	// A `cors` block as documented below.
	Cors ServiceCorArrayInput
	// Specifies if Http Request Logs are enabled or not. Defaults to `false`.
	HttpRequestLogsEnabled pulumi.BoolPtrInput
	// An `identity` block as defined below.
	Identity ServiceIdentityPtrInput
	// 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
	// Whether to enable local auth? Defaults to `true`.
	LocalAuthEnabled 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
	// Whether to enable public network access? Defaults to `true`.
	//
	// > **Note:** `publicNetworkAccessEnabled` cannot be set to `false` in `Free` sku tier.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// 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 client connection timeout. Defaults to `30`.
	ServerlessConnectionTimeoutInSeconds 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 ServiceSkuInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
	// Whether to request client certificate during TLS handshake? Defaults to `false`.
	//
	// > **Note:** `tlsClientCertEnabled` cannot be set to `true` in `Free` sku tier.
	TlsClientCertEnabled pulumi.BoolPtrInput
	// 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 ServiceCustomCertificate added in v5.40.0

type ServiceCustomCertificate struct {
	pulumi.CustomResourceState

	// The certificate version of the SignalR Custom Certificate service.
	CertificateVersion pulumi.StringOutput `pulumi:"certificateVersion"`
	// The certificate id of the SignalR Custom Certificate service. Changing this forces a new resource to be created.
	//
	// > **Note:** Self assigned certificate is not supported and the provisioning status will fail.
	CustomCertificateId pulumi.StringOutput `pulumi:"customCertificateId"`
	// The name of the SignalR Custom Certificate. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The SignalR ID of the SignalR Custom Certificate. Changing this forces a new resource to be created.
	//
	// > **Note:** Custom Certificate is only available for SignalR Premium tier. Please enable managed identity in the corresponding SignalR Service and give the managed identity access to the key vault, the required permission is Get Certificate and Secret.
	SignalrServiceId pulumi.StringOutput `pulumi:"signalrServiceId"`
}

Manages an Azure SignalR Custom Certificate.

## Example Usage

```go package main

import (

"encoding/base64"
"os"

"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 filebase64OrPanic(path string) string {
	if fileData, err := os.ReadFile(path); err == nil {
		return base64.StdEncoding.EncodeToString(fileData[:])
	} else {
		panic(err.Error())
	}
}

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("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleService, err := signalr.NewService(ctx, "exampleService", &signalr.ServiceArgs{
			Location:          pulumi.Any(azurerm_resource_group.Test.Location),
			ResourceGroupName: pulumi.Any(azurerm_resource_group.Test.Name),
			Sku: &signalr.ServiceSkuArgs{
				Name:     pulumi.String("Premium_P1"),
				Capacity: pulumi.Int(1),
			},
			Identity: &signalr.ServiceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		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("premium"),
			AccessPolicies: keyvault.KeyVaultAccessPolicyArray{
				&keyvault.KeyVaultAccessPolicyArgs{
					TenantId: *pulumi.String(current.TenantId),
					ObjectId: *pulumi.String(current.ObjectId),
					CertificatePermissions: pulumi.StringArray{
						pulumi.String("Create"),
						pulumi.String("Get"),
						pulumi.String("List"),
					},
					SecretPermissions: pulumi.StringArray{
						pulumi.String("Get"),
						pulumi.String("List"),
					},
				},
				&keyvault.KeyVaultAccessPolicyArgs{
					TenantId: *pulumi.String(current.TenantId),
					ObjectId: pulumi.Any(azurerm_signalr_service.Test.Identity[0].Principal_id),
					CertificatePermissions: pulumi.StringArray{
						pulumi.String("Create"),
						pulumi.String("Get"),
						pulumi.String("List"),
					},
					SecretPermissions: pulumi.StringArray{
						pulumi.String("Get"),
						pulumi.String("List"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleCertificate, err := keyvault.NewCertificate(ctx, "exampleCertificate", &keyvault.CertificateArgs{
			KeyVaultId: exampleKeyVault.ID(),
			Certificate: &keyvault.CertificateCertificateArgs{
				Contents: filebase64OrPanic("certificate-to-import.pfx"),
				Password: pulumi.String(""),
			},
		})
		if err != nil {
			return err
		}
		_, err = signalr.NewServiceCustomCertificate(ctx, "test", &signalr.ServiceCustomCertificateArgs{
			SignalrServiceId:    exampleService.ID(),
			CustomCertificateId: exampleCertificate.ID(),
		}, pulumi.DependsOn([]pulumi.Resource{
			azurerm_key_vault_access_policy.Example,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:signalr/serviceCustomCertificate:ServiceCustomCertificate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/signalR/signalr1/customCertificates/cert1

```

func GetServiceCustomCertificate added in v5.40.0

func GetServiceCustomCertificate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceCustomCertificateState, opts ...pulumi.ResourceOption) (*ServiceCustomCertificate, error)

GetServiceCustomCertificate gets an existing ServiceCustomCertificate 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 NewServiceCustomCertificate added in v5.40.0

func NewServiceCustomCertificate(ctx *pulumi.Context,
	name string, args *ServiceCustomCertificateArgs, opts ...pulumi.ResourceOption) (*ServiceCustomCertificate, error)

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

func (*ServiceCustomCertificate) ElementType added in v5.40.0

func (*ServiceCustomCertificate) ElementType() reflect.Type

func (*ServiceCustomCertificate) ToServiceCustomCertificateOutput added in v5.40.0

func (i *ServiceCustomCertificate) ToServiceCustomCertificateOutput() ServiceCustomCertificateOutput

func (*ServiceCustomCertificate) ToServiceCustomCertificateOutputWithContext added in v5.40.0

func (i *ServiceCustomCertificate) ToServiceCustomCertificateOutputWithContext(ctx context.Context) ServiceCustomCertificateOutput

type ServiceCustomCertificateArgs added in v5.40.0

type ServiceCustomCertificateArgs struct {
	// The certificate id of the SignalR Custom Certificate service. Changing this forces a new resource to be created.
	//
	// > **Note:** Self assigned certificate is not supported and the provisioning status will fail.
	CustomCertificateId pulumi.StringInput
	// The name of the SignalR Custom Certificate. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The SignalR ID of the SignalR Custom Certificate. Changing this forces a new resource to be created.
	//
	// > **Note:** Custom Certificate is only available for SignalR Premium tier. Please enable managed identity in the corresponding SignalR Service and give the managed identity access to the key vault, the required permission is Get Certificate and Secret.
	SignalrServiceId pulumi.StringInput
}

The set of arguments for constructing a ServiceCustomCertificate resource.

func (ServiceCustomCertificateArgs) ElementType added in v5.40.0

type ServiceCustomCertificateArray added in v5.40.0

type ServiceCustomCertificateArray []ServiceCustomCertificateInput

func (ServiceCustomCertificateArray) ElementType added in v5.40.0

func (ServiceCustomCertificateArray) ToServiceCustomCertificateArrayOutput added in v5.40.0

func (i ServiceCustomCertificateArray) ToServiceCustomCertificateArrayOutput() ServiceCustomCertificateArrayOutput

func (ServiceCustomCertificateArray) ToServiceCustomCertificateArrayOutputWithContext added in v5.40.0

func (i ServiceCustomCertificateArray) ToServiceCustomCertificateArrayOutputWithContext(ctx context.Context) ServiceCustomCertificateArrayOutput

type ServiceCustomCertificateArrayInput added in v5.40.0

type ServiceCustomCertificateArrayInput interface {
	pulumi.Input

	ToServiceCustomCertificateArrayOutput() ServiceCustomCertificateArrayOutput
	ToServiceCustomCertificateArrayOutputWithContext(context.Context) ServiceCustomCertificateArrayOutput
}

ServiceCustomCertificateArrayInput is an input type that accepts ServiceCustomCertificateArray and ServiceCustomCertificateArrayOutput values. You can construct a concrete instance of `ServiceCustomCertificateArrayInput` via:

ServiceCustomCertificateArray{ ServiceCustomCertificateArgs{...} }

type ServiceCustomCertificateArrayOutput added in v5.40.0

type ServiceCustomCertificateArrayOutput struct{ *pulumi.OutputState }

func (ServiceCustomCertificateArrayOutput) ElementType added in v5.40.0

func (ServiceCustomCertificateArrayOutput) Index added in v5.40.0

func (ServiceCustomCertificateArrayOutput) ToServiceCustomCertificateArrayOutput added in v5.40.0

func (o ServiceCustomCertificateArrayOutput) ToServiceCustomCertificateArrayOutput() ServiceCustomCertificateArrayOutput

func (ServiceCustomCertificateArrayOutput) ToServiceCustomCertificateArrayOutputWithContext added in v5.40.0

func (o ServiceCustomCertificateArrayOutput) ToServiceCustomCertificateArrayOutputWithContext(ctx context.Context) ServiceCustomCertificateArrayOutput

type ServiceCustomCertificateInput added in v5.40.0

type ServiceCustomCertificateInput interface {
	pulumi.Input

	ToServiceCustomCertificateOutput() ServiceCustomCertificateOutput
	ToServiceCustomCertificateOutputWithContext(ctx context.Context) ServiceCustomCertificateOutput
}

type ServiceCustomCertificateMap added in v5.40.0

type ServiceCustomCertificateMap map[string]ServiceCustomCertificateInput

func (ServiceCustomCertificateMap) ElementType added in v5.40.0

func (ServiceCustomCertificateMap) ToServiceCustomCertificateMapOutput added in v5.40.0

func (i ServiceCustomCertificateMap) ToServiceCustomCertificateMapOutput() ServiceCustomCertificateMapOutput

func (ServiceCustomCertificateMap) ToServiceCustomCertificateMapOutputWithContext added in v5.40.0

func (i ServiceCustomCertificateMap) ToServiceCustomCertificateMapOutputWithContext(ctx context.Context) ServiceCustomCertificateMapOutput

type ServiceCustomCertificateMapInput added in v5.40.0

type ServiceCustomCertificateMapInput interface {
	pulumi.Input

	ToServiceCustomCertificateMapOutput() ServiceCustomCertificateMapOutput
	ToServiceCustomCertificateMapOutputWithContext(context.Context) ServiceCustomCertificateMapOutput
}

ServiceCustomCertificateMapInput is an input type that accepts ServiceCustomCertificateMap and ServiceCustomCertificateMapOutput values. You can construct a concrete instance of `ServiceCustomCertificateMapInput` via:

ServiceCustomCertificateMap{ "key": ServiceCustomCertificateArgs{...} }

type ServiceCustomCertificateMapOutput added in v5.40.0

type ServiceCustomCertificateMapOutput struct{ *pulumi.OutputState }

func (ServiceCustomCertificateMapOutput) ElementType added in v5.40.0

func (ServiceCustomCertificateMapOutput) MapIndex added in v5.40.0

func (ServiceCustomCertificateMapOutput) ToServiceCustomCertificateMapOutput added in v5.40.0

func (o ServiceCustomCertificateMapOutput) ToServiceCustomCertificateMapOutput() ServiceCustomCertificateMapOutput

func (ServiceCustomCertificateMapOutput) ToServiceCustomCertificateMapOutputWithContext added in v5.40.0

func (o ServiceCustomCertificateMapOutput) ToServiceCustomCertificateMapOutputWithContext(ctx context.Context) ServiceCustomCertificateMapOutput

type ServiceCustomCertificateOutput added in v5.40.0

type ServiceCustomCertificateOutput struct{ *pulumi.OutputState }

func (ServiceCustomCertificateOutput) CertificateVersion added in v5.40.0

func (o ServiceCustomCertificateOutput) CertificateVersion() pulumi.StringOutput

The certificate version of the SignalR Custom Certificate service.

func (ServiceCustomCertificateOutput) CustomCertificateId added in v5.40.0

func (o ServiceCustomCertificateOutput) CustomCertificateId() pulumi.StringOutput

The certificate id of the SignalR Custom Certificate service. Changing this forces a new resource to be created.

> **Note:** Self assigned certificate is not supported and the provisioning status will fail.

func (ServiceCustomCertificateOutput) ElementType added in v5.40.0

func (ServiceCustomCertificateOutput) Name added in v5.40.0

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

func (ServiceCustomCertificateOutput) SignalrServiceId added in v5.40.0

func (o ServiceCustomCertificateOutput) SignalrServiceId() pulumi.StringOutput

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

> **Note:** Custom Certificate is only available for SignalR Premium tier. Please enable managed identity in the corresponding SignalR Service and give the managed identity access to the key vault, the required permission is Get Certificate and Secret.

func (ServiceCustomCertificateOutput) ToServiceCustomCertificateOutput added in v5.40.0

func (o ServiceCustomCertificateOutput) ToServiceCustomCertificateOutput() ServiceCustomCertificateOutput

func (ServiceCustomCertificateOutput) ToServiceCustomCertificateOutputWithContext added in v5.40.0

func (o ServiceCustomCertificateOutput) ToServiceCustomCertificateOutputWithContext(ctx context.Context) ServiceCustomCertificateOutput

type ServiceCustomCertificateState added in v5.40.0

type ServiceCustomCertificateState struct {
	// The certificate version of the SignalR Custom Certificate service.
	CertificateVersion pulumi.StringPtrInput
	// The certificate id of the SignalR Custom Certificate service. Changing this forces a new resource to be created.
	//
	// > **Note:** Self assigned certificate is not supported and the provisioning status will fail.
	CustomCertificateId pulumi.StringPtrInput
	// The name of the SignalR Custom Certificate. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The SignalR ID of the SignalR Custom Certificate. Changing this forces a new resource to be created.
	//
	// > **Note:** Custom Certificate is only available for SignalR Premium tier. Please enable managed identity in the corresponding SignalR Service and give the managed identity access to the key vault, the required permission is Get Certificate and Secret.
	SignalrServiceId pulumi.StringPtrInput
}

func (ServiceCustomCertificateState) ElementType added in v5.40.0

type ServiceCustomDomain added in v5.44.0

type ServiceCustomDomain struct {
	pulumi.CustomResourceState

	// Specifies the custom domain name of the SignalR Custom Domain. Changing this forces a new resource to be created.
	//
	// > **NOTE:** Please ensure the custom domain name is included in the Subject Alternative Names of the selected SignalR Custom Certificate.
	DomainName pulumi.StringOutput `pulumi:"domainName"`
	// Specifies the name of the SignalR Custom Domain. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the SignalR Custom Certificate ID of the SignalR Custom Domain. Changing this forces a new resource to be created.
	SignalrCustomCertificateId pulumi.StringOutput `pulumi:"signalrCustomCertificateId"`
	// Specifies the SignalR ID of the SignalR Custom Domain. Changing this forces a new resource to be created.
	SignalrServiceId pulumi.StringOutput `pulumi:"signalrServiceId"`
}

Manages an Azure SignalR Custom Domain.

## Example Usage

```go package main

import (

"encoding/base64"
"os"

"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 filebase64OrPanic(path string) string {
	if fileData, err := os.ReadFile(path); err == nil {
		return base64.StdEncoding.EncodeToString(fileData[:])
	} else {
		panic(err.Error())
	}
}

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("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleService, err := signalr.NewService(ctx, "exampleService", &signalr.ServiceArgs{
			Location:          pulumi.Any(azurerm_resource_group.Test.Location),
			ResourceGroupName: pulumi.Any(azurerm_resource_group.Test.Name),
			Sku: &signalr.ServiceSkuArgs{
				Name:     pulumi.String("Premium_P1"),
				Capacity: pulumi.Int(1),
			},
			Identity: &signalr.ServiceIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		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("premium"),
			AccessPolicies: keyvault.KeyVaultAccessPolicyArray{
				&keyvault.KeyVaultAccessPolicyArgs{
					TenantId: *pulumi.String(current.TenantId),
					ObjectId: *pulumi.String(current.ObjectId),
					CertificatePermissions: pulumi.StringArray{
						pulumi.String("Create"),
						pulumi.String("Get"),
						pulumi.String("List"),
					},
					SecretPermissions: pulumi.StringArray{
						pulumi.String("Get"),
						pulumi.String("List"),
					},
				},
				&keyvault.KeyVaultAccessPolicyArgs{
					TenantId: *pulumi.String(current.TenantId),
					ObjectId: pulumi.Any(azurerm_signalr_service.Test.Identity[0].Principal_id),
					CertificatePermissions: pulumi.StringArray{
						pulumi.String("Create"),
						pulumi.String("Get"),
						pulumi.String("List"),
					},
					SecretPermissions: pulumi.StringArray{
						pulumi.String("Get"),
						pulumi.String("List"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		exampleCertificate, err := keyvault.NewCertificate(ctx, "exampleCertificate", &keyvault.CertificateArgs{
			KeyVaultId: exampleKeyVault.ID(),
			Certificate: &keyvault.CertificateCertificateArgs{
				Contents: filebase64OrPanic("certificate-to-import.pfx"),
				Password: pulumi.String(""),
			},
		})
		if err != nil {
			return err
		}
		testServiceCustomCertificate, err := signalr.NewServiceCustomCertificate(ctx, "testServiceCustomCertificate", &signalr.ServiceCustomCertificateArgs{
			SignalrServiceId:    exampleService.ID(),
			CustomCertificateId: exampleCertificate.ID(),
		}, pulumi.DependsOn([]pulumi.Resource{
			azurerm_key_vault_access_policy.Example,
		}))
		if err != nil {
			return err
		}
		_, err = signalr.NewServiceCustomDomain(ctx, "testServiceCustomDomain", &signalr.ServiceCustomDomainArgs{
			SignalrServiceId:           pulumi.Any(azurerm_signalr_service.Test.Id),
			DomainName:                 pulumi.String("tftest.com"),
			SignalrCustomCertificateId: testServiceCustomCertificate.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

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

```sh

$ pulumi import azure:signalr/serviceCustomDomain:ServiceCustomDomain example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/signalR/signalr1/customDomains/customDomain1

```

func GetServiceCustomDomain added in v5.44.0

func GetServiceCustomDomain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceCustomDomainState, opts ...pulumi.ResourceOption) (*ServiceCustomDomain, error)

GetServiceCustomDomain gets an existing ServiceCustomDomain 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 NewServiceCustomDomain added in v5.44.0

func NewServiceCustomDomain(ctx *pulumi.Context,
	name string, args *ServiceCustomDomainArgs, opts ...pulumi.ResourceOption) (*ServiceCustomDomain, error)

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

func (*ServiceCustomDomain) ElementType added in v5.44.0

func (*ServiceCustomDomain) ElementType() reflect.Type

func (*ServiceCustomDomain) ToServiceCustomDomainOutput added in v5.44.0

func (i *ServiceCustomDomain) ToServiceCustomDomainOutput() ServiceCustomDomainOutput

func (*ServiceCustomDomain) ToServiceCustomDomainOutputWithContext added in v5.44.0

func (i *ServiceCustomDomain) ToServiceCustomDomainOutputWithContext(ctx context.Context) ServiceCustomDomainOutput

type ServiceCustomDomainArgs added in v5.44.0

type ServiceCustomDomainArgs struct {
	// Specifies the custom domain name of the SignalR Custom Domain. Changing this forces a new resource to be created.
	//
	// > **NOTE:** Please ensure the custom domain name is included in the Subject Alternative Names of the selected SignalR Custom Certificate.
	DomainName pulumi.StringInput
	// Specifies the name of the SignalR Custom Domain. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies the SignalR Custom Certificate ID of the SignalR Custom Domain. Changing this forces a new resource to be created.
	SignalrCustomCertificateId pulumi.StringInput
	// Specifies the SignalR ID of the SignalR Custom Domain. Changing this forces a new resource to be created.
	SignalrServiceId pulumi.StringInput
}

The set of arguments for constructing a ServiceCustomDomain resource.

func (ServiceCustomDomainArgs) ElementType added in v5.44.0

func (ServiceCustomDomainArgs) ElementType() reflect.Type

type ServiceCustomDomainArray added in v5.44.0

type ServiceCustomDomainArray []ServiceCustomDomainInput

func (ServiceCustomDomainArray) ElementType added in v5.44.0

func (ServiceCustomDomainArray) ElementType() reflect.Type

func (ServiceCustomDomainArray) ToServiceCustomDomainArrayOutput added in v5.44.0

func (i ServiceCustomDomainArray) ToServiceCustomDomainArrayOutput() ServiceCustomDomainArrayOutput

func (ServiceCustomDomainArray) ToServiceCustomDomainArrayOutputWithContext added in v5.44.0

func (i ServiceCustomDomainArray) ToServiceCustomDomainArrayOutputWithContext(ctx context.Context) ServiceCustomDomainArrayOutput

type ServiceCustomDomainArrayInput added in v5.44.0

type ServiceCustomDomainArrayInput interface {
	pulumi.Input

	ToServiceCustomDomainArrayOutput() ServiceCustomDomainArrayOutput
	ToServiceCustomDomainArrayOutputWithContext(context.Context) ServiceCustomDomainArrayOutput
}

ServiceCustomDomainArrayInput is an input type that accepts ServiceCustomDomainArray and ServiceCustomDomainArrayOutput values. You can construct a concrete instance of `ServiceCustomDomainArrayInput` via:

ServiceCustomDomainArray{ ServiceCustomDomainArgs{...} }

type ServiceCustomDomainArrayOutput added in v5.44.0

type ServiceCustomDomainArrayOutput struct{ *pulumi.OutputState }

func (ServiceCustomDomainArrayOutput) ElementType added in v5.44.0

func (ServiceCustomDomainArrayOutput) Index added in v5.44.0

func (ServiceCustomDomainArrayOutput) ToServiceCustomDomainArrayOutput added in v5.44.0

func (o ServiceCustomDomainArrayOutput) ToServiceCustomDomainArrayOutput() ServiceCustomDomainArrayOutput

func (ServiceCustomDomainArrayOutput) ToServiceCustomDomainArrayOutputWithContext added in v5.44.0

func (o ServiceCustomDomainArrayOutput) ToServiceCustomDomainArrayOutputWithContext(ctx context.Context) ServiceCustomDomainArrayOutput

type ServiceCustomDomainInput added in v5.44.0

type ServiceCustomDomainInput interface {
	pulumi.Input

	ToServiceCustomDomainOutput() ServiceCustomDomainOutput
	ToServiceCustomDomainOutputWithContext(ctx context.Context) ServiceCustomDomainOutput
}

type ServiceCustomDomainMap added in v5.44.0

type ServiceCustomDomainMap map[string]ServiceCustomDomainInput

func (ServiceCustomDomainMap) ElementType added in v5.44.0

func (ServiceCustomDomainMap) ElementType() reflect.Type

func (ServiceCustomDomainMap) ToServiceCustomDomainMapOutput added in v5.44.0

func (i ServiceCustomDomainMap) ToServiceCustomDomainMapOutput() ServiceCustomDomainMapOutput

func (ServiceCustomDomainMap) ToServiceCustomDomainMapOutputWithContext added in v5.44.0

func (i ServiceCustomDomainMap) ToServiceCustomDomainMapOutputWithContext(ctx context.Context) ServiceCustomDomainMapOutput

type ServiceCustomDomainMapInput added in v5.44.0

type ServiceCustomDomainMapInput interface {
	pulumi.Input

	ToServiceCustomDomainMapOutput() ServiceCustomDomainMapOutput
	ToServiceCustomDomainMapOutputWithContext(context.Context) ServiceCustomDomainMapOutput
}

ServiceCustomDomainMapInput is an input type that accepts ServiceCustomDomainMap and ServiceCustomDomainMapOutput values. You can construct a concrete instance of `ServiceCustomDomainMapInput` via:

ServiceCustomDomainMap{ "key": ServiceCustomDomainArgs{...} }

type ServiceCustomDomainMapOutput added in v5.44.0

type ServiceCustomDomainMapOutput struct{ *pulumi.OutputState }

func (ServiceCustomDomainMapOutput) ElementType added in v5.44.0

func (ServiceCustomDomainMapOutput) MapIndex added in v5.44.0

func (ServiceCustomDomainMapOutput) ToServiceCustomDomainMapOutput added in v5.44.0

func (o ServiceCustomDomainMapOutput) ToServiceCustomDomainMapOutput() ServiceCustomDomainMapOutput

func (ServiceCustomDomainMapOutput) ToServiceCustomDomainMapOutputWithContext added in v5.44.0

func (o ServiceCustomDomainMapOutput) ToServiceCustomDomainMapOutputWithContext(ctx context.Context) ServiceCustomDomainMapOutput

type ServiceCustomDomainOutput added in v5.44.0

type ServiceCustomDomainOutput struct{ *pulumi.OutputState }

func (ServiceCustomDomainOutput) DomainName added in v5.44.0

Specifies the custom domain name of the SignalR Custom Domain. Changing this forces a new resource to be created.

> **NOTE:** Please ensure the custom domain name is included in the Subject Alternative Names of the selected SignalR Custom Certificate.

func (ServiceCustomDomainOutput) ElementType added in v5.44.0

func (ServiceCustomDomainOutput) ElementType() reflect.Type

func (ServiceCustomDomainOutput) Name added in v5.44.0

Specifies the name of the SignalR Custom Domain. Changing this forces a new resource to be created.

func (ServiceCustomDomainOutput) SignalrCustomCertificateId added in v5.44.0

func (o ServiceCustomDomainOutput) SignalrCustomCertificateId() pulumi.StringOutput

Specifies the SignalR Custom Certificate ID of the SignalR Custom Domain. Changing this forces a new resource to be created.

func (ServiceCustomDomainOutput) SignalrServiceId added in v5.44.0

func (o ServiceCustomDomainOutput) SignalrServiceId() pulumi.StringOutput

Specifies the SignalR ID of the SignalR Custom Domain. Changing this forces a new resource to be created.

func (ServiceCustomDomainOutput) ToServiceCustomDomainOutput added in v5.44.0

func (o ServiceCustomDomainOutput) ToServiceCustomDomainOutput() ServiceCustomDomainOutput

func (ServiceCustomDomainOutput) ToServiceCustomDomainOutputWithContext added in v5.44.0

func (o ServiceCustomDomainOutput) ToServiceCustomDomainOutputWithContext(ctx context.Context) ServiceCustomDomainOutput

type ServiceCustomDomainState added in v5.44.0

type ServiceCustomDomainState struct {
	// Specifies the custom domain name of the SignalR Custom Domain. Changing this forces a new resource to be created.
	//
	// > **NOTE:** Please ensure the custom domain name is included in the Subject Alternative Names of the selected SignalR Custom Certificate.
	DomainName pulumi.StringPtrInput
	// Specifies the name of the SignalR Custom Domain. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Specifies the SignalR Custom Certificate ID of the SignalR Custom Domain. Changing this forces a new resource to be created.
	SignalrCustomCertificateId pulumi.StringPtrInput
	// Specifies the SignalR ID of the SignalR Custom Domain. Changing this forces a new resource to be created.
	SignalrServiceId pulumi.StringPtrInput
}

func (ServiceCustomDomainState) ElementType added in v5.44.0

func (ServiceCustomDomainState) ElementType() reflect.Type

type ServiceIdentity added in v5.39.0

type ServiceIdentity struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this signalR.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned`
	IdentityIds []string `pulumi:"identityIds"`
	PrincipalId *string  `pulumi:"principalId"`
	TenantId    *string  `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this signalR. Possible values are `SystemAssigned`, `UserAssigned`.
	Type string `pulumi:"type"`
}

type ServiceIdentityArgs added in v5.39.0

type ServiceIdentityArgs struct {
	// Specifies a list of User Assigned Managed Identity IDs to be assigned to this signalR.
	//
	// > **NOTE:** This is required when `type` is set to `UserAssigned`
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	PrincipalId pulumi.StringPtrInput   `pulumi:"principalId"`
	TenantId    pulumi.StringPtrInput   `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this signalR. Possible values are `SystemAssigned`, `UserAssigned`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ServiceIdentityArgs) ElementType added in v5.39.0

func (ServiceIdentityArgs) ElementType() reflect.Type

func (ServiceIdentityArgs) ToServiceIdentityOutput added in v5.39.0

func (i ServiceIdentityArgs) ToServiceIdentityOutput() ServiceIdentityOutput

func (ServiceIdentityArgs) ToServiceIdentityOutputWithContext added in v5.39.0

func (i ServiceIdentityArgs) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput

func (ServiceIdentityArgs) ToServiceIdentityPtrOutput added in v5.39.0

func (i ServiceIdentityArgs) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput

func (ServiceIdentityArgs) ToServiceIdentityPtrOutputWithContext added in v5.39.0

func (i ServiceIdentityArgs) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput

type ServiceIdentityInput added in v5.39.0

type ServiceIdentityInput interface {
	pulumi.Input

	ToServiceIdentityOutput() ServiceIdentityOutput
	ToServiceIdentityOutputWithContext(context.Context) ServiceIdentityOutput
}

ServiceIdentityInput is an input type that accepts ServiceIdentityArgs and ServiceIdentityOutput values. You can construct a concrete instance of `ServiceIdentityInput` via:

ServiceIdentityArgs{...}

type ServiceIdentityOutput added in v5.39.0

type ServiceIdentityOutput struct{ *pulumi.OutputState }

func (ServiceIdentityOutput) ElementType added in v5.39.0

func (ServiceIdentityOutput) ElementType() reflect.Type

func (ServiceIdentityOutput) IdentityIds added in v5.39.0

Specifies a list of User Assigned Managed Identity IDs to be assigned to this signalR.

> **NOTE:** This is required when `type` is set to `UserAssigned`

func (ServiceIdentityOutput) PrincipalId added in v5.39.0

func (ServiceIdentityOutput) TenantId added in v5.39.0

func (ServiceIdentityOutput) ToServiceIdentityOutput added in v5.39.0

func (o ServiceIdentityOutput) ToServiceIdentityOutput() ServiceIdentityOutput

func (ServiceIdentityOutput) ToServiceIdentityOutputWithContext added in v5.39.0

func (o ServiceIdentityOutput) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput

func (ServiceIdentityOutput) ToServiceIdentityPtrOutput added in v5.39.0

func (o ServiceIdentityOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput

func (ServiceIdentityOutput) ToServiceIdentityPtrOutputWithContext added in v5.39.0

func (o ServiceIdentityOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput

func (ServiceIdentityOutput) Type added in v5.39.0

Specifies the type of Managed Service Identity that should be configured on this signalR. Possible values are `SystemAssigned`, `UserAssigned`.

type ServiceIdentityPtrInput added in v5.39.0

type ServiceIdentityPtrInput interface {
	pulumi.Input

	ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
	ToServiceIdentityPtrOutputWithContext(context.Context) ServiceIdentityPtrOutput
}

ServiceIdentityPtrInput is an input type that accepts ServiceIdentityArgs, ServiceIdentityPtr and ServiceIdentityPtrOutput values. You can construct a concrete instance of `ServiceIdentityPtrInput` via:

        ServiceIdentityArgs{...}

or:

        nil

func ServiceIdentityPtr added in v5.39.0

func ServiceIdentityPtr(v *ServiceIdentityArgs) ServiceIdentityPtrInput

type ServiceIdentityPtrOutput added in v5.39.0

type ServiceIdentityPtrOutput struct{ *pulumi.OutputState }

func (ServiceIdentityPtrOutput) Elem added in v5.39.0

func (ServiceIdentityPtrOutput) ElementType added in v5.39.0

func (ServiceIdentityPtrOutput) ElementType() reflect.Type

func (ServiceIdentityPtrOutput) IdentityIds added in v5.39.0

Specifies a list of User Assigned Managed Identity IDs to be assigned to this signalR.

> **NOTE:** This is required when `type` is set to `UserAssigned`

func (ServiceIdentityPtrOutput) PrincipalId added in v5.39.0

func (ServiceIdentityPtrOutput) TenantId added in v5.39.0

func (ServiceIdentityPtrOutput) ToServiceIdentityPtrOutput added in v5.39.0

func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput

func (ServiceIdentityPtrOutput) ToServiceIdentityPtrOutputWithContext added in v5.39.0

func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput

func (ServiceIdentityPtrOutput) Type added in v5.39.0

Specifies the type of Managed Service Identity that should be configured on this signalR. Possible values are `SystemAssigned`, `UserAssigned`.

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`.
	//
	// > **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.
	AllowedRequestTypes []string `pulumi:"allowedRequestTypes"`
	// The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
	//
	// > **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.
	//
	// > **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.
	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`.
	//
	// > **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.
	AllowedRequestTypes pulumi.StringArrayInput `pulumi:"allowedRequestTypes"`
	// The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
	//
	// > **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.
	//
	// > **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.
	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`.

> **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.

func (ServiceNetworkAclPrivateEndpointOutput) DeniedRequestTypes

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

> **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.

> **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.

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`.
	//
	// > **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.
	AllowedRequestTypes []string `pulumi:"allowedRequestTypes"`
	// The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
	//
	// > **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.
	//
	// > **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.
	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`.
	//
	// > **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.
	AllowedRequestTypes pulumi.StringArrayInput `pulumi:"allowedRequestTypes"`
	// The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
	//
	// > **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.
	//
	// > **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.
	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`.

> **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.

func (ServiceNetworkAclPublicNetworkOutput) DeniedRequestTypes

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

> **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.

> **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.

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

> **Note:** When `defaultAction` is `Allow`, `allowedRequestTypes`cannot be set.

func (ServiceNetworkAclPublicNetworkPtrOutput) DeniedRequestTypes

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

> **Note:** When `defaultAction` is `Deny`, `deniedRequestTypes`cannot be set.

> **Note:** `allowedRequestTypes` - (Optional) and `deniedRequestTypes` cannot be set together.

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) AadAuthEnabled added in v5.39.0

func (o ServiceOutput) AadAuthEnabled() pulumi.BoolPtrOutput

Whether to enable AAD auth? Defaults to `true`.

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) HttpRequestLogsEnabled added in v5.40.0

func (o ServiceOutput) HttpRequestLogsEnabled() pulumi.BoolPtrOutput

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

func (ServiceOutput) Identity added in v5.39.0

An `identity` block as defined below.

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) LocalAuthEnabled added in v5.39.0

func (o ServiceOutput) LocalAuthEnabled() pulumi.BoolPtrOutput

Whether to enable local auth? Defaults to `true`.

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) PublicNetworkAccessEnabled added in v5.39.0

func (o ServiceOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput

Whether to enable public network access? Defaults to `true`.

> **Note:** `publicNetworkAccessEnabled` cannot be set to `false` in `Free` sku tier.

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) ServerlessConnectionTimeoutInSeconds added in v5.39.0

func (o ServiceOutput) ServerlessConnectionTimeoutInSeconds() pulumi.IntPtrOutput

Specifies the client connection timeout. Defaults to `30`.

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) TlsClientCertEnabled added in v5.39.0

func (o ServiceOutput) TlsClientCertEnabled() pulumi.BoolPtrOutput

Whether to request client certificate during TLS handshake? Defaults to `false`.

> **Note:** `tlsClientCertEnabled` cannot be set to `true` in `Free` sku tier.

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`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90` 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`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90` 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`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90` 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`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `20`, `30`, `40`, `50`, `60`, `70`, `80`, `90` 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 {
	// Whether to enable AAD auth? Defaults to `true`.
	AadAuthEnabled pulumi.BoolPtrInput
	// 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
	// Specifies if Http Request Logs are enabled or not. Defaults to `false`.
	HttpRequestLogsEnabled pulumi.BoolPtrInput
	// An `identity` block as defined below.
	Identity ServiceIdentityPtrInput
	// 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
	// Whether to enable local auth? Defaults to `true`.
	LocalAuthEnabled 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
	// Whether to enable public network access? Defaults to `true`.
	//
	// > **Note:** `publicNetworkAccessEnabled` cannot be set to `false` in `Free` sku tier.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// 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 client connection timeout. Defaults to `30`.
	ServerlessConnectionTimeoutInSeconds 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
	// Whether to request client certificate during TLS handshake? Defaults to `false`.
	//
	// > **Note:** `tlsClientCertEnabled` cannot be set to `true` in `Free` sku tier.
	TlsClientCertEnabled pulumi.BoolPtrInput
	// 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"`
	// Specifies the Managed Identity IDs to be assigned to this signalR upstream setting by using resource uuid as both system assigned and user assigned identity is supported.
	UserAssignedIdentityId *string `pulumi:"userAssignedIdentityId"`
}

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"`
	// Specifies the Managed Identity IDs to be assigned to this signalR upstream setting by using resource uuid as both system assigned and user assigned identity is supported.
	UserAssignedIdentityId pulumi.StringPtrInput `pulumi:"userAssignedIdentityId"`
}

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

func (ServiceUpstreamEndpointOutput) UserAssignedIdentityId added in v5.44.0

func (o ServiceUpstreamEndpointOutput) UserAssignedIdentityId() pulumi.StringPtrOutput

Specifies the Managed Identity IDs to be assigned to this signalR upstream setting by using resource uuid as both system assigned and user assigned identity is supported.

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.
	//
	// > **NOTE:** The `subResourceName` should match with the type of the `targetResourceId` that's being specified.
	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.
	//
	// > **NOTE:** The `subResourceName` should match with the type of the `targetResourceId` that's being specified.
	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.

> **NOTE:** The `subResourceName` should match with the type of the `targetResourceId` that's being specified.

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.
	//
	// > **NOTE:** The `subResourceName` should match with the type of the `targetResourceId` that's being specified.
	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