Documentation ¶
Index ¶
- type LookupServiceArgs
- type LookupServiceOutputArgs
- type LookupServiceResult
- type LookupServiceResultOutput
- func (LookupServiceResultOutput) ElementType() reflect.Type
- func (o LookupServiceResultOutput) Hostname() pulumi.StringOutput
- func (o LookupServiceResultOutput) Id() pulumi.StringOutput
- func (o LookupServiceResultOutput) IpAddress() pulumi.StringOutput
- func (o LookupServiceResultOutput) Location() pulumi.StringOutput
- func (o LookupServiceResultOutput) Name() pulumi.StringOutput
- func (o LookupServiceResultOutput) PrimaryAccessKey() pulumi.StringOutput
- func (o LookupServiceResultOutput) PrimaryConnectionString() pulumi.StringOutput
- func (o LookupServiceResultOutput) PublicPort() pulumi.IntOutput
- func (o LookupServiceResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupServiceResultOutput) SecondaryAccessKey() pulumi.StringOutput
- func (o LookupServiceResultOutput) SecondaryConnectionString() pulumi.StringOutput
- func (o LookupServiceResultOutput) ServerPort() pulumi.IntOutput
- func (o LookupServiceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
- type Service
- type ServiceArgs
- type ServiceArray
- type ServiceArrayInput
- type ServiceArrayOutput
- type ServiceCor
- type ServiceCorArgs
- type ServiceCorArray
- type ServiceCorArrayInput
- type ServiceCorArrayOutput
- func (ServiceCorArrayOutput) ElementType() reflect.Type
- func (o ServiceCorArrayOutput) Index(i pulumi.IntInput) ServiceCorOutput
- func (o ServiceCorArrayOutput) ToServiceCorArrayOutput() ServiceCorArrayOutput
- func (o ServiceCorArrayOutput) ToServiceCorArrayOutputWithContext(ctx context.Context) ServiceCorArrayOutput
- type ServiceCorInput
- type ServiceCorOutput
- type ServiceInput
- type ServiceLiveTrace
- type ServiceLiveTraceArgs
- func (ServiceLiveTraceArgs) ElementType() reflect.Type
- func (i ServiceLiveTraceArgs) ToServiceLiveTraceOutput() ServiceLiveTraceOutput
- func (i ServiceLiveTraceArgs) ToServiceLiveTraceOutputWithContext(ctx context.Context) ServiceLiveTraceOutput
- func (i ServiceLiveTraceArgs) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput
- func (i ServiceLiveTraceArgs) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput
- type ServiceLiveTraceInput
- type ServiceLiveTraceOutput
- func (o ServiceLiveTraceOutput) ConnectivityLogsEnabled() pulumi.BoolPtrOutput
- func (ServiceLiveTraceOutput) ElementType() reflect.Type
- func (o ServiceLiveTraceOutput) Enabled() pulumi.BoolPtrOutput
- func (o ServiceLiveTraceOutput) HttpRequestLogsEnabled() pulumi.BoolPtrOutput
- func (o ServiceLiveTraceOutput) MessagingLogsEnabled() pulumi.BoolPtrOutput
- func (o ServiceLiveTraceOutput) ToServiceLiveTraceOutput() ServiceLiveTraceOutput
- func (o ServiceLiveTraceOutput) ToServiceLiveTraceOutputWithContext(ctx context.Context) ServiceLiveTraceOutput
- func (o ServiceLiveTraceOutput) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput
- func (o ServiceLiveTraceOutput) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput
- type ServiceLiveTracePtrInput
- type ServiceLiveTracePtrOutput
- func (o ServiceLiveTracePtrOutput) ConnectivityLogsEnabled() pulumi.BoolPtrOutput
- func (o ServiceLiveTracePtrOutput) Elem() ServiceLiveTraceOutput
- func (ServiceLiveTracePtrOutput) ElementType() reflect.Type
- func (o ServiceLiveTracePtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o ServiceLiveTracePtrOutput) HttpRequestLogsEnabled() pulumi.BoolPtrOutput
- func (o ServiceLiveTracePtrOutput) MessagingLogsEnabled() pulumi.BoolPtrOutput
- func (o ServiceLiveTracePtrOutput) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput
- func (o ServiceLiveTracePtrOutput) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput
- type ServiceMap
- type ServiceMapInput
- type ServiceMapOutput
- type ServiceNetworkAcl
- type ServiceNetworkAclArgs
- type ServiceNetworkAclArray
- type ServiceNetworkAclArrayInput
- type ServiceNetworkAclArrayOutput
- func (ServiceNetworkAclArrayOutput) ElementType() reflect.Type
- func (o ServiceNetworkAclArrayOutput) Index(i pulumi.IntInput) ServiceNetworkAclOutput
- func (o ServiceNetworkAclArrayOutput) ToServiceNetworkAclArrayOutput() ServiceNetworkAclArrayOutput
- func (o ServiceNetworkAclArrayOutput) ToServiceNetworkAclArrayOutputWithContext(ctx context.Context) ServiceNetworkAclArrayOutput
- type ServiceNetworkAclInput
- type ServiceNetworkAclMap
- type ServiceNetworkAclMapInput
- type ServiceNetworkAclMapOutput
- func (ServiceNetworkAclMapOutput) ElementType() reflect.Type
- func (o ServiceNetworkAclMapOutput) MapIndex(k pulumi.StringInput) ServiceNetworkAclOutput
- func (o ServiceNetworkAclMapOutput) ToServiceNetworkAclMapOutput() ServiceNetworkAclMapOutput
- func (o ServiceNetworkAclMapOutput) ToServiceNetworkAclMapOutputWithContext(ctx context.Context) ServiceNetworkAclMapOutput
- type ServiceNetworkAclOutput
- func (o ServiceNetworkAclOutput) DefaultAction() pulumi.StringOutput
- func (ServiceNetworkAclOutput) ElementType() reflect.Type
- func (o ServiceNetworkAclOutput) PrivateEndpoints() ServiceNetworkAclPrivateEndpointArrayOutput
- func (o ServiceNetworkAclOutput) PublicNetwork() ServiceNetworkAclPublicNetworkOutput
- func (o ServiceNetworkAclOutput) SignalrServiceId() pulumi.StringOutput
- func (o ServiceNetworkAclOutput) ToServiceNetworkAclOutput() ServiceNetworkAclOutput
- func (o ServiceNetworkAclOutput) ToServiceNetworkAclOutputWithContext(ctx context.Context) ServiceNetworkAclOutput
- type ServiceNetworkAclPrivateEndpoint
- type ServiceNetworkAclPrivateEndpointArgs
- func (ServiceNetworkAclPrivateEndpointArgs) ElementType() reflect.Type
- func (i ServiceNetworkAclPrivateEndpointArgs) ToServiceNetworkAclPrivateEndpointOutput() ServiceNetworkAclPrivateEndpointOutput
- func (i ServiceNetworkAclPrivateEndpointArgs) ToServiceNetworkAclPrivateEndpointOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointOutput
- type ServiceNetworkAclPrivateEndpointArray
- func (ServiceNetworkAclPrivateEndpointArray) ElementType() reflect.Type
- func (i ServiceNetworkAclPrivateEndpointArray) ToServiceNetworkAclPrivateEndpointArrayOutput() ServiceNetworkAclPrivateEndpointArrayOutput
- func (i ServiceNetworkAclPrivateEndpointArray) ToServiceNetworkAclPrivateEndpointArrayOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointArrayOutput
- type ServiceNetworkAclPrivateEndpointArrayInput
- type ServiceNetworkAclPrivateEndpointArrayOutput
- func (ServiceNetworkAclPrivateEndpointArrayOutput) ElementType() reflect.Type
- func (o ServiceNetworkAclPrivateEndpointArrayOutput) Index(i pulumi.IntInput) ServiceNetworkAclPrivateEndpointOutput
- func (o ServiceNetworkAclPrivateEndpointArrayOutput) ToServiceNetworkAclPrivateEndpointArrayOutput() ServiceNetworkAclPrivateEndpointArrayOutput
- func (o ServiceNetworkAclPrivateEndpointArrayOutput) ToServiceNetworkAclPrivateEndpointArrayOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointArrayOutput
- type ServiceNetworkAclPrivateEndpointInput
- type ServiceNetworkAclPrivateEndpointOutput
- func (o ServiceNetworkAclPrivateEndpointOutput) AllowedRequestTypes() pulumi.StringArrayOutput
- func (o ServiceNetworkAclPrivateEndpointOutput) DeniedRequestTypes() pulumi.StringArrayOutput
- func (ServiceNetworkAclPrivateEndpointOutput) ElementType() reflect.Type
- func (o ServiceNetworkAclPrivateEndpointOutput) Id() pulumi.StringOutput
- func (o ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutput() ServiceNetworkAclPrivateEndpointOutput
- func (o ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointOutput
- type ServiceNetworkAclPublicNetwork
- type ServiceNetworkAclPublicNetworkArgs
- func (ServiceNetworkAclPublicNetworkArgs) ElementType() reflect.Type
- func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkOutput() ServiceNetworkAclPublicNetworkOutput
- func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkOutput
- func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput
- func (i ServiceNetworkAclPublicNetworkArgs) ToServiceNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkPtrOutput
- type ServiceNetworkAclPublicNetworkInput
- type ServiceNetworkAclPublicNetworkOutput
- func (o ServiceNetworkAclPublicNetworkOutput) AllowedRequestTypes() pulumi.StringArrayOutput
- func (o ServiceNetworkAclPublicNetworkOutput) DeniedRequestTypes() pulumi.StringArrayOutput
- func (ServiceNetworkAclPublicNetworkOutput) ElementType() reflect.Type
- func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkOutput() ServiceNetworkAclPublicNetworkOutput
- func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkOutput
- func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput
- func (o ServiceNetworkAclPublicNetworkOutput) ToServiceNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkPtrOutput
- type ServiceNetworkAclPublicNetworkPtrInput
- type ServiceNetworkAclPublicNetworkPtrOutput
- func (o ServiceNetworkAclPublicNetworkPtrOutput) AllowedRequestTypes() pulumi.StringArrayOutput
- func (o ServiceNetworkAclPublicNetworkPtrOutput) DeniedRequestTypes() pulumi.StringArrayOutput
- func (o ServiceNetworkAclPublicNetworkPtrOutput) Elem() ServiceNetworkAclPublicNetworkOutput
- func (ServiceNetworkAclPublicNetworkPtrOutput) ElementType() reflect.Type
- func (o ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput
- func (o ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkPtrOutput
- type ServiceNetworkAclState
- type ServiceOutput
- func (o ServiceOutput) ConnectivityLogsEnabled() pulumi.BoolPtrOutput
- func (o ServiceOutput) Cors() ServiceCorArrayOutput
- func (ServiceOutput) ElementType() reflect.Type
- func (o ServiceOutput) Hostname() pulumi.StringOutput
- func (o ServiceOutput) IpAddress() pulumi.StringOutput
- func (o ServiceOutput) LiveTrace() ServiceLiveTracePtrOutput
- func (o ServiceOutput) LiveTraceEnabled() pulumi.BoolPtrOutputdeprecated
- func (o ServiceOutput) Location() pulumi.StringOutput
- func (o ServiceOutput) MessagingLogsEnabled() pulumi.BoolPtrOutput
- func (o ServiceOutput) Name() pulumi.StringOutput
- func (o ServiceOutput) PrimaryAccessKey() pulumi.StringOutput
- func (o ServiceOutput) PrimaryConnectionString() pulumi.StringOutput
- func (o ServiceOutput) PublicPort() pulumi.IntOutput
- func (o ServiceOutput) ResourceGroupName() pulumi.StringOutput
- func (o ServiceOutput) SecondaryAccessKey() pulumi.StringOutput
- func (o ServiceOutput) SecondaryConnectionString() pulumi.StringOutput
- func (o ServiceOutput) ServerPort() pulumi.IntOutput
- func (o ServiceOutput) ServiceMode() pulumi.StringPtrOutput
- func (o ServiceOutput) Sku() ServiceSkuOutput
- func (o ServiceOutput) Tags() pulumi.StringMapOutput
- func (o ServiceOutput) ToServiceOutput() ServiceOutput
- func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- func (o ServiceOutput) UpstreamEndpoints() ServiceUpstreamEndpointArrayOutput
- type ServiceSku
- type ServiceSkuArgs
- func (ServiceSkuArgs) ElementType() reflect.Type
- func (i ServiceSkuArgs) ToServiceSkuOutput() ServiceSkuOutput
- func (i ServiceSkuArgs) ToServiceSkuOutputWithContext(ctx context.Context) ServiceSkuOutput
- func (i ServiceSkuArgs) ToServiceSkuPtrOutput() ServiceSkuPtrOutput
- func (i ServiceSkuArgs) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput
- type ServiceSkuInput
- type ServiceSkuOutput
- func (o ServiceSkuOutput) Capacity() pulumi.IntOutput
- func (ServiceSkuOutput) ElementType() reflect.Type
- func (o ServiceSkuOutput) Name() pulumi.StringOutput
- func (o ServiceSkuOutput) ToServiceSkuOutput() ServiceSkuOutput
- func (o ServiceSkuOutput) ToServiceSkuOutputWithContext(ctx context.Context) ServiceSkuOutput
- func (o ServiceSkuOutput) ToServiceSkuPtrOutput() ServiceSkuPtrOutput
- func (o ServiceSkuOutput) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput
- type ServiceSkuPtrInput
- type ServiceSkuPtrOutput
- func (o ServiceSkuPtrOutput) Capacity() pulumi.IntPtrOutput
- func (o ServiceSkuPtrOutput) Elem() ServiceSkuOutput
- func (ServiceSkuPtrOutput) ElementType() reflect.Type
- func (o ServiceSkuPtrOutput) Name() pulumi.StringPtrOutput
- func (o ServiceSkuPtrOutput) ToServiceSkuPtrOutput() ServiceSkuPtrOutput
- func (o ServiceSkuPtrOutput) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput
- type ServiceState
- type ServiceUpstreamEndpoint
- type ServiceUpstreamEndpointArgs
- type ServiceUpstreamEndpointArray
- func (ServiceUpstreamEndpointArray) ElementType() reflect.Type
- func (i ServiceUpstreamEndpointArray) ToServiceUpstreamEndpointArrayOutput() ServiceUpstreamEndpointArrayOutput
- func (i ServiceUpstreamEndpointArray) ToServiceUpstreamEndpointArrayOutputWithContext(ctx context.Context) ServiceUpstreamEndpointArrayOutput
- type ServiceUpstreamEndpointArrayInput
- type ServiceUpstreamEndpointArrayOutput
- func (ServiceUpstreamEndpointArrayOutput) ElementType() reflect.Type
- func (o ServiceUpstreamEndpointArrayOutput) Index(i pulumi.IntInput) ServiceUpstreamEndpointOutput
- func (o ServiceUpstreamEndpointArrayOutput) ToServiceUpstreamEndpointArrayOutput() ServiceUpstreamEndpointArrayOutput
- func (o ServiceUpstreamEndpointArrayOutput) ToServiceUpstreamEndpointArrayOutputWithContext(ctx context.Context) ServiceUpstreamEndpointArrayOutput
- type ServiceUpstreamEndpointInput
- type ServiceUpstreamEndpointOutput
- func (o ServiceUpstreamEndpointOutput) CategoryPatterns() pulumi.StringArrayOutput
- func (ServiceUpstreamEndpointOutput) ElementType() reflect.Type
- func (o ServiceUpstreamEndpointOutput) EventPatterns() pulumi.StringArrayOutput
- func (o ServiceUpstreamEndpointOutput) HubPatterns() pulumi.StringArrayOutput
- func (o ServiceUpstreamEndpointOutput) ToServiceUpstreamEndpointOutput() ServiceUpstreamEndpointOutput
- func (o ServiceUpstreamEndpointOutput) ToServiceUpstreamEndpointOutputWithContext(ctx context.Context) ServiceUpstreamEndpointOutput
- func (o ServiceUpstreamEndpointOutput) UrlTemplate() pulumi.StringOutput
- type SharedPrivateLinkResource
- type SharedPrivateLinkResourceArgs
- type SharedPrivateLinkResourceArray
- func (SharedPrivateLinkResourceArray) ElementType() reflect.Type
- func (i SharedPrivateLinkResourceArray) ToSharedPrivateLinkResourceArrayOutput() SharedPrivateLinkResourceArrayOutput
- func (i SharedPrivateLinkResourceArray) ToSharedPrivateLinkResourceArrayOutputWithContext(ctx context.Context) SharedPrivateLinkResourceArrayOutput
- type SharedPrivateLinkResourceArrayInput
- type SharedPrivateLinkResourceArrayOutput
- func (SharedPrivateLinkResourceArrayOutput) ElementType() reflect.Type
- func (o SharedPrivateLinkResourceArrayOutput) Index(i pulumi.IntInput) SharedPrivateLinkResourceOutput
- func (o SharedPrivateLinkResourceArrayOutput) ToSharedPrivateLinkResourceArrayOutput() SharedPrivateLinkResourceArrayOutput
- func (o SharedPrivateLinkResourceArrayOutput) ToSharedPrivateLinkResourceArrayOutputWithContext(ctx context.Context) SharedPrivateLinkResourceArrayOutput
- type SharedPrivateLinkResourceInput
- type SharedPrivateLinkResourceMap
- func (SharedPrivateLinkResourceMap) ElementType() reflect.Type
- func (i SharedPrivateLinkResourceMap) ToSharedPrivateLinkResourceMapOutput() SharedPrivateLinkResourceMapOutput
- func (i SharedPrivateLinkResourceMap) ToSharedPrivateLinkResourceMapOutputWithContext(ctx context.Context) SharedPrivateLinkResourceMapOutput
- type SharedPrivateLinkResourceMapInput
- type SharedPrivateLinkResourceMapOutput
- func (SharedPrivateLinkResourceMapOutput) ElementType() reflect.Type
- func (o SharedPrivateLinkResourceMapOutput) MapIndex(k pulumi.StringInput) SharedPrivateLinkResourceOutput
- func (o SharedPrivateLinkResourceMapOutput) ToSharedPrivateLinkResourceMapOutput() SharedPrivateLinkResourceMapOutput
- func (o SharedPrivateLinkResourceMapOutput) ToSharedPrivateLinkResourceMapOutputWithContext(ctx context.Context) SharedPrivateLinkResourceMapOutput
- type SharedPrivateLinkResourceOutput
- func (SharedPrivateLinkResourceOutput) ElementType() reflect.Type
- func (o SharedPrivateLinkResourceOutput) Name() pulumi.StringOutput
- func (o SharedPrivateLinkResourceOutput) RequestMessage() pulumi.StringPtrOutput
- func (o SharedPrivateLinkResourceOutput) SignalrServiceId() pulumi.StringOutput
- func (o SharedPrivateLinkResourceOutput) Status() pulumi.StringOutput
- func (o SharedPrivateLinkResourceOutput) SubResourceName() pulumi.StringOutput
- func (o SharedPrivateLinkResourceOutput) TargetResourceId() pulumi.StringOutput
- func (o SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutput() SharedPrivateLinkResourceOutput
- func (o SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutputWithContext(ctx context.Context) SharedPrivateLinkResourceOutput
- type SharedPrivateLinkResourceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupServiceArgs ¶
type LookupServiceArgs struct { // Specifies the name of the SignalR service. Name string `pulumi:"name"` // Specifies the name of the resource group the SignalR service is located in. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getService.
type LookupServiceOutputArgs ¶
type LookupServiceOutputArgs struct { // Specifies the name of the SignalR service. Name pulumi.StringInput `pulumi:"name"` // Specifies the name of the resource group the SignalR service is located in. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getService.
func (LookupServiceOutputArgs) ElementType ¶
func (LookupServiceOutputArgs) ElementType() reflect.Type
type LookupServiceResult ¶
type LookupServiceResult struct { // The FQDN of the SignalR service. Hostname string `pulumi:"hostname"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The publicly accessible IP of the SignalR service. IpAddress string `pulumi:"ipAddress"` // Specifies the supported Azure location where the SignalR service exists. Location string `pulumi:"location"` Name string `pulumi:"name"` // The primary access key of the SignalR service. PrimaryAccessKey string `pulumi:"primaryAccessKey"` // The primary connection string of the SignalR service. PrimaryConnectionString string `pulumi:"primaryConnectionString"` // The publicly accessible port of the SignalR service which is designed for browser/client use. PublicPort int `pulumi:"publicPort"` ResourceGroupName string `pulumi:"resourceGroupName"` // The secondary access key of the SignalR service. SecondaryAccessKey string `pulumi:"secondaryAccessKey"` // The secondary connection string of the SignalR service. SecondaryConnectionString string `pulumi:"secondaryConnectionString"` // The publicly accessible port of the SignalR service which is designed for customer server side use. ServerPort int `pulumi:"serverPort"` Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getService.
func LookupService ¶
func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)
Use this data source to access information about an existing Azure SignalR service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/signalr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := signalr.LookupService(ctx, &signalr.LookupServiceArgs{ Name: "test-signalr", ResourceGroupName: "signalr-resource-group", }, nil) if err != nil { return err } return nil }) }
```
type LookupServiceResultOutput ¶
type LookupServiceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getService.
func LookupServiceOutput ¶
func LookupServiceOutput(ctx *pulumi.Context, args LookupServiceOutputArgs, opts ...pulumi.InvokeOption) LookupServiceResultOutput
func (LookupServiceResultOutput) ElementType ¶
func (LookupServiceResultOutput) ElementType() reflect.Type
func (LookupServiceResultOutput) Hostname ¶
func (o LookupServiceResultOutput) Hostname() pulumi.StringOutput
The FQDN of the SignalR service.
func (LookupServiceResultOutput) Id ¶
func (o LookupServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupServiceResultOutput) IpAddress ¶
func (o LookupServiceResultOutput) IpAddress() pulumi.StringOutput
The publicly accessible IP of the SignalR service.
func (LookupServiceResultOutput) Location ¶
func (o LookupServiceResultOutput) Location() pulumi.StringOutput
Specifies the supported Azure location where the SignalR service exists.
func (LookupServiceResultOutput) Name ¶
func (o LookupServiceResultOutput) Name() pulumi.StringOutput
func (LookupServiceResultOutput) PrimaryAccessKey ¶
func (o LookupServiceResultOutput) PrimaryAccessKey() pulumi.StringOutput
The primary access key of the SignalR service.
func (LookupServiceResultOutput) PrimaryConnectionString ¶
func (o LookupServiceResultOutput) PrimaryConnectionString() pulumi.StringOutput
The primary connection string of the SignalR service.
func (LookupServiceResultOutput) PublicPort ¶
func (o LookupServiceResultOutput) PublicPort() pulumi.IntOutput
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 ¶
func (o LookupServiceResultOutput) ServerPort() pulumi.IntOutput
The publicly accessible port of the SignalR service which is designed for customer server side use.
func (LookupServiceResultOutput) Tags ¶
func (o LookupServiceResultOutput) Tags() pulumi.StringMapOutput
func (LookupServiceResultOutput) ToLookupServiceResultOutput ¶
func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext ¶
func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
type Service ¶
type Service struct { pulumi.CustomResourceState // Specifies if Connectivity Logs are enabled or not. Defaults to `false`. ConnectivityLogsEnabled pulumi.BoolPtrOutput `pulumi:"connectivityLogsEnabled"` // A `cors` block as documented below. Cors ServiceCorArrayOutput `pulumi:"cors"` // The FQDN of the SignalR service. Hostname pulumi.StringOutput `pulumi:"hostname"` // The publicly accessible IP of the SignalR service. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // A `liveTrace` block as defined below. LiveTrace ServiceLiveTracePtrOutput `pulumi:"liveTrace"` // Specifies if Live Trace is enabled or not. Defaults to `false`. // // Deprecated: `live_trace_enabled` has been deprecated in favor of `live_trace` and will be removed in 4.0. LiveTraceEnabled pulumi.BoolPtrOutput `pulumi:"liveTraceEnabled"` // Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies if Messaging Logs are enabled or not. Defaults to `false`. MessagingLogsEnabled pulumi.BoolPtrOutput `pulumi:"messagingLogsEnabled"` // The name of the SignalR service. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The primary access key for the SignalR service. PrimaryAccessKey pulumi.StringOutput `pulumi:"primaryAccessKey"` // The primary connection string for the SignalR service. PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"` // The publicly accessible port of the SignalR service which is designed for browser/client use. PublicPort pulumi.IntOutput `pulumi:"publicPort"` // The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The secondary access key for the SignalR service. SecondaryAccessKey pulumi.StringOutput `pulumi:"secondaryAccessKey"` // The secondary connection string for the SignalR service. SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"` // The publicly accessible port of the SignalR service which is designed for customer server side use. ServerPort pulumi.IntOutput `pulumi:"serverPort"` // Specifies the service mode. Possible values are `Classic`, `Default` and `Serverless`. Defaults to `Default`. ServiceMode pulumi.StringPtrOutput `pulumi:"serviceMode"` // A `sku` block as documented below. Sku ServiceSkuOutput `pulumi:"sku"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // An `upstreamEndpoint` block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in. UpstreamEndpoints ServiceUpstreamEndpointArrayOutput `pulumi:"upstreamEndpoints"` }
Manages an Azure SignalR service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/signalr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West US"), }) if err != nil { return err } _, err = signalr.NewService(ctx, "exampleService", &signalr.ServiceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: &signalr.ServiceSkuArgs{ Name: pulumi.String("Free_F1"), Capacity: pulumi.Int(1), }, Cors: signalr.ServiceCorArray{ &signalr.ServiceCorArgs{ AllowedOrigins: pulumi.StringArray{ pulumi.String("http://www.example.com"), }, }, }, ConnectivityLogsEnabled: pulumi.Bool(true), MessagingLogsEnabled: pulumi.Bool(true), ServiceMode: pulumi.String("Default"), UpstreamEndpoints: signalr.ServiceUpstreamEndpointArray{ &signalr.ServiceUpstreamEndpointArgs{ CategoryPatterns: pulumi.StringArray{ pulumi.String("connections"), pulumi.String("messages"), }, EventPatterns: pulumi.StringArray{ pulumi.String("*"), }, HubPatterns: pulumi.StringArray{ pulumi.String("hub1"), }, UrlTemplate: pulumi.String("http://foo.com"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
SignalR services can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:signalr/service:Service example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/terraform-signalr/providers/Microsoft.SignalRService/signalR/tfex-signalr
```
func GetService ¶
func GetService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)
GetService gets an existing Service resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewService ¶
func NewService(ctx *pulumi.Context, name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)
NewService registers a new resource with the given unique name, arguments, and options.
func (*Service) ElementType ¶
func (*Service) ToServiceOutput ¶
func (i *Service) ToServiceOutput() ServiceOutput
func (*Service) ToServiceOutputWithContext ¶
func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceArgs ¶
type ServiceArgs struct { // Specifies if Connectivity Logs are enabled or not. Defaults to `false`. ConnectivityLogsEnabled pulumi.BoolPtrInput // A `cors` block as documented below. Cors ServiceCorArrayInput // A `liveTrace` block as defined below. LiveTrace ServiceLiveTracePtrInput // Specifies if Live Trace is enabled or not. Defaults to `false`. // // Deprecated: `live_trace_enabled` has been deprecated in favor of `live_trace` and will be removed in 4.0. LiveTraceEnabled pulumi.BoolPtrInput // Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies if Messaging Logs are enabled or not. Defaults to `false`. MessagingLogsEnabled pulumi.BoolPtrInput // The name of the SignalR service. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Specifies the service mode. Possible values are `Classic`, `Default` and `Serverless`. Defaults to `Default`. ServiceMode pulumi.StringPtrInput // A `sku` block as documented below. Sku ServiceSkuInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // An `upstreamEndpoint` block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in. UpstreamEndpoints ServiceUpstreamEndpointArrayInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶
func (ServiceArgs) ElementType() reflect.Type
type ServiceArray ¶
type ServiceArray []ServiceInput
func (ServiceArray) ElementType ¶
func (ServiceArray) ElementType() reflect.Type
func (ServiceArray) ToServiceArrayOutput ¶
func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput
func (ServiceArray) ToServiceArrayOutputWithContext ¶
func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput
type ServiceArrayInput ¶
type ServiceArrayInput interface { pulumi.Input ToServiceArrayOutput() ServiceArrayOutput ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput }
ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:
ServiceArray{ ServiceArgs{...} }
type ServiceArrayOutput ¶
type ServiceArrayOutput struct{ *pulumi.OutputState }
func (ServiceArrayOutput) ElementType ¶
func (ServiceArrayOutput) ElementType() reflect.Type
func (ServiceArrayOutput) Index ¶
func (o ServiceArrayOutput) Index(i pulumi.IntInput) ServiceOutput
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 (o ServiceCorArrayOutput) Index(i pulumi.IntInput) ServiceCorOutput
func (ServiceCorArrayOutput) ToServiceCorArrayOutput ¶
func (o ServiceCorArrayOutput) ToServiceCorArrayOutput() ServiceCorArrayOutput
func (ServiceCorArrayOutput) ToServiceCorArrayOutputWithContext ¶
func (o ServiceCorArrayOutput) ToServiceCorArrayOutputWithContext(ctx context.Context) ServiceCorArrayOutput
type ServiceCorInput ¶
type ServiceCorInput interface { pulumi.Input ToServiceCorOutput() ServiceCorOutput ToServiceCorOutputWithContext(context.Context) ServiceCorOutput }
ServiceCorInput is an input type that accepts ServiceCorArgs and ServiceCorOutput values. You can construct a concrete instance of `ServiceCorInput` via:
ServiceCorArgs{...}
type ServiceCorOutput ¶
type ServiceCorOutput struct{ *pulumi.OutputState }
func (ServiceCorOutput) AllowedOrigins ¶
func (o ServiceCorOutput) AllowedOrigins() pulumi.StringArrayOutput
A list of origins which should be able to make cross-origin calls. `*` can be used to allow all calls.
func (ServiceCorOutput) ElementType ¶
func (ServiceCorOutput) ElementType() reflect.Type
func (ServiceCorOutput) ToServiceCorOutput ¶
func (o ServiceCorOutput) ToServiceCorOutput() ServiceCorOutput
func (ServiceCorOutput) ToServiceCorOutputWithContext ¶
func (o ServiceCorOutput) ToServiceCorOutputWithContext(ctx context.Context) ServiceCorOutput
type ServiceInput ¶
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceLiveTrace ¶ added in v5.13.0
type ServiceLiveTrace struct { // Whether the log category `ConnectivityLogs` is enabled? Defaults to `true` ConnectivityLogsEnabled *bool `pulumi:"connectivityLogsEnabled"` // Whether the live trace is enabled? Defaults to `true`. Enabled *bool `pulumi:"enabled"` // Whether the log category `HttpRequestLogs` is enabled? Defaults to `true` HttpRequestLogsEnabled *bool `pulumi:"httpRequestLogsEnabled"` // Whether the log category `MessagingLogs` is enabled? Defaults to `true` MessagingLogsEnabled *bool `pulumi:"messagingLogsEnabled"` }
type ServiceLiveTraceArgs ¶ added in v5.13.0
type ServiceLiveTraceArgs struct { // Whether the log category `ConnectivityLogs` is enabled? Defaults to `true` ConnectivityLogsEnabled pulumi.BoolPtrInput `pulumi:"connectivityLogsEnabled"` // Whether the live trace is enabled? Defaults to `true`. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` // Whether the log category `HttpRequestLogs` is enabled? Defaults to `true` HttpRequestLogsEnabled pulumi.BoolPtrInput `pulumi:"httpRequestLogsEnabled"` // Whether the log category `MessagingLogs` is enabled? Defaults to `true` MessagingLogsEnabled pulumi.BoolPtrInput `pulumi:"messagingLogsEnabled"` }
func (ServiceLiveTraceArgs) ElementType ¶ added in v5.13.0
func (ServiceLiveTraceArgs) ElementType() reflect.Type
func (ServiceLiveTraceArgs) ToServiceLiveTraceOutput ¶ added in v5.13.0
func (i ServiceLiveTraceArgs) ToServiceLiveTraceOutput() ServiceLiveTraceOutput
func (ServiceLiveTraceArgs) ToServiceLiveTraceOutputWithContext ¶ added in v5.13.0
func (i ServiceLiveTraceArgs) ToServiceLiveTraceOutputWithContext(ctx context.Context) ServiceLiveTraceOutput
func (ServiceLiveTraceArgs) ToServiceLiveTracePtrOutput ¶ added in v5.13.0
func (i ServiceLiveTraceArgs) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput
func (ServiceLiveTraceArgs) ToServiceLiveTracePtrOutputWithContext ¶ added in v5.13.0
func (i ServiceLiveTraceArgs) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput
type ServiceLiveTraceInput ¶ added in v5.13.0
type ServiceLiveTraceInput interface { pulumi.Input ToServiceLiveTraceOutput() ServiceLiveTraceOutput ToServiceLiveTraceOutputWithContext(context.Context) ServiceLiveTraceOutput }
ServiceLiveTraceInput is an input type that accepts ServiceLiveTraceArgs and ServiceLiveTraceOutput values. You can construct a concrete instance of `ServiceLiveTraceInput` via:
ServiceLiveTraceArgs{...}
type ServiceLiveTraceOutput ¶ added in v5.13.0
type ServiceLiveTraceOutput struct{ *pulumi.OutputState }
func (ServiceLiveTraceOutput) ConnectivityLogsEnabled ¶ added in v5.13.0
func (o ServiceLiveTraceOutput) ConnectivityLogsEnabled() pulumi.BoolPtrOutput
Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
func (ServiceLiveTraceOutput) ElementType ¶ added in v5.13.0
func (ServiceLiveTraceOutput) ElementType() reflect.Type
func (ServiceLiveTraceOutput) Enabled ¶ added in v5.13.0
func (o ServiceLiveTraceOutput) Enabled() pulumi.BoolPtrOutput
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 (o ServiceLiveTracePtrOutput) Elem() ServiceLiveTraceOutput
func (ServiceLiveTracePtrOutput) ElementType ¶ added in v5.13.0
func (ServiceLiveTracePtrOutput) ElementType() reflect.Type
func (ServiceLiveTracePtrOutput) Enabled ¶ added in v5.13.0
func (o ServiceLiveTracePtrOutput) Enabled() pulumi.BoolPtrOutput
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 (o ServiceMapOutput) MapIndex(k pulumi.StringInput) ServiceOutput
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) ElementType() reflect.Type
func (ServiceNetworkAclArrayOutput) Index ¶
func (o ServiceNetworkAclArrayOutput) Index(i pulumi.IntInput) ServiceNetworkAclOutput
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 (o ServiceNetworkAclMapOutput) MapIndex(k pulumi.StringInput) ServiceNetworkAclOutput
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
func (o ServiceNetworkAclOutput) PrivateEndpoints() ServiceNetworkAclPrivateEndpointArrayOutput
A `privateEndpoint` block as defined below.
func (ServiceNetworkAclOutput) PublicNetwork ¶ added in v5.5.0
func (o ServiceNetworkAclOutput) PublicNetwork() ServiceNetworkAclPublicNetworkOutput
A `publicNetwork` block as defined below.
func (ServiceNetworkAclOutput) SignalrServiceId ¶ added in v5.5.0
func (o ServiceNetworkAclOutput) SignalrServiceId() pulumi.StringOutput
The ID of the SignalR service. Changing this forces a new resource to be created.
func (ServiceNetworkAclOutput) ToServiceNetworkAclOutput ¶
func (o ServiceNetworkAclOutput) ToServiceNetworkAclOutput() ServiceNetworkAclOutput
func (ServiceNetworkAclOutput) ToServiceNetworkAclOutputWithContext ¶
func (o ServiceNetworkAclOutput) ToServiceNetworkAclOutputWithContext(ctx context.Context) ServiceNetworkAclOutput
type ServiceNetworkAclPrivateEndpoint ¶
type ServiceNetworkAclPrivateEndpoint struct { // The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`. AllowedRequestTypes []string `pulumi:"allowedRequestTypes"` // The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`. DeniedRequestTypes []string `pulumi:"deniedRequestTypes"` // The ID of the Private Endpoint which is based on the SignalR service. Id string `pulumi:"id"` }
type ServiceNetworkAclPrivateEndpointArgs ¶
type ServiceNetworkAclPrivateEndpointArgs struct { // The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`. AllowedRequestTypes pulumi.StringArrayInput `pulumi:"allowedRequestTypes"` // The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`. DeniedRequestTypes pulumi.StringArrayInput `pulumi:"deniedRequestTypes"` // The ID of the Private Endpoint which is based on the SignalR service. Id pulumi.StringInput `pulumi:"id"` }
func (ServiceNetworkAclPrivateEndpointArgs) ElementType ¶
func (ServiceNetworkAclPrivateEndpointArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o ServiceNetworkAclPrivateEndpointOutput) AllowedRequestTypes() pulumi.StringArrayOutput
The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
func (ServiceNetworkAclPrivateEndpointOutput) DeniedRequestTypes ¶
func (o ServiceNetworkAclPrivateEndpointOutput) DeniedRequestTypes() pulumi.StringArrayOutput
The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
func (ServiceNetworkAclPrivateEndpointOutput) ElementType ¶
func (ServiceNetworkAclPrivateEndpointOutput) ElementType() reflect.Type
func (ServiceNetworkAclPrivateEndpointOutput) Id ¶
func (o ServiceNetworkAclPrivateEndpointOutput) Id() pulumi.StringOutput
The ID of the Private Endpoint which is based on the SignalR service.
func (ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutput ¶
func (o ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutput() ServiceNetworkAclPrivateEndpointOutput
func (ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutputWithContext ¶
func (o ServiceNetworkAclPrivateEndpointOutput) ToServiceNetworkAclPrivateEndpointOutputWithContext(ctx context.Context) ServiceNetworkAclPrivateEndpointOutput
type ServiceNetworkAclPublicNetwork ¶
type ServiceNetworkAclPublicNetwork struct { // The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`. AllowedRequestTypes []string `pulumi:"allowedRequestTypes"` // The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`. DeniedRequestTypes []string `pulumi:"deniedRequestTypes"` }
type ServiceNetworkAclPublicNetworkArgs ¶
type ServiceNetworkAclPublicNetworkArgs struct { // The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`. AllowedRequestTypes pulumi.StringArrayInput `pulumi:"allowedRequestTypes"` // The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`. DeniedRequestTypes pulumi.StringArrayInput `pulumi:"deniedRequestTypes"` }
func (ServiceNetworkAclPublicNetworkArgs) ElementType ¶
func (ServiceNetworkAclPublicNetworkArgs) ElementType() reflect.Type
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 ¶
func (o ServiceNetworkAclPublicNetworkOutput) AllowedRequestTypes() pulumi.StringArrayOutput
The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
func (ServiceNetworkAclPublicNetworkOutput) DeniedRequestTypes ¶
func (o ServiceNetworkAclPublicNetworkOutput) DeniedRequestTypes() pulumi.StringArrayOutput
The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
func (ServiceNetworkAclPublicNetworkOutput) ElementType ¶
func (ServiceNetworkAclPublicNetworkOutput) ElementType() reflect.Type
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
func ServiceNetworkAclPublicNetworkPtr ¶
func ServiceNetworkAclPublicNetworkPtr(v *ServiceNetworkAclPublicNetworkArgs) ServiceNetworkAclPublicNetworkPtrInput
type ServiceNetworkAclPublicNetworkPtrOutput ¶
type ServiceNetworkAclPublicNetworkPtrOutput struct{ *pulumi.OutputState }
func (ServiceNetworkAclPublicNetworkPtrOutput) AllowedRequestTypes ¶
func (o ServiceNetworkAclPublicNetworkPtrOutput) AllowedRequestTypes() pulumi.StringArrayOutput
The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
func (ServiceNetworkAclPublicNetworkPtrOutput) DeniedRequestTypes ¶
func (o ServiceNetworkAclPublicNetworkPtrOutput) DeniedRequestTypes() pulumi.StringArrayOutput
The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
func (ServiceNetworkAclPublicNetworkPtrOutput) ElementType ¶
func (ServiceNetworkAclPublicNetworkPtrOutput) ElementType() reflect.Type
func (ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutput ¶
func (o ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutput() ServiceNetworkAclPublicNetworkPtrOutput
func (ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutputWithContext ¶
func (o ServiceNetworkAclPublicNetworkPtrOutput) ToServiceNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) ServiceNetworkAclPublicNetworkPtrOutput
type ServiceNetworkAclState ¶
type ServiceNetworkAclState struct { // The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`. DefaultAction pulumi.StringPtrInput // A `privateEndpoint` block as defined below. PrivateEndpoints ServiceNetworkAclPrivateEndpointArrayInput // A `publicNetwork` block as defined below. PublicNetwork ServiceNetworkAclPublicNetworkPtrInput // The ID of the SignalR service. Changing this forces a new resource to be created. SignalrServiceId pulumi.StringPtrInput }
func (ServiceNetworkAclState) ElementType ¶
func (ServiceNetworkAclState) ElementType() reflect.Type
type ServiceOutput ¶
type ServiceOutput struct{ *pulumi.OutputState }
func (ServiceOutput) ConnectivityLogsEnabled ¶ added in v5.5.0
func (o ServiceOutput) ConnectivityLogsEnabled() pulumi.BoolPtrOutput
Specifies if Connectivity Logs are enabled or not. Defaults to `false`.
func (ServiceOutput) Cors ¶ added in v5.5.0
func (o ServiceOutput) Cors() ServiceCorArrayOutput
A `cors` block as documented below.
func (ServiceOutput) ElementType ¶
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) Hostname ¶ added in v5.5.0
func (o ServiceOutput) Hostname() pulumi.StringOutput
The FQDN of the SignalR service.
func (ServiceOutput) IpAddress ¶ added in v5.5.0
func (o ServiceOutput) IpAddress() pulumi.StringOutput
The publicly accessible IP of the SignalR service.
func (ServiceOutput) LiveTrace ¶ added in v5.13.0
func (o ServiceOutput) LiveTrace() ServiceLiveTracePtrOutput
A `liveTrace` block as defined below.
func (ServiceOutput) LiveTraceEnabled
deprecated
added in
v5.5.0
func (o ServiceOutput) LiveTraceEnabled() pulumi.BoolPtrOutput
Specifies if Live Trace is enabled or not. Defaults to `false`.
Deprecated: `live_trace_enabled` has been deprecated in favor of `live_trace` and will be removed in 4.0.
func (ServiceOutput) Location ¶ added in v5.5.0
func (o ServiceOutput) Location() pulumi.StringOutput
Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created.
func (ServiceOutput) MessagingLogsEnabled ¶ added in v5.5.0
func (o ServiceOutput) MessagingLogsEnabled() pulumi.BoolPtrOutput
Specifies if Messaging Logs are enabled or not. Defaults to `false`.
func (ServiceOutput) Name ¶ added in v5.5.0
func (o ServiceOutput) Name() pulumi.StringOutput
The name of the SignalR service. Changing this forces a new resource to be created.
func (ServiceOutput) PrimaryAccessKey ¶ added in v5.5.0
func (o ServiceOutput) PrimaryAccessKey() pulumi.StringOutput
The primary access key for the SignalR service.
func (ServiceOutput) PrimaryConnectionString ¶ added in v5.5.0
func (o ServiceOutput) PrimaryConnectionString() pulumi.StringOutput
The primary connection string for the SignalR service.
func (ServiceOutput) PublicPort ¶ added in v5.5.0
func (o ServiceOutput) PublicPort() pulumi.IntOutput
The publicly accessible port of the SignalR service which is designed for browser/client use.
func (ServiceOutput) ResourceGroupName ¶ added in v5.5.0
func (o ServiceOutput) ResourceGroupName() pulumi.StringOutput
The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created.
func (ServiceOutput) SecondaryAccessKey ¶ added in v5.5.0
func (o ServiceOutput) SecondaryAccessKey() pulumi.StringOutput
The secondary access key for the SignalR service.
func (ServiceOutput) SecondaryConnectionString ¶ added in v5.5.0
func (o ServiceOutput) SecondaryConnectionString() pulumi.StringOutput
The secondary connection string for the SignalR service.
func (ServiceOutput) ServerPort ¶ added in v5.5.0
func (o ServiceOutput) ServerPort() pulumi.IntOutput
The publicly accessible port of the SignalR service which is designed for customer server side use.
func (ServiceOutput) ServiceMode ¶ added in v5.5.0
func (o ServiceOutput) ServiceMode() pulumi.StringPtrOutput
Specifies the service mode. Possible values are `Classic`, `Default` and `Serverless`. Defaults to `Default`.
func (ServiceOutput) Sku ¶ added in v5.5.0
func (o ServiceOutput) Sku() ServiceSkuOutput
A `sku` block as documented below.
func (ServiceOutput) Tags ¶ added in v5.5.0
func (o ServiceOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (ServiceOutput) ToServiceOutput ¶
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
func (ServiceOutput) UpstreamEndpoints ¶ added in v5.5.0
func (o ServiceOutput) UpstreamEndpoints() ServiceUpstreamEndpointArrayOutput
An `upstreamEndpoint` block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in.
type ServiceSku ¶
type ServiceSku struct { // Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `5`, `10`, `20`, `50` and `100`. Capacity int `pulumi:"capacity"` // Specifies which tier to use. Valid values are `Free_F1`, `Standard_S1` and `Premium_P1`. Name string `pulumi:"name"` }
type ServiceSkuArgs ¶
type ServiceSkuArgs struct { // Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `5`, `10`, `20`, `50` and `100`. Capacity pulumi.IntInput `pulumi:"capacity"` // Specifies which tier to use. Valid values are `Free_F1`, `Standard_S1` and `Premium_P1`. Name pulumi.StringInput `pulumi:"name"` }
func (ServiceSkuArgs) ElementType ¶
func (ServiceSkuArgs) ElementType() reflect.Type
func (ServiceSkuArgs) ToServiceSkuOutput ¶
func (i ServiceSkuArgs) ToServiceSkuOutput() ServiceSkuOutput
func (ServiceSkuArgs) ToServiceSkuOutputWithContext ¶
func (i ServiceSkuArgs) ToServiceSkuOutputWithContext(ctx context.Context) ServiceSkuOutput
func (ServiceSkuArgs) ToServiceSkuPtrOutput ¶
func (i ServiceSkuArgs) ToServiceSkuPtrOutput() ServiceSkuPtrOutput
func (ServiceSkuArgs) ToServiceSkuPtrOutputWithContext ¶
func (i ServiceSkuArgs) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput
type ServiceSkuInput ¶
type ServiceSkuInput interface { pulumi.Input ToServiceSkuOutput() ServiceSkuOutput ToServiceSkuOutputWithContext(context.Context) ServiceSkuOutput }
ServiceSkuInput is an input type that accepts ServiceSkuArgs and ServiceSkuOutput values. You can construct a concrete instance of `ServiceSkuInput` via:
ServiceSkuArgs{...}
type ServiceSkuOutput ¶
type ServiceSkuOutput struct{ *pulumi.OutputState }
func (ServiceSkuOutput) Capacity ¶
func (o ServiceSkuOutput) Capacity() pulumi.IntOutput
Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `5`, `10`, `20`, `50` and `100`.
func (ServiceSkuOutput) ElementType ¶
func (ServiceSkuOutput) ElementType() reflect.Type
func (ServiceSkuOutput) Name ¶
func (o ServiceSkuOutput) Name() pulumi.StringOutput
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 ¶
func (o ServiceSkuPtrOutput) Capacity() pulumi.IntPtrOutput
Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `5`, `10`, `20`, `50` and `100`.
func (ServiceSkuPtrOutput) Elem ¶
func (o ServiceSkuPtrOutput) Elem() ServiceSkuOutput
func (ServiceSkuPtrOutput) ElementType ¶
func (ServiceSkuPtrOutput) ElementType() reflect.Type
func (ServiceSkuPtrOutput) Name ¶
func (o ServiceSkuPtrOutput) Name() pulumi.StringPtrOutput
Specifies which tier to use. Valid values are `Free_F1`, `Standard_S1` and `Premium_P1`.
func (ServiceSkuPtrOutput) ToServiceSkuPtrOutput ¶
func (o ServiceSkuPtrOutput) ToServiceSkuPtrOutput() ServiceSkuPtrOutput
func (ServiceSkuPtrOutput) ToServiceSkuPtrOutputWithContext ¶
func (o ServiceSkuPtrOutput) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput
type ServiceState ¶
type ServiceState struct { // Specifies if Connectivity Logs are enabled or not. Defaults to `false`. ConnectivityLogsEnabled pulumi.BoolPtrInput // A `cors` block as documented below. Cors ServiceCorArrayInput // The FQDN of the SignalR service. Hostname pulumi.StringPtrInput // The publicly accessible IP of the SignalR service. IpAddress pulumi.StringPtrInput // A `liveTrace` block as defined below. LiveTrace ServiceLiveTracePtrInput // Specifies if Live Trace is enabled or not. Defaults to `false`. // // Deprecated: `live_trace_enabled` has been deprecated in favor of `live_trace` and will be removed in 4.0. LiveTraceEnabled pulumi.BoolPtrInput // Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies if Messaging Logs are enabled or not. Defaults to `false`. MessagingLogsEnabled pulumi.BoolPtrInput // The name of the SignalR service. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The primary access key for the SignalR service. PrimaryAccessKey pulumi.StringPtrInput // The primary connection string for the SignalR service. PrimaryConnectionString pulumi.StringPtrInput // The publicly accessible port of the SignalR service which is designed for browser/client use. PublicPort pulumi.IntPtrInput // The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The secondary access key for the SignalR service. SecondaryAccessKey pulumi.StringPtrInput // The secondary connection string for the SignalR service. SecondaryConnectionString pulumi.StringPtrInput // The publicly accessible port of the SignalR service which is designed for customer server side use. ServerPort pulumi.IntPtrInput // Specifies the service mode. Possible values are `Classic`, `Default` and `Serverless`. Defaults to `Default`. ServiceMode pulumi.StringPtrInput // A `sku` block as documented below. Sku ServiceSkuPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // An `upstreamEndpoint` block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in. UpstreamEndpoints ServiceUpstreamEndpointArrayInput }
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type
type ServiceUpstreamEndpoint ¶
type ServiceUpstreamEndpoint struct { // The categories to match on, or `*` for all. CategoryPatterns []string `pulumi:"categoryPatterns"` // The events to match on, or `*` for all. EventPatterns []string `pulumi:"eventPatterns"` // The hubs to match on, or `*` for all. HubPatterns []string `pulumi:"hubPatterns"` // The upstream URL Template. This can be a url or a template such as `http://host.com/{hub}/api/{category}/{event}`. UrlTemplate string `pulumi:"urlTemplate"` }
type ServiceUpstreamEndpointArgs ¶
type ServiceUpstreamEndpointArgs struct { // The categories to match on, or `*` for all. CategoryPatterns pulumi.StringArrayInput `pulumi:"categoryPatterns"` // The events to match on, or `*` for all. EventPatterns pulumi.StringArrayInput `pulumi:"eventPatterns"` // The hubs to match on, or `*` for all. HubPatterns pulumi.StringArrayInput `pulumi:"hubPatterns"` // The upstream URL Template. This can be a url or a template such as `http://host.com/{hub}/api/{category}/{event}`. UrlTemplate pulumi.StringInput `pulumi:"urlTemplate"` }
func (ServiceUpstreamEndpointArgs) ElementType ¶
func (ServiceUpstreamEndpointArgs) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ServiceUpstreamEndpointArrayOutput) Index ¶
func (o ServiceUpstreamEndpointArrayOutput) Index(i pulumi.IntInput) ServiceUpstreamEndpointOutput
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 ¶
func (o ServiceUpstreamEndpointOutput) CategoryPatterns() pulumi.StringArrayOutput
The categories to match on, or `*` for all.
func (ServiceUpstreamEndpointOutput) ElementType ¶
func (ServiceUpstreamEndpointOutput) ElementType() reflect.Type
func (ServiceUpstreamEndpointOutput) EventPatterns ¶
func (o ServiceUpstreamEndpointOutput) EventPatterns() pulumi.StringArrayOutput
The events to match on, or `*` for all.
func (ServiceUpstreamEndpointOutput) HubPatterns ¶
func (o ServiceUpstreamEndpointOutput) HubPatterns() pulumi.StringArrayOutput
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 ¶
func (o ServiceUpstreamEndpointOutput) UrlTemplate() pulumi.StringOutput
The upstream URL Template. This can be a url or a template such as `http://host.com/{hub}/api/{category}/{event}`.
type SharedPrivateLinkResource ¶ added in v5.15.0
type SharedPrivateLinkResource struct { pulumi.StringOutput `pulumi:"name"` RequestMessage pulumi.StringPtrOutput `pulumi:"requestMessage"` // The id of the Signalr Service. Changing this forces a new resource to be created. SubResourceName pulumi.StringOutput `pulumi:"subResourceName"` TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"` }Name
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 }) }
``` ## Attributes Reference:
The following attributes are exported:
* `id` - The ID of the Signalr Shared Private Link resource.
* `status` - The status of a private endpoint connection. Possible values are `Pending`, `Approved`, `Rejected` or `Disconnected`.
## 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 { pulumi.StringPtrInput RequestMessage pulumi.StringPtrInput SignalrServiceId pulumi.StringInput SubResourceName pulumi.StringInput TargetResourceId pulumi.StringInput }Name
The set of arguments for constructing a SharedPrivateLinkResource resource.
func (SharedPrivateLinkResourceArgs) ElementType ¶ added in v5.15.0
func (SharedPrivateLinkResourceArgs) ElementType() reflect.Type
type SharedPrivateLinkResourceArray ¶ added in v5.15.0
type SharedPrivateLinkResourceArray []SharedPrivateLinkResourceInput
func (SharedPrivateLinkResourceArray) ElementType ¶ added in v5.15.0
func (SharedPrivateLinkResourceArray) ElementType() reflect.Type
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
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
func (SharedPrivateLinkResourceArrayOutput) ElementType ¶ added in v5.15.0
func (SharedPrivateLinkResourceArrayOutput) ElementType() reflect.Type
func (SharedPrivateLinkResourceArrayOutput) Index ¶ added in v5.15.0
func (o SharedPrivateLinkResourceArrayOutput) Index(i pulumi.IntInput) SharedPrivateLinkResourceOutput
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 SharedPrivateLinkResourceMap ¶ added in v5.15.0
type SharedPrivateLinkResourceMap map[string]SharedPrivateLinkResourceInput
func (SharedPrivateLinkResourceMap) ElementType ¶ added in v5.15.0
func (SharedPrivateLinkResourceMap) ElementType() reflect.Type
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
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
func (SharedPrivateLinkResourceMapOutput) ElementType ¶ added in v5.15.0
func (SharedPrivateLinkResourceMapOutput) ElementType() reflect.Type
func (SharedPrivateLinkResourceMapOutput) MapIndex ¶ added in v5.15.0
func (o SharedPrivateLinkResourceMapOutput) MapIndex(k pulumi.StringInput) SharedPrivateLinkResourceOutput
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
func (SharedPrivateLinkResourceOutput) ElementType ¶ added in v5.15.0
func (SharedPrivateLinkResourceOutput) ElementType() reflect.Type
func (SharedPrivateLinkResourceOutput) Name ¶ added in v5.15.0
func (o SharedPrivateLinkResourceOutput) Name() pulumi.StringOutput
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
func (o SharedPrivateLinkResourceOutput) RequestMessage() pulumi.StringPtrOutput
The request message for requesting approval of the Shared Private Link Enabled Remote Resource.
func (SharedPrivateLinkResourceOutput) SignalrServiceId ¶ added in v5.15.0
func (o SharedPrivateLinkResourceOutput) SignalrServiceId() pulumi.StringOutput
The id of the Signalr Service. Changing this forces a new resource to be created.
func (SharedPrivateLinkResourceOutput) Status ¶ added in v5.15.0
func (o SharedPrivateLinkResourceOutput) Status() pulumi.StringOutput
func (SharedPrivateLinkResourceOutput) SubResourceName ¶ added in v5.15.0
func (o SharedPrivateLinkResourceOutput) SubResourceName() pulumi.StringOutput
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
func (o SharedPrivateLinkResourceOutput) TargetResourceId() pulumi.StringOutput
The ID of the Shared Private Link Enabled Remote Resource which this Signalr Private Endpoint should be connected to. Changing this forces a new resource to be created.
func (SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutput ¶ added in v5.15.0
func (o SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutput() SharedPrivateLinkResourceOutput
func (SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutputWithContext ¶ added in v5.15.0
func (o SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutputWithContext(ctx context.Context) SharedPrivateLinkResourceOutput
type SharedPrivateLinkResourceState ¶ added in v5.15.0
type SharedPrivateLinkResourceState struct { pulumi.StringPtrInput RequestMessage pulumi.StringPtrInput // The id of the Signalr Service. Changing this forces a new resource to be created. SubResourceName pulumi.StringPtrInput TargetResourceId pulumi.StringPtrInput }Name
func (SharedPrivateLinkResourceState) ElementType ¶ added in v5.15.0
func (SharedPrivateLinkResourceState) ElementType() reflect.Type