import * as pulumi from "@pulumi/pulumi"; /** * Manages an Azure Machine Learning Workspace FQDN Network Outbound Rule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const current = azure.core.getClientConfig({}); * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleInsights = new azure.appinsights.Insights("example", { * name: "workspace-example-ai", * location: example.location, * resourceGroupName: example.name, * applicationType: "web", * }); * const exampleKeyVault = new azure.keyvault.KeyVault("example", { * name: "workspaceexamplekeyvault", * location: example.location, * resourceGroupName: example.name, * tenantId: current.then(current => current.tenantId), * skuName: "premium", * }); * const exampleAccount = new azure.storage.Account("example", { * name: "workspacestorageaccount", * location: example.location, * resourceGroupName: example.name, * accountTier: "Standard", * accountReplicationType: "GRS", * }); * const exampleWorkspace = new azure.machinelearning.Workspace("example", { * name: "example-workspace", * location: example.location, * resourceGroupName: example.name, * applicationInsightsId: exampleInsights.id, * keyVaultId: exampleKeyVault.id, * storageAccountId: exampleAccount.id, * managedNetwork: { * isolationMode: "AllowOnlyApprovedOutbound", * }, * identity: { * type: "SystemAssigned", * }, * }); * const exampleWorkspaceNetworkOutboundRuleFqdn = new azure.machinelearning.WorkspaceNetworkOutboundRuleFqdn("example", { * name: "example-outboundrule", * workspaceId: exampleWorkspace.id, * destinationFqdn: "example.com", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.MachineLearningServices` - 2025-06-01 * * ## Import * * Machine Learning Workspace FQDN Network Outbound Rule can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:machinelearning/workspaceNetworkOutboundRuleFqdn:WorkspaceNetworkOutboundRuleFqdn example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/outboundRules/rule1 * ``` */ export declare class WorkspaceNetworkOutboundRuleFqdn extends pulumi.CustomResource { /** * Get an existing WorkspaceNetworkOutboundRuleFqdn 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?: WorkspaceNetworkOutboundRuleFqdnState, opts?: pulumi.CustomResourceOptions): WorkspaceNetworkOutboundRuleFqdn; /** * Returns true if the given object is an instance of WorkspaceNetworkOutboundRuleFqdn. 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 WorkspaceNetworkOutboundRuleFqdn; /** * Specifies the fully qualified domain name to allow for outbound traffic. */ readonly destinationFqdn: pulumi.Output; /** * Specifies the name of the Machine Learning Workspace FQDN Network Outbound Rule. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created. */ readonly workspaceId: pulumi.Output; /** * Create a WorkspaceNetworkOutboundRuleFqdn 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: WorkspaceNetworkOutboundRuleFqdnArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WorkspaceNetworkOutboundRuleFqdn resources. */ export interface WorkspaceNetworkOutboundRuleFqdnState { /** * Specifies the fully qualified domain name to allow for outbound traffic. */ destinationFqdn?: pulumi.Input; /** * Specifies the name of the Machine Learning Workspace FQDN Network Outbound Rule. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created. */ workspaceId?: pulumi.Input; } /** * The set of arguments for constructing a WorkspaceNetworkOutboundRuleFqdn resource. */ export interface WorkspaceNetworkOutboundRuleFqdnArgs { /** * Specifies the fully qualified domain name to allow for outbound traffic. */ destinationFqdn: pulumi.Input; /** * Specifies the name of the Machine Learning Workspace FQDN Network Outbound Rule. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created. */ workspaceId: pulumi.Input; }