Documentation ¶
Index ¶
- Variables
- func NewReportManagerServerHandle(o ReportManagerServer) dcerpc.ServerHandle
- func RegisterReportManagerServer(conn dcerpc.Conn, o ReportManagerServer, opts ...dcerpc.Option)
- func ReportManagerServerHandle(ctx context.Context, o ReportManagerServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type CreateReportJobRequest
- type CreateReportJobResponse
- type EnumReportJobsRequest
- type EnumReportJobsResponse
- type GetDefaultFilterRequest
- type GetDefaultFilterResponse
- type GetOutputDirectoryRequest
- type GetOutputDirectoryResponse
- type GetReportJobRequest
- type GetReportJobResponse
- type GetReportSizeLimitRequest
- type GetReportSizeLimitResponse
- type IsFilterValidForReportTypeRequest
- type IsFilterValidForReportTypeResponse
- type ReportManagerClient
- type ReportManagerServer
- type SetDefaultFilterRequest
- type SetDefaultFilterResponse
- type SetOutputDirectoryRequest
- type SetOutputDirectoryResponse
- type SetReportSizeLimitRequest
- type SetReportSizeLimitResponse
Constants ¶
This section is empty.
Variables ¶
var ( // IFsrmReportManager interface identifier 27b899fe-6ffa-4481-a184-d3daade8a02b ReportManagerIID = &dcom.IID{Data1: 0x27b899fe, Data2: 0x6ffa, Data3: 0x4481, Data4: []byte{0xa1, 0x84, 0xd3, 0xda, 0xad, 0xe8, 0xa0, 0x2b}} // Syntax UUID ReportManagerSyntaxUUID = &uuid.UUID{TimeLow: 0x27b899fe, TimeMid: 0x6ffa, TimeHiAndVersion: 0x4481, ClockSeqHiAndReserved: 0xa1, ClockSeqLow: 0x84, Node: [6]uint8{0xd3, 0xda, 0xad, 0xe8, 0xa0, 0x2b}} // Syntax ID ReportManagerSyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: ReportManagerSyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dcom/fsrm"
)
Functions ¶
func NewReportManagerServerHandle ¶
func NewReportManagerServerHandle(o ReportManagerServer) dcerpc.ServerHandle
func RegisterReportManagerServer ¶
func RegisterReportManagerServer(conn dcerpc.Conn, o ReportManagerServer, opts ...dcerpc.Option)
Types ¶
type CreateReportJobRequest ¶
type CreateReportJobRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
CreateReportJobRequest structure represents the CreateReportJob operation request
func (*CreateReportJobRequest) MarshalNDR ¶
func (*CreateReportJobRequest) UnmarshalNDR ¶
type CreateReportJobResponse ¶
type CreateReportJobResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // reportJob: Pointer to an IFsrmReportJob interface pointer (section 3.2.4.2.33) that // upon completion contains a pointer to the newly created report job. To have the report // job added to the server's List of Persisted Report Jobs (section 3.2.1.5), the caller // MUST call Commit (section 3.2.4.2.34.1). The caller MUST release the report job when // the caller is done with it. ReportJob *fsrm.ReportJob `idl:"name:reportJob" json:"report_job"` // Return: The CreateReportJob return value. Return int32 `idl:"name:Return" json:"return"` }
CreateReportJobResponse structure represents the CreateReportJob operation response
func (*CreateReportJobResponse) MarshalNDR ¶
func (*CreateReportJobResponse) UnmarshalNDR ¶
type EnumReportJobsRequest ¶
type EnumReportJobsRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // options: Contains the FsrmEnumOptions (section 2.2.1.2.5) to use when enumerating // the report jobs. Options fsrm.EnumOptions `idl:"name:options" json:"options"` }
EnumReportJobsRequest structure represents the EnumReportJobs operation request
func (*EnumReportJobsRequest) MarshalNDR ¶
func (*EnumReportJobsRequest) UnmarshalNDR ¶
type EnumReportJobsResponse ¶
type EnumReportJobsResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // reportJobs: Pointer to an IFsrmCollection interface pointer (section 3.2.4.2.1) that // upon completion contains a pointer to every report job on the server. The caller // MUST release the collection when the caller is done with it. ReportJobs *fsrm.Collection `idl:"name:reportJobs" json:"report_jobs"` // Return: The EnumReportJobs return value. Return int32 `idl:"name:Return" json:"return"` }
EnumReportJobsResponse structure represents the EnumReportJobs operation response
func (*EnumReportJobsResponse) MarshalNDR ¶
func (*EnumReportJobsResponse) UnmarshalNDR ¶
type GetDefaultFilterRequest ¶
type GetDefaultFilterRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // reportType: Contains the value from the FsrmReportType (section 2.2.1.2.10) enumeration. ReportType fsrm.ReportType `idl:"name:reportType" json:"report_type"` // filter: Contains the value from the FsrmReportFilter (section 2.2.1.2.16) enumeration. Filter fsrm.ReportFilter `idl:"name:filter" json:"filter"` }
GetDefaultFilterRequest structure represents the GetDefaultFilter operation request
func (*GetDefaultFilterRequest) MarshalNDR ¶
func (*GetDefaultFilterRequest) UnmarshalNDR ¶
type GetDefaultFilterResponse ¶
type GetDefaultFilterResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // filterValue: Pointer to a variable that upon completion contains the value of the // specified filter for the specified report type. FilterValue *oaut.Variant `idl:"name:filterValue" json:"filter_value"` // Return: The GetDefaultFilter return value. Return int32 `idl:"name:Return" json:"return"` }
GetDefaultFilterResponse structure represents the GetDefaultFilter operation response
func (*GetDefaultFilterResponse) MarshalNDR ¶
func (*GetDefaultFilterResponse) UnmarshalNDR ¶
type GetOutputDirectoryRequest ¶
type GetOutputDirectoryRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // context: Contains the value from the FsrmReportGenerationContext (section 2.2.1.2.15) // enumeration of the context to get. Context fsrm.ReportGenerationContext `idl:"name:context" json:"context"` }
GetOutputDirectoryRequest structure represents the GetOutputDirectory operation request
func (*GetOutputDirectoryRequest) MarshalNDR ¶
func (*GetOutputDirectoryRequest) UnmarshalNDR ¶
type GetOutputDirectoryResponse ¶
type GetOutputDirectoryResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // path: Pointer to a variable that upon completion contains the output directory where // storage reports generated with the specified context will be stored. Path *oaut.String `idl:"name:path" json:"path"` // Return: The GetOutputDirectory return value. Return int32 `idl:"name:Return" json:"return"` }
GetOutputDirectoryResponse structure represents the GetOutputDirectory operation response
func (*GetOutputDirectoryResponse) MarshalNDR ¶
func (*GetOutputDirectoryResponse) UnmarshalNDR ¶
type GetReportJobRequest ¶
type GetReportJobRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // taskName: Contains the task name for which the server will return the associated // report job object. The maximum length of this string MUST be 230 characters. TaskName *oaut.String `idl:"name:taskName" json:"task_name"` }
GetReportJobRequest structure represents the GetReportJob operation request
func (*GetReportJobRequest) MarshalNDR ¶
func (*GetReportJobRequest) UnmarshalNDR ¶
type GetReportJobResponse ¶
type GetReportJobResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // reportJob: Pointer to an IFsrmReportJob interface pointer (section 3.2.4.2.34) that // upon completion contains a pointer to the report job object for the task name specified. // The caller MUST release the report job when the caller is done with it. ReportJob *fsrm.ReportJob `idl:"name:reportJob" json:"report_job"` // Return: The GetReportJob return value. Return int32 `idl:"name:Return" json:"return"` }
GetReportJobResponse structure represents the GetReportJob operation response
func (*GetReportJobResponse) MarshalNDR ¶
func (*GetReportJobResponse) UnmarshalNDR ¶
type GetReportSizeLimitRequest ¶
type GetReportSizeLimitRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // limit: Contains the value from the FsrmReportLimit (section 2.2.1.2.17) enumeration // indicating the report size limit for which the value is returned. Limit fsrm.ReportLimit `idl:"name:limit" json:"limit"` }
GetReportSizeLimitRequest structure represents the GetReportSizeLimit operation request
func (*GetReportSizeLimitRequest) MarshalNDR ¶
func (*GetReportSizeLimitRequest) UnmarshalNDR ¶
type GetReportSizeLimitResponse ¶
type GetReportSizeLimitResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // limitValue: Pointer to a variable that upon completion contains the report size limit // of the specified report limit. LimitValue *oaut.Variant `idl:"name:limitValue" json:"limit_value"` // Return: The GetReportSizeLimit return value. Return int32 `idl:"name:Return" json:"return"` }
GetReportSizeLimitResponse structure represents the GetReportSizeLimit operation response
func (*GetReportSizeLimitResponse) MarshalNDR ¶
func (*GetReportSizeLimitResponse) UnmarshalNDR ¶
type IsFilterValidForReportTypeRequest ¶
type IsFilterValidForReportTypeRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // reportType: Contains the value from the FsrmReportType (section 2.2.1.2.10) enumeration. ReportType fsrm.ReportType `idl:"name:reportType" json:"report_type"` // filter: Contains the value from the FsrmReportFilter (section 2.2.1.2.16) enumeration. Filter fsrm.ReportFilter `idl:"name:filter" json:"filter"` }
IsFilterValidForReportTypeRequest structure represents the IsFilterValidForReportType operation request
func (*IsFilterValidForReportTypeRequest) MarshalNDR ¶
func (*IsFilterValidForReportTypeRequest) UnmarshalNDR ¶
type IsFilterValidForReportTypeResponse ¶
type IsFilterValidForReportTypeResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // valid: Pointer to a variable that upon completion contains the Boolean indication // of whether the specified filter is configurable for the specified report type. Valid int16 `idl:"name:valid" json:"valid"` // Return: The IsFilterValidForReportType return value. Return int32 `idl:"name:Return" json:"return"` }
IsFilterValidForReportTypeResponse structure represents the IsFilterValidForReportType operation response
func (*IsFilterValidForReportTypeResponse) MarshalNDR ¶
func (*IsFilterValidForReportTypeResponse) UnmarshalNDR ¶
type ReportManagerClient ¶
type ReportManagerClient interface { // IDispatch retrieval method. Dispatch() idispatch.DispatchClient // The EnumReportJobs method returns a collection of all the report jobs from the List // of Persisted Report Jobs (section 3.2.1.5) and those from the List of Non-Persisted // Report Jobs (section 3.2.1.5) on the server. // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. // // +---------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+----------------------------------------------------------------------------------+ // +---------------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | This return code is returned for the following reasons: The reportJobs parameter | // | | is NULL. | // +---------------------------------+----------------------------------------------------------------------------------+ // | 0x80045311 FSRM_E_NOT_SUPPORTED | The options parameter contains FsrmEnumOptions (section 2.2.1.2.5) values that | // | | are not valid. | // +---------------------------------+----------------------------------------------------------------------------------+ EnumReportJobs(context.Context, *EnumReportJobsRequest, ...dcerpc.CallOption) (*EnumReportJobsResponse, error) // The CreateReportJob method creates a Non-Persisted Report Job Instance (section 3.2.1.5.1.2) // and returns S_OK upon successful completion. // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. // // +-------------------------+----------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+----------------------------------+ // +-------------------------+----------------------------------+ // | 0x80070057 E_INVALIDARG | The reportJob parameter is NULL. | // +-------------------------+----------------------------------+ CreateReportJob(context.Context, *CreateReportJobRequest, ...dcerpc.CallOption) (*CreateReportJobResponse, error) // The GetReportJob method returns the report job associated with the specified task // name from the List of Persisted Report Jobs (section 3.2.1.5). // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. // // +-----------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-----------------------------+----------------------------------------------------------------------------------+ // +-----------------------------+----------------------------------------------------------------------------------+ // | 0x80045301 FSRM_E_NOT_FOUND | The specified report job could not be found. | // +-----------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The taskName parameter is NULL. | // | | The reportJob parameter is NULL. | // +-----------------------------+----------------------------------------------------------------------------------+ GetReportJob(context.Context, *GetReportJobRequest, ...dcerpc.CallOption) (*GetReportJobResponse, error) // The GetOutputDirectory method returns the output directory where storage reports // generated with the specified context will be stored. // // 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 context parameter is not a | // | | valid FsrmReportGenerationContext (section 2.2.1.2.15) value. The path parameter | // | | is NULL. | // +-------------------------+----------------------------------------------------------------------------------+ GetOutputDirectory(context.Context, *GetOutputDirectoryRequest, ...dcerpc.CallOption) (*GetOutputDirectoryResponse, error) // The SetOutputDirectory method sets the output directory where storage reports generated // with the specified context will be stored. // // 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 path parameter is NULL. | // | | The content of the path parameter exceeds the maximum length of 150 characters. | // | | The context parameter is not a valid FsrmReportGenerationContext (section | // | | 2.2.1.2.15) value. | // +-------------------------+----------------------------------------------------------------------------------+ SetOutputDirectory(context.Context, *SetOutputDirectoryRequest, ...dcerpc.CallOption) (*SetOutputDirectoryResponse, error) // The IsFilterValidForReportType method returns an indication of whether a specified // report filter is configurable for the specified report type. // // 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 reportType parameter is | // | | not a valid FsrmReportType 2.2.1.2.10 value. The filter parameter is not a valid | // | | FsrmReportFilter (section 2.2.1.2.16) value. The valid parameter is NULL. | // +-------------------------+----------------------------------------------------------------------------------+ IsFilterValidForReportType(context.Context, *IsFilterValidForReportTypeRequest, ...dcerpc.CallOption) (*IsFilterValidForReportTypeResponse, error) // The GetDefaultFilter method returns the current value of the specified report filter // for the specified report type. // // 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 reportType parameter is not | // | | a valid FsrmReportType (section 2.2.1.2.10) value. The filter parameter is not a | // | | valid FsrmReportFilter (section 2.2.1.2.16) value. The filterValue parameter is | // | | NULL. | // +-------------------------+----------------------------------------------------------------------------------+ GetDefaultFilter(context.Context, *GetDefaultFilterRequest, ...dcerpc.CallOption) (*GetDefaultFilterResponse, error) // The SetDefaultFilter method sets the value of the specified report filter for the // specified report type. // // 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 reportType parameter is not | // | | a valid FsrmReportType (section 2.2.1.2.10) value. The filter parameter is not a | // | | valid FsrmReportFilter (section 2.2.1.2.16) value. The filterValue parameter is | // | | not a valid value for the specified report filter. | // +-------------------------+----------------------------------------------------------------------------------+ SetDefaultFilter(context.Context, *SetDefaultFilterRequest, ...dcerpc.CallOption) (*SetDefaultFilterResponse, error) // The GetReportSizeLimit method returns the report size limit value of the specified // report limit. // // 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 limit parameter is not a | // | | valid FsrmReportLimit (section 2.2.1.2.17) value. The limitValue parameter is | // | | NULL. | // +-------------------------+----------------------------------------------------------------------------------+ GetReportSizeLimit(context.Context, *GetReportSizeLimitRequest, ...dcerpc.CallOption) (*GetReportSizeLimitResponse, error) // The SetReportSizeLimit method sets the report size limit of the specified report // limit. // // 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 limit parameter is not a | // | | valid FsrmReportLimit (section 2.2.1.2.17) value. The limitValue parameter is | // | | not a valid value; it could not be converted to a positive, long number. | // +-------------------------+----------------------------------------------------------------------------------+ SetReportSizeLimit(context.Context, *SetReportSizeLimitRequest, ...dcerpc.CallOption) (*SetReportSizeLimitResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ReportManagerClient }
IFsrmReportManager interface.
func NewReportManagerClient ¶
type ReportManagerServer ¶
type ReportManagerServer interface { // IDispatch base class. idispatch.DispatchServer // The EnumReportJobs method returns a collection of all the report jobs from the List // of Persisted Report Jobs (section 3.2.1.5) and those from the List of Non-Persisted // Report Jobs (section 3.2.1.5) on the server. // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. // // +---------------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +---------------------------------+----------------------------------------------------------------------------------+ // +---------------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | This return code is returned for the following reasons: The reportJobs parameter | // | | is NULL. | // +---------------------------------+----------------------------------------------------------------------------------+ // | 0x80045311 FSRM_E_NOT_SUPPORTED | The options parameter contains FsrmEnumOptions (section 2.2.1.2.5) values that | // | | are not valid. | // +---------------------------------+----------------------------------------------------------------------------------+ EnumReportJobs(context.Context, *EnumReportJobsRequest) (*EnumReportJobsResponse, error) // The CreateReportJob method creates a Non-Persisted Report Job Instance (section 3.2.1.5.1.2) // and returns S_OK upon successful completion. // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. // // +-------------------------+----------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------------+----------------------------------+ // +-------------------------+----------------------------------+ // | 0x80070057 E_INVALIDARG | The reportJob parameter is NULL. | // +-------------------------+----------------------------------+ CreateReportJob(context.Context, *CreateReportJobRequest) (*CreateReportJobResponse, error) // The GetReportJob method returns the report job associated with the specified task // name from the List of Persisted Report Jobs (section 3.2.1.5). // // Return Values: The method MUST return zero on success, or a nonzero error code on // failure. // // +-----------------------------+----------------------------------------------------------------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-----------------------------+----------------------------------------------------------------------------------+ // +-----------------------------+----------------------------------------------------------------------------------+ // | 0x80045301 FSRM_E_NOT_FOUND | The specified report job could not be found. | // +-----------------------------+----------------------------------------------------------------------------------+ // | 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The taskName parameter is NULL. | // | | The reportJob parameter is NULL. | // +-----------------------------+----------------------------------------------------------------------------------+ GetReportJob(context.Context, *GetReportJobRequest) (*GetReportJobResponse, error) // The GetOutputDirectory method returns the output directory where storage reports // generated with the specified context will be stored. // // 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 context parameter is not a | // | | valid FsrmReportGenerationContext (section 2.2.1.2.15) value. The path parameter | // | | is NULL. | // +-------------------------+----------------------------------------------------------------------------------+ GetOutputDirectory(context.Context, *GetOutputDirectoryRequest) (*GetOutputDirectoryResponse, error) // The SetOutputDirectory method sets the output directory where storage reports generated // with the specified context will be stored. // // 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 path parameter is NULL. | // | | The content of the path parameter exceeds the maximum length of 150 characters. | // | | The context parameter is not a valid FsrmReportGenerationContext (section | // | | 2.2.1.2.15) value. | // +-------------------------+----------------------------------------------------------------------------------+ SetOutputDirectory(context.Context, *SetOutputDirectoryRequest) (*SetOutputDirectoryResponse, error) // The IsFilterValidForReportType method returns an indication of whether a specified // report filter is configurable for the specified report type. // // 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 reportType parameter is | // | | not a valid FsrmReportType 2.2.1.2.10 value. The filter parameter is not a valid | // | | FsrmReportFilter (section 2.2.1.2.16) value. The valid parameter is NULL. | // +-------------------------+----------------------------------------------------------------------------------+ IsFilterValidForReportType(context.Context, *IsFilterValidForReportTypeRequest) (*IsFilterValidForReportTypeResponse, error) // The GetDefaultFilter method returns the current value of the specified report filter // for the specified report type. // // 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 reportType parameter is not | // | | a valid FsrmReportType (section 2.2.1.2.10) value. The filter parameter is not a | // | | valid FsrmReportFilter (section 2.2.1.2.16) value. The filterValue parameter is | // | | NULL. | // +-------------------------+----------------------------------------------------------------------------------+ GetDefaultFilter(context.Context, *GetDefaultFilterRequest) (*GetDefaultFilterResponse, error) // The SetDefaultFilter method sets the value of the specified report filter for the // specified report type. // // 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 reportType parameter is not | // | | a valid FsrmReportType (section 2.2.1.2.10) value. The filter parameter is not a | // | | valid FsrmReportFilter (section 2.2.1.2.16) value. The filterValue parameter is | // | | not a valid value for the specified report filter. | // +-------------------------+----------------------------------------------------------------------------------+ SetDefaultFilter(context.Context, *SetDefaultFilterRequest) (*SetDefaultFilterResponse, error) // The GetReportSizeLimit method returns the report size limit value of the specified // report limit. // // 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 limit parameter is not a | // | | valid FsrmReportLimit (section 2.2.1.2.17) value. The limitValue parameter is | // | | NULL. | // +-------------------------+----------------------------------------------------------------------------------+ GetReportSizeLimit(context.Context, *GetReportSizeLimitRequest) (*GetReportSizeLimitResponse, error) // The SetReportSizeLimit method sets the report size limit of the specified report // limit. // // 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 limit parameter is not a | // | | valid FsrmReportLimit (section 2.2.1.2.17) value. The limitValue parameter is | // | | not a valid value; it could not be converted to a positive, long number. | // +-------------------------+----------------------------------------------------------------------------------+ SetReportSizeLimit(context.Context, *SetReportSizeLimitRequest) (*SetReportSizeLimitResponse, error) }
IFsrmReportManager server interface.
type SetDefaultFilterRequest ¶
type SetDefaultFilterRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // reportType: Contains the value from the FsrmReportType (section 2.2.1.2.10) enumeration. ReportType fsrm.ReportType `idl:"name:reportType" json:"report_type"` // filter: Contains the value from the FsrmReportFilter (section 2.2.1.2.16) enumeration. Filter fsrm.ReportFilter `idl:"name:filter" json:"filter"` // filterValue: Contains the value of the specified filter for the specified report // type. FilterValue *oaut.Variant `idl:"name:filterValue" json:"filter_value"` }
SetDefaultFilterRequest structure represents the SetDefaultFilter operation request
func (*SetDefaultFilterRequest) MarshalNDR ¶
func (*SetDefaultFilterRequest) UnmarshalNDR ¶
type SetDefaultFilterResponse ¶
type SetDefaultFilterResponse 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 SetDefaultFilter return value. Return int32 `idl:"name:Return" json:"return"` }
SetDefaultFilterResponse structure represents the SetDefaultFilter operation response
func (*SetDefaultFilterResponse) MarshalNDR ¶
func (*SetDefaultFilterResponse) UnmarshalNDR ¶
type SetOutputDirectoryRequest ¶
type SetOutputDirectoryRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // context: Contains the value from the FsrmReportGenerationContext (section 2.2.1.2.15) // enumeration of the context to set. Context fsrm.ReportGenerationContext `idl:"name:context" json:"context"` // path: Contains the output directory where storage reports generated with the specified // context will be stored. The maximum length of this string MUST be 150 characters. Path *oaut.String `idl:"name:path" json:"path"` }
SetOutputDirectoryRequest structure represents the SetOutputDirectory operation request
func (*SetOutputDirectoryRequest) MarshalNDR ¶
func (*SetOutputDirectoryRequest) UnmarshalNDR ¶
type SetOutputDirectoryResponse ¶
type SetOutputDirectoryResponse 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 SetOutputDirectory return value. Return int32 `idl:"name:Return" json:"return"` }
SetOutputDirectoryResponse structure represents the SetOutputDirectory operation response
func (*SetOutputDirectoryResponse) MarshalNDR ¶
func (*SetOutputDirectoryResponse) UnmarshalNDR ¶
type SetReportSizeLimitRequest ¶
type SetReportSizeLimitRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // limit: Contains the value from the FsrmReportLimit (section 2.2.1.2.17) enumeration // indicating the report size limit that is set. Limit fsrm.ReportLimit `idl:"name:limit" json:"limit"` // limitValue: Contains the value of the specified report size limit. LimitValue *oaut.Variant `idl:"name:limitValue" json:"limit_value"` }
SetReportSizeLimitRequest structure represents the SetReportSizeLimit operation request
func (*SetReportSizeLimitRequest) MarshalNDR ¶
func (*SetReportSizeLimitRequest) UnmarshalNDR ¶
type SetReportSizeLimitResponse ¶
type SetReportSizeLimitResponse 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 SetReportSizeLimit return value. Return int32 `idl:"name:Return" json:"return"` }
SetReportSizeLimitResponse structure represents the SetReportSizeLimit operation response