import * as pulumi from "@pulumi/pulumi"; /** * Manages an Azure Relay Hybrid Connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleNamespace = new azure.relay.Namespace("example", { * name: "example-relay", * location: example.location, * resourceGroupName: example.name, * skuName: "Standard", * tags: { * source: "managed", * }, * }); * const exampleHybridConnection = new azure.relay.HybridConnection("example", { * name: "acctestrnhc-%d", * resourceGroupName: example.name, * relayNamespaceName: exampleNamespace.name, * requiresClientAuthorization: false, * userMetadata: "testmetadata", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Relay` - 2021-11-01 * * ## Import * * Relay Hybrid Connection's can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:relay/hybridConnection:HybridConnection relay1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Relay/namespaces/relay1/hybridConnections/hconn1 * ``` */ export declare class HybridConnection extends pulumi.CustomResource { /** * Get an existing HybridConnection 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: HybridConnectionState, opts?: pulumi.CustomResourceOptions): HybridConnection; /** * Returns true if the given object is an instance of HybridConnection. 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 HybridConnection; /** * Specifies the name of the Azure Relay Hybrid Connection. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the Azure Relay in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created. */ readonly relayNamespaceName: pulumi.Output; /** * Specify if client authorization is needed for this hybrid connection. Changing this forces a new resource to be created. Defaults to `true`. */ readonly requiresClientAuthorization: pulumi.Output; /** * The name of the resource group in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored. */ readonly userMetadata: pulumi.Output; /** * Create a HybridConnection 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: HybridConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering HybridConnection resources. */ export interface HybridConnectionState { /** * Specifies the name of the Azure Relay Hybrid Connection. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Azure Relay in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created. */ relayNamespaceName?: pulumi.Input; /** * Specify if client authorization is needed for this hybrid connection. Changing this forces a new resource to be created. Defaults to `true`. */ requiresClientAuthorization?: pulumi.Input; /** * The name of the resource group in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored. */ userMetadata?: pulumi.Input; } /** * The set of arguments for constructing a HybridConnection resource. */ export interface HybridConnectionArgs { /** * Specifies the name of the Azure Relay Hybrid Connection. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the Azure Relay in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created. */ relayNamespaceName: pulumi.Input; /** * Specify if client authorization is needed for this hybrid connection. Changing this forces a new resource to be created. Defaults to `true`. */ requiresClientAuthorization?: pulumi.Input; /** * The name of the resource group in which to create the Azure Relay Hybrid Connection. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored. */ userMetadata?: pulumi.Input; }