Documentation ¶
Index ¶
- func PossibleValuesForExecutionStatus() []string
- func PossibleValuesForExecutionType() []string
- func PossibleValuesForExportType() []string
- func PossibleValuesForFormatType() []string
- func PossibleValuesForGranularityType() []string
- func PossibleValuesForRecurrenceType() []string
- func PossibleValuesForStatusType() []string
- func PossibleValuesForTimeframeType() []string
- func ValidateScopedExportID(input interface{}, key string) (warnings []string, errors []error)
- type CommonExportProperties
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ErrorDetails
- type ExecuteOperationResponse
- type ExecutionStatus
- type ExecutionType
- type Export
- type ExportDataset
- type ExportDatasetConfiguration
- type ExportDefinition
- type ExportDeliveryDestination
- type ExportDeliveryInfo
- type ExportExecution
- type ExportExecutionListResult
- type ExportExecutionProperties
- func (o *ExportExecutionProperties) GetProcessingEndTimeAsTime() (*time.Time, error)
- func (o *ExportExecutionProperties) GetProcessingStartTimeAsTime() (*time.Time, error)
- func (o *ExportExecutionProperties) GetSubmittedTimeAsTime() (*time.Time, error)
- func (o *ExportExecutionProperties) SetProcessingEndTimeAsTime(input time.Time)
- func (o *ExportExecutionProperties) SetProcessingStartTimeAsTime(input time.Time)
- func (o *ExportExecutionProperties) SetSubmittedTimeAsTime(input time.Time)
- type ExportListResult
- type ExportProperties
- type ExportRecurrencePeriod
- type ExportSchedule
- type ExportTimePeriod
- type ExportType
- type ExportsClient
- func (c ExportsClient) CreateOrUpdate(ctx context.Context, id ScopedExportId, input Export) (result CreateOrUpdateOperationResponse, err error)
- func (c ExportsClient) Delete(ctx context.Context, id ScopedExportId) (result DeleteOperationResponse, err error)
- func (c ExportsClient) Execute(ctx context.Context, id ScopedExportId) (result ExecuteOperationResponse, err error)
- func (c ExportsClient) Get(ctx context.Context, id ScopedExportId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c ExportsClient) GetExecutionHistory(ctx context.Context, id ScopedExportId) (result GetExecutionHistoryOperationResponse, err error)
- func (c ExportsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (result ListOperationResponse, err error)
- type FormatType
- type GetExecutionHistoryOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type GranularityType
- type ListOperationOptions
- type ListOperationResponse
- type RecurrenceType
- type ScopedExportId
- type StatusType
- type TimeframeType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExecutionStatus ¶
func PossibleValuesForExecutionStatus() []string
func PossibleValuesForExecutionType ¶
func PossibleValuesForExecutionType() []string
func PossibleValuesForExportType ¶
func PossibleValuesForExportType() []string
func PossibleValuesForFormatType ¶
func PossibleValuesForFormatType() []string
func PossibleValuesForGranularityType ¶
func PossibleValuesForGranularityType() []string
func PossibleValuesForRecurrenceType ¶
func PossibleValuesForRecurrenceType() []string
func PossibleValuesForStatusType ¶
func PossibleValuesForStatusType() []string
func PossibleValuesForTimeframeType ¶
func PossibleValuesForTimeframeType() []string
func ValidateScopedExportID ¶
ValidateScopedExportID checks that 'input' can be parsed as a Scoped Export ID
Types ¶
type CommonExportProperties ¶
type CommonExportProperties struct { Definition ExportDefinition `json:"definition"` DeliveryInfo ExportDeliveryInfo `json:"deliveryInfo"` Format *FormatType `json:"format,omitempty"` NextRunTimeEstimate *string `json:"nextRunTimeEstimate,omitempty"` PartitionData *bool `json:"partitionData,omitempty"` RunHistory *ExportExecutionListResult `json:"runHistory,omitempty"` }
func (*CommonExportProperties) GetNextRunTimeEstimateAsTime ¶
func (o *CommonExportProperties) GetNextRunTimeEstimateAsTime() (*time.Time, error)
func (*CommonExportProperties) SetNextRunTimeEstimateAsTime ¶
func (o *CommonExportProperties) SetNextRunTimeEstimateAsTime(input time.Time)
type DeleteOperationResponse ¶
type ErrorDetails ¶
type ExecutionStatus ¶
type ExecutionStatus string
const ( ExecutionStatusCompleted ExecutionStatus = "Completed" ExecutionStatusDataNotAvailable ExecutionStatus = "DataNotAvailable" ExecutionStatusFailed ExecutionStatus = "Failed" ExecutionStatusInProgress ExecutionStatus = "InProgress" ExecutionStatusNewDataNotAvailable ExecutionStatus = "NewDataNotAvailable" ExecutionStatusQueued ExecutionStatus = "Queued" ExecutionStatusTimeout ExecutionStatus = "Timeout" )
func (*ExecutionStatus) UnmarshalJSON ¶
func (s *ExecutionStatus) UnmarshalJSON(bytes []byte) error
type ExecutionType ¶
type ExecutionType string
const ( ExecutionTypeOnDemand ExecutionType = "OnDemand" ExecutionTypeScheduled ExecutionType = "Scheduled" )
func (*ExecutionType) UnmarshalJSON ¶
func (s *ExecutionType) UnmarshalJSON(bytes []byte) error
type Export ¶
type Export struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ExportProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ExportDataset ¶
type ExportDataset struct { Configuration *ExportDatasetConfiguration `json:"configuration,omitempty"` Granularity *GranularityType `json:"granularity,omitempty"` }
type ExportDatasetConfiguration ¶
type ExportDatasetConfiguration struct {
Columns *[]string `json:"columns,omitempty"`
}
type ExportDefinition ¶
type ExportDefinition struct { DataSet *ExportDataset `json:"dataSet,omitempty"` TimePeriod *ExportTimePeriod `json:"timePeriod,omitempty"` Timeframe TimeframeType `json:"timeframe"` Type ExportType `json:"type"` }
type ExportDeliveryInfo ¶
type ExportDeliveryInfo struct {
Destination ExportDeliveryDestination `json:"destination"`
}
type ExportExecution ¶
type ExportExecution struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ExportExecutionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ExportExecutionListResult ¶
type ExportExecutionListResult struct {
Value *[]ExportExecution `json:"value,omitempty"`
}
type ExportExecutionProperties ¶
type ExportExecutionProperties struct { Error *ErrorDetails `json:"error,omitempty"` ExecutionType *ExecutionType `json:"executionType,omitempty"` FileName *string `json:"fileName,omitempty"` ProcessingEndTime *string `json:"processingEndTime,omitempty"` ProcessingStartTime *string `json:"processingStartTime,omitempty"` RunSettings *CommonExportProperties `json:"runSettings,omitempty"` Status *ExecutionStatus `json:"status,omitempty"` SubmittedBy *string `json:"submittedBy,omitempty"` SubmittedTime *string `json:"submittedTime,omitempty"` }
func (*ExportExecutionProperties) GetProcessingEndTimeAsTime ¶
func (o *ExportExecutionProperties) GetProcessingEndTimeAsTime() (*time.Time, error)
func (*ExportExecutionProperties) GetProcessingStartTimeAsTime ¶
func (o *ExportExecutionProperties) GetProcessingStartTimeAsTime() (*time.Time, error)
func (*ExportExecutionProperties) GetSubmittedTimeAsTime ¶
func (o *ExportExecutionProperties) GetSubmittedTimeAsTime() (*time.Time, error)
func (*ExportExecutionProperties) SetProcessingEndTimeAsTime ¶
func (o *ExportExecutionProperties) SetProcessingEndTimeAsTime(input time.Time)
func (*ExportExecutionProperties) SetProcessingStartTimeAsTime ¶
func (o *ExportExecutionProperties) SetProcessingStartTimeAsTime(input time.Time)
func (*ExportExecutionProperties) SetSubmittedTimeAsTime ¶
func (o *ExportExecutionProperties) SetSubmittedTimeAsTime(input time.Time)
type ExportListResult ¶
type ExportListResult struct {
Value *[]Export `json:"value,omitempty"`
}
type ExportProperties ¶
type ExportProperties struct { Definition ExportDefinition `json:"definition"` DeliveryInfo ExportDeliveryInfo `json:"deliveryInfo"` Format *FormatType `json:"format,omitempty"` NextRunTimeEstimate *string `json:"nextRunTimeEstimate,omitempty"` PartitionData *bool `json:"partitionData,omitempty"` RunHistory *ExportExecutionListResult `json:"runHistory,omitempty"` Schedule *ExportSchedule `json:"schedule,omitempty"` }
func (*ExportProperties) GetNextRunTimeEstimateAsTime ¶
func (o *ExportProperties) GetNextRunTimeEstimateAsTime() (*time.Time, error)
func (*ExportProperties) SetNextRunTimeEstimateAsTime ¶
func (o *ExportProperties) SetNextRunTimeEstimateAsTime(input time.Time)
type ExportRecurrencePeriod ¶
func (*ExportRecurrencePeriod) GetFromAsTime ¶
func (o *ExportRecurrencePeriod) GetFromAsTime() (*time.Time, error)
func (*ExportRecurrencePeriod) GetToAsTime ¶
func (o *ExportRecurrencePeriod) GetToAsTime() (*time.Time, error)
func (*ExportRecurrencePeriod) SetFromAsTime ¶
func (o *ExportRecurrencePeriod) SetFromAsTime(input time.Time)
func (*ExportRecurrencePeriod) SetToAsTime ¶
func (o *ExportRecurrencePeriod) SetToAsTime(input time.Time)
type ExportSchedule ¶
type ExportSchedule struct { Recurrence *RecurrenceType `json:"recurrence,omitempty"` RecurrencePeriod *ExportRecurrencePeriod `json:"recurrencePeriod,omitempty"` Status *StatusType `json:"status,omitempty"` }
type ExportTimePeriod ¶
func (*ExportTimePeriod) GetFromAsTime ¶
func (o *ExportTimePeriod) GetFromAsTime() (*time.Time, error)
func (*ExportTimePeriod) GetToAsTime ¶
func (o *ExportTimePeriod) GetToAsTime() (*time.Time, error)
func (*ExportTimePeriod) SetFromAsTime ¶
func (o *ExportTimePeriod) SetFromAsTime(input time.Time)
func (*ExportTimePeriod) SetToAsTime ¶
func (o *ExportTimePeriod) SetToAsTime(input time.Time)
type ExportType ¶
type ExportType string
const ( ExportTypeActualCost ExportType = "ActualCost" ExportTypeAmortizedCost ExportType = "AmortizedCost" ExportTypeUsage ExportType = "Usage" )
func (*ExportType) UnmarshalJSON ¶
func (s *ExportType) UnmarshalJSON(bytes []byte) error
type ExportsClient ¶
type ExportsClient struct {
Client *resourcemanager.Client
}
func NewExportsClientWithBaseURI ¶
func NewExportsClientWithBaseURI(sdkApi sdkEnv.Api) (*ExportsClient, error)
func (ExportsClient) CreateOrUpdate ¶
func (c ExportsClient) CreateOrUpdate(ctx context.Context, id ScopedExportId, input Export) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ExportsClient) Delete ¶
func (c ExportsClient) Delete(ctx context.Context, id ScopedExportId) (result DeleteOperationResponse, err error)
Delete ...
func (ExportsClient) Execute ¶
func (c ExportsClient) Execute(ctx context.Context, id ScopedExportId) (result ExecuteOperationResponse, err error)
Execute ...
func (ExportsClient) Get ¶
func (c ExportsClient) Get(ctx context.Context, id ScopedExportId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (ExportsClient) GetExecutionHistory ¶
func (c ExportsClient) GetExecutionHistory(ctx context.Context, id ScopedExportId) (result GetExecutionHistoryOperationResponse, err error)
GetExecutionHistory ...
func (ExportsClient) List ¶
func (c ExportsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
type FormatType ¶
type FormatType string
const (
FormatTypeCsv FormatType = "Csv"
)
func (*FormatType) UnmarshalJSON ¶
func (s *FormatType) UnmarshalJSON(bytes []byte) error
type GetExecutionHistoryOperationResponse ¶
type GetExecutionHistoryOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExportExecutionListResult }
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GranularityType ¶
type GranularityType string
const (
GranularityTypeDaily GranularityType = "Daily"
)
func (*GranularityType) UnmarshalJSON ¶
func (s *GranularityType) UnmarshalJSON(bytes []byte) error
type ListOperationOptions ¶
type ListOperationOptions struct {
Expand *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ExportListResult }
type RecurrenceType ¶
type RecurrenceType string
const ( RecurrenceTypeAnnually RecurrenceType = "Annually" RecurrenceTypeDaily RecurrenceType = "Daily" RecurrenceTypeMonthly RecurrenceType = "Monthly" RecurrenceTypeWeekly RecurrenceType = "Weekly" )
func (*RecurrenceType) UnmarshalJSON ¶
func (s *RecurrenceType) UnmarshalJSON(bytes []byte) error
type ScopedExportId ¶
ScopedExportId is a struct representing the Resource ID for a Scoped Export
func NewScopedExportID ¶
func NewScopedExportID(scope string, exportName string) ScopedExportId
NewScopedExportID returns a new ScopedExportId struct
func ParseScopedExportID ¶
func ParseScopedExportID(input string) (*ScopedExportId, error)
ParseScopedExportID parses 'input' into a ScopedExportId
func ParseScopedExportIDInsensitively ¶
func ParseScopedExportIDInsensitively(input string) (*ScopedExportId, error)
ParseScopedExportIDInsensitively parses 'input' case-insensitively into a ScopedExportId note: this method should only be used for API response data and not user input
func (*ScopedExportId) FromParseResult ¶
func (id *ScopedExportId) FromParseResult(input resourceids.ParseResult) error
func (ScopedExportId) ID ¶
func (id ScopedExportId) ID() string
ID returns the formatted Scoped Export ID
func (ScopedExportId) Segments ¶
func (id ScopedExportId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Export ID
func (ScopedExportId) String ¶
func (id ScopedExportId) String() string
String returns a human-readable description of this Scoped Export ID
type StatusType ¶
type StatusType string
const ( StatusTypeActive StatusType = "Active" StatusTypeInactive StatusType = "Inactive" )
func (*StatusType) UnmarshalJSON ¶
func (s *StatusType) UnmarshalJSON(bytes []byte) error
type TimeframeType ¶
type TimeframeType string
const ( TimeframeTypeBillingMonthToDate TimeframeType = "BillingMonthToDate" TimeframeTypeCustom TimeframeType = "Custom" TimeframeTypeMonthToDate TimeframeType = "MonthToDate" TimeframeTypeTheLastBillingMonth TimeframeType = "TheLastBillingMonth" TimeframeTypeTheLastMonth TimeframeType = "TheLastMonth" TimeframeTypeWeekToDate TimeframeType = "WeekToDate" )
func (*TimeframeType) UnmarshalJSON ¶
func (s *TimeframeType) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_scopedexport.go
- method_createorupdate.go
- method_delete.go
- method_execute.go
- method_get.go
- method_getexecutionhistory.go
- method_list.go
- model_commonexportproperties.go
- model_errordetails.go
- model_export.go
- model_exportdataset.go
- model_exportdatasetconfiguration.go
- model_exportdefinition.go
- model_exportdeliverydestination.go
- model_exportdeliveryinfo.go
- model_exportexecution.go
- model_exportexecutionlistresult.go
- model_exportexecutionproperties.go
- model_exportlistresult.go
- model_exportproperties.go
- model_exportrecurrenceperiod.go
- model_exportschedule.go
- model_exporttimeperiod.go
- version.go