Documentation ¶
Index ¶
- type LookupServiceArgs
- type LookupServiceResult
- type Service
- func (*Service) ElementType() reflect.Type
- func (i *Service) ToServiceOutput() ServiceOutput
- func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- func (i *Service) ToServicePtrOutput() ServicePtrOutput
- func (i *Service) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
- 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 ServiceFeature
- type ServiceFeatureArgs
- type ServiceFeatureArray
- type ServiceFeatureArrayInput
- type ServiceFeatureArrayOutput
- func (ServiceFeatureArrayOutput) ElementType() reflect.Type
- func (o ServiceFeatureArrayOutput) Index(i pulumi.IntInput) ServiceFeatureOutput
- func (o ServiceFeatureArrayOutput) ToServiceFeatureArrayOutput() ServiceFeatureArrayOutput
- func (o ServiceFeatureArrayOutput) ToServiceFeatureArrayOutputWithContext(ctx context.Context) ServiceFeatureArrayOutput
- type ServiceFeatureInput
- type ServiceFeatureOutput
- func (ServiceFeatureOutput) ElementType() reflect.Type
- func (o ServiceFeatureOutput) Flag() pulumi.StringOutput
- func (o ServiceFeatureOutput) ToServiceFeatureOutput() ServiceFeatureOutput
- func (o ServiceFeatureOutput) ToServiceFeatureOutputWithContext(ctx context.Context) ServiceFeatureOutput
- func (o ServiceFeatureOutput) Value() pulumi.StringOutput
- type ServiceInput
- type ServiceMap
- type ServiceMapInput
- type ServiceMapOutput
- type ServiceOutput
- func (ServiceOutput) ElementType() reflect.Type
- func (o ServiceOutput) ToServiceOutput() ServiceOutput
- func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- func (o ServiceOutput) ToServicePtrOutput() ServicePtrOutput
- func (o ServiceOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
- type ServicePtrInput
- type ServicePtrOutput
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupServiceArgs ¶
type LookupServiceArgs struct { // Specifies the name of the SignalR service. Name string `pulumi:"name"` // Specifies the name of the resource group the SignalR service is located in. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getService.
type LookupServiceResult ¶
type LookupServiceResult struct { // The FQDN of the SignalR service. Hostname string `pulumi:"hostname"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The publicly accessible IP of the SignalR service. IpAddress string `pulumi:"ipAddress"` // Specifies the supported Azure location where the SignalR service exists. Location string `pulumi:"location"` Name string `pulumi:"name"` // The primary access key of the SignalR service. PrimaryAccessKey string `pulumi:"primaryAccessKey"` // The primary connection string of the SignalR service. PrimaryConnectionString string `pulumi:"primaryConnectionString"` // The publicly accessible port of the SignalR service which is designed for browser/client use. PublicPort int `pulumi:"publicPort"` ResourceGroupName string `pulumi:"resourceGroupName"` // The secondary access key of the SignalR service. SecondaryAccessKey string `pulumi:"secondaryAccessKey"` // The secondary connection string of the SignalR service. SecondaryConnectionString string `pulumi:"secondaryConnectionString"` // The publicly accessible port of the SignalR service which is designed for customer server side use. ServerPort int `pulumi:"serverPort"` Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getService.
func LookupService ¶
func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)
Use this data source to access information about an existing Azure SignalR service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/signalr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := signalr.LookupService(ctx, &signalr.LookupServiceArgs{ Name: "test-signalr", ResourceGroupName: "signalr-resource-group", }, nil) if err != nil { return err } return nil }) }
```
type Service ¶
type Service struct { pulumi.CustomResourceState // A `cors` block as documented below. Cors ServiceCorArrayOutput `pulumi:"cors"` // A `features` block as documented below. Features ServiceFeatureArrayOutput `pulumi:"features"` // The FQDN of the SignalR service. Hostname pulumi.StringOutput `pulumi:"hostname"` // The publicly accessible IP of the SignalR service. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the SignalR service. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The primary access key for the SignalR service. PrimaryAccessKey pulumi.StringOutput `pulumi:"primaryAccessKey"` // The primary connection string for the SignalR service. PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"` // The publicly accessible port of the SignalR service which is designed for browser/client use. PublicPort pulumi.IntOutput `pulumi:"publicPort"` // The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The secondary access key for the SignalR service. SecondaryAccessKey pulumi.StringOutput `pulumi:"secondaryAccessKey"` // The secondary connection string for the SignalR service. SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"` // The publicly accessible port of the SignalR service which is designed for customer server side use. ServerPort pulumi.IntOutput `pulumi:"serverPort"` // A `sku` block as documented below. Sku ServiceSkuOutput `pulumi:"sku"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // An `upstreamEndpoint` block as documented below. Using this block requires the SignalR service to be Serverless. When creating multiple blocks they will be processed in the order they are defined in. UpstreamEndpoints ServiceUpstreamEndpointArrayOutput `pulumi:"upstreamEndpoints"` }
Manages an Azure SignalR service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/signalr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West US"), }) if err != nil { return err } _, err = signalr.NewService(ctx, "exampleService", &signalr.ServiceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: &signalr.ServiceSkuArgs{ Name: pulumi.String("Free_F1"), Capacity: pulumi.Int(1), }, Cors: signalr.ServiceCorArray{ &signalr.ServiceCorArgs{ AllowedOrigins: pulumi.StringArray{ pulumi.String("http://www.example.com"), }, }, }, Features: signalr.ServiceFeatureArray{ &signalr.ServiceFeatureArgs{ Flag: pulumi.String("ServiceMode"), Value: 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
func (*Service) ToServicePtrOutput ¶
func (i *Service) ToServicePtrOutput() ServicePtrOutput
func (*Service) ToServicePtrOutputWithContext ¶
func (i *Service) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
type ServiceArgs ¶
type ServiceArgs struct { // A `cors` block as documented below. Cors ServiceCorArrayInput // A `features` block as documented below. Features ServiceFeatureArrayInput // Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the SignalR service. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringInput // A `sku` block as documented below. Sku ServiceSkuInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // 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 ServiceFeature ¶
type ServiceFeatureArgs ¶
type ServiceFeatureArgs struct { // The kind of Feature. Possible values are `EnableConnectivityLogs`, `EnableMessagingLogs`, and `ServiceMode`. Flag pulumi.StringInput `pulumi:"flag"` // A value of a feature flag. Possible values are `Classic`, `Default` and `Serverless`. Value pulumi.StringInput `pulumi:"value"` }
func (ServiceFeatureArgs) ElementType ¶
func (ServiceFeatureArgs) ElementType() reflect.Type
func (ServiceFeatureArgs) ToServiceFeatureOutput ¶
func (i ServiceFeatureArgs) ToServiceFeatureOutput() ServiceFeatureOutput
func (ServiceFeatureArgs) ToServiceFeatureOutputWithContext ¶
func (i ServiceFeatureArgs) ToServiceFeatureOutputWithContext(ctx context.Context) ServiceFeatureOutput
type ServiceFeatureArray ¶
type ServiceFeatureArray []ServiceFeatureInput
func (ServiceFeatureArray) ElementType ¶
func (ServiceFeatureArray) ElementType() reflect.Type
func (ServiceFeatureArray) ToServiceFeatureArrayOutput ¶
func (i ServiceFeatureArray) ToServiceFeatureArrayOutput() ServiceFeatureArrayOutput
func (ServiceFeatureArray) ToServiceFeatureArrayOutputWithContext ¶
func (i ServiceFeatureArray) ToServiceFeatureArrayOutputWithContext(ctx context.Context) ServiceFeatureArrayOutput
type ServiceFeatureArrayInput ¶
type ServiceFeatureArrayInput interface { pulumi.Input ToServiceFeatureArrayOutput() ServiceFeatureArrayOutput ToServiceFeatureArrayOutputWithContext(context.Context) ServiceFeatureArrayOutput }
ServiceFeatureArrayInput is an input type that accepts ServiceFeatureArray and ServiceFeatureArrayOutput values. You can construct a concrete instance of `ServiceFeatureArrayInput` via:
ServiceFeatureArray{ ServiceFeatureArgs{...} }
type ServiceFeatureArrayOutput ¶
type ServiceFeatureArrayOutput struct{ *pulumi.OutputState }
func (ServiceFeatureArrayOutput) ElementType ¶
func (ServiceFeatureArrayOutput) ElementType() reflect.Type
func (ServiceFeatureArrayOutput) Index ¶
func (o ServiceFeatureArrayOutput) Index(i pulumi.IntInput) ServiceFeatureOutput
func (ServiceFeatureArrayOutput) ToServiceFeatureArrayOutput ¶
func (o ServiceFeatureArrayOutput) ToServiceFeatureArrayOutput() ServiceFeatureArrayOutput
func (ServiceFeatureArrayOutput) ToServiceFeatureArrayOutputWithContext ¶
func (o ServiceFeatureArrayOutput) ToServiceFeatureArrayOutputWithContext(ctx context.Context) ServiceFeatureArrayOutput
type ServiceFeatureInput ¶
type ServiceFeatureInput interface { pulumi.Input ToServiceFeatureOutput() ServiceFeatureOutput ToServiceFeatureOutputWithContext(context.Context) ServiceFeatureOutput }
ServiceFeatureInput is an input type that accepts ServiceFeatureArgs and ServiceFeatureOutput values. You can construct a concrete instance of `ServiceFeatureInput` via:
ServiceFeatureArgs{...}
type ServiceFeatureOutput ¶
type ServiceFeatureOutput struct{ *pulumi.OutputState }
func (ServiceFeatureOutput) ElementType ¶
func (ServiceFeatureOutput) ElementType() reflect.Type
func (ServiceFeatureOutput) Flag ¶
func (o ServiceFeatureOutput) Flag() pulumi.StringOutput
The kind of Feature. Possible values are `EnableConnectivityLogs`, `EnableMessagingLogs`, and `ServiceMode`.
func (ServiceFeatureOutput) ToServiceFeatureOutput ¶
func (o ServiceFeatureOutput) ToServiceFeatureOutput() ServiceFeatureOutput
func (ServiceFeatureOutput) ToServiceFeatureOutputWithContext ¶
func (o ServiceFeatureOutput) ToServiceFeatureOutputWithContext(ctx context.Context) ServiceFeatureOutput
func (ServiceFeatureOutput) Value ¶
func (o ServiceFeatureOutput) Value() pulumi.StringOutput
A value of a feature flag. Possible values are `Classic`, `Default` and `Serverless`.
type ServiceInput ¶
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceMap ¶
type ServiceMap map[string]ServiceInput
func (ServiceMap) ElementType ¶
func (ServiceMap) ElementType() reflect.Type
func (ServiceMap) ToServiceMapOutput ¶
func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput
func (ServiceMap) ToServiceMapOutputWithContext ¶
func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput
type ServiceMapInput ¶
type ServiceMapInput interface { pulumi.Input ToServiceMapOutput() ServiceMapOutput ToServiceMapOutputWithContext(context.Context) ServiceMapOutput }
ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:
ServiceMap{ "key": ServiceArgs{...} }
type ServiceMapOutput ¶
type ServiceMapOutput struct{ *pulumi.OutputState }
func (ServiceMapOutput) ElementType ¶
func (ServiceMapOutput) ElementType() reflect.Type
func (ServiceMapOutput) MapIndex ¶
func (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 ServiceOutput ¶
type ServiceOutput struct {
*pulumi.OutputState
}
func (ServiceOutput) ElementType ¶
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) ToServiceOutput ¶
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
func (ServiceOutput) ToServicePtrOutput ¶
func (o ServiceOutput) ToServicePtrOutput() ServicePtrOutput
func (ServiceOutput) ToServicePtrOutputWithContext ¶
func (o ServiceOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
type ServicePtrInput ¶
type ServicePtrInput interface { pulumi.Input ToServicePtrOutput() ServicePtrOutput ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput }
type ServicePtrOutput ¶
type ServicePtrOutput struct {
*pulumi.OutputState
}
func (ServicePtrOutput) ElementType ¶
func (ServicePtrOutput) ElementType() reflect.Type
func (ServicePtrOutput) ToServicePtrOutput ¶
func (o ServicePtrOutput) ToServicePtrOutput() ServicePtrOutput
func (ServicePtrOutput) ToServicePtrOutputWithContext ¶
func (o ServicePtrOutput) ToServicePtrOutputWithContext(ctx context.Context) ServicePtrOutput
type ServiceSku ¶
type ServiceSkuArgs ¶
type ServiceSkuArgs struct { // Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `5`, `10`, `20`, `50` and `100`. Capacity pulumi.IntInput `pulumi:"capacity"` // Specifies which tier to use. Valid values are `Free_F1` and `Standard_S1`. Name pulumi.StringInput `pulumi:"name"` }
func (ServiceSkuArgs) ElementType ¶
func (ServiceSkuArgs) ElementType() reflect.Type
func (ServiceSkuArgs) ToServiceSkuOutput ¶
func (i ServiceSkuArgs) ToServiceSkuOutput() ServiceSkuOutput
func (ServiceSkuArgs) ToServiceSkuOutputWithContext ¶
func (i ServiceSkuArgs) ToServiceSkuOutputWithContext(ctx context.Context) ServiceSkuOutput
func (ServiceSkuArgs) ToServiceSkuPtrOutput ¶
func (i ServiceSkuArgs) ToServiceSkuPtrOutput() ServiceSkuPtrOutput
func (ServiceSkuArgs) ToServiceSkuPtrOutputWithContext ¶
func (i ServiceSkuArgs) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput
type ServiceSkuInput ¶
type ServiceSkuInput interface { pulumi.Input ToServiceSkuOutput() ServiceSkuOutput ToServiceSkuOutputWithContext(context.Context) ServiceSkuOutput }
ServiceSkuInput is an input type that accepts ServiceSkuArgs and ServiceSkuOutput values. You can construct a concrete instance of `ServiceSkuInput` via:
ServiceSkuArgs{...}
type ServiceSkuOutput ¶
type ServiceSkuOutput struct{ *pulumi.OutputState }
func (ServiceSkuOutput) Capacity ¶
func (o ServiceSkuOutput) Capacity() pulumi.IntOutput
Specifies the number of units associated with this SignalR service. Valid values are `1`, `2`, `5`, `10`, `20`, `50` and `100`.
func (ServiceSkuOutput) ElementType ¶
func (ServiceSkuOutput) ElementType() reflect.Type
func (ServiceSkuOutput) Name ¶
func (o ServiceSkuOutput) Name() pulumi.StringOutput
Specifies which tier to use. Valid values are `Free_F1` and `Standard_S1`.
func (ServiceSkuOutput) ToServiceSkuOutput ¶
func (o ServiceSkuOutput) ToServiceSkuOutput() ServiceSkuOutput
func (ServiceSkuOutput) ToServiceSkuOutputWithContext ¶
func (o ServiceSkuOutput) ToServiceSkuOutputWithContext(ctx context.Context) ServiceSkuOutput
func (ServiceSkuOutput) ToServiceSkuPtrOutput ¶
func (o ServiceSkuOutput) ToServiceSkuPtrOutput() ServiceSkuPtrOutput
func (ServiceSkuOutput) ToServiceSkuPtrOutputWithContext ¶
func (o ServiceSkuOutput) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput
type ServiceSkuPtrInput ¶
type ServiceSkuPtrInput interface { pulumi.Input ToServiceSkuPtrOutput() ServiceSkuPtrOutput ToServiceSkuPtrOutputWithContext(context.Context) ServiceSkuPtrOutput }
ServiceSkuPtrInput is an input type that accepts ServiceSkuArgs, ServiceSkuPtr and ServiceSkuPtrOutput values. You can construct a concrete instance of `ServiceSkuPtrInput` via:
ServiceSkuArgs{...} or: nil
func ServiceSkuPtr ¶
func ServiceSkuPtr(v *ServiceSkuArgs) ServiceSkuPtrInput
type ServiceSkuPtrOutput ¶
type ServiceSkuPtrOutput struct{ *pulumi.OutputState }
func (ServiceSkuPtrOutput) Capacity ¶
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` and `Standard_S1`.
func (ServiceSkuPtrOutput) ToServiceSkuPtrOutput ¶
func (o ServiceSkuPtrOutput) ToServiceSkuPtrOutput() ServiceSkuPtrOutput
func (ServiceSkuPtrOutput) ToServiceSkuPtrOutputWithContext ¶
func (o ServiceSkuPtrOutput) ToServiceSkuPtrOutputWithContext(ctx context.Context) ServiceSkuPtrOutput
type ServiceState ¶
type ServiceState struct { // A `cors` block as documented below. Cors ServiceCorArrayInput // A `features` block as documented below. Features ServiceFeatureArrayInput // The FQDN of the SignalR service. Hostname pulumi.StringPtrInput // The publicly accessible IP of the SignalR service. IpAddress pulumi.StringPtrInput // Specifies the supported Azure location where the SignalR service exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // The name of the SignalR service. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The primary access key for the SignalR service. PrimaryAccessKey pulumi.StringPtrInput // The primary connection string for the SignalR service. PrimaryConnectionString pulumi.StringPtrInput // The publicly accessible port of the SignalR service which is designed for browser/client use. PublicPort pulumi.IntPtrInput // The name of the resource group in which to create the SignalR service. Changing this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The secondary access key for the SignalR service. SecondaryAccessKey pulumi.StringPtrInput // The secondary connection string for the SignalR service. SecondaryConnectionString pulumi.StringPtrInput // The publicly accessible port of the SignalR service which is designed for customer server side use. ServerPort pulumi.IntPtrInput // A `sku` block as documented below. Sku ServiceSkuPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // 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}`.