ifsrmsetting

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IFsrmSetting interface identifier f411d4fd-14be-4260-8c40-03b7c95e608a
	SettingIID = &dcom.IID{Data1: 0xf411d4fd, Data2: 0x14be, Data3: 0x4260, Data4: []byte{0x8c, 0x40, 0x03, 0xb7, 0xc9, 0x5e, 0x60, 0x8a}}
	// Syntax UUID
	SettingSyntaxUUID = &uuid.UUID{TimeLow: 0xf411d4fd, TimeMid: 0x14be, TimeHiAndVersion: 0x4260, ClockSeqHiAndReserved: 0x8c, ClockSeqLow: 0x40, Node: [6]uint8{0x3, 0xb7, 0xc9, 0x5e, 0x60, 0x8a}}
	// Syntax ID
	SettingSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: SettingSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func NewSettingServerHandle

func NewSettingServerHandle(o SettingServer) dcerpc.ServerHandle

func RegisterSettingServer

func RegisterSettingServer(conn dcerpc.Conn, o SettingServer, opts ...dcerpc.Option)

func SettingServerHandle

func SettingServerHandle(ctx context.Context, o SettingServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)

Types

type EmailTestRequest

type EmailTestRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// mailTo: Contains the email address for the File Server Resource Manager Protocol
	// to send the test email message to.
	MailTo *oaut.String `idl:"name:mailTo" json:"mail_to"`
}

EmailTestRequest structure represents the EmailTest operation request

func (*EmailTestRequest) MarshalNDR

func (o *EmailTestRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EmailTestRequest) UnmarshalNDR

func (o *EmailTestRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type EmailTestResponse

type EmailTestResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The EmailTest return value.
	Return int32 `idl:"name:Return" json:"return"`
}

EmailTestResponse structure represents the EmailTest operation response

func (*EmailTestResponse) MarshalNDR

func (o *EmailTestResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*EmailTestResponse) UnmarshalNDR

func (o *EmailTestResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetActionRunLimitIntervalRequest

type GetActionRunLimitIntervalRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// actionType: Contains the action type to return the Run limit interval for.
	ActionType fsrm.ActionType `idl:"name:actionType" json:"action_type"`
}

GetActionRunLimitIntervalRequest structure represents the GetActionRunLimitInterval operation request

func (*GetActionRunLimitIntervalRequest) MarshalNDR

func (*GetActionRunLimitIntervalRequest) UnmarshalNDR

type GetActionRunLimitIntervalResponse

type GetActionRunLimitIntervalResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// delayTimeMinutes: Pointer to a variable that upon completion contains the Run limit
	// interval for the specified action type.
	DelayTimeMinutes int32 `idl:"name:delayTimeMinutes" json:"delay_time_minutes"`
	// Return: The GetActionRunLimitInterval return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetActionRunLimitIntervalResponse structure represents the GetActionRunLimitInterval operation response

func (*GetActionRunLimitIntervalResponse) MarshalNDR

func (*GetActionRunLimitIntervalResponse) UnmarshalNDR

type GetAdminEmailRequest

type GetAdminEmailRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetAdminEmailRequest structure represents the AdminEmail operation request

func (*GetAdminEmailRequest) MarshalNDR

func (o *GetAdminEmailRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetAdminEmailRequest) UnmarshalNDR

