@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 9.74 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* A class represent a resource.
*
* Uses Azure REST API version 2024-03-01. In version 2.x of the Azure Native provider, it used API version 2023-02-01.
*
* Other available API versions: 2023-02-01, 2023-03-01-preview, 2023-06-01-preview, 2023-08-01-preview, 2024-01-01-preview, 2024-04-01-preview, 2024-08-01-preview, 2024-10-01-preview, 2025-01-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native webpubsub [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class WebPubSub extends pulumi.CustomResource {
/**
* Get an existing WebPubSub resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): WebPubSub;
/**
* Returns true if the given object is an instance of WebPubSub. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is WebPubSub;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* DisableLocalAuth
* Enable or disable aad auth
* When set as true, connection with AuthType=aad won't work.
*/
readonly disableAadAuth: pulumi.Output<boolean | undefined>;
/**
* DisableLocalAuth
* Enable or disable local auth with AccessKey
* When set as true, connection with AccessKey=xxx won't work.
*/
readonly disableLocalAuth: pulumi.Output<boolean | undefined>;
/**
* The publicly accessible IP of the resource.
*/
readonly externalIP: pulumi.Output<string>;
/**
* FQDN of the service instance.
*/
readonly hostName: pulumi.Output<string>;
/**
* Deprecated.
*/
readonly hostNamePrefix: pulumi.Output<string>;
/**
* A class represent managed identities used for request and response
*/
readonly identity: pulumi.Output<outputs.webpubsub.ManagedIdentityResponse | undefined>;
/**
* The kind of the service
*/
readonly kind: pulumi.Output<string | undefined>;
/**
* Live trace configuration of a Microsoft.SignalRService resource.
*/
readonly liveTraceConfiguration: pulumi.Output<outputs.webpubsub.LiveTraceConfigurationResponse | undefined>;
/**
* The geo-location where the resource lives
*/
readonly location: pulumi.Output<string>;
/**
* The name of the resource
*/
readonly name: pulumi.Output<string>;
/**
* Network ACLs for the resource
*/
readonly networkACLs: pulumi.Output<outputs.webpubsub.WebPubSubNetworkACLsResponse | undefined>;
/**
* Private endpoint connections to the resource.
*/
readonly privateEndpointConnections: pulumi.Output<outputs.webpubsub.PrivateEndpointConnectionResponse[]>;
/**
* Provisioning state of the resource.
*/
readonly provisioningState: pulumi.Output<string>;
/**
* Enable or disable public network access. Default to "Enabled".
* When it's Enabled, network ACLs still apply.
* When it's Disabled, public network access is always disabled no matter what you set in network ACLs.
*/
readonly publicNetworkAccess: pulumi.Output<string | undefined>;
/**
* The publicly accessible port of the resource which is designed for browser/client side usage.
*/
readonly publicPort: pulumi.Output<number>;
/**
* Enable or disable the regional endpoint. Default to "Enabled".
* When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
* This property is replica specific. Disable the regional endpoint without replica is not allowed.
*/
readonly regionEndpointEnabled: pulumi.Output<string | undefined>;
/**
* Resource log configuration of a Microsoft.SignalRService resource.
*/
readonly resourceLogConfiguration: pulumi.Output<outputs.webpubsub.ResourceLogConfigurationResponse | undefined>;
/**
* Stop or start the resource. Default to "False".
* When it's true, the data plane of the resource is shutdown.
* When it's false, the data plane of the resource is started.
*/
readonly resourceStopped: pulumi.Output<string | undefined>;
/**
* The publicly accessible port of the resource which is designed for customer server side usage.
*/
readonly serverPort: pulumi.Output<number>;
/**
* The list of shared private link resources.
*/
readonly sharedPrivateLinkResources: pulumi.Output<outputs.webpubsub.SharedPrivateLinkResourceResponse[]>;
/**
* The billing information of the resource.
*/
readonly sku: pulumi.Output<outputs.webpubsub.ResourceSkuResponse | undefined>;
/**
* SocketIO settings for the resource
*/
readonly socketIO: pulumi.Output<outputs.webpubsub.WebPubSubSocketIOSettingsResponse | undefined>;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: pulumi.Output<outputs.webpubsub.SystemDataResponse>;
/**
* Resource tags.
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* TLS settings for the resource
*/
readonly tls: pulumi.Output<outputs.webpubsub.WebPubSubTlsSettingsResponse | undefined>;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: pulumi.Output<string>;
/**
* Version of the resource. Probably you need the same or higher version of client SDKs.
*/
readonly version: pulumi.Output<string>;
/**
* Create a WebPubSub resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: WebPubSubArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a WebPubSub resource.
*/
export interface WebPubSubArgs {
/**
* DisableLocalAuth
* Enable or disable aad auth
* When set as true, connection with AuthType=aad won't work.
*/
disableAadAuth?: pulumi.Input<boolean>;
/**
* DisableLocalAuth
* Enable or disable local auth with AccessKey
* When set as true, connection with AccessKey=xxx won't work.
*/
disableLocalAuth?: pulumi.Input<boolean>;
/**
* A class represent managed identities used for request and response
*/
identity?: pulumi.Input<inputs.webpubsub.ManagedIdentityArgs>;
/**
* The kind of the service
*/
kind?: pulumi.Input<string | enums.webpubsub.ServiceKind>;
/**
* Live trace configuration of a Microsoft.SignalRService resource.
*/
liveTraceConfiguration?: pulumi.Input<inputs.webpubsub.LiveTraceConfigurationArgs>;
/**
* The geo-location where the resource lives
*/
location?: pulumi.Input<string>;
/**
* Network ACLs for the resource
*/
networkACLs?: pulumi.Input<inputs.webpubsub.WebPubSubNetworkACLsArgs>;
/**
* Enable or disable public network access. Default to "Enabled".
* When it's Enabled, network ACLs still apply.
* When it's Disabled, public network access is always disabled no matter what you set in network ACLs.
*/
publicNetworkAccess?: pulumi.Input<string>;
/**
* Enable or disable the regional endpoint. Default to "Enabled".
* When it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.
* This property is replica specific. Disable the regional endpoint without replica is not allowed.
*/
regionEndpointEnabled?: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Resource log configuration of a Microsoft.SignalRService resource.
*/
resourceLogConfiguration?: pulumi.Input<inputs.webpubsub.ResourceLogConfigurationArgs>;
/**
* The name of the resource.
*/
resourceName?: pulumi.Input<string>;
/**
* Stop or start the resource. Default to "False".
* When it's true, the data plane of the resource is shutdown.
* When it's false, the data plane of the resource is started.
*/
resourceStopped?: pulumi.Input<string>;
/**
* The billing information of the resource.
*/
sku?: pulumi.Input<inputs.webpubsub.ResourceSkuArgs>;
/**
* SocketIO settings for the resource
*/
socketIO?: pulumi.Input<inputs.webpubsub.WebPubSubSocketIOSettingsArgs>;
/**
* Resource tags.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* TLS settings for the resource
*/
tls?: pulumi.Input<inputs.webpubsub.WebPubSubTlsSettingsArgs>;
}