@maienm/pulumi-readarr
Version:
A Pulumi package for creating and managing Readarr resources. Based on terraform-provider-readarr: version v2.1.0
109 lines (108 loc) • 3.61 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* <!-- subcategory:Profiles -->Release Profile resource.
* For more information refer to [Release Profiles](https://wiki.servarr.com/readarr/settings#release-profiles) documentation.
*
* ## Import
*
* import using the API/UI ID
*
* ```sh
* $ pulumi import readarr:Profiles/releaseProfile:ReleaseProfile example 10
* ```
*/
export declare class ReleaseProfile extends pulumi.CustomResource {
/**
* Get an existing ReleaseProfile 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?: ReleaseProfileState, opts?: pulumi.CustomResourceOptions): ReleaseProfile;
/**
* Returns true if the given object is an instance of ReleaseProfile. 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 ReleaseProfile;
/**
* Enabled.
*/
readonly enabled: pulumi.Output<boolean>;
/**
* Ignored terms. At least one of `required` and `ignored` must be set.
*/
readonly ignoreds: pulumi.Output<string[]>;
/**
* Indexer ID. Default to all.
*/
readonly indexerId: pulumi.Output<number>;
/**
* Required terms. At least one of `required` and `ignored` must be set.
*/
readonly requireds: pulumi.Output<string[]>;
/**
* List of associated tags.
*/
readonly tags: pulumi.Output<number[]>;
/**
* Create a ReleaseProfile 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?: ReleaseProfileArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ReleaseProfile resources.
*/
export interface ReleaseProfileState {
/**
* Enabled.
*/
enabled?: pulumi.Input<boolean>;
/**
* Ignored terms. At least one of `required` and `ignored` must be set.
*/
ignoreds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Indexer ID. Default to all.
*/
indexerId?: pulumi.Input<number>;
/**
* Required terms. At least one of `required` and `ignored` must be set.
*/
requireds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
}
/**
* The set of arguments for constructing a ReleaseProfile resource.
*/
export interface ReleaseProfileArgs {
/**
* Enabled.
*/
enabled?: pulumi.Input<boolean>;
/**
* Ignored terms. At least one of `required` and `ignored` must be set.
*/
ignoreds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Indexer ID. Default to all.
*/
indexerId?: pulumi.Input<number>;
/**
* Required terms. At least one of `required` and `ignored` must be set.
*/
requireds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* List of associated tags.
*/
tags?: pulumi.Input<pulumi.Input<number>[]>;
}