Documentation ¶
Index ¶
- type GetPrivateLinkResourceArgs
- type GetPrivateLinkResourceOutputArgs
- type GetPrivateLinkResourceResult
- type GetPrivateLinkResourceResultOutput
- func (GetPrivateLinkResourceResultOutput) ElementType() reflect.Type
- func (o GetPrivateLinkResourceResultOutput) Id() pulumi.StringOutput
- func (o GetPrivateLinkResourceResultOutput) SharedPrivateLinkResourceTypes() GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput
- func (o GetPrivateLinkResourceResultOutput) ToGetPrivateLinkResourceResultOutput() GetPrivateLinkResourceResultOutput
- func (o GetPrivateLinkResourceResultOutput) ToGetPrivateLinkResourceResultOutputWithContext(ctx context.Context) GetPrivateLinkResourceResultOutput
- func (o GetPrivateLinkResourceResultOutput) WebPubsubId() pulumi.StringOutput
- type GetPrivateLinkResourceSharedPrivateLinkResourceType
- type GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs
- func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs) ElementType() reflect.Type
- func (i GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput() GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput
- func (i GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeOutputWithContext(ctx context.Context) GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput
- type GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray
- func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray) ElementType() reflect.Type
- func (i GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput() GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput
- func (i GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutputWithContext(ctx context.Context) GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput
- type GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayInput
- type GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput
- func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput) ElementType() reflect.Type
- func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput) Index(i pulumi.IntInput) GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput
- func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput() GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput
- func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutputWithContext(ctx context.Context) GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput
- type GetPrivateLinkResourceSharedPrivateLinkResourceTypeInput
- type GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput
- func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) Description() pulumi.StringOutput
- func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) ElementType() reflect.Type
- func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) SubresourceName() pulumi.StringOutput
- func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput() GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput
- func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeOutputWithContext(ctx context.Context) GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput
- type Hub
- type HubArgs
- type HubArray
- type HubArrayInput
- type HubArrayOutput
- type HubEventHandler
- type HubEventHandlerArgs
- type HubEventHandlerArray
- type HubEventHandlerArrayInput
- type HubEventHandlerArrayOutput
- func (HubEventHandlerArrayOutput) ElementType() reflect.Type
- func (o HubEventHandlerArrayOutput) Index(i pulumi.IntInput) HubEventHandlerOutput
- func (o HubEventHandlerArrayOutput) ToHubEventHandlerArrayOutput() HubEventHandlerArrayOutput
- func (o HubEventHandlerArrayOutput) ToHubEventHandlerArrayOutputWithContext(ctx context.Context) HubEventHandlerArrayOutput
- type HubEventHandlerAuth
- type HubEventHandlerAuthArgs
- func (HubEventHandlerAuthArgs) ElementType() reflect.Type
- func (i HubEventHandlerAuthArgs) ToHubEventHandlerAuthOutput() HubEventHandlerAuthOutput
- func (i HubEventHandlerAuthArgs) ToHubEventHandlerAuthOutputWithContext(ctx context.Context) HubEventHandlerAuthOutput
- func (i HubEventHandlerAuthArgs) ToHubEventHandlerAuthPtrOutput() HubEventHandlerAuthPtrOutput
- func (i HubEventHandlerAuthArgs) ToHubEventHandlerAuthPtrOutputWithContext(ctx context.Context) HubEventHandlerAuthPtrOutput
- type HubEventHandlerAuthInput
- type HubEventHandlerAuthOutput
- func (HubEventHandlerAuthOutput) ElementType() reflect.Type
- func (o HubEventHandlerAuthOutput) ManagedIdentityId() pulumi.StringOutput
- func (o HubEventHandlerAuthOutput) ToHubEventHandlerAuthOutput() HubEventHandlerAuthOutput
- func (o HubEventHandlerAuthOutput) ToHubEventHandlerAuthOutputWithContext(ctx context.Context) HubEventHandlerAuthOutput
- func (o HubEventHandlerAuthOutput) ToHubEventHandlerAuthPtrOutput() HubEventHandlerAuthPtrOutput
- func (o HubEventHandlerAuthOutput) ToHubEventHandlerAuthPtrOutputWithContext(ctx context.Context) HubEventHandlerAuthPtrOutput
- type HubEventHandlerAuthPtrInput
- type HubEventHandlerAuthPtrOutput
- func (o HubEventHandlerAuthPtrOutput) Elem() HubEventHandlerAuthOutput
- func (HubEventHandlerAuthPtrOutput) ElementType() reflect.Type
- func (o HubEventHandlerAuthPtrOutput) ManagedIdentityId() pulumi.StringPtrOutput
- func (o HubEventHandlerAuthPtrOutput) ToHubEventHandlerAuthPtrOutput() HubEventHandlerAuthPtrOutput
- func (o HubEventHandlerAuthPtrOutput) ToHubEventHandlerAuthPtrOutputWithContext(ctx context.Context) HubEventHandlerAuthPtrOutput
- type HubEventHandlerInput
- type HubEventHandlerOutput
- func (o HubEventHandlerOutput) Auth() HubEventHandlerAuthPtrOutput
- func (HubEventHandlerOutput) ElementType() reflect.Type
- func (o HubEventHandlerOutput) SystemEvents() pulumi.StringArrayOutput
- func (o HubEventHandlerOutput) ToHubEventHandlerOutput() HubEventHandlerOutput
- func (o HubEventHandlerOutput) ToHubEventHandlerOutputWithContext(ctx context.Context) HubEventHandlerOutput
- func (o HubEventHandlerOutput) UrlTemplate() pulumi.StringOutput
- func (o HubEventHandlerOutput) UserEventPattern() pulumi.StringPtrOutput
- type HubInput
- type HubMap
- type HubMapInput
- type HubMapOutput
- type HubOutput
- func (o HubOutput) AnonymousConnectionsEnabled() pulumi.BoolPtrOutput
- func (HubOutput) ElementType() reflect.Type
- func (o HubOutput) EventHandlers() HubEventHandlerArrayOutput
- func (o HubOutput) Name() pulumi.StringOutput
- func (o HubOutput) ToHubOutput() HubOutput
- func (o HubOutput) ToHubOutputWithContext(ctx context.Context) HubOutput
- func (o HubOutput) WebPubsubId() pulumi.StringOutput
- type HubState
- type LookupServiceArgs
- type LookupServiceOutputArgs
- type LookupServiceResult
- type LookupServiceResultOutput
- func (o LookupServiceResultOutput) AadAuthEnabled() pulumi.BoolOutput
- func (o LookupServiceResultOutput) Capacity() pulumi.IntOutput
- func (LookupServiceResultOutput) ElementType() reflect.Type
- func (o LookupServiceResultOutput) ExternalIp() pulumi.StringOutput
- func (o LookupServiceResultOutput) Hostname() pulumi.StringOutput
- func (o LookupServiceResultOutput) Id() pulumi.StringOutput
- func (o LookupServiceResultOutput) LocalAuthEnabled() pulumi.BoolOutput
- 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) PublicNetworkAccessEnabled() pulumi.BoolOutput
- 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) Sku() pulumi.StringOutput
- func (o LookupServiceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupServiceResultOutput) TlsClientCertEnabled() pulumi.BoolOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
- func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
- func (o LookupServiceResultOutput) Version() pulumi.StringOutput
- type NetworkAcl
- type NetworkAclArgs
- type NetworkAclArray
- type NetworkAclArrayInput
- type NetworkAclArrayOutput
- func (NetworkAclArrayOutput) ElementType() reflect.Type
- func (o NetworkAclArrayOutput) Index(i pulumi.IntInput) NetworkAclOutput
- func (o NetworkAclArrayOutput) ToNetworkAclArrayOutput() NetworkAclArrayOutput
- func (o NetworkAclArrayOutput) ToNetworkAclArrayOutputWithContext(ctx context.Context) NetworkAclArrayOutput
- type NetworkAclInput
- type NetworkAclMap
- type NetworkAclMapInput
- type NetworkAclMapOutput
- func (NetworkAclMapOutput) ElementType() reflect.Type
- func (o NetworkAclMapOutput) MapIndex(k pulumi.StringInput) NetworkAclOutput
- func (o NetworkAclMapOutput) ToNetworkAclMapOutput() NetworkAclMapOutput
- func (o NetworkAclMapOutput) ToNetworkAclMapOutputWithContext(ctx context.Context) NetworkAclMapOutput
- type NetworkAclOutput
- func (o NetworkAclOutput) DefaultAction() pulumi.StringPtrOutput
- func (NetworkAclOutput) ElementType() reflect.Type
- func (o NetworkAclOutput) PrivateEndpoints() NetworkAclPrivateEndpointArrayOutput
- func (o NetworkAclOutput) PublicNetwork() NetworkAclPublicNetworkOutput
- func (o NetworkAclOutput) ToNetworkAclOutput() NetworkAclOutput
- func (o NetworkAclOutput) ToNetworkAclOutputWithContext(ctx context.Context) NetworkAclOutput
- func (o NetworkAclOutput) WebPubsubId() pulumi.StringOutput
- type NetworkAclPrivateEndpoint
- type NetworkAclPrivateEndpointArgs
- func (NetworkAclPrivateEndpointArgs) ElementType() reflect.Type
- func (i NetworkAclPrivateEndpointArgs) ToNetworkAclPrivateEndpointOutput() NetworkAclPrivateEndpointOutput
- func (i NetworkAclPrivateEndpointArgs) ToNetworkAclPrivateEndpointOutputWithContext(ctx context.Context) NetworkAclPrivateEndpointOutput
- type NetworkAclPrivateEndpointArray
- func (NetworkAclPrivateEndpointArray) ElementType() reflect.Type
- func (i NetworkAclPrivateEndpointArray) ToNetworkAclPrivateEndpointArrayOutput() NetworkAclPrivateEndpointArrayOutput
- func (i NetworkAclPrivateEndpointArray) ToNetworkAclPrivateEndpointArrayOutputWithContext(ctx context.Context) NetworkAclPrivateEndpointArrayOutput
- type NetworkAclPrivateEndpointArrayInput
- type NetworkAclPrivateEndpointArrayOutput
- func (NetworkAclPrivateEndpointArrayOutput) ElementType() reflect.Type
- func (o NetworkAclPrivateEndpointArrayOutput) Index(i pulumi.IntInput) NetworkAclPrivateEndpointOutput
- func (o NetworkAclPrivateEndpointArrayOutput) ToNetworkAclPrivateEndpointArrayOutput() NetworkAclPrivateEndpointArrayOutput
- func (o NetworkAclPrivateEndpointArrayOutput) ToNetworkAclPrivateEndpointArrayOutputWithContext(ctx context.Context) NetworkAclPrivateEndpointArrayOutput
- type NetworkAclPrivateEndpointInput
- type NetworkAclPrivateEndpointOutput
- func (o NetworkAclPrivateEndpointOutput) AllowedRequestTypes() pulumi.StringArrayOutput
- func (o NetworkAclPrivateEndpointOutput) DeniedRequestTypes() pulumi.StringArrayOutput
- func (NetworkAclPrivateEndpointOutput) ElementType() reflect.Type
- func (o NetworkAclPrivateEndpointOutput) Id() pulumi.StringOutput
- func (o NetworkAclPrivateEndpointOutput) ToNetworkAclPrivateEndpointOutput() NetworkAclPrivateEndpointOutput
- func (o NetworkAclPrivateEndpointOutput) ToNetworkAclPrivateEndpointOutputWithContext(ctx context.Context) NetworkAclPrivateEndpointOutput
- type NetworkAclPublicNetwork
- type NetworkAclPublicNetworkArgs
- func (NetworkAclPublicNetworkArgs) ElementType() reflect.Type
- func (i NetworkAclPublicNetworkArgs) ToNetworkAclPublicNetworkOutput() NetworkAclPublicNetworkOutput
- func (i NetworkAclPublicNetworkArgs) ToNetworkAclPublicNetworkOutputWithContext(ctx context.Context) NetworkAclPublicNetworkOutput
- func (i NetworkAclPublicNetworkArgs) ToNetworkAclPublicNetworkPtrOutput() NetworkAclPublicNetworkPtrOutput
- func (i NetworkAclPublicNetworkArgs) ToNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) NetworkAclPublicNetworkPtrOutput
- type NetworkAclPublicNetworkInput
- type NetworkAclPublicNetworkOutput
- func (o NetworkAclPublicNetworkOutput) AllowedRequestTypes() pulumi.StringArrayOutput
- func (o NetworkAclPublicNetworkOutput) DeniedRequestTypes() pulumi.StringArrayOutput
- func (NetworkAclPublicNetworkOutput) ElementType() reflect.Type
- func (o NetworkAclPublicNetworkOutput) ToNetworkAclPublicNetworkOutput() NetworkAclPublicNetworkOutput
- func (o NetworkAclPublicNetworkOutput) ToNetworkAclPublicNetworkOutputWithContext(ctx context.Context) NetworkAclPublicNetworkOutput
- func (o NetworkAclPublicNetworkOutput) ToNetworkAclPublicNetworkPtrOutput() NetworkAclPublicNetworkPtrOutput
- func (o NetworkAclPublicNetworkOutput) ToNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) NetworkAclPublicNetworkPtrOutput
- type NetworkAclPublicNetworkPtrInput
- type NetworkAclPublicNetworkPtrOutput
- func (o NetworkAclPublicNetworkPtrOutput) AllowedRequestTypes() pulumi.StringArrayOutput
- func (o NetworkAclPublicNetworkPtrOutput) DeniedRequestTypes() pulumi.StringArrayOutput
- func (o NetworkAclPublicNetworkPtrOutput) Elem() NetworkAclPublicNetworkOutput
- func (NetworkAclPublicNetworkPtrOutput) ElementType() reflect.Type
- func (o NetworkAclPublicNetworkPtrOutput) ToNetworkAclPublicNetworkPtrOutput() NetworkAclPublicNetworkPtrOutput
- func (o NetworkAclPublicNetworkPtrOutput) ToNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) NetworkAclPublicNetworkPtrOutput
- type NetworkAclState
- type Service
- type ServiceArgs
- type ServiceArray
- type ServiceArrayInput
- type ServiceArrayOutput
- type ServiceIdentity
- type ServiceIdentityArgs
- func (ServiceIdentityArgs) ElementType() reflect.Type
- func (i ServiceIdentityArgs) ToServiceIdentityOutput() ServiceIdentityOutput
- func (i ServiceIdentityArgs) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput
- func (i ServiceIdentityArgs) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
- func (i ServiceIdentityArgs) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
- type ServiceIdentityInput
- type ServiceIdentityOutput
- func (ServiceIdentityOutput) ElementType() reflect.Type
- func (o ServiceIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o ServiceIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ServiceIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o ServiceIdentityOutput) ToServiceIdentityOutput() ServiceIdentityOutput
- func (o ServiceIdentityOutput) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput
- func (o ServiceIdentityOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
- func (o ServiceIdentityOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
- func (o ServiceIdentityOutput) Type() pulumi.StringOutput
- type ServiceIdentityPtrInput
- type ServiceIdentityPtrOutput
- func (o ServiceIdentityPtrOutput) Elem() ServiceIdentityOutput
- func (ServiceIdentityPtrOutput) ElementType() reflect.Type
- func (o ServiceIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o ServiceIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o ServiceIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
- func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
- func (o ServiceIdentityPtrOutput) Type() pulumi.StringPtrOutput
- 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 ServiceOutput
- func (o ServiceOutput) AadAuthEnabled() pulumi.BoolPtrOutput
- func (o ServiceOutput) Capacity() pulumi.IntPtrOutput
- func (ServiceOutput) ElementType() reflect.Type
- func (o ServiceOutput) ExternalIp() pulumi.StringOutput
- func (o ServiceOutput) Hostname() pulumi.StringOutput
- func (o ServiceOutput) Identity() ServiceIdentityPtrOutput
- func (o ServiceOutput) LiveTrace() ServiceLiveTracePtrOutput
- func (o ServiceOutput) LocalAuthEnabled() pulumi.BoolPtrOutput
- func (o ServiceOutput) Location() pulumi.StringOutput
- func (o ServiceOutput) Name() pulumi.StringOutput
- func (o ServiceOutput) PrimaryAccessKey() pulumi.StringOutput
- func (o ServiceOutput) PrimaryConnectionString() pulumi.StringOutput
- func (o ServiceOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
- 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) Sku() pulumi.StringOutput
- func (o ServiceOutput) Tags() pulumi.StringMapOutput
- func (o ServiceOutput) TlsClientCertEnabled() pulumi.BoolPtrOutput
- func (o ServiceOutput) ToServiceOutput() ServiceOutput
- func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
- func (o ServiceOutput) Version() pulumi.StringOutput
- type ServiceState
- 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) 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
- func (o SharedPrivateLinkResourceOutput) WebPubsubId() pulumi.StringOutput
- type SharedPrivateLinkResourceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetPrivateLinkResourceArgs ¶ added in v5.14.0
type GetPrivateLinkResourceArgs struct { // The ID of an existing Web Pubsub Resource which Private Link Resource should be retrieved for. WebPubsubId string `pulumi:"webPubsubId"` }
A collection of arguments for invoking getPrivateLinkResource.
type GetPrivateLinkResourceOutputArgs ¶ added in v5.14.0
type GetPrivateLinkResourceOutputArgs struct { // The ID of an existing Web Pubsub Resource which Private Link Resource should be retrieved for. WebPubsubId pulumi.StringInput `pulumi:"webPubsubId"` }
A collection of arguments for invoking getPrivateLinkResource.
func (GetPrivateLinkResourceOutputArgs) ElementType ¶ added in v5.14.0
func (GetPrivateLinkResourceOutputArgs) ElementType() reflect.Type
type GetPrivateLinkResourceResult ¶ added in v5.14.0
type GetPrivateLinkResourceResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A `sharedPrivateLinkResourceTypes` block as defined below. WebPubsubId string `pulumi:"webPubsubId"` }
A collection of values returned by getPrivateLinkResource.
func GetPrivateLinkResource ¶ added in v5.14.0
func GetPrivateLinkResource(ctx *pulumi.Context, args *GetPrivateLinkResourceArgs, opts ...pulumi.InvokeOption) (*GetPrivateLinkResourceResult, error)
Use this data source to access information about the Private Link Resource supported by the Web Pubsub Resource.
## 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/webpubsub" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testResourceGroup, err := core.NewResourceGroup(ctx, "testResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("east us"), }) if err != nil { return err } testService, err := webpubsub.NewService(ctx, "testService", &webpubsub.ServiceArgs{ Location: testResourceGroup.Location, ResourceGroupName: testResourceGroup.Name, Sku: pulumi.String("Standard_S1"), Capacity: pulumi.Int(1), }) if err != nil { return err } _ = webpubsub.GetPrivateLinkResourceOutput(ctx, webpubsub.GetPrivateLinkResourceOutputArgs{ WebPubsubId: testService.ID(), }, nil) return nil }) }
```
type GetPrivateLinkResourceResultOutput ¶ added in v5.14.0
type GetPrivateLinkResourceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getPrivateLinkResource.
func GetPrivateLinkResourceOutput ¶ added in v5.14.0
func GetPrivateLinkResourceOutput(ctx *pulumi.Context, args GetPrivateLinkResourceOutputArgs, opts ...pulumi.InvokeOption) GetPrivateLinkResourceResultOutput
func (GetPrivateLinkResourceResultOutput) ElementType ¶ added in v5.14.0
func (GetPrivateLinkResourceResultOutput) ElementType() reflect.Type
func (GetPrivateLinkResourceResultOutput) Id ¶ added in v5.14.0
func (o GetPrivateLinkResourceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPrivateLinkResourceResultOutput) SharedPrivateLinkResourceTypes ¶ added in v5.14.0
func (o GetPrivateLinkResourceResultOutput) SharedPrivateLinkResourceTypes() GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput
A `sharedPrivateLinkResourceTypes` block as defined below.
func (GetPrivateLinkResourceResultOutput) ToGetPrivateLinkResourceResultOutput ¶ added in v5.14.0
func (o GetPrivateLinkResourceResultOutput) ToGetPrivateLinkResourceResultOutput() GetPrivateLinkResourceResultOutput
func (GetPrivateLinkResourceResultOutput) ToGetPrivateLinkResourceResultOutputWithContext ¶ added in v5.14.0
func (o GetPrivateLinkResourceResultOutput) ToGetPrivateLinkResourceResultOutputWithContext(ctx context.Context) GetPrivateLinkResourceResultOutput
func (GetPrivateLinkResourceResultOutput) WebPubsubId ¶ added in v5.14.0
func (o GetPrivateLinkResourceResultOutput) WebPubsubId() pulumi.StringOutput
type GetPrivateLinkResourceSharedPrivateLinkResourceType ¶ added in v5.14.0
type GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs ¶ added in v5.14.0
type GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs struct { pulumi.StringInput `pulumi:"description"` SubresourceName pulumi.StringInput `pulumi:"subresourceName"` }Description
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs) ElementType ¶ added in v5.14.0
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs) ElementType() reflect.Type
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput ¶ added in v5.14.0
func (i GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput() GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeOutputWithContext ¶ added in v5.14.0
func (i GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeOutputWithContext(ctx context.Context) GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput
type GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray ¶ added in v5.14.0
type GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray []GetPrivateLinkResourceSharedPrivateLinkResourceTypeInput
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray) ElementType ¶ added in v5.14.0
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray) ElementType() reflect.Type
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput ¶ added in v5.14.0
func (i GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput() GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutputWithContext ¶ added in v5.14.0
func (i GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutputWithContext(ctx context.Context) GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput
type GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayInput ¶ added in v5.14.0
GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayInput is an input type that accepts GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray and GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput values. You can construct a concrete instance of `GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayInput` via:
GetPrivateLinkResourceSharedPrivateLinkResourceTypeArray{ GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs{...} }
type GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput ¶ added in v5.14.0
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput) ElementType ¶ added in v5.14.0
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput) ElementType() reflect.Type
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput ¶ added in v5.14.0
func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput() GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutputWithContext ¶ added in v5.14.0
func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutputWithContext(ctx context.Context) GetPrivateLinkResourceSharedPrivateLinkResourceTypeArrayOutput
type GetPrivateLinkResourceSharedPrivateLinkResourceTypeInput ¶ added in v5.14.0
GetPrivateLinkResourceSharedPrivateLinkResourceTypeInput is an input type that accepts GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs and GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput values. You can construct a concrete instance of `GetPrivateLinkResourceSharedPrivateLinkResourceTypeInput` via:
GetPrivateLinkResourceSharedPrivateLinkResourceTypeArgs{...}
type GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput ¶ added in v5.14.0
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) Description ¶ added in v5.14.0
func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) Description() pulumi.StringOutput
The description of the resource type that has been onboarded to private link service.
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) ElementType ¶ added in v5.14.0
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) ElementType() reflect.Type
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) SubresourceName ¶ added in v5.14.0
func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) SubresourceName() pulumi.StringOutput
The name for the resource that has been onboarded to private link service.
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput ¶ added in v5.14.0
func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput() GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput
func (GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeOutputWithContext ¶ added in v5.14.0
func (o GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput) ToGetPrivateLinkResourceSharedPrivateLinkResourceTypeOutputWithContext(ctx context.Context) GetPrivateLinkResourceSharedPrivateLinkResourceTypeOutput
type Hub ¶
type Hub struct { pulumi.CustomResourceState // Is anonymous connections are allowed for this hub? Defaults to `false`. // Possible values are `true`, `false`. AnonymousConnectionsEnabled pulumi.BoolPtrOutput `pulumi:"anonymousConnectionsEnabled"` // An `eventHandler` block as defined below. EventHandlers HubEventHandlerArrayOutput `pulumi:"eventHandlers"` // The name of the Web Pubsub hub service. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specify the id of the Web Pubsub. Changing this forces a new resource to be created. WebPubsubId pulumi.StringOutput `pulumi:"webPubsubId"` }
Manages the hub settings for a Web Pubsub.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/webpubsub" "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("east us"), }) if err != nil { return err } exampleUserAssignedIdentity, err := authorization.NewUserAssignedIdentity(ctx, "exampleUserAssignedIdentity", &authorization.UserAssignedIdentityArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, }) if err != nil { return err } exampleService, err := webpubsub.NewService(ctx, "exampleService", &webpubsub.ServiceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard_S1"), Capacity: pulumi.Int(1), }) if err != nil { return err } _, err = webpubsub.NewHub(ctx, "exampleHub", &webpubsub.HubArgs{ WebPubsubId: exampleService.ID(), EventHandlers: webpubsub.HubEventHandlerArray{ &webpubsub.HubEventHandlerArgs{ UrlTemplate: pulumi.String("https://test.com/api/{hub}/{event}"), UserEventPattern: pulumi.String("*"), SystemEvents: pulumi.StringArray{ pulumi.String("connect"), pulumi.String("connected"), }, }, &webpubsub.HubEventHandlerArgs{ UrlTemplate: pulumi.String("https://test.com/api/{hub}/{event}"), UserEventPattern: pulumi.String("event1, event2"), SystemEvents: pulumi.StringArray{ pulumi.String("connected"), }, Auth: &webpubsub.HubEventHandlerAuthArgs{ ManagedIdentityId: exampleUserAssignedIdentity.ID(), }, }, }, AnonymousConnectionsEnabled: pulumi.Bool(true), }, pulumi.DependsOn([]pulumi.Resource{ exampleService, })) if err != nil { return err } return nil }) }
```
## Import
Web Pubsub Hub can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:webpubsub/hub:Hub example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/webPubsub/webpubsub1/hubs/webpubsubhub1
```
func GetHub ¶
func GetHub(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HubState, opts ...pulumi.ResourceOption) (*Hub, error)
GetHub gets an existing Hub 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 NewHub ¶
func NewHub(ctx *pulumi.Context, name string, args *HubArgs, opts ...pulumi.ResourceOption) (*Hub, error)
NewHub registers a new resource with the given unique name, arguments, and options.
func (*Hub) ElementType ¶
func (*Hub) ToHubOutput ¶
type HubArgs ¶
type HubArgs struct { // Is anonymous connections are allowed for this hub? Defaults to `false`. // Possible values are `true`, `false`. AnonymousConnectionsEnabled pulumi.BoolPtrInput // An `eventHandler` block as defined below. EventHandlers HubEventHandlerArrayInput // The name of the Web Pubsub hub service. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specify the id of the Web Pubsub. Changing this forces a new resource to be created. WebPubsubId pulumi.StringInput }
The set of arguments for constructing a Hub resource.
func (HubArgs) ElementType ¶
type HubArray ¶
type HubArray []HubInput
func (HubArray) ElementType ¶
func (HubArray) ToHubArrayOutput ¶
func (i HubArray) ToHubArrayOutput() HubArrayOutput
func (HubArray) ToHubArrayOutputWithContext ¶
func (i HubArray) ToHubArrayOutputWithContext(ctx context.Context) HubArrayOutput
type HubArrayInput ¶
type HubArrayInput interface { pulumi.Input ToHubArrayOutput() HubArrayOutput ToHubArrayOutputWithContext(context.Context) HubArrayOutput }
HubArrayInput is an input type that accepts HubArray and HubArrayOutput values. You can construct a concrete instance of `HubArrayInput` via:
HubArray{ HubArgs{...} }
type HubArrayOutput ¶
type HubArrayOutput struct{ *pulumi.OutputState }
func (HubArrayOutput) ElementType ¶
func (HubArrayOutput) ElementType() reflect.Type
func (HubArrayOutput) ToHubArrayOutput ¶
func (o HubArrayOutput) ToHubArrayOutput() HubArrayOutput
func (HubArrayOutput) ToHubArrayOutputWithContext ¶
func (o HubArrayOutput) ToHubArrayOutputWithContext(ctx context.Context) HubArrayOutput
type HubEventHandler ¶
type HubEventHandler struct { // An `auth` block as defined below. Auth *HubEventHandlerAuth `pulumi:"auth"` // Specify the list of system events. Supported values are `connect`, `connected` // and `disconnected`. SystemEvents []string `pulumi:"systemEvents"` // The Event Handler URL Template. Two predefined parameters `{hub}` and `{event}` are // available to use in the template. The value of the EventHandler URL is dynamically calculated when the client request // comes in. Example: `http://example.com/api/{hub}/{event}`. UrlTemplate string `pulumi:"urlTemplate"` // Specify the matching event names. There are 3 kind of patterns supported: // - `*` matches any event name // - `,` Combine multiple events with `,` for example `event1,event2`, it matches event `event1` and `event2` // - The single event name, for example `event1`, it matches `event1`. UserEventPattern *string `pulumi:"userEventPattern"` }
type HubEventHandlerArgs ¶
type HubEventHandlerArgs struct { // An `auth` block as defined below. Auth HubEventHandlerAuthPtrInput `pulumi:"auth"` // Specify the list of system events. Supported values are `connect`, `connected` // and `disconnected`. SystemEvents pulumi.StringArrayInput `pulumi:"systemEvents"` // The Event Handler URL Template. Two predefined parameters `{hub}` and `{event}` are // available to use in the template. The value of the EventHandler URL is dynamically calculated when the client request // comes in. Example: `http://example.com/api/{hub}/{event}`. UrlTemplate pulumi.StringInput `pulumi:"urlTemplate"` // Specify the matching event names. There are 3 kind of patterns supported: // - `*` matches any event name // - `,` Combine multiple events with `,` for example `event1,event2`, it matches event `event1` and `event2` // - The single event name, for example `event1`, it matches `event1`. UserEventPattern pulumi.StringPtrInput `pulumi:"userEventPattern"` }
func (HubEventHandlerArgs) ElementType ¶
func (HubEventHandlerArgs) ElementType() reflect.Type
func (HubEventHandlerArgs) ToHubEventHandlerOutput ¶
func (i HubEventHandlerArgs) ToHubEventHandlerOutput() HubEventHandlerOutput
func (HubEventHandlerArgs) ToHubEventHandlerOutputWithContext ¶
func (i HubEventHandlerArgs) ToHubEventHandlerOutputWithContext(ctx context.Context) HubEventHandlerOutput
type HubEventHandlerArray ¶
type HubEventHandlerArray []HubEventHandlerInput
func (HubEventHandlerArray) ElementType ¶
func (HubEventHandlerArray) ElementType() reflect.Type
func (HubEventHandlerArray) ToHubEventHandlerArrayOutput ¶
func (i HubEventHandlerArray) ToHubEventHandlerArrayOutput() HubEventHandlerArrayOutput
func (HubEventHandlerArray) ToHubEventHandlerArrayOutputWithContext ¶
func (i HubEventHandlerArray) ToHubEventHandlerArrayOutputWithContext(ctx context.Context) HubEventHandlerArrayOutput
type HubEventHandlerArrayInput ¶
type HubEventHandlerArrayInput interface { pulumi.Input ToHubEventHandlerArrayOutput() HubEventHandlerArrayOutput ToHubEventHandlerArrayOutputWithContext(context.Context) HubEventHandlerArrayOutput }
HubEventHandlerArrayInput is an input type that accepts HubEventHandlerArray and HubEventHandlerArrayOutput values. You can construct a concrete instance of `HubEventHandlerArrayInput` via:
HubEventHandlerArray{ HubEventHandlerArgs{...} }
type HubEventHandlerArrayOutput ¶
type HubEventHandlerArrayOutput struct{ *pulumi.OutputState }
func (HubEventHandlerArrayOutput) ElementType ¶
func (HubEventHandlerArrayOutput) ElementType() reflect.Type
func (HubEventHandlerArrayOutput) Index ¶
func (o HubEventHandlerArrayOutput) Index(i pulumi.IntInput) HubEventHandlerOutput
func (HubEventHandlerArrayOutput) ToHubEventHandlerArrayOutput ¶
func (o HubEventHandlerArrayOutput) ToHubEventHandlerArrayOutput() HubEventHandlerArrayOutput
func (HubEventHandlerArrayOutput) ToHubEventHandlerArrayOutputWithContext ¶
func (o HubEventHandlerArrayOutput) ToHubEventHandlerArrayOutputWithContext(ctx context.Context) HubEventHandlerArrayOutput
type HubEventHandlerAuth ¶
type HubEventHandlerAuth struct { // Specify the identity ID of the target resource. ManagedIdentityId string `pulumi:"managedIdentityId"` }
type HubEventHandlerAuthArgs ¶
type HubEventHandlerAuthArgs struct { // Specify the identity ID of the target resource. ManagedIdentityId pulumi.StringInput `pulumi:"managedIdentityId"` }
func (HubEventHandlerAuthArgs) ElementType ¶
func (HubEventHandlerAuthArgs) ElementType() reflect.Type
func (HubEventHandlerAuthArgs) ToHubEventHandlerAuthOutput ¶
func (i HubEventHandlerAuthArgs) ToHubEventHandlerAuthOutput() HubEventHandlerAuthOutput
func (HubEventHandlerAuthArgs) ToHubEventHandlerAuthOutputWithContext ¶
func (i HubEventHandlerAuthArgs) ToHubEventHandlerAuthOutputWithContext(ctx context.Context) HubEventHandlerAuthOutput
func (HubEventHandlerAuthArgs) ToHubEventHandlerAuthPtrOutput ¶
func (i HubEventHandlerAuthArgs) ToHubEventHandlerAuthPtrOutput() HubEventHandlerAuthPtrOutput
func (HubEventHandlerAuthArgs) ToHubEventHandlerAuthPtrOutputWithContext ¶
func (i HubEventHandlerAuthArgs) ToHubEventHandlerAuthPtrOutputWithContext(ctx context.Context) HubEventHandlerAuthPtrOutput
type HubEventHandlerAuthInput ¶
type HubEventHandlerAuthInput interface { pulumi.Input ToHubEventHandlerAuthOutput() HubEventHandlerAuthOutput ToHubEventHandlerAuthOutputWithContext(context.Context) HubEventHandlerAuthOutput }
HubEventHandlerAuthInput is an input type that accepts HubEventHandlerAuthArgs and HubEventHandlerAuthOutput values. You can construct a concrete instance of `HubEventHandlerAuthInput` via:
HubEventHandlerAuthArgs{...}
type HubEventHandlerAuthOutput ¶
type HubEventHandlerAuthOutput struct{ *pulumi.OutputState }
func (HubEventHandlerAuthOutput) ElementType ¶
func (HubEventHandlerAuthOutput) ElementType() reflect.Type
func (HubEventHandlerAuthOutput) ManagedIdentityId ¶
func (o HubEventHandlerAuthOutput) ManagedIdentityId() pulumi.StringOutput
Specify the identity ID of the target resource.
func (HubEventHandlerAuthOutput) ToHubEventHandlerAuthOutput ¶
func (o HubEventHandlerAuthOutput) ToHubEventHandlerAuthOutput() HubEventHandlerAuthOutput
func (HubEventHandlerAuthOutput) ToHubEventHandlerAuthOutputWithContext ¶
func (o HubEventHandlerAuthOutput) ToHubEventHandlerAuthOutputWithContext(ctx context.Context) HubEventHandlerAuthOutput
func (HubEventHandlerAuthOutput) ToHubEventHandlerAuthPtrOutput ¶
func (o HubEventHandlerAuthOutput) ToHubEventHandlerAuthPtrOutput() HubEventHandlerAuthPtrOutput
func (HubEventHandlerAuthOutput) ToHubEventHandlerAuthPtrOutputWithContext ¶
func (o HubEventHandlerAuthOutput) ToHubEventHandlerAuthPtrOutputWithContext(ctx context.Context) HubEventHandlerAuthPtrOutput
type HubEventHandlerAuthPtrInput ¶
type HubEventHandlerAuthPtrInput interface { pulumi.Input ToHubEventHandlerAuthPtrOutput() HubEventHandlerAuthPtrOutput ToHubEventHandlerAuthPtrOutputWithContext(context.Context) HubEventHandlerAuthPtrOutput }
HubEventHandlerAuthPtrInput is an input type that accepts HubEventHandlerAuthArgs, HubEventHandlerAuthPtr and HubEventHandlerAuthPtrOutput values. You can construct a concrete instance of `HubEventHandlerAuthPtrInput` via:
HubEventHandlerAuthArgs{...} or: nil
func HubEventHandlerAuthPtr ¶
func HubEventHandlerAuthPtr(v *HubEventHandlerAuthArgs) HubEventHandlerAuthPtrInput
type HubEventHandlerAuthPtrOutput ¶
type HubEventHandlerAuthPtrOutput struct{ *pulumi.OutputState }
func (HubEventHandlerAuthPtrOutput) Elem ¶
func (o HubEventHandlerAuthPtrOutput) Elem() HubEventHandlerAuthOutput
func (HubEventHandlerAuthPtrOutput) ElementType ¶
func (HubEventHandlerAuthPtrOutput) ElementType() reflect.Type
func (HubEventHandlerAuthPtrOutput) ManagedIdentityId ¶
func (o HubEventHandlerAuthPtrOutput) ManagedIdentityId() pulumi.StringPtrOutput
Specify the identity ID of the target resource.
func (HubEventHandlerAuthPtrOutput) ToHubEventHandlerAuthPtrOutput ¶
func (o HubEventHandlerAuthPtrOutput) ToHubEventHandlerAuthPtrOutput() HubEventHandlerAuthPtrOutput
func (HubEventHandlerAuthPtrOutput) ToHubEventHandlerAuthPtrOutputWithContext ¶
func (o HubEventHandlerAuthPtrOutput) ToHubEventHandlerAuthPtrOutputWithContext(ctx context.Context) HubEventHandlerAuthPtrOutput
type HubEventHandlerInput ¶
type HubEventHandlerInput interface { pulumi.Input ToHubEventHandlerOutput() HubEventHandlerOutput ToHubEventHandlerOutputWithContext(context.Context) HubEventHandlerOutput }
HubEventHandlerInput is an input type that accepts HubEventHandlerArgs and HubEventHandlerOutput values. You can construct a concrete instance of `HubEventHandlerInput` via:
HubEventHandlerArgs{...}
type HubEventHandlerOutput ¶
type HubEventHandlerOutput struct{ *pulumi.OutputState }
func (HubEventHandlerOutput) Auth ¶
func (o HubEventHandlerOutput) Auth() HubEventHandlerAuthPtrOutput
An `auth` block as defined below.
func (HubEventHandlerOutput) ElementType ¶
func (HubEventHandlerOutput) ElementType() reflect.Type
func (HubEventHandlerOutput) SystemEvents ¶
func (o HubEventHandlerOutput) SystemEvents() pulumi.StringArrayOutput
Specify the list of system events. Supported values are `connect`, `connected` and `disconnected`.
func (HubEventHandlerOutput) ToHubEventHandlerOutput ¶
func (o HubEventHandlerOutput) ToHubEventHandlerOutput() HubEventHandlerOutput
func (HubEventHandlerOutput) ToHubEventHandlerOutputWithContext ¶
func (o HubEventHandlerOutput) ToHubEventHandlerOutputWithContext(ctx context.Context) HubEventHandlerOutput
func (HubEventHandlerOutput) UrlTemplate ¶
func (o HubEventHandlerOutput) UrlTemplate() pulumi.StringOutput
The Event Handler URL Template. Two predefined parameters `{hub}` and `{event}` are available to use in the template. The value of the EventHandler URL is dynamically calculated when the client request comes in. Example: `http://example.com/api/{hub}/{event}`.
func (HubEventHandlerOutput) UserEventPattern ¶
func (o HubEventHandlerOutput) UserEventPattern() pulumi.StringPtrOutput
Specify the matching event names. There are 3 kind of patterns supported: - `*` matches any event name - `,` Combine multiple events with `,` for example `event1,event2`, it matches event `event1` and `event2` - The single event name, for example `event1`, it matches `event1`.
type HubMap ¶
func (HubMap) ElementType ¶
func (HubMap) ToHubMapOutput ¶
func (i HubMap) ToHubMapOutput() HubMapOutput
func (HubMap) ToHubMapOutputWithContext ¶
func (i HubMap) ToHubMapOutputWithContext(ctx context.Context) HubMapOutput
type HubMapInput ¶
type HubMapInput interface { pulumi.Input ToHubMapOutput() HubMapOutput ToHubMapOutputWithContext(context.Context) HubMapOutput }
HubMapInput is an input type that accepts HubMap and HubMapOutput values. You can construct a concrete instance of `HubMapInput` via:
HubMap{ "key": HubArgs{...} }
type HubMapOutput ¶
type HubMapOutput struct{ *pulumi.OutputState }
func (HubMapOutput) ElementType ¶
func (HubMapOutput) ElementType() reflect.Type
func (HubMapOutput) MapIndex ¶
func (o HubMapOutput) MapIndex(k pulumi.StringInput) HubOutput
func (HubMapOutput) ToHubMapOutput ¶
func (o HubMapOutput) ToHubMapOutput() HubMapOutput
func (HubMapOutput) ToHubMapOutputWithContext ¶
func (o HubMapOutput) ToHubMapOutputWithContext(ctx context.Context) HubMapOutput
type HubOutput ¶
type HubOutput struct{ *pulumi.OutputState }
func (HubOutput) AnonymousConnectionsEnabled ¶ added in v5.5.0
func (o HubOutput) AnonymousConnectionsEnabled() pulumi.BoolPtrOutput
Is anonymous connections are allowed for this hub? Defaults to `false`. Possible values are `true`, `false`.
func (HubOutput) ElementType ¶
func (HubOutput) EventHandlers ¶ added in v5.5.0
func (o HubOutput) EventHandlers() HubEventHandlerArrayOutput
An `eventHandler` block as defined below.
func (HubOutput) Name ¶ added in v5.5.0
func (o HubOutput) Name() pulumi.StringOutput
The name of the Web Pubsub hub service. Changing this forces a new resource to be created.
func (HubOutput) ToHubOutput ¶
func (HubOutput) ToHubOutputWithContext ¶
func (HubOutput) WebPubsubId ¶ added in v5.5.0
func (o HubOutput) WebPubsubId() pulumi.StringOutput
Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
type HubState ¶
type HubState struct { // Is anonymous connections are allowed for this hub? Defaults to `false`. // Possible values are `true`, `false`. AnonymousConnectionsEnabled pulumi.BoolPtrInput // An `eventHandler` block as defined below. EventHandlers HubEventHandlerArrayInput // The name of the Web Pubsub hub service. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specify the id of the Web Pubsub. Changing this forces a new resource to be created. WebPubsubId pulumi.StringPtrInput }
func (HubState) ElementType ¶
type LookupServiceArgs ¶
type LookupServiceArgs struct { // Specifies the name of the Web Pubsub service. Name string `pulumi:"name"` // Specifies the name of the resource group the Web Pubsub 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 Web Pubsub service. Name pulumi.StringInput `pulumi:"name"` // Specifies the name of the resource group the Web Pubsub 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 { AadAuthEnabled bool `pulumi:"aadAuthEnabled"` Capacity int `pulumi:"capacity"` ExternalIp string `pulumi:"externalIp"` // The FQDN of the Web Pubsub service. Hostname string `pulumi:"hostname"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` LocalAuthEnabled bool `pulumi:"localAuthEnabled"` // The Azure location where the Web Pubsub service exists. Location string `pulumi:"location"` Name string `pulumi:"name"` // The primary access key of the Web Pubsub service. PrimaryAccessKey string `pulumi:"primaryAccessKey"` // The primary connection string of the Web Pubsub service. PrimaryConnectionString string `pulumi:"primaryConnectionString"` PublicNetworkAccessEnabled bool `pulumi:"publicNetworkAccessEnabled"` // The publicly accessible port of the Web Pubsub service which is designed for browser/client use. PublicPort int `pulumi:"publicPort"` ResourceGroupName string `pulumi:"resourceGroupName"` // The secondary access key of the Web Pubsub service. SecondaryAccessKey string `pulumi:"secondaryAccessKey"` // The secondary connection string of the Web Pubsub service. SecondaryConnectionString string `pulumi:"secondaryConnectionString"` // The publicly accessible port of the Web Pubsub service which is designed for customer server side use. ServerPort int `pulumi:"serverPort"` Sku string `pulumi:"sku"` Tags map[string]string `pulumi:"tags"` TlsClientCertEnabled bool `pulumi:"tlsClientCertEnabled"` Version string `pulumi:"version"` }
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 Web Pubsub service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/webpubsub" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := webpubsub.LookupService(ctx, &webpubsub.LookupServiceArgs{ Name: "test-webpubsub", ResourceGroupName: "wps-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) AadAuthEnabled ¶
func (o LookupServiceResultOutput) AadAuthEnabled() pulumi.BoolOutput
func (LookupServiceResultOutput) Capacity ¶
func (o LookupServiceResultOutput) Capacity() pulumi.IntOutput
func (LookupServiceResultOutput) ElementType ¶
func (LookupServiceResultOutput) ElementType() reflect.Type
func (LookupServiceResultOutput) ExternalIp ¶
func (o LookupServiceResultOutput) ExternalIp() pulumi.StringOutput
func (LookupServiceResultOutput) Hostname ¶
func (o LookupServiceResultOutput) Hostname() pulumi.StringOutput
The FQDN of the Web Pubsub service.
func (LookupServiceResultOutput) Id ¶
func (o LookupServiceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupServiceResultOutput) LocalAuthEnabled ¶
func (o LookupServiceResultOutput) LocalAuthEnabled() pulumi.BoolOutput
func (LookupServiceResultOutput) Location ¶
func (o LookupServiceResultOutput) Location() pulumi.StringOutput
The Azure location where the Web Pubsub 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 Web Pubsub service.
func (LookupServiceResultOutput) PrimaryConnectionString ¶
func (o LookupServiceResultOutput) PrimaryConnectionString() pulumi.StringOutput
The primary connection string of the Web Pubsub service.
func (LookupServiceResultOutput) PublicNetworkAccessEnabled ¶
func (o LookupServiceResultOutput) PublicNetworkAccessEnabled() pulumi.BoolOutput
func (LookupServiceResultOutput) PublicPort ¶
func (o LookupServiceResultOutput) PublicPort() pulumi.IntOutput
The publicly accessible port of the Web Pubsub 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 Web Pubsub service.
func (LookupServiceResultOutput) SecondaryConnectionString ¶
func (o LookupServiceResultOutput) SecondaryConnectionString() pulumi.StringOutput
The secondary connection string of the Web Pubsub service.
func (LookupServiceResultOutput) ServerPort ¶
func (o LookupServiceResultOutput) ServerPort() pulumi.IntOutput
The publicly accessible port of the Web Pubsub service which is designed for customer server side use.
func (LookupServiceResultOutput) Sku ¶
func (o LookupServiceResultOutput) Sku() pulumi.StringOutput
func (LookupServiceResultOutput) Tags ¶
func (o LookupServiceResultOutput) Tags() pulumi.StringMapOutput
func (LookupServiceResultOutput) TlsClientCertEnabled ¶
func (o LookupServiceResultOutput) TlsClientCertEnabled() pulumi.BoolOutput
func (LookupServiceResultOutput) ToLookupServiceResultOutput ¶
func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput
func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext ¶
func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput
func (LookupServiceResultOutput) Version ¶
func (o LookupServiceResultOutput) Version() pulumi.StringOutput
type NetworkAcl ¶
type NetworkAcl struct { pulumi.CustomResourceState // The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`. Defaults to `Deny`. DefaultAction pulumi.StringPtrOutput `pulumi:"defaultAction"` // A `privateEndpoint` block as defined below. PrivateEndpoints NetworkAclPrivateEndpointArrayOutput `pulumi:"privateEndpoints"` // A `publicNetwork` block as defined below. PublicNetwork NetworkAclPublicNetworkOutput `pulumi:"publicNetwork"` // The ID of the Web Pubsub service. Changing this forces a new resource to be created. WebPubsubId pulumi.StringOutput `pulumi:"webPubsubId"` }
Manages the Network ACL for a Web Pubsub.
## 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/webpubsub" "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("east us"), }) if err != nil { return err } exampleService, err := webpubsub.NewService(ctx, "exampleService", &webpubsub.ServiceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: 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("webpubsub"), }, }, }) if err != nil { return err } _, err = webpubsub.NewNetworkAcl(ctx, "exampleNetworkAcl", &webpubsub.NetworkAclArgs{ WebPubsubId: exampleService.ID(), DefaultAction: pulumi.String("Allow"), PublicNetwork: &webpubsub.NetworkAclPublicNetworkArgs{ DeniedRequestTypes: pulumi.StringArray{ pulumi.String("ClientConnection"), }, }, PrivateEndpoints: webpubsub.NetworkAclPrivateEndpointArray{ &webpubsub.NetworkAclPrivateEndpointArgs{ Id: exampleEndpoint.ID(), DeniedRequestTypes: pulumi.StringArray{ pulumi.String("RESTAPI"), pulumi.String("ClientConnection"), }, }, }, }, pulumi.DependsOn([]pulumi.Resource{ exampleEndpoint, })) if err != nil { return err } return nil }) }
```
## Import
Network ACLs for a Web Pubsub service can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:webpubsub/networkAcl:NetworkAcl example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/webPubSub/webpubsub1
```
func GetNetworkAcl ¶
func GetNetworkAcl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NetworkAclState, opts ...pulumi.ResourceOption) (*NetworkAcl, error)
GetNetworkAcl gets an existing NetworkAcl 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 NewNetworkAcl ¶
func NewNetworkAcl(ctx *pulumi.Context, name string, args *NetworkAclArgs, opts ...pulumi.ResourceOption) (*NetworkAcl, error)
NewNetworkAcl registers a new resource with the given unique name, arguments, and options.
func (*NetworkAcl) ElementType ¶
func (*NetworkAcl) ElementType() reflect.Type
func (*NetworkAcl) ToNetworkAclOutput ¶
func (i *NetworkAcl) ToNetworkAclOutput() NetworkAclOutput
func (*NetworkAcl) ToNetworkAclOutputWithContext ¶
func (i *NetworkAcl) ToNetworkAclOutputWithContext(ctx context.Context) NetworkAclOutput
type NetworkAclArgs ¶
type NetworkAclArgs struct { // The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`. Defaults to `Deny`. DefaultAction pulumi.StringPtrInput // A `privateEndpoint` block as defined below. PrivateEndpoints NetworkAclPrivateEndpointArrayInput // A `publicNetwork` block as defined below. PublicNetwork NetworkAclPublicNetworkInput // The ID of the Web Pubsub service. Changing this forces a new resource to be created. WebPubsubId pulumi.StringInput }
The set of arguments for constructing a NetworkAcl resource.
func (NetworkAclArgs) ElementType ¶
func (NetworkAclArgs) ElementType() reflect.Type
type NetworkAclArray ¶
type NetworkAclArray []NetworkAclInput
func (NetworkAclArray) ElementType ¶
func (NetworkAclArray) ElementType() reflect.Type
func (NetworkAclArray) ToNetworkAclArrayOutput ¶
func (i NetworkAclArray) ToNetworkAclArrayOutput() NetworkAclArrayOutput
func (NetworkAclArray) ToNetworkAclArrayOutputWithContext ¶
func (i NetworkAclArray) ToNetworkAclArrayOutputWithContext(ctx context.Context) NetworkAclArrayOutput
type NetworkAclArrayInput ¶
type NetworkAclArrayInput interface { pulumi.Input ToNetworkAclArrayOutput() NetworkAclArrayOutput ToNetworkAclArrayOutputWithContext(context.Context) NetworkAclArrayOutput }
NetworkAclArrayInput is an input type that accepts NetworkAclArray and NetworkAclArrayOutput values. You can construct a concrete instance of `NetworkAclArrayInput` via:
NetworkAclArray{ NetworkAclArgs{...} }
type NetworkAclArrayOutput ¶
type NetworkAclArrayOutput struct{ *pulumi.OutputState }
func (NetworkAclArrayOutput) ElementType ¶
func (NetworkAclArrayOutput) ElementType() reflect.Type
func (NetworkAclArrayOutput) Index ¶
func (o NetworkAclArrayOutput) Index(i pulumi.IntInput) NetworkAclOutput
func (NetworkAclArrayOutput) ToNetworkAclArrayOutput ¶
func (o NetworkAclArrayOutput) ToNetworkAclArrayOutput() NetworkAclArrayOutput
func (NetworkAclArrayOutput) ToNetworkAclArrayOutputWithContext ¶
func (o NetworkAclArrayOutput) ToNetworkAclArrayOutputWithContext(ctx context.Context) NetworkAclArrayOutput
type NetworkAclInput ¶
type NetworkAclInput interface { pulumi.Input ToNetworkAclOutput() NetworkAclOutput ToNetworkAclOutputWithContext(ctx context.Context) NetworkAclOutput }
type NetworkAclMap ¶
type NetworkAclMap map[string]NetworkAclInput
func (NetworkAclMap) ElementType ¶
func (NetworkAclMap) ElementType() reflect.Type
func (NetworkAclMap) ToNetworkAclMapOutput ¶
func (i NetworkAclMap) ToNetworkAclMapOutput() NetworkAclMapOutput
func (NetworkAclMap) ToNetworkAclMapOutputWithContext ¶
func (i NetworkAclMap) ToNetworkAclMapOutputWithContext(ctx context.Context) NetworkAclMapOutput
type NetworkAclMapInput ¶
type NetworkAclMapInput interface { pulumi.Input ToNetworkAclMapOutput() NetworkAclMapOutput ToNetworkAclMapOutputWithContext(context.Context) NetworkAclMapOutput }
NetworkAclMapInput is an input type that accepts NetworkAclMap and NetworkAclMapOutput values. You can construct a concrete instance of `NetworkAclMapInput` via:
NetworkAclMap{ "key": NetworkAclArgs{...} }
type NetworkAclMapOutput ¶
type NetworkAclMapOutput struct{ *pulumi.OutputState }
func (NetworkAclMapOutput) ElementType ¶
func (NetworkAclMapOutput) ElementType() reflect.Type
func (NetworkAclMapOutput) MapIndex ¶
func (o NetworkAclMapOutput) MapIndex(k pulumi.StringInput) NetworkAclOutput
func (NetworkAclMapOutput) ToNetworkAclMapOutput ¶
func (o NetworkAclMapOutput) ToNetworkAclMapOutput() NetworkAclMapOutput
func (NetworkAclMapOutput) ToNetworkAclMapOutputWithContext ¶
func (o NetworkAclMapOutput) ToNetworkAclMapOutputWithContext(ctx context.Context) NetworkAclMapOutput
type NetworkAclOutput ¶
type NetworkAclOutput struct{ *pulumi.OutputState }
func (NetworkAclOutput) DefaultAction ¶ added in v5.5.0
func (o NetworkAclOutput) DefaultAction() pulumi.StringPtrOutput
The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`. Defaults to `Deny`.
func (NetworkAclOutput) ElementType ¶
func (NetworkAclOutput) ElementType() reflect.Type
func (NetworkAclOutput) PrivateEndpoints ¶ added in v5.5.0
func (o NetworkAclOutput) PrivateEndpoints() NetworkAclPrivateEndpointArrayOutput
A `privateEndpoint` block as defined below.
func (NetworkAclOutput) PublicNetwork ¶ added in v5.5.0
func (o NetworkAclOutput) PublicNetwork() NetworkAclPublicNetworkOutput
A `publicNetwork` block as defined below.
func (NetworkAclOutput) ToNetworkAclOutput ¶
func (o NetworkAclOutput) ToNetworkAclOutput() NetworkAclOutput
func (NetworkAclOutput) ToNetworkAclOutputWithContext ¶
func (o NetworkAclOutput) ToNetworkAclOutputWithContext(ctx context.Context) NetworkAclOutput
func (NetworkAclOutput) WebPubsubId ¶ added in v5.5.0
func (o NetworkAclOutput) WebPubsubId() pulumi.StringOutput
The ID of the Web Pubsub service. Changing this forces a new resource to be created.
type NetworkAclPrivateEndpoint ¶
type NetworkAclPrivateEndpoint 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 Web Pubsub service. Id string `pulumi:"id"` }
type NetworkAclPrivateEndpointArgs ¶
type NetworkAclPrivateEndpointArgs 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 Web Pubsub service. Id pulumi.StringInput `pulumi:"id"` }
func (NetworkAclPrivateEndpointArgs) ElementType ¶
func (NetworkAclPrivateEndpointArgs) ElementType() reflect.Type
func (NetworkAclPrivateEndpointArgs) ToNetworkAclPrivateEndpointOutput ¶
func (i NetworkAclPrivateEndpointArgs) ToNetworkAclPrivateEndpointOutput() NetworkAclPrivateEndpointOutput
func (NetworkAclPrivateEndpointArgs) ToNetworkAclPrivateEndpointOutputWithContext ¶
func (i NetworkAclPrivateEndpointArgs) ToNetworkAclPrivateEndpointOutputWithContext(ctx context.Context) NetworkAclPrivateEndpointOutput
type NetworkAclPrivateEndpointArray ¶
type NetworkAclPrivateEndpointArray []NetworkAclPrivateEndpointInput
func (NetworkAclPrivateEndpointArray) ElementType ¶
func (NetworkAclPrivateEndpointArray) ElementType() reflect.Type
func (NetworkAclPrivateEndpointArray) ToNetworkAclPrivateEndpointArrayOutput ¶
func (i NetworkAclPrivateEndpointArray) ToNetworkAclPrivateEndpointArrayOutput() NetworkAclPrivateEndpointArrayOutput
func (NetworkAclPrivateEndpointArray) ToNetworkAclPrivateEndpointArrayOutputWithContext ¶
func (i NetworkAclPrivateEndpointArray) ToNetworkAclPrivateEndpointArrayOutputWithContext(ctx context.Context) NetworkAclPrivateEndpointArrayOutput
type NetworkAclPrivateEndpointArrayInput ¶
type NetworkAclPrivateEndpointArrayInput interface { pulumi.Input ToNetworkAclPrivateEndpointArrayOutput() NetworkAclPrivateEndpointArrayOutput ToNetworkAclPrivateEndpointArrayOutputWithContext(context.Context) NetworkAclPrivateEndpointArrayOutput }
NetworkAclPrivateEndpointArrayInput is an input type that accepts NetworkAclPrivateEndpointArray and NetworkAclPrivateEndpointArrayOutput values. You can construct a concrete instance of `NetworkAclPrivateEndpointArrayInput` via:
NetworkAclPrivateEndpointArray{ NetworkAclPrivateEndpointArgs{...} }
type NetworkAclPrivateEndpointArrayOutput ¶
type NetworkAclPrivateEndpointArrayOutput struct{ *pulumi.OutputState }
func (NetworkAclPrivateEndpointArrayOutput) ElementType ¶
func (NetworkAclPrivateEndpointArrayOutput) ElementType() reflect.Type
func (NetworkAclPrivateEndpointArrayOutput) Index ¶
func (o NetworkAclPrivateEndpointArrayOutput) Index(i pulumi.IntInput) NetworkAclPrivateEndpointOutput
func (NetworkAclPrivateEndpointArrayOutput) ToNetworkAclPrivateEndpointArrayOutput ¶
func (o NetworkAclPrivateEndpointArrayOutput) ToNetworkAclPrivateEndpointArrayOutput() NetworkAclPrivateEndpointArrayOutput
func (NetworkAclPrivateEndpointArrayOutput) ToNetworkAclPrivateEndpointArrayOutputWithContext ¶
func (o NetworkAclPrivateEndpointArrayOutput) ToNetworkAclPrivateEndpointArrayOutputWithContext(ctx context.Context) NetworkAclPrivateEndpointArrayOutput
type NetworkAclPrivateEndpointInput ¶
type NetworkAclPrivateEndpointInput interface { pulumi.Input ToNetworkAclPrivateEndpointOutput() NetworkAclPrivateEndpointOutput ToNetworkAclPrivateEndpointOutputWithContext(context.Context) NetworkAclPrivateEndpointOutput }
NetworkAclPrivateEndpointInput is an input type that accepts NetworkAclPrivateEndpointArgs and NetworkAclPrivateEndpointOutput values. You can construct a concrete instance of `NetworkAclPrivateEndpointInput` via:
NetworkAclPrivateEndpointArgs{...}
type NetworkAclPrivateEndpointOutput ¶
type NetworkAclPrivateEndpointOutput struct{ *pulumi.OutputState }
func (NetworkAclPrivateEndpointOutput) AllowedRequestTypes ¶
func (o NetworkAclPrivateEndpointOutput) AllowedRequestTypes() pulumi.StringArrayOutput
The allowed request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
func (NetworkAclPrivateEndpointOutput) DeniedRequestTypes ¶
func (o NetworkAclPrivateEndpointOutput) DeniedRequestTypes() pulumi.StringArrayOutput
The denied request types for the Private Endpoint Connection. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
func (NetworkAclPrivateEndpointOutput) ElementType ¶
func (NetworkAclPrivateEndpointOutput) ElementType() reflect.Type
func (NetworkAclPrivateEndpointOutput) Id ¶
func (o NetworkAclPrivateEndpointOutput) Id() pulumi.StringOutput
The ID of the Private Endpoint which is based on the Web Pubsub service.
func (NetworkAclPrivateEndpointOutput) ToNetworkAclPrivateEndpointOutput ¶
func (o NetworkAclPrivateEndpointOutput) ToNetworkAclPrivateEndpointOutput() NetworkAclPrivateEndpointOutput
func (NetworkAclPrivateEndpointOutput) ToNetworkAclPrivateEndpointOutputWithContext ¶
func (o NetworkAclPrivateEndpointOutput) ToNetworkAclPrivateEndpointOutputWithContext(ctx context.Context) NetworkAclPrivateEndpointOutput
type NetworkAclPublicNetwork ¶
type NetworkAclPublicNetwork 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 NetworkAclPublicNetworkArgs ¶
type NetworkAclPublicNetworkArgs 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 (NetworkAclPublicNetworkArgs) ElementType ¶
func (NetworkAclPublicNetworkArgs) ElementType() reflect.Type
func (NetworkAclPublicNetworkArgs) ToNetworkAclPublicNetworkOutput ¶
func (i NetworkAclPublicNetworkArgs) ToNetworkAclPublicNetworkOutput() NetworkAclPublicNetworkOutput
func (NetworkAclPublicNetworkArgs) ToNetworkAclPublicNetworkOutputWithContext ¶
func (i NetworkAclPublicNetworkArgs) ToNetworkAclPublicNetworkOutputWithContext(ctx context.Context) NetworkAclPublicNetworkOutput
func (NetworkAclPublicNetworkArgs) ToNetworkAclPublicNetworkPtrOutput ¶
func (i NetworkAclPublicNetworkArgs) ToNetworkAclPublicNetworkPtrOutput() NetworkAclPublicNetworkPtrOutput
func (NetworkAclPublicNetworkArgs) ToNetworkAclPublicNetworkPtrOutputWithContext ¶
func (i NetworkAclPublicNetworkArgs) ToNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) NetworkAclPublicNetworkPtrOutput
type NetworkAclPublicNetworkInput ¶
type NetworkAclPublicNetworkInput interface { pulumi.Input ToNetworkAclPublicNetworkOutput() NetworkAclPublicNetworkOutput ToNetworkAclPublicNetworkOutputWithContext(context.Context) NetworkAclPublicNetworkOutput }
NetworkAclPublicNetworkInput is an input type that accepts NetworkAclPublicNetworkArgs and NetworkAclPublicNetworkOutput values. You can construct a concrete instance of `NetworkAclPublicNetworkInput` via:
NetworkAclPublicNetworkArgs{...}
type NetworkAclPublicNetworkOutput ¶
type NetworkAclPublicNetworkOutput struct{ *pulumi.OutputState }
func (NetworkAclPublicNetworkOutput) AllowedRequestTypes ¶
func (o NetworkAclPublicNetworkOutput) AllowedRequestTypes() pulumi.StringArrayOutput
The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
func (NetworkAclPublicNetworkOutput) DeniedRequestTypes ¶
func (o NetworkAclPublicNetworkOutput) DeniedRequestTypes() pulumi.StringArrayOutput
The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
func (NetworkAclPublicNetworkOutput) ElementType ¶
func (NetworkAclPublicNetworkOutput) ElementType() reflect.Type
func (NetworkAclPublicNetworkOutput) ToNetworkAclPublicNetworkOutput ¶
func (o NetworkAclPublicNetworkOutput) ToNetworkAclPublicNetworkOutput() NetworkAclPublicNetworkOutput
func (NetworkAclPublicNetworkOutput) ToNetworkAclPublicNetworkOutputWithContext ¶
func (o NetworkAclPublicNetworkOutput) ToNetworkAclPublicNetworkOutputWithContext(ctx context.Context) NetworkAclPublicNetworkOutput
func (NetworkAclPublicNetworkOutput) ToNetworkAclPublicNetworkPtrOutput ¶
func (o NetworkAclPublicNetworkOutput) ToNetworkAclPublicNetworkPtrOutput() NetworkAclPublicNetworkPtrOutput
func (NetworkAclPublicNetworkOutput) ToNetworkAclPublicNetworkPtrOutputWithContext ¶
func (o NetworkAclPublicNetworkOutput) ToNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) NetworkAclPublicNetworkPtrOutput
type NetworkAclPublicNetworkPtrInput ¶
type NetworkAclPublicNetworkPtrInput interface { pulumi.Input ToNetworkAclPublicNetworkPtrOutput() NetworkAclPublicNetworkPtrOutput ToNetworkAclPublicNetworkPtrOutputWithContext(context.Context) NetworkAclPublicNetworkPtrOutput }
NetworkAclPublicNetworkPtrInput is an input type that accepts NetworkAclPublicNetworkArgs, NetworkAclPublicNetworkPtr and NetworkAclPublicNetworkPtrOutput values. You can construct a concrete instance of `NetworkAclPublicNetworkPtrInput` via:
NetworkAclPublicNetworkArgs{...} or: nil
func NetworkAclPublicNetworkPtr ¶
func NetworkAclPublicNetworkPtr(v *NetworkAclPublicNetworkArgs) NetworkAclPublicNetworkPtrInput
type NetworkAclPublicNetworkPtrOutput ¶
type NetworkAclPublicNetworkPtrOutput struct{ *pulumi.OutputState }
func (NetworkAclPublicNetworkPtrOutput) AllowedRequestTypes ¶
func (o NetworkAclPublicNetworkPtrOutput) AllowedRequestTypes() pulumi.StringArrayOutput
The allowed request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
func (NetworkAclPublicNetworkPtrOutput) DeniedRequestTypes ¶
func (o NetworkAclPublicNetworkPtrOutput) DeniedRequestTypes() pulumi.StringArrayOutput
The denied request types for the public network. Possible values are `ClientConnection`, `ServerConnection`, `RESTAPI` and `Trace`.
func (NetworkAclPublicNetworkPtrOutput) Elem ¶
func (o NetworkAclPublicNetworkPtrOutput) Elem() NetworkAclPublicNetworkOutput
func (NetworkAclPublicNetworkPtrOutput) ElementType ¶
func (NetworkAclPublicNetworkPtrOutput) ElementType() reflect.Type
func (NetworkAclPublicNetworkPtrOutput) ToNetworkAclPublicNetworkPtrOutput ¶
func (o NetworkAclPublicNetworkPtrOutput) ToNetworkAclPublicNetworkPtrOutput() NetworkAclPublicNetworkPtrOutput
func (NetworkAclPublicNetworkPtrOutput) ToNetworkAclPublicNetworkPtrOutputWithContext ¶
func (o NetworkAclPublicNetworkPtrOutput) ToNetworkAclPublicNetworkPtrOutputWithContext(ctx context.Context) NetworkAclPublicNetworkPtrOutput
type NetworkAclState ¶
type NetworkAclState struct { // The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`. Defaults to `Deny`. DefaultAction pulumi.StringPtrInput // A `privateEndpoint` block as defined below. PrivateEndpoints NetworkAclPrivateEndpointArrayInput // A `publicNetwork` block as defined below. PublicNetwork NetworkAclPublicNetworkPtrInput // The ID of the Web Pubsub service. Changing this forces a new resource to be created. WebPubsubId pulumi.StringPtrInput }
func (NetworkAclState) ElementType ¶
func (NetworkAclState) ElementType() reflect.Type
type Service ¶
type Service struct { pulumi.CustomResourceState // Whether to enable AAD auth? Defaults to `true`. AadAuthEnabled pulumi.BoolPtrOutput `pulumi:"aadAuthEnabled"` // Specifies the number of units associated with this Web PubSub resource. Valid values are: // Free: `1`, Standard: `1`, `2`, `5`, `10`, `20`, `50`, `100`. Capacity pulumi.IntPtrOutput `pulumi:"capacity"` ExternalIp pulumi.StringOutput `pulumi:"externalIp"` // The FQDN of the Web PubSub service. Hostname pulumi.StringOutput `pulumi:"hostname"` // An `identity` block as defined below. Identity ServiceIdentityPtrOutput `pulumi:"identity"` // A `liveTrace` block as defined below. LiveTrace ServiceLiveTracePtrOutput `pulumi:"liveTrace"` // Whether to enable local auth? Defaults to `true`. LocalAuthEnabled pulumi.BoolPtrOutput `pulumi:"localAuthEnabled"` // Specifies the supported Azure location where the Web PubSub service exists. Changing this // forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // The name of the Web PubSub service. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The primary access key for the Web PubSub service. PrimaryAccessKey pulumi.StringOutput `pulumi:"primaryAccessKey"` // The primary connection string for the Web PubSub service. PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"` // Whether to enable public network access? Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"` // The publicly accessible port of the Web PubSub service which is designed for browser/client use. PublicPort pulumi.IntOutput `pulumi:"publicPort"` // The name of the resource group in which to create the Web PubSub service. Changing // this forces a new resource to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The secondary access key for the Web PubSub service. SecondaryAccessKey pulumi.StringOutput `pulumi:"secondaryAccessKey"` // The secondary connection string for the Web PubSub service. SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"` // The publicly accessible port of the Web PubSub service which is designed for customer server side use. ServerPort pulumi.IntOutput `pulumi:"serverPort"` // Specifies which SKU to use. Possible values are `Free_F1` and `Standard_S1`. Sku pulumi.StringOutput `pulumi:"sku"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Whether to request client certificate during TLS handshake? Defaults // to `false`. TlsClientCertEnabled pulumi.BoolPtrOutput `pulumi:"tlsClientCertEnabled"` Version pulumi.StringOutput `pulumi:"version"` }
Manages an Azure Web PubSub 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/webpubsub" "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("east us"), }) if err != nil { return err } _, err = webpubsub.NewService(ctx, "exampleService", &webpubsub.ServiceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard_S1"), Capacity: pulumi.Int(1), PublicNetworkAccessEnabled: pulumi.Bool(false), LiveTrace: &webpubsub.ServiceLiveTraceArgs{ Enabled: pulumi.Bool(true), MessagingLogsEnabled: pulumi.Bool(true), ConnectivityLogsEnabled: pulumi.Bool(false), }, Identity: &webpubsub.ServiceIdentityArgs{ Type: pulumi.String("SystemAssigned"), }, }) if err != nil { return err } return nil }) }
```
## Import
Web PubSub services can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:webpubsub/service:Service example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/webPubSub/pubsub1
```
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 { // Whether to enable AAD auth? Defaults to `true`. AadAuthEnabled pulumi.BoolPtrInput // Specifies the number of units associated with this Web PubSub resource. Valid values are: // Free: `1`, Standard: `1`, `2`, `5`, `10`, `20`, `50`, `100`. Capacity pulumi.IntPtrInput // An `identity` block as defined below. Identity ServiceIdentityPtrInput // A `liveTrace` block as defined below. LiveTrace ServiceLiveTracePtrInput // Whether to enable local auth? Defaults to `true`. LocalAuthEnabled pulumi.BoolPtrInput // Specifies the supported Azure location where the Web PubSub service exists. Changing this // forces a new resource to be created. Location pulumi.StringPtrInput // The name of the Web PubSub service. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Whether to enable public network access? Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // The name of the resource group in which to create the Web PubSub service. Changing // this forces a new resource to be created. ResourceGroupName pulumi.StringInput // Specifies which SKU to use. Possible values are `Free_F1` and `Standard_S1`. Sku pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Whether to request client certificate during TLS handshake? Defaults // to `false`. TlsClientCertEnabled pulumi.BoolPtrInput }
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 ServiceIdentity ¶
type ServiceIdentity struct { // Specifies a list of User Assigned Managed Identity IDs to be assigned to this Web PubSub. IdentityIds []string `pulumi:"identityIds"` // The Principal ID associated with this Managed Service Identity. PrincipalId *string `pulumi:"principalId"` // The Tenant ID associated with this Managed Service Identity. TenantId *string `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this Web PubSub. Possible values are `SystemAssigned`, `UserAssigned`. Type string `pulumi:"type"` }
type ServiceIdentityArgs ¶
type ServiceIdentityArgs struct { // Specifies a list of User Assigned Managed Identity IDs to be assigned to this Web PubSub. IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"` // The Principal ID associated with this Managed Service Identity. PrincipalId pulumi.StringPtrInput `pulumi:"principalId"` // The Tenant ID associated with this Managed Service Identity. TenantId pulumi.StringPtrInput `pulumi:"tenantId"` // Specifies the type of Managed Service Identity that should be configured on this Web PubSub. Possible values are `SystemAssigned`, `UserAssigned`. Type pulumi.StringInput `pulumi:"type"` }
func (ServiceIdentityArgs) ElementType ¶
func (ServiceIdentityArgs) ElementType() reflect.Type
func (ServiceIdentityArgs) ToServiceIdentityOutput ¶
func (i ServiceIdentityArgs) ToServiceIdentityOutput() ServiceIdentityOutput
func (ServiceIdentityArgs) ToServiceIdentityOutputWithContext ¶
func (i ServiceIdentityArgs) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput
func (ServiceIdentityArgs) ToServiceIdentityPtrOutput ¶
func (i ServiceIdentityArgs) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
func (ServiceIdentityArgs) ToServiceIdentityPtrOutputWithContext ¶
func (i ServiceIdentityArgs) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
type ServiceIdentityInput ¶
type ServiceIdentityInput interface { pulumi.Input ToServiceIdentityOutput() ServiceIdentityOutput ToServiceIdentityOutputWithContext(context.Context) ServiceIdentityOutput }
ServiceIdentityInput is an input type that accepts ServiceIdentityArgs and ServiceIdentityOutput values. You can construct a concrete instance of `ServiceIdentityInput` via:
ServiceIdentityArgs{...}
type ServiceIdentityOutput ¶
type ServiceIdentityOutput struct{ *pulumi.OutputState }
func (ServiceIdentityOutput) ElementType ¶
func (ServiceIdentityOutput) ElementType() reflect.Type
func (ServiceIdentityOutput) IdentityIds ¶
func (o ServiceIdentityOutput) IdentityIds() pulumi.StringArrayOutput
Specifies a list of User Assigned Managed Identity IDs to be assigned to this Web PubSub.
func (ServiceIdentityOutput) PrincipalId ¶
func (o ServiceIdentityOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID associated with this Managed Service Identity.
func (ServiceIdentityOutput) TenantId ¶
func (o ServiceIdentityOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID associated with this Managed Service Identity.
func (ServiceIdentityOutput) ToServiceIdentityOutput ¶
func (o ServiceIdentityOutput) ToServiceIdentityOutput() ServiceIdentityOutput
func (ServiceIdentityOutput) ToServiceIdentityOutputWithContext ¶
func (o ServiceIdentityOutput) ToServiceIdentityOutputWithContext(ctx context.Context) ServiceIdentityOutput
func (ServiceIdentityOutput) ToServiceIdentityPtrOutput ¶
func (o ServiceIdentityOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
func (ServiceIdentityOutput) ToServiceIdentityPtrOutputWithContext ¶
func (o ServiceIdentityOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
func (ServiceIdentityOutput) Type ¶
func (o ServiceIdentityOutput) Type() pulumi.StringOutput
Specifies the type of Managed Service Identity that should be configured on this Web PubSub. Possible values are `SystemAssigned`, `UserAssigned`.
type ServiceIdentityPtrInput ¶
type ServiceIdentityPtrInput interface { pulumi.Input ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput ToServiceIdentityPtrOutputWithContext(context.Context) ServiceIdentityPtrOutput }
ServiceIdentityPtrInput is an input type that accepts ServiceIdentityArgs, ServiceIdentityPtr and ServiceIdentityPtrOutput values. You can construct a concrete instance of `ServiceIdentityPtrInput` via:
ServiceIdentityArgs{...} or: nil
func ServiceIdentityPtr ¶
func ServiceIdentityPtr(v *ServiceIdentityArgs) ServiceIdentityPtrInput
type ServiceIdentityPtrOutput ¶
type ServiceIdentityPtrOutput struct{ *pulumi.OutputState }
func (ServiceIdentityPtrOutput) Elem ¶
func (o ServiceIdentityPtrOutput) Elem() ServiceIdentityOutput
func (ServiceIdentityPtrOutput) ElementType ¶
func (ServiceIdentityPtrOutput) ElementType() reflect.Type
func (ServiceIdentityPtrOutput) IdentityIds ¶
func (o ServiceIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
Specifies a list of User Assigned Managed Identity IDs to be assigned to this Web PubSub.
func (ServiceIdentityPtrOutput) PrincipalId ¶
func (o ServiceIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID associated with this Managed Service Identity.
func (ServiceIdentityPtrOutput) TenantId ¶
func (o ServiceIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
The Tenant ID associated with this Managed Service Identity.
func (ServiceIdentityPtrOutput) ToServiceIdentityPtrOutput ¶
func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutput() ServiceIdentityPtrOutput
func (ServiceIdentityPtrOutput) ToServiceIdentityPtrOutputWithContext ¶
func (o ServiceIdentityPtrOutput) ToServiceIdentityPtrOutputWithContext(ctx context.Context) ServiceIdentityPtrOutput
func (ServiceIdentityPtrOutput) Type ¶
func (o ServiceIdentityPtrOutput) Type() pulumi.StringPtrOutput
Specifies the type of Managed Service Identity that should be configured on this Web PubSub. Possible values are `SystemAssigned`, `UserAssigned`.
type ServiceInput ¶
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceLiveTrace ¶
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 ¶
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 ¶
func (ServiceLiveTraceArgs) ElementType() reflect.Type
func (ServiceLiveTraceArgs) ToServiceLiveTraceOutput ¶
func (i ServiceLiveTraceArgs) ToServiceLiveTraceOutput() ServiceLiveTraceOutput
func (ServiceLiveTraceArgs) ToServiceLiveTraceOutputWithContext ¶
func (i ServiceLiveTraceArgs) ToServiceLiveTraceOutputWithContext(ctx context.Context) ServiceLiveTraceOutput
func (ServiceLiveTraceArgs) ToServiceLiveTracePtrOutput ¶
func (i ServiceLiveTraceArgs) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput
func (ServiceLiveTraceArgs) ToServiceLiveTracePtrOutputWithContext ¶
func (i ServiceLiveTraceArgs) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput
type ServiceLiveTraceInput ¶
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 ¶
type ServiceLiveTraceOutput struct{ *pulumi.OutputState }
func (ServiceLiveTraceOutput) ConnectivityLogsEnabled ¶
func (o ServiceLiveTraceOutput) ConnectivityLogsEnabled() pulumi.BoolPtrOutput
Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
func (ServiceLiveTraceOutput) ElementType ¶
func (ServiceLiveTraceOutput) ElementType() reflect.Type
func (ServiceLiveTraceOutput) Enabled ¶
func (o ServiceLiveTraceOutput) Enabled() pulumi.BoolPtrOutput
Whether the live trace is enabled? Defaults to `true`.
func (ServiceLiveTraceOutput) HttpRequestLogsEnabled ¶
func (o ServiceLiveTraceOutput) HttpRequestLogsEnabled() pulumi.BoolPtrOutput
Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
func (ServiceLiveTraceOutput) MessagingLogsEnabled ¶
func (o ServiceLiveTraceOutput) MessagingLogsEnabled() pulumi.BoolPtrOutput
Whether the log category `MessagingLogs` is enabled? Defaults to `true`
func (ServiceLiveTraceOutput) ToServiceLiveTraceOutput ¶
func (o ServiceLiveTraceOutput) ToServiceLiveTraceOutput() ServiceLiveTraceOutput
func (ServiceLiveTraceOutput) ToServiceLiveTraceOutputWithContext ¶
func (o ServiceLiveTraceOutput) ToServiceLiveTraceOutputWithContext(ctx context.Context) ServiceLiveTraceOutput
func (ServiceLiveTraceOutput) ToServiceLiveTracePtrOutput ¶
func (o ServiceLiveTraceOutput) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput
func (ServiceLiveTraceOutput) ToServiceLiveTracePtrOutputWithContext ¶
func (o ServiceLiveTraceOutput) ToServiceLiveTracePtrOutputWithContext(ctx context.Context) ServiceLiveTracePtrOutput
type ServiceLiveTracePtrInput ¶
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 ¶
func ServiceLiveTracePtr(v *ServiceLiveTraceArgs) ServiceLiveTracePtrInput
type ServiceLiveTracePtrOutput ¶
type ServiceLiveTracePtrOutput struct{ *pulumi.OutputState }
func (ServiceLiveTracePtrOutput) ConnectivityLogsEnabled ¶
func (o ServiceLiveTracePtrOutput) ConnectivityLogsEnabled() pulumi.BoolPtrOutput
Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
func (ServiceLiveTracePtrOutput) Elem ¶
func (o ServiceLiveTracePtrOutput) Elem() ServiceLiveTraceOutput
func (ServiceLiveTracePtrOutput) ElementType ¶
func (ServiceLiveTracePtrOutput) ElementType() reflect.Type
func (ServiceLiveTracePtrOutput) Enabled ¶
func (o ServiceLiveTracePtrOutput) Enabled() pulumi.BoolPtrOutput
Whether the live trace is enabled? Defaults to `true`.
func (ServiceLiveTracePtrOutput) HttpRequestLogsEnabled ¶
func (o ServiceLiveTracePtrOutput) HttpRequestLogsEnabled() pulumi.BoolPtrOutput
Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
func (ServiceLiveTracePtrOutput) MessagingLogsEnabled ¶
func (o ServiceLiveTracePtrOutput) MessagingLogsEnabled() pulumi.BoolPtrOutput
Whether the log category `MessagingLogs` is enabled? Defaults to `true`
func (ServiceLiveTracePtrOutput) ToServiceLiveTracePtrOutput ¶
func (o ServiceLiveTracePtrOutput) ToServiceLiveTracePtrOutput() ServiceLiveTracePtrOutput
func (ServiceLiveTracePtrOutput) ToServiceLiveTracePtrOutputWithContext ¶
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 ServiceOutput ¶
type ServiceOutput struct{ *pulumi.OutputState }
func (ServiceOutput) AadAuthEnabled ¶ added in v5.5.0
func (o ServiceOutput) AadAuthEnabled() pulumi.BoolPtrOutput
Whether to enable AAD auth? Defaults to `true`.
func (ServiceOutput) Capacity ¶ added in v5.5.0
func (o ServiceOutput) Capacity() pulumi.IntPtrOutput
Specifies the number of units associated with this Web PubSub resource. Valid values are: Free: `1`, Standard: `1`, `2`, `5`, `10`, `20`, `50`, `100`.
func (ServiceOutput) ElementType ¶
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) ExternalIp ¶ added in v5.5.0
func (o ServiceOutput) ExternalIp() pulumi.StringOutput
func (ServiceOutput) Hostname ¶ added in v5.5.0
func (o ServiceOutput) Hostname() pulumi.StringOutput
The FQDN of the Web PubSub service.
func (ServiceOutput) Identity ¶ added in v5.5.0
func (o ServiceOutput) Identity() ServiceIdentityPtrOutput
An `identity` block as defined below.
func (ServiceOutput) LiveTrace ¶ added in v5.5.0
func (o ServiceOutput) LiveTrace() ServiceLiveTracePtrOutput
A `liveTrace` block as defined below.
func (ServiceOutput) LocalAuthEnabled ¶ added in v5.5.0
func (o ServiceOutput) LocalAuthEnabled() pulumi.BoolPtrOutput
Whether to enable local auth? Defaults to `true`.
func (ServiceOutput) Location ¶ added in v5.5.0
func (o ServiceOutput) Location() pulumi.StringOutput
Specifies the supported Azure location where the Web PubSub service exists. Changing this forces a new resource to be created.
func (ServiceOutput) Name ¶ added in v5.5.0
func (o ServiceOutput) Name() pulumi.StringOutput
The name of the Web PubSub 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 Web PubSub service.
func (ServiceOutput) PrimaryConnectionString ¶ added in v5.5.0
func (o ServiceOutput) PrimaryConnectionString() pulumi.StringOutput
The primary connection string for the Web PubSub service.
func (ServiceOutput) PublicNetworkAccessEnabled ¶ added in v5.5.0
func (o ServiceOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
Whether to enable public network access? Defaults to `true`.
func (ServiceOutput) PublicPort ¶ added in v5.5.0
func (o ServiceOutput) PublicPort() pulumi.IntOutput
The publicly accessible port of the Web PubSub 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 Web PubSub 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 Web PubSub service.
func (ServiceOutput) SecondaryConnectionString ¶ added in v5.5.0
func (o ServiceOutput) SecondaryConnectionString() pulumi.StringOutput
The secondary connection string for the Web PubSub service.
func (ServiceOutput) ServerPort ¶ added in v5.5.0
func (o ServiceOutput) ServerPort() pulumi.IntOutput
The publicly accessible port of the Web PubSub service which is designed for customer server side use.
func (ServiceOutput) Sku ¶ added in v5.5.0
func (o ServiceOutput) Sku() pulumi.StringOutput
Specifies which SKU to use. Possible values are `Free_F1` and `Standard_S1`.
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) TlsClientCertEnabled ¶ added in v5.5.0
func (o ServiceOutput) TlsClientCertEnabled() pulumi.BoolPtrOutput
Whether to request client certificate during TLS handshake? Defaults to `false`.
func (ServiceOutput) ToServiceOutput ¶
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
func (ServiceOutput) Version ¶ added in v5.5.0
func (o ServiceOutput) Version() pulumi.StringOutput
type ServiceState ¶
type ServiceState struct { // Whether to enable AAD auth? Defaults to `true`. AadAuthEnabled pulumi.BoolPtrInput // Specifies the number of units associated with this Web PubSub resource. Valid values are: // Free: `1`, Standard: `1`, `2`, `5`, `10`, `20`, `50`, `100`. Capacity pulumi.IntPtrInput ExternalIp pulumi.StringPtrInput // The FQDN of the Web PubSub service. Hostname pulumi.StringPtrInput // An `identity` block as defined below. Identity ServiceIdentityPtrInput // A `liveTrace` block as defined below. LiveTrace ServiceLiveTracePtrInput // Whether to enable local auth? Defaults to `true`. LocalAuthEnabled pulumi.BoolPtrInput // Specifies the supported Azure location where the Web PubSub service exists. Changing this // forces a new resource to be created. Location pulumi.StringPtrInput // The name of the Web PubSub service. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The primary access key for the Web PubSub service. PrimaryAccessKey pulumi.StringPtrInput // The primary connection string for the Web PubSub service. PrimaryConnectionString pulumi.StringPtrInput // Whether to enable public network access? Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // The publicly accessible port of the Web PubSub service which is designed for browser/client use. PublicPort pulumi.IntPtrInput // The name of the resource group in which to create the Web PubSub service. Changing // this forces a new resource to be created. ResourceGroupName pulumi.StringPtrInput // The secondary access key for the Web PubSub service. SecondaryAccessKey pulumi.StringPtrInput // The secondary connection string for the Web PubSub service. SecondaryConnectionString pulumi.StringPtrInput // The publicly accessible port of the Web PubSub service which is designed for customer server side use. ServerPort pulumi.IntPtrInput // Specifies which SKU to use. Possible values are `Free_F1` and `Standard_S1`. Sku pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Whether to request client certificate during TLS handshake? Defaults // to `false`. TlsClientCertEnabled pulumi.BoolPtrInput Version pulumi.StringPtrInput }
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type
type SharedPrivateLinkResource ¶ added in v5.14.0
type SharedPrivateLinkResource struct { pulumi.StringOutput `pulumi:"name"` // Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource. SubresourceName pulumi.StringOutput `pulumi:"subresourceName"` TargetResourceId pulumi.StringOutput `pulumi:"targetResourceId"` WebPubsubId pulumi.StringOutput `pulumi:"webPubsubId"` }Name
Manages the Shared Private Link Resource for a Web Pubsub 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/webpubsub" "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 } exampleService, err := webpubsub.NewService(ctx, "exampleService", &webpubsub.ServiceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard_S1"), Capacity: pulumi.Int(1), }) if err != nil { return err } _, err = webpubsub.NewSharedPrivateLinkResource(ctx, "exampleSharedPrivateLinkResource", &webpubsub.SharedPrivateLinkResourceArgs{ WebPubsubId: exampleService.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 Web Pubsub Shared Private Link resource.
* `status` - The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected.
## Import
Web Pubsub Shared Private Link Resource can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:webpubsub/sharedPrivateLinkResource:SharedPrivateLinkResource example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/webPubsub/webpubsub1/sharedPrivateLinkResources/resource1
```
func GetSharedPrivateLinkResource ¶ added in v5.14.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.14.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.14.0
func (*SharedPrivateLinkResource) ElementType() reflect.Type
func (*SharedPrivateLinkResource) ToSharedPrivateLinkResourceOutput ¶ added in v5.14.0
func (i *SharedPrivateLinkResource) ToSharedPrivateLinkResourceOutput() SharedPrivateLinkResourceOutput
func (*SharedPrivateLinkResource) ToSharedPrivateLinkResourceOutputWithContext ¶ added in v5.14.0
func (i *SharedPrivateLinkResource) ToSharedPrivateLinkResourceOutputWithContext(ctx context.Context) SharedPrivateLinkResourceOutput
type SharedPrivateLinkResourceArgs ¶ added in v5.14.0
type SharedPrivateLinkResourceArgs struct { pulumi.StringPtrInput RequestMessage pulumi.StringPtrInput SubresourceName pulumi.StringInput TargetResourceId pulumi.StringInput WebPubsubId pulumi.StringInput }Name
The set of arguments for constructing a SharedPrivateLinkResource resource.
func (SharedPrivateLinkResourceArgs) ElementType ¶ added in v5.14.0
func (SharedPrivateLinkResourceArgs) ElementType() reflect.Type
type SharedPrivateLinkResourceArray ¶ added in v5.14.0
type SharedPrivateLinkResourceArray []SharedPrivateLinkResourceInput
func (SharedPrivateLinkResourceArray) ElementType ¶ added in v5.14.0
func (SharedPrivateLinkResourceArray) ElementType() reflect.Type
func (SharedPrivateLinkResourceArray) ToSharedPrivateLinkResourceArrayOutput ¶ added in v5.14.0
func (i SharedPrivateLinkResourceArray) ToSharedPrivateLinkResourceArrayOutput() SharedPrivateLinkResourceArrayOutput
func (SharedPrivateLinkResourceArray) ToSharedPrivateLinkResourceArrayOutputWithContext ¶ added in v5.14.0
func (i SharedPrivateLinkResourceArray) ToSharedPrivateLinkResourceArrayOutputWithContext(ctx context.Context) SharedPrivateLinkResourceArrayOutput
type SharedPrivateLinkResourceArrayInput ¶ added in v5.14.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.14.0
func (SharedPrivateLinkResourceArrayOutput) ElementType ¶ added in v5.14.0
func (SharedPrivateLinkResourceArrayOutput) ElementType() reflect.Type
func (SharedPrivateLinkResourceArrayOutput) Index ¶ added in v5.14.0
func (o SharedPrivateLinkResourceArrayOutput) Index(i pulumi.IntInput) SharedPrivateLinkResourceOutput
func (SharedPrivateLinkResourceArrayOutput) ToSharedPrivateLinkResourceArrayOutput ¶ added in v5.14.0
func (o SharedPrivateLinkResourceArrayOutput) ToSharedPrivateLinkResourceArrayOutput() SharedPrivateLinkResourceArrayOutput
func (SharedPrivateLinkResourceArrayOutput) ToSharedPrivateLinkResourceArrayOutputWithContext ¶ added in v5.14.0
func (o SharedPrivateLinkResourceArrayOutput) ToSharedPrivateLinkResourceArrayOutputWithContext(ctx context.Context) SharedPrivateLinkResourceArrayOutput
type SharedPrivateLinkResourceInput ¶ added in v5.14.0
type SharedPrivateLinkResourceMap ¶ added in v5.14.0
type SharedPrivateLinkResourceMap map[string]SharedPrivateLinkResourceInput
func (SharedPrivateLinkResourceMap) ElementType ¶ added in v5.14.0
func (SharedPrivateLinkResourceMap) ElementType() reflect.Type
func (SharedPrivateLinkResourceMap) ToSharedPrivateLinkResourceMapOutput ¶ added in v5.14.0
func (i SharedPrivateLinkResourceMap) ToSharedPrivateLinkResourceMapOutput() SharedPrivateLinkResourceMapOutput
func (SharedPrivateLinkResourceMap) ToSharedPrivateLinkResourceMapOutputWithContext ¶ added in v5.14.0
func (i SharedPrivateLinkResourceMap) ToSharedPrivateLinkResourceMapOutputWithContext(ctx context.Context) SharedPrivateLinkResourceMapOutput
type SharedPrivateLinkResourceMapInput ¶ added in v5.14.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.14.0
func (SharedPrivateLinkResourceMapOutput) ElementType ¶ added in v5.14.0
func (SharedPrivateLinkResourceMapOutput) ElementType() reflect.Type
func (SharedPrivateLinkResourceMapOutput) MapIndex ¶ added in v5.14.0
func (o SharedPrivateLinkResourceMapOutput) MapIndex(k pulumi.StringInput) SharedPrivateLinkResourceOutput
func (SharedPrivateLinkResourceMapOutput) ToSharedPrivateLinkResourceMapOutput ¶ added in v5.14.0
func (o SharedPrivateLinkResourceMapOutput) ToSharedPrivateLinkResourceMapOutput() SharedPrivateLinkResourceMapOutput
func (SharedPrivateLinkResourceMapOutput) ToSharedPrivateLinkResourceMapOutputWithContext ¶ added in v5.14.0
func (o SharedPrivateLinkResourceMapOutput) ToSharedPrivateLinkResourceMapOutputWithContext(ctx context.Context) SharedPrivateLinkResourceMapOutput
type SharedPrivateLinkResourceOutput ¶ added in v5.14.0
func (SharedPrivateLinkResourceOutput) ElementType ¶ added in v5.14.0
func (SharedPrivateLinkResourceOutput) ElementType() reflect.Type
func (SharedPrivateLinkResourceOutput) Name ¶ added in v5.14.0
func (o SharedPrivateLinkResourceOutput) Name() pulumi.StringOutput
Specify the name of the Web Pubsub Shared Private Link Resource. Changing this forces a new resource to be created.
func (SharedPrivateLinkResourceOutput) RequestMessage ¶ added in v5.14.0
func (o SharedPrivateLinkResourceOutput) RequestMessage() pulumi.StringPtrOutput
Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
func (SharedPrivateLinkResourceOutput) Status ¶ added in v5.14.0
func (o SharedPrivateLinkResourceOutput) Status() pulumi.StringOutput
func (SharedPrivateLinkResourceOutput) SubresourceName ¶ added in v5.14.0
func (o SharedPrivateLinkResourceOutput) SubresourceName() pulumi.StringOutput
Specify the sub resource name which the Web Pubsub Private Endpoint is able to connect to. Changing this forces a new resource to be created.
func (SharedPrivateLinkResourceOutput) TargetResourceId ¶ added in v5.14.0
func (o SharedPrivateLinkResourceOutput) TargetResourceId() pulumi.StringOutput
Specify the ID of the Shared Private Link Enabled Remote Resource which this Web Pubsub Private Endpoint should be connected to. Changing this forces a new resource to be created.
func (SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutput ¶ added in v5.14.0
func (o SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutput() SharedPrivateLinkResourceOutput
func (SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutputWithContext ¶ added in v5.14.0
func (o SharedPrivateLinkResourceOutput) ToSharedPrivateLinkResourceOutputWithContext(ctx context.Context) SharedPrivateLinkResourceOutput
func (SharedPrivateLinkResourceOutput) WebPubsubId ¶ added in v5.14.0
func (o SharedPrivateLinkResourceOutput) WebPubsubId() pulumi.StringOutput
Specify the id of the Web Pubsub. Changing this forces a new resource to be created.
type SharedPrivateLinkResourceState ¶ added in v5.14.0
type SharedPrivateLinkResourceState struct { pulumi.StringPtrInput // Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource. SubresourceName pulumi.StringPtrInput TargetResourceId pulumi.StringPtrInput WebPubsubId pulumi.StringPtrInput }Name
func (SharedPrivateLinkResourceState) ElementType ¶ added in v5.14.0
func (SharedPrivateLinkResourceState) ElementType() reflect.Type