@maienm/pulumi-readarr
Version:
A Pulumi package for creating and managing Readarr resources. Based on terraform-provider-readarr: version v2.1.0
85 lines (84 loc) • 2.74 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* <!-- subcategory:Import Lists -->Import List Exclusion resource.
* For more information refer to [ImportListExclusions](https://wiki.servarr.com/readarr/settings#list-exclusions) documentation.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as readarr from "@maienm/pulumi-readarr";
*
* const example = new readarr.importlists.Exclusion("example", {
* authorName: "Agatha Christie",
* foreignId: "46a098f3-272d-4bec-9746-67e8ab48ed40",
* });
* ```
*
* ## Import
*
* import using the API/UI ID
*
* ```sh
* $ pulumi import readarr:ImportLists/exclusion:Exclusion example 10
* ```
*/
export declare class Exclusion extends pulumi.CustomResource {
/**
* Get an existing Exclusion 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?: ExclusionState, opts?: pulumi.CustomResourceOptions): Exclusion;
/**
* Returns true if the given object is an instance of Exclusion. 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 Exclusion;
/**
* Author to be excluded.
*/
readonly authorName: pulumi.Output<string>;
/**
* Musicbrainz ID.
*/
readonly foreignId: pulumi.Output<string>;
/**
* Create a Exclusion 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: ExclusionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Exclusion resources.
*/
export interface ExclusionState {
/**
* Author to be excluded.
*/
authorName?: pulumi.Input<string>;
/**
* Musicbrainz ID.
*/
foreignId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Exclusion resource.
*/
export interface ExclusionArgs {
/**
* Author to be excluded.
*/
authorName: pulumi.Input<string>;
/**
* Musicbrainz ID.
*/
foreignId: pulumi.Input<string>;
}