azure_mgmt_cost_management 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management.rb +63 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/billing_account_dimensions.rb +149 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/cost_management_client.rb +455 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/dimension.rb +154 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/dimensions_list_result.rb +56 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/error_details.rb +59 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/error_response.rb +48 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/format_type.rb +15 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/granularity_type.rb +15 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/operation.rb +59 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/operation_display.rb +72 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/operation_list_result.rb +103 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/query.rb +138 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/query_column.rb +58 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/query_result.rb +57 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/recurrence_type.rb +18 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config.rb +130 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_aggregation.rb +60 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_column_type.rb +16 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_comparison_expression.rb +82 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_dataset.rb +121 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_dataset_configuration.rb +56 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_definition.rb +87 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_delivery_destination.rb +71 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_delivery_info.rb +48 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_filter.rb +121 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_grouping.rb +58 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_list_result.rb +57 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_recurrence_period.rb +58 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_schedule.rb +74 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/report_config_time_period.rb +57 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/resource.rb +100 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/status_type.rb +16 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/models/timeframe_type.rb +18 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/module_definition.rb +9 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/operations.rb +219 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/report_config_operations.rb +794 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/resource_group_dimensions.rb +150 -0
- data/lib/2018-05-31/generated/azure_mgmt_cost_management/subscription_dimensions.rb +146 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management.rb +69 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/cost_management_client.rb +144 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/dimensions.rb +182 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/exports.rb +754 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/common_export_properties.rb +72 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/dimension.rb +187 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/dimensions_list_result.rb +56 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/error_details.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/error_response.rb +48 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/execution_status.rb +21 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/execution_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/export.rb +128 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_delivery_destination.rb +78 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_delivery_info.rb +48 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution.rb +173 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_execution_list_result.rb +56 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_list_result.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_recurrence_period.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/export_schedule.rb +74 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/format_type.rb +15 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/granularity_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/operation.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/operation_display.rb +72 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/operation_list_result.rb +103 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query.rb +138 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query_aggregation.rb +60 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query_column.rb +58 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query_column_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query_comparison_expression.rb +82 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query_dataset.rb +141 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query_dataset_configuration.rb +56 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query_definition.rb +88 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query_filter.rb +120 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query_grouping.rb +58 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query_result.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query_sorting_configuration.rb +58 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/query_time_period.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/recurrence_type.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/resource.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/sort_direction.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/status_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/models/timeframe_type.rb +23 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/module_definition.rb +9 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/operations.rb +219 -0
- data/lib/2019-01-01/generated/azure_mgmt_cost_management/query_operations.rb +161 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management.rb +82 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/cloud_connector.rb +492 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/cost_management_client.rb +164 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/dimensions.rb +775 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/external_billing_account.rb +207 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/external_subscription.rb +482 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/forecast.rb +755 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_billing_model.rb +18 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_collection_error_info.rb +84 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_collection_info.rb +86 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb +261 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition_list_result.rb +57 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_status.rb +18 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/cost_allocation_details_kind.rb +131 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/cost_allocation_policy.rb +17 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/custom_price_details_kind.rb +169 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimension.rb +187 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/dimensions_list_result.rb +56 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/error_base.rb +72 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/error_details.rb +91 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/error_response.rb +48 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_billing_account_definition.rb +133 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_billing_account_definition_list_result.rb +59 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition.rb +157 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_definition_list_result.rb +58 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/external_subscription_id_list_request.rb +54 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/function_type.rb +18 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/granularity_type.rb +16 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/markup.rb +46 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/operation.rb +59 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/operation_display.rb +72 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/operation_list_result.rb +103 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/operator_type.rb +16 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/query.rb +138 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/query_column.rb +58 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/query_result.rb +57 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/report_config_aggregation.rb +60 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/report_config_column_type.rb +16 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/report_config_comparison_expression.rb +80 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/report_config_dataset.rb +142 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/report_config_dataset_configuration.rb +56 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/report_config_definition.rb +90 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/report_config_filter.rb +121 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/report_config_grouping.rb +59 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/report_config_sorting.rb +58 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/report_config_time_period.rb +57 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/resource.rb +100 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/scope.rb +80 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/showback_rule.rb +173 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/showback_rule_list_result.rb +57 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/showback_rule_properties.rb +138 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/showback_rule_status.rb +16 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/timeframe_type.rb +18 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/module_definition.rb +9 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/operations.rb +219 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/query_operations.rb +649 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/showback_rule_operations.rb +222 -0
- data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/showback_rules.rb +114 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management.rb +69 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/budget.rb +460 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/budgets.rb +285 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/cost_management_client.rb +144 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/accumulated_type.rb +16 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/budget_model.rb +170 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/budget_time_period.rb +58 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/budgets_list_result.rb +101 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/category_type.rb +16 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/chart_type.rb +19 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/current_spend.rb +59 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/error_base.rb +72 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/error_details.rb +91 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/error_response.rb +48 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/granularity_type.rb +16 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/kpi_properties.rb +69 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/kpi_type_type.rb +16 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/metric_type.rb +17 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/notification.rb +139 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/notification_operator_type.rb +17 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/operation.rb +59 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/operation_display.rb +72 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/operation_list_result.rb +103 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/operator_type.rb +16 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/pivot_properties.rb +58 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/pivot_type_type.rb +16 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/proxy_resource.rb +84 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/report_config_aggregation.rb +60 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/report_config_column_type.rb +16 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/report_config_comparison_expression.rb +80 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/report_config_dataset.rb +142 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/report_config_dataset_configuration.rb +56 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/report_config_filter.rb +121 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/report_config_grouping.rb +59 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/report_config_sorting.rb +58 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/report_config_time_period.rb +57 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/resource.rb +100 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/scope.rb +80 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/time_grain_type.rb +17 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/timeframe_type.rb +18 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/view.rb +269 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/view_list_result.rb +100 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/module_definition.rb +9 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/operations.rb +219 -0
- data/lib/2019-04-01-preview/generated/azure_mgmt_cost_management/views.rb +1248 -0
- data/lib/azure_mgmt_cost_management.rb +9 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/costmanagement_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/costmanagement_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/costmanagement_profile_module.rb +219 -0
- data/lib/version.rb +7 -0
- metadata +311 -0
data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_billing_model.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CostManagement::Mgmt::V2019_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ConnectorBillingModel
|
10
|
+
#
|
11
|
+
module ConnectorBillingModel
|
12
|
+
Trial = "trial"
|
13
|
+
AutoUpgrade = "autoUpgrade"
|
14
|
+
Premium = "premium"
|
15
|
+
Expired = "expired"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CostManagement::Mgmt::V2019_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Details of any error encountered on last collection attempt
|
10
|
+
#
|
11
|
+
class ConnectorCollectionErrorInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Detailed error message
|
16
|
+
attr_accessor :error_message
|
17
|
+
|
18
|
+
# @return [String] External Provider error message
|
19
|
+
attr_accessor :error_inner_message
|
20
|
+
|
21
|
+
# @return [String] Short error code
|
22
|
+
attr_accessor :error_code
|
23
|
+
|
24
|
+
# @return [DateTime] Time the error started occurring (Last time error
|
25
|
+
# occurred in lastChecked)
|
26
|
+
attr_accessor :error_start_time
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for ConnectorCollectionErrorInfo class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'ConnectorCollectionErrorInfo',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'ConnectorCollectionErrorInfo',
|
41
|
+
model_properties: {
|
42
|
+
error_message: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
read_only: true,
|
46
|
+
serialized_name: 'errorMessage',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
error_inner_message: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
read_only: true,
|
55
|
+
serialized_name: 'errorInnerMessage',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
error_code: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'errorCode',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
error_start_time: {
|
70
|
+
client_side_validation: true,
|
71
|
+
required: false,
|
72
|
+
read_only: true,
|
73
|
+
serialized_name: 'errorStartTime',
|
74
|
+
type: {
|
75
|
+
name: 'DateTime'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_collection_info.rb
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CostManagement::Mgmt::V2019_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Collection and ingestion information
|
10
|
+
#
|
11
|
+
class ConnectorCollectionInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [DateTime] Last time the data acquisition process initiated
|
16
|
+
# connecting to the external provider
|
17
|
+
attr_accessor :last_checked
|
18
|
+
|
19
|
+
# @return [DateTime] Source timestamp of external data currently
|
20
|
+
# available in Azure (eg AWS last processed CUR file timestamp)
|
21
|
+
attr_accessor :source_last_updated
|
22
|
+
|
23
|
+
# @return [DateTime] Last time the external data was updated into Azure
|
24
|
+
attr_accessor :last_updated
|
25
|
+
|
26
|
+
# @return [ConnectorCollectionErrorInfo] Error information of last
|
27
|
+
# collection
|
28
|
+
attr_accessor :error
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for ConnectorCollectionInfo class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'ConnectorCollectionInfo',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'ConnectorCollectionInfo',
|
43
|
+
model_properties: {
|
44
|
+
last_checked: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'lastChecked',
|
49
|
+
type: {
|
50
|
+
name: 'DateTime'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
source_last_updated: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'sourceLastUpdated',
|
58
|
+
type: {
|
59
|
+
name: 'DateTime'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
last_updated: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
read_only: true,
|
66
|
+
serialized_name: 'lastUpdated',
|
67
|
+
type: {
|
68
|
+
name: 'DateTime'
|
69
|
+
}
|
70
|
+
},
|
71
|
+
error: {
|
72
|
+
client_side_validation: true,
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'error',
|
75
|
+
type: {
|
76
|
+
name: 'Composite',
|
77
|
+
class_name: 'ConnectorCollectionErrorInfo'
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
data/lib/2019-03-01-preview/generated/azure_mgmt_cost_management/models/connector_definition.rb
ADDED
@@ -0,0 +1,261 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CostManagement::Mgmt::V2019_03_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The Connector model definition
|
10
|
+
#
|
11
|
+
class ConnectorDefinition
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Connector kind (eg aws)
|
16
|
+
attr_accessor :kind
|
17
|
+
|
18
|
+
# @return [String] Connector id
|
19
|
+
attr_accessor :id
|
20
|
+
|
21
|
+
# @return [String] Connector name
|
22
|
+
attr_accessor :name
|
23
|
+
|
24
|
+
# @return [String] Connector type
|
25
|
+
attr_accessor :type
|
26
|
+
|
27
|
+
# @return [String] Connector DisplayName
|
28
|
+
attr_accessor :display_name
|
29
|
+
|
30
|
+
# @return [String] Connector providerBillingAccountId, determined from
|
31
|
+
# credentials (eg AWS Consolidated account number)
|
32
|
+
attr_accessor :provider_billing_account_id
|
33
|
+
|
34
|
+
# @return [String] The display name of the providerBillingAccountId as
|
35
|
+
# defined on the external provider
|
36
|
+
attr_accessor :provider_billing_account_display_name
|
37
|
+
|
38
|
+
# @return [String] Credentials authentication key (eg AWS ARN)
|
39
|
+
attr_accessor :credentials_key
|
40
|
+
|
41
|
+
# @return [String] Credentials secret (eg AWS ExternalId)
|
42
|
+
attr_accessor :credentials_secret
|
43
|
+
|
44
|
+
# @return [String] Identifying source report. (For AWS this is a CUR
|
45
|
+
# report name, defined with Daily and with Resources)
|
46
|
+
attr_accessor :report_id
|
47
|
+
|
48
|
+
# @return [DateTime] Connector definition creation datetime
|
49
|
+
attr_accessor :created_on
|
50
|
+
|
51
|
+
# @return [DateTime] Connector last modified datetime
|
52
|
+
attr_accessor :modified_on
|
53
|
+
|
54
|
+
# @return [ConnectorStatus] Connector status. Possible values include:
|
55
|
+
# 'active', 'error', 'expired', 'warning'
|
56
|
+
attr_accessor :status
|
57
|
+
|
58
|
+
# @return [String] Associated ExternalBillingAccountId
|
59
|
+
attr_accessor :external_billing_account_id
|
60
|
+
|
61
|
+
# @return [String] Default ManagementGroupId
|
62
|
+
attr_accessor :default_management_group_id
|
63
|
+
|
64
|
+
# @return [String] Billing SubscriptionId
|
65
|
+
attr_accessor :subscription_id
|
66
|
+
|
67
|
+
# @return [ConnectorBillingModel] Connector billing model. Possible
|
68
|
+
# values include: 'trial', 'autoUpgrade', 'premium', 'expired'
|
69
|
+
attr_accessor :billing_model
|
70
|
+
|
71
|
+
# @return [Integer] Number of days remaining of trial
|
72
|
+
attr_accessor :days_trial_remaining
|
73
|
+
|
74
|
+
# @return [ConnectorCollectionInfo] Collection information
|
75
|
+
attr_accessor :collection_info
|
76
|
+
|
77
|
+
|
78
|
+
#
|
79
|
+
# Mapper for ConnectorDefinition class as Ruby Hash.
|
80
|
+
# This will be used for serialization/deserialization.
|
81
|
+
#
|
82
|
+
def self.mapper()
|
83
|
+
{
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
serialized_name: 'ConnectorDefinition',
|
87
|
+
type: {
|
88
|
+
name: 'Composite',
|
89
|
+
class_name: 'ConnectorDefinition',
|
90
|
+
model_properties: {
|
91
|
+
kind: {
|
92
|
+
client_side_validation: true,
|
93
|
+
required: false,
|
94
|
+
serialized_name: 'kind',
|
95
|
+
type: {
|
96
|
+
name: 'String'
|
97
|
+
}
|
98
|
+
},
|
99
|
+
id: {
|
100
|
+
client_side_validation: true,
|
101
|
+
required: false,
|
102
|
+
read_only: true,
|
103
|
+
serialized_name: 'id',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
name: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: false,
|
111
|
+
read_only: true,
|
112
|
+
serialized_name: 'name',
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
},
|
117
|
+
type: {
|
118
|
+
client_side_validation: true,
|
119
|
+
required: false,
|
120
|
+
read_only: true,
|
121
|
+
serialized_name: 'type',
|
122
|
+
type: {
|
123
|
+
name: 'String'
|
124
|
+
}
|
125
|
+
},
|
126
|
+
display_name: {
|
127
|
+
client_side_validation: true,
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'properties.displayName',
|
130
|
+
type: {
|
131
|
+
name: 'String'
|
132
|
+
}
|
133
|
+
},
|
134
|
+
provider_billing_account_id: {
|
135
|
+
client_side_validation: true,
|
136
|
+
required: false,
|
137
|
+
read_only: true,
|
138
|
+
serialized_name: 'properties.providerBillingAccountId',
|
139
|
+
type: {
|
140
|
+
name: 'String'
|
141
|
+
}
|
142
|
+
},
|
143
|
+
provider_billing_account_display_name: {
|
144
|
+
client_side_validation: true,
|
145
|
+
required: false,
|
146
|
+
read_only: true,
|
147
|
+
serialized_name: 'properties.providerBillingAccountDisplayName',
|
148
|
+
type: {
|
149
|
+
name: 'String'
|
150
|
+
}
|
151
|
+
},
|
152
|
+
credentials_key: {
|
153
|
+
client_side_validation: true,
|
154
|
+
required: false,
|
155
|
+
serialized_name: 'properties.credentialsKey',
|
156
|
+
type: {
|
157
|
+
name: 'String'
|
158
|
+
}
|
159
|
+
},
|
160
|
+
credentials_secret: {
|
161
|
+
client_side_validation: true,
|
162
|
+
required: false,
|
163
|
+
serialized_name: 'properties.credentialsSecret',
|
164
|
+
type: {
|
165
|
+
name: 'String'
|
166
|
+
}
|
167
|
+
},
|
168
|
+
report_id: {
|
169
|
+
client_side_validation: true,
|
170
|
+
required: false,
|
171
|
+
serialized_name: 'properties.reportId',
|
172
|
+
type: {
|
173
|
+
name: 'String'
|
174
|
+
}
|
175
|
+
},
|
176
|
+
created_on: {
|
177
|
+
client_side_validation: true,
|
178
|
+
required: false,
|
179
|
+
read_only: true,
|
180
|
+
serialized_name: 'properties.createdOn',
|
181
|
+
type: {
|
182
|
+
name: 'DateTime'
|
183
|
+
}
|
184
|
+
},
|
185
|
+
modified_on: {
|
186
|
+
client_side_validation: true,
|
187
|
+
required: false,
|
188
|
+
read_only: true,
|
189
|
+
serialized_name: 'properties.modifiedOn',
|
190
|
+
type: {
|
191
|
+
name: 'DateTime'
|
192
|
+
}
|
193
|
+
},
|
194
|
+
status: {
|
195
|
+
client_side_validation: true,
|
196
|
+
required: false,
|
197
|
+
read_only: true,
|
198
|
+
serialized_name: 'properties.status',
|
199
|
+
type: {
|
200
|
+
name: 'String'
|
201
|
+
}
|
202
|
+
},
|
203
|
+
external_billing_account_id: {
|
204
|
+
client_side_validation: true,
|
205
|
+
required: false,
|
206
|
+
read_only: true,
|
207
|
+
serialized_name: 'properties.externalBillingAccountId',
|
208
|
+
type: {
|
209
|
+
name: 'String'
|
210
|
+
}
|
211
|
+
},
|
212
|
+
default_management_group_id: {
|
213
|
+
client_side_validation: true,
|
214
|
+
required: false,
|
215
|
+
serialized_name: 'properties.defaultManagementGroupId',
|
216
|
+
type: {
|
217
|
+
name: 'String'
|
218
|
+
}
|
219
|
+
},
|
220
|
+
subscription_id: {
|
221
|
+
client_side_validation: true,
|
222
|
+
required: false,
|
223
|
+
serialized_name: 'properties.subscriptionId',
|
224
|
+
type: {
|
225
|
+
name: 'String'
|
226
|
+
}
|
227
|
+
},
|
228
|
+
billing_model: {
|
229
|
+
client_side_validation: true,
|
230
|
+
required: false,
|
231
|
+
serialized_name: 'properties.billingModel',
|
232
|
+
type: {
|
233
|
+
name: 'String'
|
234
|
+
}
|
235
|
+
},
|
236
|
+
days_trial_remaining: {
|
237
|
+
client_side_validation: true,
|
238
|
+
required: false,
|
239
|
+
read_only: true,
|
240
|
+
serialized_name: 'properties.daysTrialRemaining',
|
241
|
+
type: {
|
242
|
+
name: 'Number'
|
243
|
+
}
|
244
|
+
},
|
245
|
+
collection_info: {
|
246
|
+
client_side_validation: true,
|
247
|
+
required: false,
|
248
|
+
read_only: true,
|
249
|
+
serialized_name: 'properties.collectionInfo',
|
250
|
+
type: {
|
251
|
+
name: 'Composite',
|
252
|
+
class_name: 'ConnectorCollectionInfo'
|
253
|
+
}
|
254
|
+
}
|
255
|
+
}
|
256
|
+
}
|
257
|
+
}
|
258
|
+
end
|
259
|
+
end
|
260
|
+
end
|
261
|
+
end
|