@maienm/pulumi-readarr
Version:
A Pulumi package for creating and managing Readarr resources. Based on terraform-provider-readarr: version v2.1.0
129 lines (128 loc) • 3.48 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* <!-- subcategory:Profiles -> Custom Format Condition Release Group data source.
* For more information refer to [Custom Format Conditions](https://wiki.servarr.com/readarr/settings#conditions).
*
* {{% examples %}}
* ## Example Usage
* {{% example %}}
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as readarr from "@maienm/pulumi-readarr";
* import * as readarr from "@pulumi/readarr";
*
* const exampleConditionReleaseGroup = readarr.Profiles.getConditionReleaseGroup({
* name: "HDBits",
* negate: false,
* required: false,
* value: ".*HDBits.*",
* });
* const exampleCustomFormat = new readarr.profiles.CustomFormat("exampleCustomFormat", {
* includeCustomFormatWhenRenaming: false,
* specifications: [exampleConditionReleaseGroup],
* });
* ```
* {{% /example %}}
* {{% /examples %}}
*/
export declare function getConditionReleaseGroup(args: GetConditionReleaseGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetConditionReleaseGroupResult>;
/**
* A collection of arguments for invoking getConditionReleaseGroup.
*/
export interface GetConditionReleaseGroupArgs {
/**
* Specification name.
*/
name: string;
/**
* Negate flag.
*/
negate: boolean;
/**
* Computed flag.
*/
required: boolean;
/**
* Release group RegEx.
*/
value: string;
}
/**
* A collection of values returned by getConditionReleaseGroup.
*/
export interface GetConditionReleaseGroupResult {
/**
* Custom format condition release group ID.
*/
readonly id: number;
/**
* Implementation.
*/
readonly implementation: string;
/**
* Specification name.
*/
readonly name: string;
/**
* Negate flag.
*/
readonly negate: boolean;
/**
* Computed flag.
*/
readonly required: boolean;
/**
* Release group RegEx.
*/
readonly value: string;
}
/**
* <!-- subcategory:Profiles -> Custom Format Condition Release Group data source.
* For more information refer to [Custom Format Conditions](https://wiki.servarr.com/readarr/settings#conditions).
*
* {{% examples %}}
* ## Example Usage
* {{% example %}}
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as readarr from "@maienm/pulumi-readarr";
* import * as readarr from "@pulumi/readarr";
*
* const exampleConditionReleaseGroup = readarr.Profiles.getConditionReleaseGroup({
* name: "HDBits",
* negate: false,
* required: false,
* value: ".*HDBits.*",
* });
* const exampleCustomFormat = new readarr.profiles.CustomFormat("exampleCustomFormat", {
* includeCustomFormatWhenRenaming: false,
* specifications: [exampleConditionReleaseGroup],
* });
* ```
* {{% /example %}}
* {{% /examples %}}
*/
export declare function getConditionReleaseGroupOutput(args: GetConditionReleaseGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConditionReleaseGroupResult>;
/**
* A collection of arguments for invoking getConditionReleaseGroup.
*/
export interface GetConditionReleaseGroupOutputArgs {
/**
* Specification name.
*/
name: pulumi.Input<string>;
/**
* Negate flag.
*/
negate: pulumi.Input<boolean>;
/**
* Computed flag.
*/
required: pulumi.Input<boolean>;
/**
* Release group RegEx.
*/
value: pulumi.Input<string>;
}