Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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 struct + Definition ExportDefinition + DeliveryInfo ExportDeliveryInfo + Format *FormatType + NextRunTimeEstimate *string + PartitionData *bool + RunHistory *ExportExecutionListResult + func (o *CommonExportProperties) GetNextRunTimeEstimateAsTime() (*time.Time, error) + func (o *CommonExportProperties) SetNextRunTimeEstimateAsTime(input time.Time) + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *Export + OData *odata.OData + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type ErrorDetails struct + Code *string + Message *string + type ExecuteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type ExecutionStatus string + const ExecutionStatusCompleted + const ExecutionStatusDataNotAvailable + const ExecutionStatusFailed + const ExecutionStatusInProgress + const ExecutionStatusNewDataNotAvailable + const ExecutionStatusQueued + const ExecutionStatusTimeout + func (s *ExecutionStatus) UnmarshalJSON(bytes []byte) error + type ExecutionType string + const ExecutionTypeOnDemand + const ExecutionTypeScheduled + func (s *ExecutionType) UnmarshalJSON(bytes []byte) error + type Export struct + ETag *string + Id *string + Name *string + Properties *ExportProperties + Type *string + type ExportDataset struct + Configuration *ExportDatasetConfiguration + Granularity *GranularityType + type ExportDatasetConfiguration struct + Columns *[]string + type ExportDefinition struct + DataSet *ExportDataset + TimePeriod *ExportTimePeriod + Timeframe TimeframeType + Type ExportType + type ExportDeliveryDestination struct + Container string + ResourceId *string + RootFolderPath *string + SasToken *string + StorageAccount *string + type ExportDeliveryInfo struct + Destination ExportDeliveryDestination + type ExportExecutionListResult struct + Value *[]ExportRun + type ExportListResult struct + Value *[]Export + type ExportProperties struct + Definition ExportDefinition + DeliveryInfo ExportDeliveryInfo + Format *FormatType + NextRunTimeEstimate *string + PartitionData *bool + RunHistory *ExportExecutionListResult + Schedule *ExportSchedule + func (o *ExportProperties) GetNextRunTimeEstimateAsTime() (*time.Time, error) + func (o *ExportProperties) SetNextRunTimeEstimateAsTime(input time.Time) + type ExportRecurrencePeriod struct + From string + To *string + func (o *ExportRecurrencePeriod) GetFromAsTime() (*time.Time, error) + func (o *ExportRecurrencePeriod) GetToAsTime() (*time.Time, error) + func (o *ExportRecurrencePeriod) SetFromAsTime(input time.Time) + func (o *ExportRecurrencePeriod) SetToAsTime(input time.Time) + type ExportRun struct + ETag *string + Id *string + Name *string + Properties *ExportRunProperties + Type *string + type ExportRunProperties struct + Error *ErrorDetails + ExecutionType *ExecutionType + FileName *string + ProcessingEndTime *string + ProcessingStartTime *string + RunSettings *CommonExportProperties + Status *ExecutionStatus + SubmittedBy *string + SubmittedTime *string + func (o *ExportRunProperties) GetProcessingEndTimeAsTime() (*time.Time, error) + func (o *ExportRunProperties) GetProcessingStartTimeAsTime() (*time.Time, error) + func (o *ExportRunProperties) GetSubmittedTimeAsTime() (*time.Time, error) + func (o *ExportRunProperties) SetProcessingEndTimeAsTime(input time.Time) + func (o *ExportRunProperties) SetProcessingStartTimeAsTime(input time.Time) + func (o *ExportRunProperties) SetSubmittedTimeAsTime(input time.Time) + type ExportSchedule struct + Recurrence *RecurrenceType + RecurrencePeriod *ExportRecurrencePeriod + Status *StatusType + type ExportTimePeriod struct + From string + To string + func (o *ExportTimePeriod) GetFromAsTime() (*time.Time, error) + func (o *ExportTimePeriod) GetToAsTime() (*time.Time, error) + func (o *ExportTimePeriod) SetFromAsTime(input time.Time) + func (o *ExportTimePeriod) SetToAsTime(input time.Time) + type ExportType string + const ExportTypeActualCost + const ExportTypeAmortizedCost + const ExportTypeUsage + func (s *ExportType) UnmarshalJSON(bytes []byte) error + type ExportsClient struct + Client *resourcemanager.Client + func NewExportsClientWithBaseURI(sdkApi sdkEnv.Api) (*ExportsClient, error) + 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 string + const FormatTypeCsv + func (s *FormatType) UnmarshalJSON(bytes []byte) error + type GetExecutionHistoryOperationResponse struct + HttpResponse *http.Response + Model *ExportExecutionListResult + OData *odata.OData + type GetOperationOptions struct + Expand *string + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *Export + OData *odata.OData + type GranularityType string + const GranularityTypeDaily + func (s *GranularityType) UnmarshalJSON(bytes []byte) error + type ListOperationOptions struct + Expand *string + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *ExportListResult + OData *odata.OData + type RecurrenceType string + const RecurrenceTypeAnnually + const RecurrenceTypeDaily + const RecurrenceTypeMonthly + const RecurrenceTypeWeekly + func (s *RecurrenceType) UnmarshalJSON(bytes []byte) error + type ScopedExportId struct + ExportName string + Scope string + func NewScopedExportID(scope string, exportName string) ScopedExportId + func ParseScopedExportID(input string) (*ScopedExportId, error) + func ParseScopedExportIDInsensitively(input string) (*ScopedExportId, error) + func (id *ScopedExportId) FromParseResult(input resourceids.ParseResult) error + func (id ScopedExportId) ID() string + func (id ScopedExportId) Segments() []resourceids.Segment + func (id ScopedExportId) String() string + type StatusType string + const StatusTypeActive + const StatusTypeInactive + func (s *StatusType) UnmarshalJSON(bytes []byte) error + type TimeframeType string + const TimeframeTypeBillingMonthToDate + const TimeframeTypeCustom + const TimeframeTypeMonthToDate + const TimeframeTypeTheLastBillingMonth + const TimeframeTypeTheLastMonth + const TimeframeTypeWeekToDate + func (s *TimeframeType) UnmarshalJSON(bytes []byte) error