func (o *GetAdminEmailRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetAdminEmailResponse

type GetAdminEmailResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That       *dcom.ORPCThat `idl:"name:That" json:"that"`
	AdminEmail *oaut.String   `idl:"name:adminEmail" json:"admin_email"`
	// Return: The AdminEmail return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetAdminEmailResponse structure represents the AdminEmail operation response

func (*GetAdminEmailResponse) MarshalNDR

func (o *GetAdminEmailResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetAdminEmailResponse) UnmarshalNDR

func (o *GetAdminEmailResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetDisableCommandLineRequest

type GetDisableCommandLineRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetDisableCommandLineRequest structure represents the DisableCommandLine operation request

func (*GetDisableCommandLineRequest) MarshalNDR

func (*GetDisableCommandLineRequest) UnmarshalNDR

func (o *GetDisableCommandLineRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetDisableCommandLineResponse

type GetDisableCommandLineResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That               *dcom.ORPCThat `idl:"name:That" json:"that"`
	DisableCommandLine int16          `idl:"name:disableCommandLine" json:"disable_command_line"`
	// Return: The DisableCommandLine return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetDisableCommandLineResponse structure represents the DisableCommandLine operation response

func (*GetDisableCommandLineResponse) MarshalNDR

func (*GetDisableCommandLineResponse) UnmarshalNDR

func (o *GetDisableCommandLineResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetEnableScreeningAuditRequest

type GetEnableScreeningAuditRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetEnableScreeningAuditRequest structure represents the EnableScreeningAudit operation request

func (*GetEnableScreeningAuditRequest) MarshalNDR

func (*GetEnableScreeningAuditRequest) UnmarshalNDR

type GetEnableScreeningAuditResponse

type GetEnableScreeningAuditResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That                 *dcom.ORPCThat `idl:"name:That" json:"that"`
	EnableScreeningAudit int16          `idl:"name:enableScreeningAudit" json:"enable_screening_audit"`
	// Return: The EnableScreeningAudit return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetEnableScreeningAuditResponse structure represents the EnableScreeningAudit operation response

func (*GetEnableScreeningAuditResponse) MarshalNDR

func (*GetEnableScreeningAuditResponse) UnmarshalNDR

type GetMailFromRequest

type GetMailFromRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetMailFromRequest structure represents the MailFrom operation request

func (*GetMailFromRequest) MarshalNDR

func (o *GetMailFromRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetMailFromRequest) UnmarshalNDR

func (o *GetMailFromRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetMailFromResponse

type GetMailFromResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That     *dcom.ORPCThat `idl:"name:That" json:"that"`
	MailFrom *oaut.String   `idl:"name:mailFrom" json:"mail_from"`
	// Return: The MailFrom return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetMailFromResponse structure represents the MailFrom operation response

func (*GetMailFromResponse) MarshalNDR

func (o *GetMailFromResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetMailFromResponse) UnmarshalNDR

func (o *GetMailFromResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetSMTPServerRequest

type GetSMTPServerRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetSMTPServerRequest structure represents the SmtpServer operation request

func (*GetSMTPServerRequest) MarshalNDR

func (o *GetSMTPServerRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetSMTPServerRequest) UnmarshalNDR

func (o *GetSMTPServerRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetSMTPServerResponse

type GetSMTPServerResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That       *dcom.ORPCThat `idl:"name:That" json:"that"`
	SMTPServer *oaut.String   `idl:"name:smtpServer" json:"smtp_server"`
	// Return: The SmtpServer return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetSMTPServerResponse structure represents the SmtpServer operation response

func (*GetSMTPServerResponse) MarshalNDR

func (o *GetSMTPServerResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetSMTPServerResponse) UnmarshalNDR

func (o *GetSMTPServerResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetActionRunLimitIntervalRequest

type SetActionRunLimitIntervalRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// actionType: Contains the action type that this run limit interval applies to.
	ActionType fsrm.ActionType `idl:"name:actionType" json:"action_type"`
	// delayTimeMinutes: Contains the run limit interval for this action type.
	DelayTimeMinutes int32 `idl:"name:delayTimeMinutes" json:"delay_time_minutes"`
}

SetActionRunLimitIntervalRequest structure represents the SetActionRunLimitInterval operation request

func (*SetActionRunLimitIntervalRequest) MarshalNDR

func (*SetActionRunLimitIntervalRequest) UnmarshalNDR

type SetActionRunLimitIntervalResponse

type SetActionRunLimitIntervalResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The SetActionRunLimitInterval return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetActionRunLimitIntervalResponse structure represents the SetActionRunLimitInterval operation response

func (*SetActionRunLimitIntervalResponse) MarshalNDR

func (*SetActionRunLimitIntervalResponse) UnmarshalNDR

type SetAdminEmailRequest

type SetAdminEmailRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This       *dcom.ORPCThis `idl:"name:This" json:"this"`
	AdminEmail *oaut.String   `idl:"name:adminEmail" json:"admin_email"`
}

SetAdminEmailRequest structure represents the AdminEmail operation request

func (*SetAdminEmailRequest) MarshalNDR

func (o *SetAdminEmailRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetAdminEmailRequest) UnmarshalNDR

func (o *SetAdminEmailRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetAdminEmailResponse

type SetAdminEmailResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The AdminEmail return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetAdminEmailResponse structure represents the AdminEmail operation response

func (*SetAdminEmailResponse) MarshalNDR

func (o *SetAdminEmailResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetAdminEmailResponse) UnmarshalNDR

func (o *SetAdminEmailResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetDisableCommandLineRequest

type SetDisableCommandLineRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This               *dcom.ORPCThis `idl:"name:This" json:"this"`
	DisableCommandLine int16          `idl:"name:disableCommandLine" json:"disable_command_line"`
}

SetDisableCommandLineRequest structure represents the DisableCommandLine operation request

func (*SetDisableCommandLineRequest) MarshalNDR

func (*SetDisableCommandLineRequest) UnmarshalNDR

func (o *SetDisableCommandLineRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetDisableCommandLineResponse

type SetDisableCommandLineResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The DisableCommandLine return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetDisableCommandLineResponse structure represents the DisableCommandLine operation response

func (*SetDisableCommandLineResponse) MarshalNDR

func (*SetDisableCommandLineResponse) UnmarshalNDR

func (o *SetDisableCommandLineResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetEnableScreeningAuditRequest

type SetEnableScreeningAuditRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This                 *dcom.ORPCThis `idl:"name:This" json:"this"`
	EnableScreeningAudit int16          `idl:"name:enableScreeningAudit" json:"enable_screening_audit"`
}

SetEnableScreeningAuditRequest structure represents the EnableScreeningAudit operation request

func (*SetEnableScreeningAuditRequest) MarshalNDR

func (*SetEnableScreeningAuditRequest) UnmarshalNDR

type SetEnableScreeningAuditResponse

type SetEnableScreeningAuditResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The EnableScreeningAudit return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetEnableScreeningAuditResponse structure represents the EnableScreeningAudit operation response

func (*SetEnableScreeningAuditResponse) MarshalNDR

func (*SetEnableScreeningAuditResponse) UnmarshalNDR

type SetMailFromRequest

type SetMailFromRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This     *dcom.ORPCThis `idl:"name:This" json:"this"`
	MailFrom *oaut.String   `idl:"name:mailFrom" json:"mail_from"`
}

SetMailFromRequest structure represents the MailFrom operation request

func (*SetMailFromRequest) MarshalNDR

func (o *SetMailFromRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetMailFromRequest) UnmarshalNDR

func (o *SetMailFromRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetMailFromResponse

type SetMailFromResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The MailFrom return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetMailFromResponse structure represents the MailFrom operation response

func (*SetMailFromResponse) MarshalNDR

func (o *SetMailFromResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetMailFromResponse) UnmarshalNDR

func (o *SetMailFromResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetSMTPServerRequest

type SetSMTPServerRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This       *dcom.ORPCThis `idl:"name:This" json:"this"`
	SMTPServer *oaut.String   `idl:"name:smtpServer" json:"smtp_server"`
}

SetSMTPServerRequest structure represents the SmtpServer operation request

func (*SetSMTPServerRequest) MarshalNDR

func (o *SetSMTPServerRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetSMTPServerRequest) UnmarshalNDR

func (o *SetSMTPServerRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SetSMTPServerResponse

type SetSMTPServerResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The SmtpServer return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetSMTPServerResponse structure represents the SmtpServer operation response

func (*SetSMTPServerResponse) MarshalNDR

func (o *SetSMTPServerResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*SetSMTPServerResponse) UnmarshalNDR

func (o *SetSMTPServerResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type SettingClient

type SettingClient interface {

	// IDispatch retrieval method.
	Dispatch() idispatch.DispatchClient

	// SmtpServer operation.
	GetSMTPServer(context.Context, *GetSMTPServerRequest, ...dcerpc.CallOption) (*GetSMTPServerResponse, error)

	// SmtpServer operation.
	SetSMTPServer(context.Context, *SetSMTPServerRequest, ...dcerpc.CallOption) (*SetSMTPServerResponse, error)

	// MailFrom operation.
	GetMailFrom(context.Context, *GetMailFromRequest, ...dcerpc.CallOption) (*GetMailFromResponse, error)

	// MailFrom operation.
	SetMailFrom(context.Context, *SetMailFromRequest, ...dcerpc.CallOption) (*SetMailFromResponse, error)

	// AdminEmail operation.
	GetAdminEmail(context.Context, *GetAdminEmailRequest, ...dcerpc.CallOption) (*GetAdminEmailResponse, error)

	// AdminEmail operation.
	SetAdminEmail(context.Context, *SetAdminEmailRequest, ...dcerpc.CallOption) (*SetAdminEmailResponse, error)

	// DisableCommandLine operation.
	GetDisableCommandLine(context.Context, *GetDisableCommandLineRequest, ...dcerpc.CallOption) (*GetDisableCommandLineResponse, error)

	// DisableCommandLine operation.
	SetDisableCommandLine(context.Context, *SetDisableCommandLineRequest, ...dcerpc.CallOption) (*SetDisableCommandLineResponse, error)

	// EnableScreeningAudit operation.
	GetEnableScreeningAudit(context.Context, *GetEnableScreeningAuditRequest, ...dcerpc.CallOption) (*GetEnableScreeningAuditResponse, error)

	// EnableScreeningAudit operation.
	SetEnableScreeningAudit(context.Context, *SetEnableScreeningAuditRequest, ...dcerpc.CallOption) (*SetEnableScreeningAuditResponse, error)

	// The EmailTest method sends an email message to the specified email address using
	// the settings that the File Server Resource Manager Protocol is configured to use.
	// The settings include SMTP server name and Mail from email address. The format of
	// the email address has to be as specified in [RFC5322].
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	|                RETURN                 |                                                                                  |
	//	|              VALUE/CODE               |                                   DESCRIPTION                                    |
	//	|                                       |                                                                                  |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x8004530D FSRM_E_OUT_OF_RANGE        | The content of the mailTo parameter exceeds the maximum length of 4,000          |
	//	|                                       | characters.                                                                      |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045318 FSRM_E_INVALID_SMTP_SERVER | The SmtpServer property is not set.                                              |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x8004531C FSRM_E_EMAIL_NOT_SENT      | An email message could not be sent.                                              |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	EmailTest(context.Context, *EmailTestRequest, ...dcerpc.CallOption) (*EmailTestResponse, error)

	// The SetActionRunLimitInterval method sets run limit intervals for actions that are
	// configured to use the general setting's run limit interval.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | The actionType parameter is not a valid type. If actionType is                   |
	//	|                         | FsrmActionType_Unknown, the parameter MUST be considered an invalid value.       |
	//	+-------------------------+----------------------------------------------------------------------------------+
	SetActionRunLimitInterval(context.Context, *SetActionRunLimitIntervalRequest, ...dcerpc.CallOption) (*SetActionRunLimitIntervalResponse, error)

	// The GetActionRunLimitInterval method returns the Run limit interval for actions that
	// are configured to use the general setting's Run limit interval.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The actionType parameter is     |
	//	|                         | not a valid type. If actionType is FsrmActionType_Unknown, the parameter MUST be |
	//	|                         | considered an invalid value. The delayTimeMinutes parameter is NULL.             |
	//	+-------------------------+----------------------------------------------------------------------------------+
	GetActionRunLimitInterval(context.Context, *GetActionRunLimitIntervalRequest, ...dcerpc.CallOption) (*GetActionRunLimitIntervalResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) SettingClient
}

IFsrmSetting interface.

func NewSettingClient

func NewSettingClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (SettingClient, error)

type SettingServer

type SettingServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// SmtpServer operation.
	GetSMTPServer(context.Context, *GetSMTPServerRequest) (*GetSMTPServerResponse, error)

	// SmtpServer operation.
	SetSMTPServer(context.Context, *SetSMTPServerRequest) (*SetSMTPServerResponse, error)

	// MailFrom operation.
	GetMailFrom(context.Context, *GetMailFromRequest) (*GetMailFromResponse, error)

	// MailFrom operation.
	SetMailFrom(context.Context, *SetMailFromRequest) (*SetMailFromResponse, error)

	// AdminEmail operation.
	GetAdminEmail(context.Context, *GetAdminEmailRequest) (*GetAdminEmailResponse, error)

	// AdminEmail operation.
	SetAdminEmail(context.Context, *SetAdminEmailRequest) (*SetAdminEmailResponse, error)

	// DisableCommandLine operation.
	GetDisableCommandLine(context.Context, *GetDisableCommandLineRequest) (*GetDisableCommandLineResponse, error)

	// DisableCommandLine operation.
	SetDisableCommandLine(context.Context, *SetDisableCommandLineRequest) (*SetDisableCommandLineResponse, error)

	// EnableScreeningAudit operation.
	GetEnableScreeningAudit(context.Context, *GetEnableScreeningAuditRequest) (*GetEnableScreeningAuditResponse, error)

	// EnableScreeningAudit operation.
	SetEnableScreeningAudit(context.Context, *SetEnableScreeningAuditRequest) (*SetEnableScreeningAuditResponse, error)

	// The EmailTest method sends an email message to the specified email address using
	// the settings that the File Server Resource Manager Protocol is configured to use.
	// The settings include SMTP server name and Mail from email address. The format of
	// the email address has to be as specified in [RFC5322].
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	|                RETURN                 |                                                                                  |
	//	|              VALUE/CODE               |                                   DESCRIPTION                                    |
	//	|                                       |                                                                                  |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x8004530D FSRM_E_OUT_OF_RANGE        | The content of the mailTo parameter exceeds the maximum length of 4,000          |
	//	|                                       | characters.                                                                      |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045318 FSRM_E_INVALID_SMTP_SERVER | The SmtpServer property is not set.                                              |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	//	| 0x8004531C FSRM_E_EMAIL_NOT_SENT      | An email message could not be sent.                                              |
	//	+---------------------------------------+----------------------------------------------------------------------------------+
	EmailTest(context.Context, *EmailTestRequest) (*EmailTestResponse, error)

	// The SetActionRunLimitInterval method sets run limit intervals for actions that are
	// configured to use the general setting's run limit interval.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | The actionType parameter is not a valid type. If actionType is                   |
	//	|                         | FsrmActionType_Unknown, the parameter MUST be considered an invalid value.       |
	//	+-------------------------+----------------------------------------------------------------------------------+
	SetActionRunLimitInterval(context.Context, *SetActionRunLimitIntervalRequest) (*SetActionRunLimitIntervalResponse, error)

	// The GetActionRunLimitInterval method returns the Run limit interval for actions that
	// are configured to use the general setting's Run limit interval.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The actionType parameter is     |
	//	|                         | not a valid type. If actionType is FsrmActionType_Unknown, the parameter MUST be |
	//	|                         | considered an invalid value. The delayTimeMinutes parameter is NULL.             |
	//	+-------------------------+----------------------------------------------------------------------------------+
	GetActionRunLimitInterval(context.Context, *GetActionRunLimitIntervalRequest) (*GetActionRunLimitIntervalResponse, error)
}

IFsrmSetting server interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL