Documentation ¶
Index ¶
- Variables
- type APIManagement
- type ActiveDirectoryDomainService
- type ActiveDirectoryDomainServiceReplicaSet
- type AppServiceCertificateBinding
- type AppServiceCertificateOrder
- type AppServiceCustomHostnameBinding
- type AppServiceEnvironment
- type AppServicePlan
- type ApplicationInsights
- type ApplicationInsightsWebTest
- type AutomationAccount
- type AutomationDSCConfiguration
- type AutomationDSCNodeConfiguration
- type AutomationJobSchedule
- type ContainerRegistry
- type DNSAAAARecord
- type DNSARecord
- type DNSCAARecord
- type DNSCNameRecord
- type DNSMXRecord
- type DNSNSRecord
- type DNSPtrRecord
- type DNSSrvRecord
- type DNSTxtRecord
- type DataFactory
- type DataFactoryIntegrationRuntimeAzure
- type DataFactoryIntegrationRuntimeAzureSSIS
- type DataFactoryIntegrationRuntimeManaged
- type DataFactoryIntegrationRuntimeSelfHosted
- type DatabricksWorkspace
- type ExpressRouteConnection
- type ExpressRouteGateway
- type Frontdoor
- type FrontdoorFirewallPolicy
- type LogAnalyticsWorkspace
- type MySQLFlexibleServer
- type PostgreSQLFlexibleServer
- type PrivateDNSAAAARecord
- type PrivateDNSARecord
- type PrivateDNSCNameRecord
- type PrivateDNSMXRecord
- type PrivateDNSPTRRecord
- type PrivateDNSSRVRecord
- type PrivateDNSTXTRecord
- type SQLDatabase
- type SQLManagedInstance
- type StorageAccount
- type VPNGateway
- type VPNGatewayConnection
- type VirtualHub
Constants ¶
This section is empty.
Variables ¶
var APIManagementUsageSchema = []*schema.UsageItem{{Key: "self_hosted_gateway_count", ValueType: schema.Int64, DefaultValue: 0}, {Key: "monthly_api_calls", ValueType: schema.Int64, DefaultValue: 0}}
var ActiveDirectoryDomainServiceReplicaSetUsageSchema = []*schema.UsageItem{}
var ActiveDirectoryDomainServiceUsageSchema = []*schema.UsageItem{}
var AppServiceCertificateBindingUsageSchema = []*schema.UsageItem{}
var AppServiceCertificateOrderUsageSchema = []*schema.UsageItem{}
var AppServiceCustomHostnameBindingUsageSchema = []*schema.UsageItem{}
var AppServiceEnvironmentUsageSchema = []*schema.UsageItem{{Key: "operating_system", ValueType: schema.String, DefaultValue: "linux"}}
var AppServicePlanUsageSchema = []*schema.UsageItem{}
var ApplicationInsightsUsageSchema = []*schema.UsageItem{{Key: "monthly_data_ingested_gb", ValueType: schema.Float64, DefaultValue: 0}}
var ApplicationInsightsWebTestUsageSchema = []*schema.UsageItem{}
var AutomationAccountUsageSchema = []*schema.UsageItem{{Key: "monthly_job_run_mins", ValueType: schema.Int64, DefaultValue: 0}, {Key: "non_azure_config_node_count", ValueType: schema.Int64, DefaultValue: 0}, {Key: "monthly_watcher_hrs", ValueType: schema.Int64, DefaultValue: 0}}
var AutomationDSCConfigurationUsageSchema = []*schema.UsageItem{{Key: "non_azure_config_node_count", ValueType: schema.Int64, DefaultValue: 0}}
var AutomationDSCNodeConfigurationUsageSchema = []*schema.UsageItem{{Key: "non_azure_config_node_count", ValueType: schema.Int64, DefaultValue: 0}}
var AutomationJobScheduleUsageSchema = []*schema.UsageItem{{Key: "monthly_job_run_mins", ValueType: schema.Int64, DefaultValue: 0}}
var ContainerRegistryUsageSchema = []*schema.UsageItem{{Key: "storage_gb", ValueType: schema.Float64, DefaultValue: 0}, {Key: "monthly_build_vcpu_hrs", ValueType: schema.Float64, DefaultValue: 0}}
var DNSAAAARecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var DNSARecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var DNSCAARecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var DNSCNameRecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var DNSMXRecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var DNSNSRecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var DNSPtrRecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var DNSSrvRecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var DNSTxtRecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var DataFactoryIntegrationRuntimeAzureSSISUsageSchema = []*schema.UsageItem{}
DataFactoryIntegrationRuntimeAzureSSISUsageSchema defines a list which represents the usage schema of DataFactoryIntegrationRuntimeAzureSSIS.
var DataFactoryIntegrationRuntimeAzureUsageSchema = []*schema.UsageItem{ {Key: "monthly_orchestration_runs", DefaultValue: 0, ValueType: schema.Int64}, }
DataFactoryIntegrationRuntimeAzureUsageSchema defines a list which represents the usage schema of DataFactoryIntegrationRuntimeAzure.
var DataFactoryIntegrationRuntimeManagedUsageSchema = []*schema.UsageItem{ {Key: "monthly_orchestration_runs", DefaultValue: 0, ValueType: schema.Int64}, }
DataFactoryIntegrationRuntimeManagedUsageSchema defines a list which represents the usage schema of DataFactoryIntegrationRuntimeManaged.
var DataFactoryIntegrationRuntimeSelfHostedUsageSchema = []*schema.UsageItem{ {Key: "monthly_orchestration_runs", DefaultValue: 0, ValueType: schema.Int64}, }
DataFactoryIntegrationRuntimeSelfHostedUsageSchema defines a list which represents the usage schema of DataFactoryIntegrationRuntimeSelfHosted.
var DataFactoryUsageSchema = []*schema.UsageItem{ {Key: "monthly_read_write_operation_entities", DefaultValue: 0, ValueType: schema.Int64}, {Key: "monthly_monitoring_operation_entities", DefaultValue: 0, ValueType: schema.Int64}, }
DataFactoryUsageSchema defines a list which represents the usage schema of DataFactory.
var DatabricksWorkspaceUsageSchema = []*schema.UsageItem{{Key: "monthly_all_purpose_compute_dbu_hrs", ValueType: schema.Int64, DefaultValue: 0}, {Key: "monthly_jobs_compute_dbu_hrs", ValueType: schema.Int64, DefaultValue: 0}, {Key: "monthly_jobs_light_compute_dbu_hrs", ValueType: schema.Int64, DefaultValue: 0}}
var FrontdoorFirewallPolicyUsageSchema = []*schema.UsageItem{ {Key: "monthly_custom_rule_requests", DefaultValue: 0, ValueType: schema.Int64}, {Key: "monthly_managed_ruleset_requests", DefaultValue: 0, ValueType: schema.Int64}, }
FrontdoorFirewallPolicyUsageSchema defines a list which represents the usage schema of FrontdoorFirewallPolicy.
var FrontdoorUsageSchema = []*schema.UsageItem{ {Key: "monthly_inbound_data_transfer_gb", DefaultValue: 0, ValueType: schema.Float64}, { Key: "monthly_outbound_data_transfer_gb", DefaultValue: &usage.ResourceUsage{Name: "monthly_outbound_data_transfer_gb", Items: frontdoorOutboundDataUsageSchema}, ValueType: schema.SubResourceUsage, }, }
FrontdoorUsageSchema defines a list which represents the usage schema of Frontdoor.
var LogAnalyticsWorkspaceUsageSchema = []*schema.UsageItem{ { Key: "monthly_log_data_ingestion_gb", DefaultValue: 0, ValueType: schema.Float64, }, { Key: "monthly_additional_log_data_retention_gb", DefaultValue: 0, ValueType: schema.Float64, }, { Key: "monthly_log_data_export_gb", DefaultValue: 0, ValueType: schema.Float64, }, { Key: "monthly_sentinel_data_ingestion_gb", DefaultValue: 0, ValueType: schema.Float64, }, }
LogAnalyticsWorkspaceUsageSchema defines a list which represents the usage schema of LogAnalyticsWorkspace.
var MySQLFlexibleServerUsageSchema = []*schema.UsageItem{ {Key: "additional_backup_storage_gb", DefaultValue: 0, ValueType: schema.Float64}, }
MySQLFlexibleServerUsageSchema defines a list which represents the usage schema of MySQLFlexibleServer.
var P2SVPNGatewayUsageSchema = []*schema.UsageItem{ {Key: "monthly_p2s_connections_hrs", DefaultValue: 0, ValueType: schema.Float64}, }
P2SVPNGatewayUsageSchema defines a list which represents the usage schema of VPNGateway if of type P2S.
var PostgreSQLFlexibleServerUsageSchema = []*schema.UsageItem{ {Key: "additional_backup_storage_gb", DefaultValue: 0, ValueType: schema.Float64}, }
PostgreSQLFlexibleServerUsageSchema defines a list which represents the usage schema of PostgreSQLFlexibleServer.
var PrivateDNSAAAARecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var PrivateDNSARecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var PrivateDNSCNameRecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var PrivateDNSMXRecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var PrivateDNSPTRRecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var PrivateDNSSRVRecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var PrivateDNSTXTRecordUsageSchema = []*schema.UsageItem{{Key: "monthly_queries", ValueType: schema.Int64, DefaultValue: 0}}
var StorageAccountUsageSchema = []*schema.UsageItem{ {Key: "storage_gb", DefaultValue: 0, ValueType: schema.Float64}, {Key: "monthly_iterative_read_operations", DefaultValue: 0, ValueType: schema.Int64}, {Key: "monthly_read_operations", DefaultValue: 0, ValueType: schema.Int64}, {Key: "monthly_iterative_write_operations", DefaultValue: 0, ValueType: schema.Int64}, {Key: "monthly_write_operations", DefaultValue: 0, ValueType: schema.Int64}, {Key: "monthly_list_and_create_container_operations", DefaultValue: 0, ValueType: schema.Int64}, {Key: "monthly_other_operations", DefaultValue: 0, ValueType: schema.Int64}, {Key: "monthly_data_retrieval_gb", DefaultValue: 0, ValueType: schema.Float64}, {Key: "monthly_data_write_gb", DefaultValue: 0, ValueType: schema.Float64}, {Key: "blob_index_tags", DefaultValue: 0, ValueType: schema.Int64}, {Key: "data_at_rest_storage_gb", DefaultValue: 0, ValueType: schema.Float64}, {Key: "snapshots_storage_gb", DefaultValue: 0, ValueType: schema.Float64}, {Key: "metadata_at_rest_storage_gb", DefaultValue: 0, ValueType: schema.Float64}, {Key: "early_deletion_gb", DefaultValue: 0, ValueType: schema.Float64}, }
StorageAccountUsageSchema defines a list which represents the usage schema of StorageAccount.
var VirtualHubUsageSchema = []*schema.UsageItem{ {Key: "monthly_data_processed_gb", DefaultValue: 0, ValueType: schema.Float64}, }
VirtualHubUsageSchema defines a list which represents the usage schema of VirtualHub.
Functions ¶
This section is empty.
Types ¶
type APIManagement ¶ added in v0.9.23
type APIManagement struct { Address string Region string SKUName string SelfHostedGatewayCount *int64 `infracost_usage:"self_hosted_gateway_count"` MonthlyAPICalls *int64 `infracost_usage:"monthly_api_calls"` }
func (*APIManagement) BuildResource ¶ added in v0.9.23
func (r *APIManagement) BuildResource() *schema.Resource
func (*APIManagement) PopulateUsage ¶ added in v0.9.23
func (r *APIManagement) PopulateUsage(u *schema.UsageData)
type ActiveDirectoryDomainService ¶ added in v0.10.4
func (*ActiveDirectoryDomainService) BuildResource ¶ added in v0.10.4
func (r *ActiveDirectoryDomainService) BuildResource() *schema.Resource
func (*ActiveDirectoryDomainService) PopulateUsage ¶ added in v0.10.4
func (r *ActiveDirectoryDomainService) PopulateUsage(u *schema.UsageData)
type ActiveDirectoryDomainServiceReplicaSet ¶ added in v0.10.4
type ActiveDirectoryDomainServiceReplicaSet struct { Address string Region string DomainServiceIDSKU string }
func (*ActiveDirectoryDomainServiceReplicaSet) BuildResource ¶ added in v0.10.4
func (r *ActiveDirectoryDomainServiceReplicaSet) BuildResource() *schema.Resource
func (*ActiveDirectoryDomainServiceReplicaSet) PopulateUsage ¶ added in v0.10.4
func (r *ActiveDirectoryDomainServiceReplicaSet) PopulateUsage(u *schema.UsageData)
type AppServiceCertificateBinding ¶ added in v0.9.23
func (*AppServiceCertificateBinding) BuildResource ¶ added in v0.9.23
func (r *AppServiceCertificateBinding) BuildResource() *schema.Resource
func (*AppServiceCertificateBinding) PopulateUsage ¶ added in v0.9.23
func (r *AppServiceCertificateBinding) PopulateUsage(u *schema.UsageData)
type AppServiceCertificateOrder ¶ added in v0.9.23
func (*AppServiceCertificateOrder) BuildResource ¶ added in v0.9.23
func (r *AppServiceCertificateOrder) BuildResource() *schema.Resource
func (*AppServiceCertificateOrder) PopulateUsage ¶ added in v0.9.23
func (r *AppServiceCertificateOrder) PopulateUsage(u *schema.UsageData)
type AppServiceCustomHostnameBinding ¶ added in v0.10.4
func (*AppServiceCustomHostnameBinding) BuildResource ¶ added in v0.10.4
func (r *AppServiceCustomHostnameBinding) BuildResource() *schema.Resource
func (*AppServiceCustomHostnameBinding) PopulateUsage ¶ added in v0.10.4
func (r *AppServiceCustomHostnameBinding) PopulateUsage(u *schema.UsageData)
type AppServiceEnvironment ¶ added in v0.9.23
type AppServiceEnvironment struct { Address string Region string PricingTier string OperatingSystem *string `infracost_usage:"operating_system"` }
func (*AppServiceEnvironment) BuildResource ¶ added in v0.9.23
func (r *AppServiceEnvironment) BuildResource() *schema.Resource
func (*AppServiceEnvironment) PopulateUsage ¶ added in v0.9.23
func (r *AppServiceEnvironment) PopulateUsage(u *schema.UsageData)
type AppServicePlan ¶ added in v0.10.4
type AppServicePlan struct { Address string SKUSize string SKUCapacity int64 Kind string Region string }
func (*AppServicePlan) BuildResource ¶ added in v0.10.4
func (r *AppServicePlan) BuildResource() *schema.Resource
func (*AppServicePlan) PopulateUsage ¶ added in v0.10.4
func (r *AppServicePlan) PopulateUsage(u *schema.UsageData)
type ApplicationInsights ¶ added in v0.9.23
type ApplicationInsights struct { Address string Region string RetentionInDays int64 MonthlyDataIngestedGB *float64 `infracost_usage:"monthly_data_ingested_gb"` }
func (*ApplicationInsights) BuildResource ¶ added in v0.9.23
func (r *ApplicationInsights) BuildResource() *schema.Resource
func (*ApplicationInsights) PopulateUsage ¶ added in v0.9.23
func (r *ApplicationInsights) PopulateUsage(u *schema.UsageData)
type ApplicationInsightsWebTest ¶ added in v0.9.23
func (*ApplicationInsightsWebTest) BuildResource ¶ added in v0.9.23
func (r *ApplicationInsightsWebTest) BuildResource() *schema.Resource
func (*ApplicationInsightsWebTest) PopulateUsage ¶ added in v0.9.23
func (r *ApplicationInsightsWebTest) PopulateUsage(u *schema.UsageData)
type AutomationAccount ¶ added in v0.9.23
type AutomationAccount struct { Address string Region string MonthlyJobRunMins *int64 `infracost_usage:"monthly_job_run_mins"` NonAzureConfigNodeCount *int64 `infracost_usage:"non_azure_config_node_count"` MonthlyWatcherHrs *int64 `infracost_usage:"monthly_watcher_hrs"` }
func (*AutomationAccount) BuildResource ¶ added in v0.9.23
func (r *AutomationAccount) BuildResource() *schema.Resource
func (*AutomationAccount) PopulateUsage ¶ added in v0.9.23
func (r *AutomationAccount) PopulateUsage(u *schema.UsageData)
type AutomationDSCConfiguration ¶ added in v0.9.23
type AutomationDSCConfiguration struct { Address string Region string NonAzureConfigNodeCount *int64 `infracost_usage:"non_azure_config_node_count"` }
func (*AutomationDSCConfiguration) BuildResource ¶ added in v0.9.23
func (r *AutomationDSCConfiguration) BuildResource() *schema.Resource
func (*AutomationDSCConfiguration) PopulateUsage ¶ added in v0.9.23
func (r *AutomationDSCConfiguration) PopulateUsage(u *schema.UsageData)
type AutomationDSCNodeConfiguration ¶ added in v0.9.23
type AutomationDSCNodeConfiguration struct { Address string Region string NonAzureConfigNodeCount *int64 `infracost_usage:"non_azure_config_node_count"` }
func (*AutomationDSCNodeConfiguration) BuildResource ¶ added in v0.9.23
func (r *AutomationDSCNodeConfiguration) BuildResource() *schema.Resource
func (*AutomationDSCNodeConfiguration) PopulateUsage ¶ added in v0.9.23
func (r *AutomationDSCNodeConfiguration) PopulateUsage(u *schema.UsageData)
type AutomationJobSchedule ¶ added in v0.9.23
type AutomationJobSchedule struct { Address string Region string MonthlyJobRunMins *int64 `infracost_usage:"monthly_job_run_mins"` }
func (*AutomationJobSchedule) BuildResource ¶ added in v0.9.23
func (r *AutomationJobSchedule) BuildResource() *schema.Resource
func (*AutomationJobSchedule) PopulateUsage ¶ added in v0.9.23
func (r *AutomationJobSchedule) PopulateUsage(u *schema.UsageData)
type ContainerRegistry ¶ added in v0.10.4
type ContainerRegistry struct { Address string GeoReplicationLocations int Region string SKU string StorageGB *float64 `infracost_usage:"storage_gb"` MonthlyBuildVCPUHrs *float64 `infracost_usage:"monthly_build_vcpu_hrs"` }
func (*ContainerRegistry) BuildResource ¶ added in v0.10.4
func (r *ContainerRegistry) BuildResource() *schema.Resource
func (*ContainerRegistry) PopulateUsage ¶ added in v0.10.4
func (r *ContainerRegistry) PopulateUsage(u *schema.UsageData)
type DNSAAAARecord ¶ added in v0.10.4
type DNSAAAARecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*DNSAAAARecord) BuildResource ¶ added in v0.10.4
func (r *DNSAAAARecord) BuildResource() *schema.Resource
func (*DNSAAAARecord) PopulateUsage ¶ added in v0.10.4
func (r *DNSAAAARecord) PopulateUsage(u *schema.UsageData)
type DNSARecord ¶ added in v0.10.4
type DNSARecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*DNSARecord) BuildResource ¶ added in v0.10.4
func (r *DNSARecord) BuildResource() *schema.Resource
func (*DNSARecord) PopulateUsage ¶ added in v0.10.4
func (r *DNSARecord) PopulateUsage(u *schema.UsageData)
type DNSCAARecord ¶ added in v0.10.4
type DNSCAARecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*DNSCAARecord) BuildResource ¶ added in v0.10.4
func (r *DNSCAARecord) BuildResource() *schema.Resource
func (*DNSCAARecord) PopulateUsage ¶ added in v0.10.4
func (r *DNSCAARecord) PopulateUsage(u *schema.UsageData)
type DNSCNameRecord ¶ added in v0.10.4
type DNSCNameRecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*DNSCNameRecord) BuildResource ¶ added in v0.10.4
func (r *DNSCNameRecord) BuildResource() *schema.Resource
func (*DNSCNameRecord) PopulateUsage ¶ added in v0.10.4
func (r *DNSCNameRecord) PopulateUsage(u *schema.UsageData)
type DNSMXRecord ¶ added in v0.10.4
type DNSMXRecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*DNSMXRecord) BuildResource ¶ added in v0.10.4
func (r *DNSMXRecord) BuildResource() *schema.Resource
func (*DNSMXRecord) PopulateUsage ¶ added in v0.10.4
func (r *DNSMXRecord) PopulateUsage(u *schema.UsageData)
type DNSNSRecord ¶ added in v0.10.4
type DNSNSRecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*DNSNSRecord) BuildResource ¶ added in v0.10.4
func (r *DNSNSRecord) BuildResource() *schema.Resource
func (*DNSNSRecord) PopulateUsage ¶ added in v0.10.4
func (r *DNSNSRecord) PopulateUsage(u *schema.UsageData)
type DNSPtrRecord ¶ added in v0.10.4
type DNSPtrRecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*DNSPtrRecord) BuildResource ¶ added in v0.10.4
func (r *DNSPtrRecord) BuildResource() *schema.Resource
func (*DNSPtrRecord) PopulateUsage ¶ added in v0.10.4
func (r *DNSPtrRecord) PopulateUsage(u *schema.UsageData)
type DNSSrvRecord ¶ added in v0.10.4
type DNSSrvRecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*DNSSrvRecord) BuildResource ¶ added in v0.10.4
func (r *DNSSrvRecord) BuildResource() *schema.Resource
func (*DNSSrvRecord) PopulateUsage ¶ added in v0.10.4
func (r *DNSSrvRecord) PopulateUsage(u *schema.UsageData)
type DNSTxtRecord ¶ added in v0.10.4
type DNSTxtRecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*DNSTxtRecord) BuildResource ¶ added in v0.10.4
func (r *DNSTxtRecord) BuildResource() *schema.Resource
func (*DNSTxtRecord) PopulateUsage ¶ added in v0.10.4
func (r *DNSTxtRecord) PopulateUsage(u *schema.UsageData)
type DataFactory ¶ added in v0.9.22
type DataFactory struct { Address string Region string // "usage" args MonthlyReadWriteOperationEntities *int64 `infracost_usage:"monthly_read_write_operation_entities"` MonthlyMonitoringOperationEntities *int64 `infracost_usage:"monthly_monitoring_operation_entities"` }
DataFactory struct represents Azure Data Factory resource.
Resource information: https://azure.microsoft.com/en-us/services/data-factory/ Pricing information: https://azure.microsoft.com/en-us/pricing/details/data-factory/data-pipeline/
func (*DataFactory) BuildResource ¶ added in v0.9.22
func (r *DataFactory) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid DataFactory struct. This method is called after the resource is initialised by an IaC provider. See providers folder for more information.
func (*DataFactory) PopulateUsage ¶ added in v0.9.22
func (r *DataFactory) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the DataFactory. It uses the `infracost_usage` struct tags to populate data into the DataFactory.
type DataFactoryIntegrationRuntimeAzure ¶ added in v0.9.22
type DataFactoryIntegrationRuntimeAzure struct { Address string Region string Cores int64 ComputeType string // "usage" args MonthlyOrchestrationRuns *int64 `infracost_usage:"monthly_orchestration_runs"` }
DataFactoryIntegrationRuntimeAzure struct represents Azure Data Factory's runtime flow.
Resource information: https://azure.microsoft.com/en-us/services/data-factory/ Pricing information: https://azure.microsoft.com/en-us/pricing/details/data-factory/data-pipeline/
func (*DataFactoryIntegrationRuntimeAzure) BuildResource ¶ added in v0.9.22
func (r *DataFactoryIntegrationRuntimeAzure) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid DataFactoryIntegrationRuntimeAzure struct. This method is called after the resource is initialised by an IaC provider. See providers folder for more information.
func (*DataFactoryIntegrationRuntimeAzure) PopulateUsage ¶ added in v0.9.22
func (r *DataFactoryIntegrationRuntimeAzure) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the DataFactoryIntegrationRuntimeAzure. It uses the `infracost_usage` struct tags to populate data into the DataFactoryIntegrationRuntimeAzure.
type DataFactoryIntegrationRuntimeAzureSSIS ¶ added in v0.9.22
type DataFactoryIntegrationRuntimeAzureSSIS struct { Address string Region string Instances int64 InstanceType string Enterprise bool LicenseIncluded bool }
DataFactoryIntegrationRuntimeAzureSSIS struct represents Data Factory's Azure-SSIS runtime.
Resource information: https://azure.microsoft.com/en-us/services/data-factory/ Pricing information: https://azure.microsoft.com/en-us/pricing/details/data-factory/ssis/
func (*DataFactoryIntegrationRuntimeAzureSSIS) BuildResource ¶ added in v0.9.22
func (r *DataFactoryIntegrationRuntimeAzureSSIS) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid DataFactoryIntegrationRuntimeAzureSSIS struct. This method is called after the resource is initialised by an IaC provider. See providers folder for more information.
func (*DataFactoryIntegrationRuntimeAzureSSIS) PopulateUsage ¶ added in v0.9.22
func (r *DataFactoryIntegrationRuntimeAzureSSIS) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the DataFactoryIntegrationRuntimeAzureSSIS. It uses the `infracost_usage` struct tags to populate data into the DataFactoryIntegrationRuntimeAzureSSIS.
type DataFactoryIntegrationRuntimeManaged ¶ added in v0.9.22
type DataFactoryIntegrationRuntimeManaged struct { Address string Region string Instances int64 InstanceType string Enterprise bool LicenseIncluded bool // "usage" args MonthlyOrchestrationRuns *int64 `infracost_usage:"monthly_orchestration_runs"` }
DataFactoryIntegrationRuntimeManaged struct represents Data Factory's Managed VNET integration runtime.
Resource information: https://azure.microsoft.com/en-us/services/data-factory/ Pricing information: https://azure.microsoft.com/en-us/pricing/details/data-factory/data-pipeline/
func (*DataFactoryIntegrationRuntimeManaged) BuildResource ¶ added in v0.9.22
func (r *DataFactoryIntegrationRuntimeManaged) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid DataFactoryIntegrationRuntimeManaged struct. This method is called after the resource is initialised by an IaC provider. See providers folder for more information.
func (*DataFactoryIntegrationRuntimeManaged) PopulateUsage ¶ added in v0.9.22
func (r *DataFactoryIntegrationRuntimeManaged) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the DataFactoryIntegrationRuntimeManaged. It uses the `infracost_usage` struct tags to populate data into the DataFactoryIntegrationRuntimeManaged.
type DataFactoryIntegrationRuntimeSelfHosted ¶ added in v0.9.22
type DataFactoryIntegrationRuntimeSelfHosted struct { Address string Region string // "usage" args MonthlyOrchestrationRuns *int64 `infracost_usage:"monthly_orchestration_runs"` }
DataFactoryIntegrationRuntimeSelfHosted struct represents Data Factory's Self-hosted runtime.
Resource information: https://azure.microsoft.com/en-us/services/data-factory/ Pricing information: https://azure.microsoft.com/en-us/pricing/details/data-factory/data-pipeline/
func (*DataFactoryIntegrationRuntimeSelfHosted) BuildResource ¶ added in v0.9.22
func (r *DataFactoryIntegrationRuntimeSelfHosted) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid DataFactoryIntegrationRuntimeSelfHosted struct. This method is called after the resource is initialised by an IaC provider. See providers folder for more information.
func (*DataFactoryIntegrationRuntimeSelfHosted) PopulateUsage ¶ added in v0.9.22
func (r *DataFactoryIntegrationRuntimeSelfHosted) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the DataFactoryIntegrationRuntimeSelfHosted. It uses the `infracost_usage` struct tags to populate data into the DataFactoryIntegrationRuntimeSelfHosted.
type DatabricksWorkspace ¶ added in v0.10.4
type DatabricksWorkspace struct { Address string Region string SKU string MonthlyAllPurposeComputeDBUHrs *int64 `infracost_usage:"monthly_all_purpose_compute_dbu_hrs"` MonthlyJobsComputeDBUHrs *int64 `infracost_usage:"monthly_jobs_compute_dbu_hrs"` MonthlyJobsLightComputeDBUHrs *int64 `infracost_usage:"monthly_jobs_light_compute_dbu_hrs"` }
func (*DatabricksWorkspace) BuildResource ¶ added in v0.10.4
func (r *DatabricksWorkspace) BuildResource() *schema.Resource
func (*DatabricksWorkspace) PopulateUsage ¶ added in v0.10.4
func (r *DatabricksWorkspace) PopulateUsage(u *schema.UsageData)
type ExpressRouteConnection ¶ added in v0.9.15
type ExpressRouteConnection struct { // Address is the unique name of the resource in the IAC language. Address string // Region is the azure region the ExpressRouteConnection is provisioned within. Region string }
ExpressRouteConnection represents an Express Route Gateway connection, which is a billable component of ExpressRouteGateway. See ExpressRouteGateway for more information.
More resource information here: https://docs.microsoft.com/en-us/azure/virtual-wan/virtual-wan-about Pricing information here: https://azure.microsoft.com/en-us/pricing/details/virtual-wan/
func (*ExpressRouteConnection) BuildResource ¶ added in v0.9.15
func (e *ExpressRouteConnection) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid ExpressRouteConnection. It returns a ExpressRouteConnection as a schema.Resource with a single cost component representing the connection unit. The hourly quantity is set to 1 as ExpressRouteConnection represents a single connection unit.
This method is called after the resource is initialised by an iac provider. See providers folder for more information.
func (*ExpressRouteConnection) PopulateUsage ¶ added in v0.9.15
func (e *ExpressRouteConnection) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the ExpressRouteConnection. It uses the `infracost_usage` struct tags to populate data into the ExpressRouteConnection.
type ExpressRouteGateway ¶ added in v0.9.15
type ExpressRouteGateway struct { // Address is the unique name of the resource in the IAC language. Address string // Region is the azure region the VPNGateway is provisioned within. Region string // ScaleUnits represents a unit defined to pick an aggregate throughput of a gateway in Virtual hub. // 1 scale unit of ExpressRoute = 2 Gbps. ScaleUnits int64 }
ExpressRouteGateway is a Virtual WAN gateway that provides direct connectivity to Azure cloud services. All transferred data is not encrypted, and do not go over the public Internet.
More resource information here: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-about-virtual-network-gateways Pricing information here: https://azure.microsoft.com/en-us/pricing/details/virtual-wan/
func (*ExpressRouteGateway) BuildResource ¶ added in v0.9.15
func (e *ExpressRouteGateway) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid ExpressRouteGateway. It returns ExpressRouteGateway with a single cost component "ER scale units". See more about scale units reading ExpressRouteGateway.ScaleUnits.
This method is called after the resource is initialised by an iac provider. See providers folder for more information.
func (*ExpressRouteGateway) PopulateUsage ¶ added in v0.9.15
func (e *ExpressRouteGateway) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the ExpressRouteGateway. It uses the `infracost_usage` struct tags to populate data into the ExpressRouteGateway.
type Frontdoor ¶
type Frontdoor struct { Address string Region string FrontendHosts int RoutingRules int // "usage" args MonthlyInboundDataTransferGB *float64 `infracost_usage:"monthly_inbound_data_transfer_gb"` MonthlyOutboundDataTransferGB *frontdoorOutboundDataTransferUsage `infracost_usage:"monthly_outbound_data_transfer_gb"` }
Frontdoor struct represents Azure's Front Door network service.
More resource information here: https://docs.microsoft.com/en-us/azure/frontdoor/front-door-overview Pricing information here: https://azure.microsoft.com/en-us/pricing/details/frontdoor/ (Azure Front Door tab)
func (*Frontdoor) BuildResource ¶
BuildResource builds a schema.Resource from valid Frontdoor data. This method is called after the resource is initialised by an IaC provider.
func (*Frontdoor) PopulateUsage ¶
PopulateUsage parses the u schema.UsageData into the Frontdoor. It uses the `infracost_usage` struct tags to populate data into the Frontdoor.
type FrontdoorFirewallPolicy ¶
type FrontdoorFirewallPolicy struct { Address string Region string CustomRules int ManagedRulesets int // "usage" args MonthlyCustomRuleRequests *int64 `infracost_usage:"monthly_custom_rule_requests"` MonthlyManagedRulesetRequests *int64 `infracost_usage:"monthly_managed_ruleset_requests"` }
FrontdoorFirewallPolicy represents a policy for Web Application Firewall (WAF) with Azure Front Door.
More resource information here: https://docs.microsoft.com/en-us/azure/web-application-firewall/afds/waf-front-door-drs Pricing information here: https://azure.microsoft.com/en-us/pricing/details/frontdoor/#overview
func (*FrontdoorFirewallPolicy) BuildResource ¶
func (r *FrontdoorFirewallPolicy) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid FrontdoorFirewallPolicy. This method is called after the resource is initialised by an IaC provider.
func (*FrontdoorFirewallPolicy) PopulateUsage ¶
func (r *FrontdoorFirewallPolicy) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the FrontdoorFirewallPolicy.
type LogAnalyticsWorkspace ¶ added in v0.9.18
type LogAnalyticsWorkspace struct { Address string Region string SKU string ReservationCapacityInGBPerDay int64 RetentionInDays int64 SentinelEnabled bool MonthlyLogDataIngestionGB *float64 `infracost_usage:"monthly_log_data_ingestion_gb"` MonthlyAdditionalLogDataRetentionGB *float64 `infracost_usage:"monthly_additional_log_data_retention_gb"` MonthlyLogDataExportGB *float64 `infracost_usage:"monthly_log_data_export_gb"` MonthlySentinelDataIngestionGB *float64 `infracost_usage:"monthly_sentinel_data_ingestion_gb"` }
LogAnalyticsWorkspace struct represents an Azure Monitor log workspace. A workspace consolidates data from multiple sources into a single data lake. A workspace defines:
- The geographic location of the data.
- Access rights that define which users can access data.
- Configuration settings such as the pricing tier and data retention.
Resource information: https://azure.microsoft.com/en-gb/services/monitor/ Pricing information: https://azure.microsoft.com/en-gb/pricing/details/monitor/
func (*LogAnalyticsWorkspace) BuildResource ¶ added in v0.9.18
func (r *LogAnalyticsWorkspace) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid LogAnalyticsWorkspace struct. The returned schema.Resource can have 4 potential schema.CostComponent associated with it:
- Log data ingestion, which can be either: a) Pay-as-you-go, which is only valid for a sku of PerGB2018 and uses a usage param b) Billed per commitment tiers, which is only valid for a sku of CapacityReservation
- Log retention, which is free up to 31 days. Data retained beyond these no-charge periods will be charged for each GB of data retained for a month (pro-rated daily).
- Data export, which is billed per monthly GB exported and is defined from a usage param.
- Sentinel data ingestion if Sentinel usage is detected.
Outside the above rules - if the workspace has sku of Free we return as a free resource & if the workspace sku is in a list of unsupported skus then we mark as skipped with a warning.
func (*LogAnalyticsWorkspace) PopulateUsage ¶ added in v0.9.18
func (r *LogAnalyticsWorkspace) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the LogAnalyticsWorkspace. It uses the `infracost_usage` struct tags to populate data into the LogAnalyticsWorkspace.
type MySQLFlexibleServer ¶ added in v0.9.22
type MySQLFlexibleServer struct { Address string Region string SKU string Tier string InstanceType string InstanceVersion string Storage int64 IOPS int64 // "usage" args AdditionalBackupStorageGB *float64 `infracost_usage:"additional_backup_storage_gb"` }
MySQLFlexibleServer struct represents Azure MySQL Flexible Server resource.
Resource information: https://docs.microsoft.com/en-gb/azure/mysql/flexible-server/ Pricing information: https://azure.microsoft.com/en-gb/pricing/details/mysql/flexible-server/
func (*MySQLFlexibleServer) BuildResource ¶ added in v0.9.22
func (r *MySQLFlexibleServer) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid MySQLFlexibleServer struct. This method is called after the resource is initialised by an IaC provider. See providers folder for more information.
func (*MySQLFlexibleServer) PopulateUsage ¶ added in v0.9.22
func (r *MySQLFlexibleServer) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the MySQLFlexibleServer. It uses the `infracost_usage` struct tags to populate data into the MySQLFlexibleServer.
type PostgreSQLFlexibleServer ¶ added in v0.9.22
type PostgreSQLFlexibleServer struct { Address string Region string SKU string Tier string InstanceType string InstanceVersion string Storage int64 AdditionalBackupStorageGB *float64 `infracost_usage:"additional_backup_storage_gb"` }
PostgreSQLFlexibleServer struct represents Azure PostgreSQL Flexible Server resource.
Resource information: https://docs.microsoft.com/en-gb/azure/postgresql/flexible-server/ Pricing information: https://azure.microsoft.com/en-gb/pricing/details/postgresql/flexible-server/
func (*PostgreSQLFlexibleServer) BuildResource ¶ added in v0.9.22
func (r *PostgreSQLFlexibleServer) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid PostgreSQLFlexibleServer struct. This method is called after the resource is initialised by an IaC provider. See providers folder for more information.
func (*PostgreSQLFlexibleServer) PopulateUsage ¶ added in v0.9.22
func (r *PostgreSQLFlexibleServer) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the PostgreSQLFlexibleServer. It uses the `infracost_usage` struct tags to populate data into the PostgreSQLFlexibleServer.
type PrivateDNSAAAARecord ¶ added in v0.10.4
type PrivateDNSAAAARecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*PrivateDNSAAAARecord) BuildResource ¶ added in v0.10.4
func (r *PrivateDNSAAAARecord) BuildResource() *schema.Resource
func (*PrivateDNSAAAARecord) PopulateUsage ¶ added in v0.10.4
func (r *PrivateDNSAAAARecord) PopulateUsage(u *schema.UsageData)
type PrivateDNSARecord ¶ added in v0.10.4
type PrivateDNSARecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*PrivateDNSARecord) BuildResource ¶ added in v0.10.4
func (r *PrivateDNSARecord) BuildResource() *schema.Resource
func (*PrivateDNSARecord) PopulateUsage ¶ added in v0.10.4
func (r *PrivateDNSARecord) PopulateUsage(u *schema.UsageData)
type PrivateDNSCNameRecord ¶ added in v0.10.4
type PrivateDNSCNameRecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*PrivateDNSCNameRecord) BuildResource ¶ added in v0.10.4
func (r *PrivateDNSCNameRecord) BuildResource() *schema.Resource
func (*PrivateDNSCNameRecord) PopulateUsage ¶ added in v0.10.4
func (r *PrivateDNSCNameRecord) PopulateUsage(u *schema.UsageData)
type PrivateDNSMXRecord ¶ added in v0.10.4
type PrivateDNSMXRecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*PrivateDNSMXRecord) BuildResource ¶ added in v0.10.4
func (r *PrivateDNSMXRecord) BuildResource() *schema.Resource
func (*PrivateDNSMXRecord) PopulateUsage ¶ added in v0.10.4
func (r *PrivateDNSMXRecord) PopulateUsage(u *schema.UsageData)
type PrivateDNSPTRRecord ¶ added in v0.10.4
type PrivateDNSPTRRecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*PrivateDNSPTRRecord) BuildResource ¶ added in v0.10.4
func (r *PrivateDNSPTRRecord) BuildResource() *schema.Resource
func (*PrivateDNSPTRRecord) PopulateUsage ¶ added in v0.10.4
func (r *PrivateDNSPTRRecord) PopulateUsage(u *schema.UsageData)
type PrivateDNSSRVRecord ¶ added in v0.10.4
type PrivateDNSSRVRecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*PrivateDNSSRVRecord) BuildResource ¶ added in v0.10.4
func (r *PrivateDNSSRVRecord) BuildResource() *schema.Resource
func (*PrivateDNSSRVRecord) PopulateUsage ¶ added in v0.10.4
func (r *PrivateDNSSRVRecord) PopulateUsage(u *schema.UsageData)
type PrivateDNSTXTRecord ¶ added in v0.10.4
type PrivateDNSTXTRecord struct { Address string Region string MonthlyQueries *int64 `infracost_usage:"monthly_queries"` }
func (*PrivateDNSTXTRecord) BuildResource ¶ added in v0.10.4
func (r *PrivateDNSTXTRecord) BuildResource() *schema.Resource
func (*PrivateDNSTXTRecord) PopulateUsage ¶ added in v0.10.4
func (r *PrivateDNSTXTRecord) PopulateUsage(u *schema.UsageData)
type SQLDatabase ¶ added in v0.9.16
type SQLDatabase struct { Address string Region string SKU string LicenceType string Tier string Family string Cores *int64 MaxSizeGB *float64 ReadReplicaCount *int64 ZoneRedundant bool // ExtraDataStorageGB represents a usage cost of additional backup storage used by the sql database. ExtraDataStorageGB *int64 `infracost_usage:"extra_data_storage_gb"` // MonthlyVCoreHours represents a usage param that allows users to define how many hours of usage a serverless sql database instance uses. MonthlyVCoreHours *int64 `infracost_usage:"monthly_vcore_hours"` // LongTermRetentionStorageGB defines a usage param that allows users to define how many gb of cold storage the database uses. // This is storage that can be kept for up to 10 years. LongTermRetentionStorageGB *int64 `infracost_usage:"long_term_retention_storage_gb"` }
SQLDatabase represents an azure sql database instance.
More resource information here: https://azure.microsoft.com/en-gb/products/azure-sql/database/ Pricing information here: https://azure.microsoft.com/en-gb/pricing/details/azure-sql-database/single/
func (*SQLDatabase) BuildResource ¶ added in v0.9.16
func (r *SQLDatabase) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid SQLDatabase. It returns a SQLDatabase as a *schema.Resource with cost components initialized.
SQLDatabase splits pricing into two different models. DTU & vCores.
Database Transaction Unit (DTU) is made a performance metric representing a mixture of performance metrics in azure sql. Some include: CPU, I/O, Memory. DTU is used as Azure tries to simplify billing by using a single metric. Virtual Core (vCore) pricing is designed to translate from on premise hardware metrics (cores) into the cloud sql instance. vCore is designed to allow users to better estimate their resource limits, e.g. RAM.
SQL databases that follow a DTU pricing model have the following costs associated with them:
- Costs based on the number of DTUs that the sql database has
- Extra backup data costs - this is configured using SQLDatabase.ExtraDataStorageGB
- Long term data backup costs - this is configured using SQLDatabase.LongTermRetentionStorageGB
SQL databases that follow a vCore pricing model have the following costs associated with them:
- Costs based on the number of vCores the resource has
- Extra pricing if any database read replicas have been provisioned
- Additional charge for sql server licencing based on vCores amount
- Charges for storage used
- Charges for long term data backup - this is configured using SQLDatabase.LongTermRetentionStorageGB
This method is called after the resource is initialized by an IaC provider. SQLDatabase is used by both mssql_database and sql_database terraform resources to build a sql database costing.
func (*SQLDatabase) PopulateUsage ¶ added in v0.9.16
func (r *SQLDatabase) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the SQLDatabase.
type SQLManagedInstance ¶ added in v0.9.21
type SQLManagedInstance struct { Address string Region string SKU string LicenceType string Cores int64 StorageSizeInGb int64 StorageAccountType string // LongTermRetentionStorageGB defines a usage param that allows users to define how many gb of cold storage the database uses. // This is storage that can be kept for up to 10 years. LongTermRetentionStorageGB *int64 `infracost_usage:"long_term_retention_storage_gb"` BackupStorageGb *int64 `infracost_usage:"backup_storage_gb"` }
SQLManagedInstance struct represents an azure Sql Managed Instance.
SQLManagedInstance currently only Gen5 database instance ¶
More resource information here: https://azure.microsoft.com/en-gb/products/azure-sql/managed-instance/ Pricing information here: https://azure.microsoft.com/en-gb/pricing/details/azure-sql-managed-instance/single/
func (*SQLManagedInstance) BuildResource ¶ added in v0.9.21
func (r *SQLManagedInstance) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid SQLManagedInstance struct. This method is called after the resource is initialised by an IaC provider. See providers folder for more information.
func (*SQLManagedInstance) PopulateUsage ¶ added in v0.9.21
func (r *SQLManagedInstance) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the SQLManagedInstance. It uses the `infracost_usage` struct tags to populate data into the SQLManagedInstance.
type StorageAccount ¶
type StorageAccount struct { Address string Region string AccessTier string AccountKind string AccountReplicationType string AccountTier string NFSv3 bool // "usage" args MonthlyStorageGB *float64 `infracost_usage:"storage_gb"` MonthlyIterativeReadOperations *int64 `infracost_usage:"monthly_iterative_read_operations"` MonthlyReadOperations *int64 `infracost_usage:"monthly_read_operations"` MonthlyIterativeWriteOperations *int64 `infracost_usage:"monthly_iterative_write_operations"` MonthlyWriteOperations *int64 `infracost_usage:"monthly_write_operations"` MonthlyListAndCreateContainerOperations *int64 `infracost_usage:"monthly_list_and_create_container_operations"` MonthlyOtherOperations *int64 `infracost_usage:"monthly_other_operations"` MonthlyDataRetrievalGB *float64 `infracost_usage:"monthly_data_retrieval_gb"` MonthlyDataWriteGB *float64 `infracost_usage:"monthly_data_write_gb"` BlobIndexTags *int64 `infracost_usage:"blob_index_tags"` DataAtRestStorageGB *float64 `infracost_usage:"data_at_rest_storage_gb"` SnapshotsStorageGB *float64 `infracost_usage:"snapshots_storage_gb"` MetadataAtRestStorageGB *float64 `infracost_usage:"metadata_at_rest_storage_gb"` EarlyDeletionGB *float64 `infracost_usage:"early_deletion_gb"` }
StorageAccount represents Azure data storage services.
More resource information here:
Block Blob Storage: https://azure.microsoft.com/en-us/services/storage/blobs/ File Storage: https://azure.microsoft.com/en-us/services/storage/files/
Pricing information here:
Block Blob Storage: https://azure.microsoft.com/en-us/pricing/details/storage/blobs/ File Storage: https://azure.microsoft.com/en-us/pricing/details/storage/files/
func (*StorageAccount) BuildResource ¶
func (r *StorageAccount) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from valid StorageAccount data. This method is called after the resource is initialised by an IaC provider.
func (*StorageAccount) PopulateUsage ¶
func (r *StorageAccount) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the StorageAccount. It uses the `infracost_usage` struct tags to populate data into the StorageAccount.
type VPNGateway ¶ added in v0.9.15
type VPNGateway struct { // Address is the unique name of the resource in the IAC language. Address string // Region is the azure region the VPNGateway is provisioned within. Region string // ScaleUnits represents a unit defined to pick an aggregate throughput of a gateway in Virtual hub. // 1 scale unit of VPN = 500 Mbps. ScaleUnits int64 // Type represents the type of WAN Vpn Gateway, it can be one of: P2S|S2S. Type string // MonthlyP2SConnectionHrs represents a usage cost for the number of connection hours that the vpn // gateway has been in use for. Can be a fraction to denote smaller time increments lower than a whole hour. // This usage cost is only applicable for point to site vpns. MonthlyP2SConnectionHrs *float64 `infracost_usage:"monthly_p2s_connections_hrs"` }
VPNGateway represents a Virtual WAN VPN gateway. It can represent a Point-to-site gateway (P2S) or a Site-to-site (S2S) gateway. Both gateways have similar price components on azure: Scale Unit & Connection Unit. However, S2S gateway connection costs are found through VPNGatewayConnection resource. Whereas P2S defines a usage param which is parsed below.
More resource information here: https://docs.microsoft.com/en-us/azure/virtual-wan/virtual-wan-about Pricing information here: https://azure.microsoft.com/en-us/pricing/details/virtual-wan/
func (*VPNGateway) BuildResource ¶ added in v0.9.15
func (v *VPNGateway) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid VPNGateway. It returns different Resources based on the VPNGateway.Type. If type Point to Site (P2S) it will include a usage cost component based on the connection usage. For other cases (S2S) it will just include a single scale unit cost component. See VPNGatewayConnection for S2S connection costs associated with S2S gateway.
This method is called after the resource is initialised by an iac provider. See providers folder for more information.
func (*VPNGateway) PopulateUsage ¶ added in v0.9.15
func (v *VPNGateway) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the VPNGateway. It uses the `infracost_usage` struct tags to populate data into the VPNGateway.
type VPNGatewayConnection ¶ added in v0.9.15
type VPNGatewayConnection struct { // Address is the unique name of the resource in the IAC language. Address string // Region is the azure region the VPNGatewayConnection is provisioned within. Region string }
VPNGatewayConnection represents a VPN Gateway connection, which is a billable component of a S2S VPN gateway. See VPNGateway for more information.
More resource information here: https://docs.microsoft.com/en-us/azure/virtual-wan/virtual-wan-about Pricing information here: https://azure.microsoft.com/en-us/pricing/details/virtual-wan/
func (*VPNGatewayConnection) BuildResource ¶ added in v0.9.15
func (v *VPNGatewayConnection) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid VPNGatewayConnection. It returns a VPNGatewayConnection as a schema.Resource with a single cost component representing the connection unit. The hourly quantity is set to 1 as VPNGatewayConnection represents a single connection unit.
This method is called after the resource is initialised by an iac provider. See providers folder for more information.
func (*VPNGatewayConnection) PopulateUsage ¶ added in v0.9.15
func (v *VPNGatewayConnection) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the VPNGatewayConnection. It uses the `infracost_usage` struct tags to populate data into the VPNGatewayConnection.
type VirtualHub ¶ added in v0.9.15
type VirtualHub struct { // Address is the unique name of the resource in the IAC language. Address string // Region is the azure region the VirtualHub is provisioned within. Region string // SKU is the VirtualHub hub type. It can be one of: Basic|Standard. SKU string // MonthlyDataProcessedGB represents a usage cost for the amount of gb of data that is processed // through the hub on a monthly basis. It is a float to allow users to specify values whole GBs. MonthlyDataProcessedGB *float64 `infracost_usage:"monthly_data_processed_gb"` }
VirtualHub is the central hub in the "hub and spoke architecture" of Azure Virtual WAN. It enables transitive connectivity between endpoints that may be distributed across different types of 'spokes'.
More resource information here: https://docs.microsoft.com/en-us/azure/virtual-wan/virtual-wan-about Pricing information here: https://azure.microsoft.com/en-us/pricing/details/virtual-wan/
func (*VirtualHub) BuildResource ¶ added in v0.9.15
func (v *VirtualHub) BuildResource() *schema.Resource
BuildResource builds a schema.Resource from a valid VirtualHub. It returns VirtualHub as a *schema.Resource with 2 cost components provided. These cost components are only applicable if the VirtualHub is type Standard. The Basic hub is provided free by azure. See here: https://azure.microsoft.com/en-us/pricing/details/virtual-wan/ for more information.
This method is called after the resource is initialised by an iac provider. See providers folder for more information.
func (*VirtualHub) PopulateUsage ¶ added in v0.9.15
func (v *VirtualHub) PopulateUsage(u *schema.UsageData)
PopulateUsage parses the u schema.UsageData into the VirtualHub. It uses the `infracost_usage` struct tags to populate data into the VirtualHub.
Source Files ¶
- active_directory_domain_service.go
- active_directory_domain_service_replica_set.go
- api_management.go
- app_service_certificate_binding.go
- app_service_certificate_order.go
- app_service_custom_hostname_binding.go
- app_service_environment.go
- app_service_plan.go
- application_insights.go
- application_insights_web_t.go
- automation_account.go
- automation_dsc_configuration.go
- automation_dsc_nodeconfiguration.go
- automation_job_schedule.go
- container_registry.go
- data_factory.go
- data_factory_integration_runtime_azure.go
- data_factory_integration_runtime_azure_ssis.go
- data_factory_integration_runtime_managed.go
- data_factory_integration_runtime_self_hosted.go
- databricks_workspace.go
- dns_a_record.go
- dns_aaaa_record.go
- dns_caa_record.go
- dns_cname_record.go
- dns_mx_record.go
- dns_ns_record.go
- dns_ptr_record.go
- dns_srv_record.go
- dns_txt_record.go
- express_route_connection.go
- express_route_gateway.go
- frontdoor.go
- frontdoor_firewall_policy.go
- log_analytics_workspace.go
- mysql_flexible_server.go
- postgresql_flexible_server.go
- private_dns_a_record.go
- private_dns_aaaa_record.go
- private_dns_cname_record.go
- private_dns_mx_record.go
- private_dns_ptr_record.go
- private_dns_srv_record.go
- private_dns_txt_record.go
- sql_database.go
- sql_managed_instance.go
- storage_account.go
- util.go
- virtual_hub.go
- vpn_gateway.go
- vpn_gateway_connection.go