import * as pulumi from "@pulumi/pulumi"; /** * Gets information about access control for an Aiven for OpenSearch® service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const os_acl_config = aiven.getOpenSearchAclConfig({ * project: exampleProject.project, * serviceName: exampleOpensearch.serviceName, * }); * ``` */ export declare function getOpenSearchAclConfig(args: GetOpenSearchAclConfigArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOpenSearchAclConfig. */ export interface GetOpenSearchAclConfigArgs { /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ project: string; /** * The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ serviceName: string; } /** * A collection of values returned by getOpenSearchAclConfig. */ export interface GetOpenSearchAclConfigResult { /** * Enable OpenSearch ACLs. When disabled, authenticated service users have unrestricted access. The default value is `true`. */ readonly enabled: boolean; /** * Index rules can be applied in a limited fashion to the _mget, _msearch and _bulk APIs (and only those) by enabling the ExtendedAcl option for the service. When it is enabled, users can use these APIs as long as all operations only target indexes they have been granted access to. The default value is `true`. */ readonly extendedAcl: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ readonly project: string; /** * The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ readonly serviceName: string; } /** * Gets information about access control for an Aiven for OpenSearch® service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const os_acl_config = aiven.getOpenSearchAclConfig({ * project: exampleProject.project, * serviceName: exampleOpensearch.serviceName, * }); * ``` */ export declare function getOpenSearchAclConfigOutput(args: GetOpenSearchAclConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOpenSearchAclConfig. */ export interface GetOpenSearchAclConfigOutputArgs { /** * The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ project: pulumi.Input; /** * The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ serviceName: pulumi.Input; } //# sourceMappingURL=getOpenSearchAclConfig.d.ts.map