import * as pulumi from "@pulumi/pulumi";
/**
 * Manages an API Management Workspace Policy Fragment.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * import * as std from "@pulumi/std";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleService = new azure.apimanagement.Service("example", {
 *     name: "example-apim",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     publisherName: "pub1",
 *     publisherEmail: "pub1@email.com",
 *     skuName: "Premium_1",
 * });
 * const exampleWorkspace = new azure.apimanagement.Workspace("example", {
 *     name: "example-workspace",
 *     apiManagementId: exampleService.id,
 *     displayName: "Example Workspace",
 *     description: "Example API Management Workspace",
 * });
 * const exampleWorkspacePolicyFragment = new azure.apimanagement.WorkspacePolicyFragment("example", {
 *     name: "example-policy-fragment",
 *     apiManagementWorkspaceId: exampleWorkspace.id,
 *     xmlFormat: "xml",
 *     xmlContent: std.file({
 *         input: "policy-fragment-1.xml",
 *     }).then(invoke => invoke.result),
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.ApiManagement` - 2024-05-01
 *
 * ## Import
 *
 * API Management Workspace Policy Fragments can be imported using the `resource id`, e.g.
 *
 * > **Note:** Due to the behaviour of the API, API Management Workspace Policy Fragments can only be imported as `xml`, but can be updated to the desired format after importing.
 *
 * ```sh
 * $ pulumi import azure:apimanagement/workspacePolicyFragment:WorkspacePolicyFragment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/instance1/workspaces/workspace1/policyFragments/policyFragment1
 * ```
 */
export declare class WorkspacePolicyFragment extends pulumi.CustomResource {
    /**
     * Get an existing WorkspacePolicyFragment 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<pulumi.ID>, state?: WorkspacePolicyFragmentState, opts?: pulumi.CustomResourceOptions): WorkspacePolicyFragment;
    /**
     * Returns true if the given object is an instance of WorkspacePolicyFragment.  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 WorkspacePolicyFragment;
    /**
     * Specifies the ID of the API Management Workspace. Changing this forces a new resource to be created.
     */
    readonly apiManagementWorkspaceId: pulumi.Output<string>;
    /**
     * Specifies the description for the API Management Workspace Policy Fragment.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * Specifies the name of the API Management Workspace Policy Fragment. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Specifies the XML content of the API Management Workspace Policy Fragment.
     */
    readonly xmlContent: pulumi.Output<string>;
    /**
     * Specifies the XML format of the API Management Workspace Policy Fragment. Possible values are `xml` or `rawxml`. Defaults to `xml`.
     */
    readonly xmlFormat: pulumi.Output<string | undefined>;
    /**
     * Create a WorkspacePolicyFragment 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: WorkspacePolicyFragmentArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering WorkspacePolicyFragment resources.
 */
export interface WorkspacePolicyFragmentState {
    /**
     * Specifies the ID of the API Management Workspace. Changing this forces a new resource to be created.
     */
    apiManagementWorkspaceId?: pulumi.Input<string | undefined>;
    /**
     * Specifies the description for the API Management Workspace Policy Fragment.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * Specifies the name of the API Management Workspace Policy Fragment. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Specifies the XML content of the API Management Workspace Policy Fragment.
     */
    xmlContent?: pulumi.Input<string | undefined>;
    /**
     * Specifies the XML format of the API Management Workspace Policy Fragment. Possible values are `xml` or `rawxml`. Defaults to `xml`.
     */
    xmlFormat?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a WorkspacePolicyFragment resource.
 */
export interface WorkspacePolicyFragmentArgs {
    /**
     * Specifies the ID of the API Management Workspace. Changing this forces a new resource to be created.
     */
    apiManagementWorkspaceId: pulumi.Input<string>;
    /**
     * Specifies the description for the API Management Workspace Policy Fragment.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * Specifies the name of the API Management Workspace Policy Fragment. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Specifies the XML content of the API Management Workspace Policy Fragment.
     */
    xmlContent: pulumi.Input<string>;
    /**
     * Specifies the XML format of the API Management Workspace Policy Fragment. Possible values are `xml` or `rawxml`. Defaults to `xml`.
     */
    xmlFormat?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=workspacePolicyFragment.d.ts.map