powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell
powerscale.getClusterEmail
Explore with Pulumi AI
This datasource is used to query the Cluster Email Settings from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as powerscale from "@pulumi/powerscale";
const test = powerscale.getClusterEmail({});
export const powerscaleClusterEmailOutput = test;
import pulumi
import pulumi_powerscale as powerscale
test = powerscale.get_cluster_email()
pulumi.export("powerscaleClusterEmailOutput", test)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/powerscale/powerscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := powerscale.LookupClusterEmail(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
ctx.Export("powerscaleClusterEmailOutput", test)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Powerscale = Pulumi.Powerscale;
return await Deployment.RunAsync(() =>
{
var test = Powerscale.GetClusterEmail.Invoke();
return new Dictionary<string, object?>
{
["powerscaleClusterEmailOutput"] = test,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.powerscale.PowerscaleFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = PowerscaleFunctions.getClusterEmail();
ctx.export("powerscaleClusterEmailOutput", test.applyValue(getClusterEmailResult -> getClusterEmailResult));
}
}
variables:
test:
fn::invoke:
function: powerscale:getClusterEmail
arguments: {}
outputs:
# Output value of above block by executing 'terraform output' command
# The user can use the fetched information by the variable data.powerscale_cluster_email.example
powerscaleClusterEmailOutput: ${test}
Using getClusterEmail
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getClusterEmail(opts?: InvokeOptions): Promise<GetClusterEmailResult>
function getClusterEmailOutput(opts?: InvokeOptions): Output<GetClusterEmailResult>
def get_cluster_email(opts: Optional[InvokeOptions] = None) -> GetClusterEmailResult
def get_cluster_email_output(opts: Optional[InvokeOptions] = None) -> Output[GetClusterEmailResult]
func LookupClusterEmail(ctx *Context, opts ...InvokeOption) (*LookupClusterEmailResult, error)
func LookupClusterEmailOutput(ctx *Context, opts ...InvokeOption) LookupClusterEmailResultOutput
> Note: This function is named LookupClusterEmail
in the Go SDK.
public static class GetClusterEmail
{
public static Task<GetClusterEmailResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetClusterEmailResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetClusterEmailResult> getClusterEmail(InvokeOptions options)
public static Output<GetClusterEmailResult> getClusterEmail(InvokeOptions options)
fn::invoke:
function: powerscale:index/getClusterEmail:getClusterEmail
arguments:
# arguments dictionary
getClusterEmail Result
The following output properties are available:
- Id string
- Unique identifier.
- Settings
Get
Cluster Email Settings - Cluster email notification settings.
- Id string
- Unique identifier.
- Settings
Get
Cluster Email Settings - Cluster email notification settings.
- id String
- Unique identifier.
- settings
Get
Cluster Email Settings - Cluster email notification settings.
- id string
- Unique identifier.
- settings
Get
Cluster Email Settings - Cluster email notification settings.
- id str
- Unique identifier.
- settings
Get
Cluster Email Settings - Cluster email notification settings.
- id String
- Unique identifier.
- settings Property Map
- Cluster email notification settings.
Supporting Types
GetClusterEmailSettings
- Batch
Mode string - This setting determines how notifications will be batched together to be sent by email. 'none' means each notification will be sent separately. 'severity' means notifications of the same severity will be sent together. 'category' means notifications of the same category will be sent together. 'all' means all notifications will be batched together and sent in a single email.
- Mail
Relay string - The address of the SMTP server to be used for relaying the notification messages. An SMTP server is required in order to send notifications. If this string is empty, no emails will be sent.
- Mail
Sender string - The full email address that will appear as the sender of notification messages.
- Mail
Subject string - The subject line for notification messages from this cluster.
- Smtp
Auth boolPasswd Set - Indicates if an SMTP authentication password is set.
- Smtp
Auth stringSecurity - The type of secure communication protocol to use if SMTP is being used. If 'none', plain text will be used, if 'starttls', the encrypted STARTTLS protocol will be used.
- Smtp
Auth stringUsername - Username to authenticate with if SMTP authentication is being used.
- Smtp
Port double - The port on the SMTP server to be used for relaying the notification messages.
- Use
Smtp boolAuth - If true, this cluster will send SMTP authentication credentials to the SMTP relay server in order to send its notification emails. If false, the cluster will attempt to send its notification emails without authentication.
- User
Template string - Location of a custom template file that can be used to specify the layout of the notification emails.
- Batch
Mode string - This setting determines how notifications will be batched together to be sent by email. 'none' means each notification will be sent separately. 'severity' means notifications of the same severity will be sent together. 'category' means notifications of the same category will be sent together. 'all' means all notifications will be batched together and sent in a single email.
- Mail
Relay string - The address of the SMTP server to be used for relaying the notification messages. An SMTP server is required in order to send notifications. If this string is empty, no emails will be sent.
- Mail
Sender string - The full email address that will appear as the sender of notification messages.
- Mail
Subject string - The subject line for notification messages from this cluster.
- Smtp
Auth boolPasswd Set - Indicates if an SMTP authentication password is set.
- Smtp
Auth stringSecurity - The type of secure communication protocol to use if SMTP is being used. If 'none', plain text will be used, if 'starttls', the encrypted STARTTLS protocol will be used.
- Smtp
Auth stringUsername - Username to authenticate with if SMTP authentication is being used.
- Smtp
Port float64 - The port on the SMTP server to be used for relaying the notification messages.
- Use
Smtp boolAuth - If true, this cluster will send SMTP authentication credentials to the SMTP relay server in order to send its notification emails. If false, the cluster will attempt to send its notification emails without authentication.
- User
Template string - Location of a custom template file that can be used to specify the layout of the notification emails.
- batch
Mode String - This setting determines how notifications will be batched together to be sent by email. 'none' means each notification will be sent separately. 'severity' means notifications of the same severity will be sent together. 'category' means notifications of the same category will be sent together. 'all' means all notifications will be batched together and sent in a single email.
- mail
Relay String - The address of the SMTP server to be used for relaying the notification messages. An SMTP server is required in order to send notifications. If this string is empty, no emails will be sent.
- mail
Sender String - The full email address that will appear as the sender of notification messages.
- mail
Subject String - The subject line for notification messages from this cluster.
- smtp
Auth BooleanPasswd Set - Indicates if an SMTP authentication password is set.
- smtp
Auth StringSecurity - The type of secure communication protocol to use if SMTP is being used. If 'none', plain text will be used, if 'starttls', the encrypted STARTTLS protocol will be used.
- smtp
Auth StringUsername - Username to authenticate with if SMTP authentication is being used.
- smtp
Port Double - The port on the SMTP server to be used for relaying the notification messages.
- use
Smtp BooleanAuth - If true, this cluster will send SMTP authentication credentials to the SMTP relay server in order to send its notification emails. If false, the cluster will attempt to send its notification emails without authentication.
- user
Template String - Location of a custom template file that can be used to specify the layout of the notification emails.
- batch
Mode string - This setting determines how notifications will be batched together to be sent by email. 'none' means each notification will be sent separately. 'severity' means notifications of the same severity will be sent together. 'category' means notifications of the same category will be sent together. 'all' means all notifications will be batched together and sent in a single email.
- mail
Relay string - The address of the SMTP server to be used for relaying the notification messages. An SMTP server is required in order to send notifications. If this string is empty, no emails will be sent.
- mail
Sender string - The full email address that will appear as the sender of notification messages.
- mail
Subject string - The subject line for notification messages from this cluster.
- smtp
Auth booleanPasswd Set - Indicates if an SMTP authentication password is set.
- smtp
Auth stringSecurity - The type of secure communication protocol to use if SMTP is being used. If 'none', plain text will be used, if 'starttls', the encrypted STARTTLS protocol will be used.
- smtp
Auth stringUsername - Username to authenticate with if SMTP authentication is being used.
- smtp
Port number - The port on the SMTP server to be used for relaying the notification messages.
- use
Smtp booleanAuth - If true, this cluster will send SMTP authentication credentials to the SMTP relay server in order to send its notification emails. If false, the cluster will attempt to send its notification emails without authentication.
- user
Template string - Location of a custom template file that can be used to specify the layout of the notification emails.
- batch_
mode str - This setting determines how notifications will be batched together to be sent by email. 'none' means each notification will be sent separately. 'severity' means notifications of the same severity will be sent together. 'category' means notifications of the same category will be sent together. 'all' means all notifications will be batched together and sent in a single email.
- mail_
relay str - The address of the SMTP server to be used for relaying the notification messages. An SMTP server is required in order to send notifications. If this string is empty, no emails will be sent.
- mail_
sender str - The full email address that will appear as the sender of notification messages.
- mail_
subject str - The subject line for notification messages from this cluster.
- smtp_
auth_ boolpasswd_ set - Indicates if an SMTP authentication password is set.
- smtp_
auth_ strsecurity - The type of secure communication protocol to use if SMTP is being used. If 'none', plain text will be used, if 'starttls', the encrypted STARTTLS protocol will be used.
- smtp_
auth_ strusername - Username to authenticate with if SMTP authentication is being used.
- smtp_
port float - The port on the SMTP server to be used for relaying the notification messages.
- use_
smtp_ boolauth - If true, this cluster will send SMTP authentication credentials to the SMTP relay server in order to send its notification emails. If false, the cluster will attempt to send its notification emails without authentication.
- user_
template str - Location of a custom template file that can be used to specify the layout of the notification emails.
- batch
Mode String - This setting determines how notifications will be batched together to be sent by email. 'none' means each notification will be sent separately. 'severity' means notifications of the same severity will be sent together. 'category' means notifications of the same category will be sent together. 'all' means all notifications will be batched together and sent in a single email.
- mail
Relay String - The address of the SMTP server to be used for relaying the notification messages. An SMTP server is required in order to send notifications. If this string is empty, no emails will be sent.
- mail
Sender String - The full email address that will appear as the sender of notification messages.
- mail
Subject String - The subject line for notification messages from this cluster.
- smtp
Auth BooleanPasswd Set - Indicates if an SMTP authentication password is set.
- smtp
Auth StringSecurity - The type of secure communication protocol to use if SMTP is being used. If 'none', plain text will be used, if 'starttls', the encrypted STARTTLS protocol will be used.
- smtp
Auth StringUsername - Username to authenticate with if SMTP authentication is being used.
- smtp
Port Number - The port on the SMTP server to be used for relaying the notification messages.
- use
Smtp BooleanAuth - If true, this cluster will send SMTP authentication credentials to the SMTP relay server in order to send its notification emails. If false, the cluster will attempt to send its notification emails without authentication.
- user
Template String - Location of a custom template file that can be used to specify the layout of the notification emails.
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscale
Terraform Provider.