import * as pulumi from "@pulumi/pulumi"; /** * Manages a Synapse Managed Private Endpoint. * * ## 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 exampleAccount = new azure.storage.Account("example", { * name: "examplestorageacc", * resourceGroupName: example.name, * location: example.location, * accountTier: "Standard", * accountReplicationType: "LRS", * accountKind: "StorageV2", * isHnsEnabled: true, * }); * const exampleDataLakeGen2Filesystem = new azure.storage.DataLakeGen2Filesystem("example", { * name: "example", * storageAccountId: exampleAccount.id, * }); * const exampleWorkspace = new azure.synapse.Workspace("example", { * name: "example", * resourceGroupName: example.name, * location: example.location, * storageDataLakeGen2FilesystemId: exampleDataLakeGen2Filesystem.id, * sqlAdministratorLogin: "sqladminuser", * sqlAdministratorLoginPassword: "H@Sh1CoR3!", * managedVirtualNetworkEnabled: true, * identity: { * type: "SystemAssigned", * }, * }); * const exampleFirewallRule = new azure.synapse.FirewallRule("example", { * name: "AllowAll", * synapseWorkspaceId: exampleWorkspace.id, * startIpAddress: "0.0.0.0", * endIpAddress: "255.255.255.255", * }); * const exampleConnect = new azure.storage.Account("example_connect", { * name: "examplestorage2", * resourceGroupName: example.name, * location: example.location, * accountTier: "Standard", * accountReplicationType: "LRS", * accountKind: "BlobStorage", * }); * const exampleManagedPrivateEndpoint = new azure.synapse.ManagedPrivateEndpoint("example", { * name: "example-endpoint", * synapseWorkspaceId: exampleWorkspace.id, * targetResourceId: exampleConnect.id, * subresourceName: "blob", * }, { * dependsOn: [exampleFirewallRule], * }); * ``` * * ## Import * * Synapse Managed Private Endpoint can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:synapse/managedPrivateEndpoint:ManagedPrivateEndpoint example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Synapse/workspaces/workspace1/managedVirtualNetworks/default/managedPrivateEndpoints/endpoint1 * ``` */ export declare class ManagedPrivateEndpoint extends pulumi.CustomResource { /** * Get an existing ManagedPrivateEndpoint 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?: ManagedPrivateEndpointState, opts?: pulumi.CustomResourceOptions): ManagedPrivateEndpoint; /** * Returns true if the given object is an instance of ManagedPrivateEndpoint. 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 ManagedPrivateEndpoint; /** * Specifies the name which should be used for this Managed Private Endpoint. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * Specifies the sub resource name which the Synapse Private Endpoint is able to connect to. Changing this forces a new resource to be created. * * > **Note:** Possible values are listed in [documentation](https://docs.microsoft.com/azure/private-link/private-endpoint-overview#dns-configuration). */ readonly subresourceName: pulumi.Output; /** * The ID of the Synapse Workspace on which to create the Managed Private Endpoint. Changing this forces a new resource to be created. * * > **Note:** A Synapse firewall rule including local IP is needed for managing current resource. */ readonly synapseWorkspaceId: pulumi.Output; /** * The ID of the Private Link Enabled Remote Resource which this Synapse Private Endpoint should be connected to. Changing this forces a new resource to be created. */ readonly targetResourceId: pulumi.Output; /** * Create a ManagedPrivateEndpoint 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: ManagedPrivateEndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagedPrivateEndpoint resources. */ export interface ManagedPrivateEndpointState { /** * Specifies the name which should be used for this Managed Private Endpoint. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the sub resource name which the Synapse Private Endpoint is able to connect to. Changing this forces a new resource to be created. * * > **Note:** Possible values are listed in [documentation](https://docs.microsoft.com/azure/private-link/private-endpoint-overview#dns-configuration). */ subresourceName?: pulumi.Input; /** * The ID of the Synapse Workspace on which to create the Managed Private Endpoint. Changing this forces a new resource to be created. * * > **Note:** A Synapse firewall rule including local IP is needed for managing current resource. */ synapseWorkspaceId?: pulumi.Input; /** * The ID of the Private Link Enabled Remote Resource which this Synapse Private Endpoint should be connected to. Changing this forces a new resource to be created. */ targetResourceId?: pulumi.Input; } /** * The set of arguments for constructing a ManagedPrivateEndpoint resource. */ export interface ManagedPrivateEndpointArgs { /** * Specifies the name which should be used for this Managed Private Endpoint. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the sub resource name which the Synapse Private Endpoint is able to connect to. Changing this forces a new resource to be created. * * > **Note:** Possible values are listed in [documentation](https://docs.microsoft.com/azure/private-link/private-endpoint-overview#dns-configuration). */ subresourceName: pulumi.Input; /** * The ID of the Synapse Workspace on which to create the Managed Private Endpoint. Changing this forces a new resource to be created. * * > **Note:** A Synapse firewall rule including local IP is needed for managing current resource. */ synapseWorkspaceId: pulumi.Input; /** * The ID of the Private Link Enabled Remote Resource which this Synapse Private Endpoint should be connected to. Changing this forces a new resource to be created. */ targetResourceId: pulumi.Input; }