azure_mgmt_resources2 0.19.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -11
- data/lib/2016-02-01/generated/azure_mgmt_resources2/deployment_operations.rb +346 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/deployments.rb +1149 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +66 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/alias_type.rb +67 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/debug_setting.rb +47 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment.rb +47 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +47 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +70 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +98 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +69 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +126 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +98 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +110 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +194 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/generic_resource.rb +155 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/http_message.rb +47 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/identity.rb +72 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/plan.rb +79 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/provider.rb +89 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +98 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +125 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource.rb +111 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_group.rb +104 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +59 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +98 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +15 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +98 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +89 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/sub_resource.rb +47 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/tag_details.rb +90 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +98 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/providers.rb +522 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/resource_groups.rb +1112 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/resource_management_client.rb +151 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/resources.rb +1023 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2/tags.rb +586 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources2.rb +82 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/models/location.rb +108 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/models/location_list_result.rb +55 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/models/spending_limit.rb +17 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/models/subscription.rb +112 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/models/subscription_list_result.rb +98 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/models/subscription_policies.rb +76 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/models/subscription_state.rb +19 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/models/tenant_id_description.rb +61 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/models/tenant_list_result.rb +98 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/operations.rb +222 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/subscription_client.rb +136 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/subscriptions.rb +409 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2/tenants.rb +222 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources2.rb +42 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/deployment_operations.rb +346 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/deployments.rb +1149 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/debug_setting.rb +47 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment.rb +47 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +70 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +98 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +69 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +126 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +98 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +110 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +194 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/generic_resource.rb +155 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/http_message.rb +47 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/identity.rb +72 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/plan.rb +79 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/provider.rb +89 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +98 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +125 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource.rb +111 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_group.rb +104 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +59 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +98 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +15 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +98 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +89 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/sub_resource.rb +47 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/tag_details.rb +90 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +98 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/providers.rb +522 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/resource_groups.rb +1112 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/resource_management_client.rb +153 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/resources.rb +1023 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2/tags.rb +586 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources2.rb +82 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/deployment_operations.rb +356 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/deployments.rb +1256 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/debug_setting.rb +54 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment.rb +47 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +70 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +134 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +124 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +198 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/http_message.rb +47 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/identity.rb +72 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/plan.rb +79 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/provider.rb +92 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +125 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource.rb +111 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_group.rb +115 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +59 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +15 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +93 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/sub_resource.rb +47 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/providers.rb +530 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/resource_groups.rb +1131 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/resource_management_client.rb +151 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/resources.rb +1814 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2/tags.rb +611 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources2.rb +82 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/deployment_operations.rb +356 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/deployments.rb +1256 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/debug_setting.rb +54 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment.rb +47 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_extended.rb +70 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +134 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_properties.rb +124 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +198 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/identity.rb +72 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/plan.rb +90 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/provider.rb +92 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/provider_resource_type.rb +125 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource.rb +110 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_group.rb +115 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_identity_type.rb +15 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +92 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/providers.rb +530 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/resource_groups.rb +907 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/resource_management_client.rb +151 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/resources.rb +2210 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2/tags.rb +611 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources2.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/deployment_operations.rb +356 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/deployments.rb +1256 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/debug_setting.rb +54 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +134 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +210 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/identity.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/provider.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +125 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_group.rb +115 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/providers.rb +530 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/resource_groups.rb +907 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/resource_management_client.rb +151 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/resources.rb +2210 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2/tags.rb +611 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources2.rb +86 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/deployment_operations.rb +665 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/deployments.rb +2286 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/debug_setting.rb +54 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +94 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +134 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +210 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/identity.rb +96 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/provider.rb +92 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +125 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +92 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/operations.rb +219 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/providers.rb +530 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/resource_groups.rb +918 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/resources.rb +2338 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2/tags.rb +611 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources2.rb +91 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/application_client.rb +135 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/application_definitions.rb +1052 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/applications.rb +1467 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application.rb +202 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_artifact.rb +70 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_artifact_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_definition.rb +240 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_definition_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_list_result.rb +98 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_lock_level.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_patchable.rb +202 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/application_provider_authorization.rb +62 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/error_response.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/generic_resource.rb +121 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/identity.rb +72 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/plan_patchable.rb +90 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/provisioning_state.rb +25 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources2.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/deployment_operations.rb +665 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/deployments.rb +2286 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/debug_setting.rb +54 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +94 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +134 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +210 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/identity.rb +96 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/provider.rb +104 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +137 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +92 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/operations.rb +219 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/providers.rb +530 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/resource_groups.rb +918 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/resources.rb +2338 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2/tags.rb +611 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources2.rb +91 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/deployment_operations.rb +973 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/deployments.rb +3352 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/debug_setting.rb +53 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +94 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +146 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +222 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/identity.rb +96 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/provider.rb +104 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +137 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +92 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/operations.rb +219 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/providers.rb +530 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/resource_groups.rb +918 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/resources.rb +2338 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2/tags.rb +611 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources2.rb +91 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/deployment_operations.rb +973 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/deployments.rb +3352 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/debug_setting.rb +53 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment.rb +58 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_extended.rb +94 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +146 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +222 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/identity.rb +96 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/operation.rb +58 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/plan.rb +90 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/provider.rb +104 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/provider_resource_type.rb +137 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource.rb +110 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_management_error_with_details.rb +92 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/operations.rb +219 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/providers.rb +846 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/resource_groups.rb +918 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/resources.rb +2338 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2/tags.rb +611 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources2.rb +91 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/deployment_operations.rb +1588 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/deployments.rb +5740 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/alias_path_type.rb +65 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/alias_type.rb +66 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/change_type.rb +20 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/debug_setting.rb +53 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +94 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +146 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +222 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_what_if.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_what_if_properties.rb +108 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/deployment_what_if_settings.rb +48 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/error_response.rb +113 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/identity.rb +96 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/property_change_type.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/provider.rb +104 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +137 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/what_if_change.rb +105 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/what_if_operation_result.rb +80 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/what_if_property_change.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/models/what_if_result_format.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/operations.rb +219 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/providers.rb +846 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/resource_groups.rb +918 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/resources.rb +2338 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2/tags.rb +611 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources2.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/deployment_operations.rb +1590 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/deployments.rb +6276 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/alias_model.rb +102 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/alias_path.rb +77 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/alias_pattern.rb +70 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/alias_pattern_type.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/alias_type.rb +17 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/change_type.rb +20 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/debug_setting.rb +53 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment.rb +77 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +113 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +162 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +136 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +284 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +61 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_what_if.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_what_if_properties.rb +108 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/deployment_what_if_settings.rb +48 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/error_response.rb +117 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/generic_resource_expanded.rb +179 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/identity.rb +96 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/property_change_type.rb +18 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/provider.rb +104 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +137 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/provisioning_operation.rb +24 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resource_reference.rb +47 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/scoped_deployment.rb +77 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/scoped_deployment_what_if.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tags.rb +54 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tags_patch_operation.rb +17 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tags_patch_resource.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/tags_resource.rb +83 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/template_link.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/what_if_change.rb +105 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/what_if_operation_result.rb +80 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/what_if_property_change.rb +101 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/models/what_if_result_format.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/operations.rb +219 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/providers.rb +846 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/resource_groups.rb +964 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/resources.rb +2354 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2/tags_operations.rb +1078 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources2.rb +111 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/deployment_operations.rb +1590 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/deployments.rb +6276 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_model.rb +116 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_path.rb +91 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_path_attributes.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_path_metadata.rb +64 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_path_token_type.rb +22 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_pattern.rb +70 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_pattern_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/alias_type.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/api_profile.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/basic_dependency.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/change_type.rb +20 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/debug_setting.rb +53 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/dependency.rb +88 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_export_result.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_extended.rb +113 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_extended_filter.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_mode.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_operation.rb +71 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_operation_properties.rb +166 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_operations_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_properties.rb +151 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_properties_extended.rb +287 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_validate_result.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_what_if.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_what_if_properties.rb +117 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/deployment_what_if_settings.rb +48 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/error_additional_info.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/error_response.rb +117 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/export_template_request.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/expression_evaluation_options.rb +49 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/expression_evaluation_options_scope_type.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/generic_resource.rb +158 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/generic_resource_expanded.rb +179 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/generic_resource_filter.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/http_message.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/identity.rb +96 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/on_error_deployment.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/on_error_deployment_extended.rb +73 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/on_error_deployment_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/operation.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/operation_display.rb +80 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/operation_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/parameters_link.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/plan.rb +90 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/property_change_type.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/provider.rb +104 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/provider_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/provider_resource_type.rb +170 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/provisioning_operation.rb +24 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/provisioning_state.rb +26 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource.rb +110 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_group.rb +128 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_group_export_result.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_group_filter.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_group_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_group_patchable.rb +90 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_group_properties.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_identity_type.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resource_reference.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/resources_move_info.rb +65 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/scoped_deployment.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/scoped_deployment_what_if.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/sku.rb +101 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/status_message.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/sub_resource.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tag_count.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tag_details.rb +92 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tag_value.rb +70 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tags.rb +54 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tags_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tags_patch_operation.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tags_patch_resource.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/tags_resource.rb +83 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/target_resource.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/template_hash_result.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/template_link.rb +84 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/what_if_change.rb +105 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/what_if_operation_result.rb +80 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/what_if_property_change.rb +101 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/models/what_if_result_format.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/module_definition.rb +9 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/operations.rb +219 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/providers.rb +933 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/resource_groups.rb +979 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/resource_management_client.rb +155 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/resources.rb +2354 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2/tags_operations.rb +1078 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources2.rb +119 -0
- data/lib/azure_mgmt_resources2.rb +22 -0
- data/lib/module_definition.rb +2 -2
- data/lib/profiles2/latest/modules/resources_profile_module.rb +413 -0
- data/lib/profiles2/latest/resources_latest_profile_client.rb +40 -0
- data/lib/profiles2/latest/resources_module_definition.rb +8 -0
- data/lib/profiles2/v2017_03_09/modules/resources_profile_module.rb +267 -0
- data/lib/profiles2/v2017_03_09/resources_module_definition.rb +8 -0
- data/lib/profiles2/v2017_03_09/resources_v2017_03_09_profile_client.rb +40 -0
- data/lib/profiles2/v2018_03_01/modules/resources_profile_module.rb +283 -0
- data/lib/profiles2/v2018_03_01/resources_module_definition.rb +8 -0
- data/lib/profiles2/v2018_03_01/resources_v2018_03_01_profile_client.rb +40 -0
- data/lib/profiles2/v2019_03_01_hybrid/modules/resources_profile_module.rb +301 -0
- data/lib/profiles2/v2019_03_01_hybrid/resources_module_definition.rb +8 -0
- data/lib/profiles2/v2019_03_01_hybrid/resources_v2019_03_01_hybrid_profile_client.rb +40 -0
- data/lib/version.rb +2 -2
- metadata +879 -885
- data/lib/2016-02-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -346
- data/lib/2016-02-01/generated/azure_mgmt_resources/deployments.rb +0 -1149
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -66
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -67
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -47
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment.rb +0 -47
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -47
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -70
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -98
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -69
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -126
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -98
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -110
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -194
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -155
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/http_message.rb +0 -47
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/identity.rb +0 -72
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/plan.rb +0 -79
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider.rb +0 -89
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -98
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -125
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource.rb +0 -111
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -104
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -59
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -98
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -15
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -98
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -89
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -47
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -90
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -98
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
- data/lib/2016-02-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2016-02-01/generated/azure_mgmt_resources/providers.rb +0 -522
- data/lib/2016-02-01/generated/azure_mgmt_resources/resource_groups.rb +0 -1112
- data/lib/2016-02-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -151
- data/lib/2016-02-01/generated/azure_mgmt_resources/resources.rb +0 -1023
- data/lib/2016-02-01/generated/azure_mgmt_resources/tags.rb +0 -586
- data/lib/2016-02-01/generated/azure_mgmt_resources.rb +0 -82
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/location.rb +0 -108
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/location_list_result.rb +0 -55
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/spending_limit.rb +0 -17
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription.rb +0 -112
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription_list_result.rb +0 -98
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription_policies.rb +0 -76
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription_state.rb +0 -19
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/tenant_id_description.rb +0 -61
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/tenant_list_result.rb +0 -98
- data/lib/2016-06-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2016-06-01/generated/azure_mgmt_resources/operations.rb +0 -222
- data/lib/2016-06-01/generated/azure_mgmt_resources/subscription_client.rb +0 -136
- data/lib/2016-06-01/generated/azure_mgmt_resources/subscriptions.rb +0 -409
- data/lib/2016-06-01/generated/azure_mgmt_resources/tenants.rb +0 -222
- data/lib/2016-06-01/generated/azure_mgmt_resources.rb +0 -42
- data/lib/2016-07-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -346
- data/lib/2016-07-01/generated/azure_mgmt_resources/deployments.rb +0 -1149
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -47
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment.rb +0 -47
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -70
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -98
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -69
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -126
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -98
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -110
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -194
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -155
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/http_message.rb +0 -47
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/identity.rb +0 -72
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/plan.rb +0 -79
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider.rb +0 -89
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -98
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -125
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource.rb +0 -111
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -104
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -59
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -98
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -15
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -98
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -89
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -47
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -90
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -98
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
- data/lib/2016-07-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2016-07-01/generated/azure_mgmt_resources/providers.rb +0 -522
- data/lib/2016-07-01/generated/azure_mgmt_resources/resource_groups.rb +0 -1112
- data/lib/2016-07-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -153
- data/lib/2016-07-01/generated/azure_mgmt_resources/resources.rb +0 -1023
- data/lib/2016-07-01/generated/azure_mgmt_resources/tags.rb +0 -586
- data/lib/2016-07-01/generated/azure_mgmt_resources.rb +0 -82
- data/lib/2016-09-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -356
- data/lib/2016-09-01/generated/azure_mgmt_resources/deployments.rb +0 -1256
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -54
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment.rb +0 -47
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -70
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -134
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -124
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -198
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/http_message.rb +0 -47
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/identity.rb +0 -72
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/plan.rb +0 -79
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider.rb +0 -92
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -125
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource.rb +0 -111
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -115
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -59
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -15
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -93
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -47
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
- data/lib/2016-09-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2016-09-01/generated/azure_mgmt_resources/providers.rb +0 -530
- data/lib/2016-09-01/generated/azure_mgmt_resources/resource_groups.rb +0 -1131
- data/lib/2016-09-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -151
- data/lib/2016-09-01/generated/azure_mgmt_resources/resources.rb +0 -1814
- data/lib/2016-09-01/generated/azure_mgmt_resources/tags.rb +0 -611
- data/lib/2016-09-01/generated/azure_mgmt_resources.rb +0 -82
- data/lib/2017-05-10/generated/azure_mgmt_resources/deployment_operations.rb +0 -356
- data/lib/2017-05-10/generated/azure_mgmt_resources/deployments.rb +0 -1256
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/debug_setting.rb +0 -54
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/dependency.rb +0 -88
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment.rb +0 -47
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -70
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -134
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -124
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -198
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/error_response.rb +0 -113
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/http_message.rb +0 -46
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/identity.rb +0 -72
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/plan.rb +0 -90
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider.rb +0 -92
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -125
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource.rb +0 -110
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group.rb +0 -115
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -15
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -92
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/template_link.rb +0 -58
- data/lib/2017-05-10/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2017-05-10/generated/azure_mgmt_resources/providers.rb +0 -530
- data/lib/2017-05-10/generated/azure_mgmt_resources/resource_groups.rb +0 -907
- data/lib/2017-05-10/generated/azure_mgmt_resources/resource_management_client.rb +0 -151
- data/lib/2017-05-10/generated/azure_mgmt_resources/resources.rb +0 -2210
- data/lib/2017-05-10/generated/azure_mgmt_resources/tags.rb +0 -611
- data/lib/2017-05-10/generated/azure_mgmt_resources.rb +0 -83
- data/lib/2018-02-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -356
- data/lib/2018-02-01/generated/azure_mgmt_resources/deployments.rb +0 -1256
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -54
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment.rb +0 -47
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -70
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -134
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -210
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/identity.rb +0 -73
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/provider.rb +0 -92
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -125
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -115
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -92
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
- data/lib/2018-02-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2018-02-01/generated/azure_mgmt_resources/providers.rb +0 -530
- data/lib/2018-02-01/generated/azure_mgmt_resources/resource_groups.rb +0 -907
- data/lib/2018-02-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -151
- data/lib/2018-02-01/generated/azure_mgmt_resources/resources.rb +0 -2210
- data/lib/2018-02-01/generated/azure_mgmt_resources/tags.rb +0 -611
- data/lib/2018-02-01/generated/azure_mgmt_resources.rb +0 -86
- data/lib/2018-05-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -665
- data/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb +0 -2286
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -54
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment.rb +0 -58
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -94
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -134
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -210
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/identity.rb +0 -96
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/provider.rb +0 -92
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -125
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -92
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
- data/lib/2018-05-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2018-05-01/generated/azure_mgmt_resources/operations.rb +0 -219
- data/lib/2018-05-01/generated/azure_mgmt_resources/providers.rb +0 -530
- data/lib/2018-05-01/generated/azure_mgmt_resources/resource_groups.rb +0 -918
- data/lib/2018-05-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
- data/lib/2018-05-01/generated/azure_mgmt_resources/resources.rb +0 -2338
- data/lib/2018-05-01/generated/azure_mgmt_resources/tags.rb +0 -611
- data/lib/2018-05-01/generated/azure_mgmt_resources.rb +0 -91
- data/lib/2018-06-01/generated/azure_mgmt_resources/application_client.rb +0 -135
- data/lib/2018-06-01/generated/azure_mgmt_resources/application_definitions.rb +0 -1052
- data/lib/2018-06-01/generated/azure_mgmt_resources/applications.rb +0 -1467
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application.rb +0 -202
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_artifact.rb +0 -70
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_artifact_type.rb +0 -16
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb +0 -240
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition_list_result.rb +0 -99
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_list_result.rb +0 -98
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_lock_level.rb +0 -17
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_patchable.rb +0 -202
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb +0 -62
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/error_response.rb +0 -69
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -121
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/identity.rb +0 -72
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/plan_patchable.rb +0 -90
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/provisioning_state.rb +0 -25
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -15
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2018-06-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2018-06-01/generated/azure_mgmt_resources.rb +0 -47
- data/lib/2019-03-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -665
- data/lib/2019-03-01/generated/azure_mgmt_resources/deployments.rb +0 -2286
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -54
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment.rb +0 -58
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -94
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -134
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -210
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/identity.rb +0 -96
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/provider.rb +0 -104
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -137
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -92
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
- data/lib/2019-03-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2019-03-01/generated/azure_mgmt_resources/operations.rb +0 -219
- data/lib/2019-03-01/generated/azure_mgmt_resources/providers.rb +0 -530
- data/lib/2019-03-01/generated/azure_mgmt_resources/resource_groups.rb +0 -918
- data/lib/2019-03-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
- data/lib/2019-03-01/generated/azure_mgmt_resources/resources.rb +0 -2338
- data/lib/2019-03-01/generated/azure_mgmt_resources/tags.rb +0 -611
- data/lib/2019-03-01/generated/azure_mgmt_resources.rb +0 -91
- data/lib/2019-05-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -973
- data/lib/2019-05-01/generated/azure_mgmt_resources/deployments.rb +0 -3352
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -53
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment.rb +0 -58
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -94
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -146
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -222
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/identity.rb +0 -96
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/provider.rb +0 -104
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -137
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -92
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
- data/lib/2019-05-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2019-05-01/generated/azure_mgmt_resources/operations.rb +0 -219
- data/lib/2019-05-01/generated/azure_mgmt_resources/providers.rb +0 -530
- data/lib/2019-05-01/generated/azure_mgmt_resources/resource_groups.rb +0 -918
- data/lib/2019-05-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
- data/lib/2019-05-01/generated/azure_mgmt_resources/resources.rb +0 -2338
- data/lib/2019-05-01/generated/azure_mgmt_resources/tags.rb +0 -611
- data/lib/2019-05-01/generated/azure_mgmt_resources.rb +0 -91
- data/lib/2019-05-10/generated/azure_mgmt_resources/deployment_operations.rb +0 -973
- data/lib/2019-05-10/generated/azure_mgmt_resources/deployments.rb +0 -3352
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/debug_setting.rb +0 -53
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/dependency.rb +0 -88
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment.rb +0 -58
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -94
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -146
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -222
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/error_response.rb +0 -113
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/http_message.rb +0 -46
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/identity.rb +0 -96
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/operation.rb +0 -58
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/plan.rb +0 -90
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/provider.rb +0 -104
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -137
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource.rb +0 -110
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +0 -92
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/template_link.rb +0 -58
- data/lib/2019-05-10/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2019-05-10/generated/azure_mgmt_resources/operations.rb +0 -219
- data/lib/2019-05-10/generated/azure_mgmt_resources/providers.rb +0 -846
- data/lib/2019-05-10/generated/azure_mgmt_resources/resource_groups.rb +0 -918
- data/lib/2019-05-10/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
- data/lib/2019-05-10/generated/azure_mgmt_resources/resources.rb +0 -2338
- data/lib/2019-05-10/generated/azure_mgmt_resources/tags.rb +0 -611
- data/lib/2019-05-10/generated/azure_mgmt_resources.rb +0 -91
- data/lib/2019-07-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -1588
- data/lib/2019-07-01/generated/azure_mgmt_resources/deployments.rb +0 -5740
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/alias_path_type.rb +0 -65
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -66
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/change_type.rb +0 -20
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -53
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment.rb +0 -58
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -94
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -146
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -222
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -60
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +0 -58
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +0 -108
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +0 -48
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/error_response.rb +0 -113
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/identity.rb +0 -96
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/property_change_type.rb +0 -18
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/provider.rb +0 -104
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -137
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_change.rb +0 -105
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +0 -80
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +0 -101
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +0 -16
- data/lib/2019-07-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2019-07-01/generated/azure_mgmt_resources/operations.rb +0 -219
- data/lib/2019-07-01/generated/azure_mgmt_resources/providers.rb +0 -846
- data/lib/2019-07-01/generated/azure_mgmt_resources/resource_groups.rb +0 -918
- data/lib/2019-07-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
- data/lib/2019-07-01/generated/azure_mgmt_resources/resources.rb +0 -2338
- data/lib/2019-07-01/generated/azure_mgmt_resources/tags.rb +0 -611
- data/lib/2019-07-01/generated/azure_mgmt_resources.rb +0 -99
- data/lib/2019-10-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -1590
- data/lib/2019-10-01/generated/azure_mgmt_resources/deployments.rb +0 -6276
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_model.rb +0 -102
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_path.rb +0 -77
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_pattern.rb +0 -70
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_pattern_type.rb +0 -16
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -17
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/change_type.rb +0 -20
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -53
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment.rb +0 -77
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -113
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -162
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -136
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -284
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -61
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +0 -58
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +0 -108
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +0 -48
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/error_response.rb +0 -117
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/generic_resource_expanded.rb +0 -179
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/identity.rb +0 -96
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/property_change_type.rb +0 -18
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/provider.rb +0 -104
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -137
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/provisioning_operation.rb +0 -24
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_reference.rb +0 -47
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/scoped_deployment.rb +0 -77
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb +0 -58
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags.rb +0 -54
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_patch_operation.rb +0 -17
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb +0 -59
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_resource.rb +0 -83
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/template_link.rb +0 -58
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_change.rb +0 -105
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +0 -80
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +0 -101
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +0 -16
- data/lib/2019-10-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2019-10-01/generated/azure_mgmt_resources/operations.rb +0 -219
- data/lib/2019-10-01/generated/azure_mgmt_resources/providers.rb +0 -846
- data/lib/2019-10-01/generated/azure_mgmt_resources/resource_groups.rb +0 -964
- data/lib/2019-10-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
- data/lib/2019-10-01/generated/azure_mgmt_resources/resources.rb +0 -2354
- data/lib/2019-10-01/generated/azure_mgmt_resources/tags_operations.rb +0 -1078
- data/lib/2019-10-01/generated/azure_mgmt_resources.rb +0 -111
- data/lib/2020-06-01/generated/azure_mgmt_resources/deployment_operations.rb +0 -1590
- data/lib/2020-06-01/generated/azure_mgmt_resources/deployments.rb +0 -6276
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_model.rb +0 -116
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path.rb +0 -91
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_attributes.rb +0 -16
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_metadata.rb +0 -64
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_token_type.rb +0 -22
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_pattern.rb +0 -70
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_pattern_type.rb +0 -16
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_type.rb +0 -17
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/api_profile.rb +0 -60
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/basic_dependency.rb +0 -68
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/change_type.rb +0 -20
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/debug_setting.rb +0 -53
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/dependency.rb +0 -88
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment.rb +0 -77
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +0 -46
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_extended.rb +0 -113
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +0 -46
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +0 -99
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_mode.rb +0 -16
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation.rb +0 -71
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +0 -166
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +0 -99
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_properties.rb +0 -151
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +0 -287
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +0 -61
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +0 -58
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +0 -117
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +0 -48
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/error_additional_info.rb +0 -59
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/error_response.rb +0 -117
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/export_template_request.rb +0 -69
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/expression_evaluation_options.rb +0 -49
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/expression_evaluation_options_scope_type.rb +0 -17
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource.rb +0 -158
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource_expanded.rb +0 -179
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +0 -68
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/http_message.rb +0 -46
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/identity.rb +0 -96
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +0 -60
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +0 -60
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +0 -73
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +0 -16
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation.rb +0 -58
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation_display.rb +0 -80
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation_list_result.rb +0 -100
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/parameters_link.rb +0 -58
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/plan.rb +0 -90
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/property_change_type.rb +0 -18
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider.rb +0 -104
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider_list_result.rb +0 -99
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +0 -170
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provisioning_operation.rb +0 -24
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provisioning_state.rb +0 -26
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource.rb +0 -110
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group.rb +0 -128
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +0 -58
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +0 -57
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +0 -99
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +0 -90
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +0 -47
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +0 -18
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_list_result.rb +0 -99
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +0 -91
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_reference.rb +0 -47
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resources_move_info.rb +0 -65
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment.rb +0 -77
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb +0 -58
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/sku.rb +0 -101
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/status_message.rb +0 -58
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/sub_resource.rb +0 -46
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_count.rb +0 -57
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_details.rb +0 -92
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_value.rb +0 -70
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags.rb +0 -54
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_list_result.rb +0 -99
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_patch_operation.rb +0 -17
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb +0 -59
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_resource.rb +0 -83
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/target_resource.rb +0 -68
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/template_hash_result.rb +0 -58
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/template_link.rb +0 -84
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_change.rb +0 -105
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +0 -80
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +0 -101
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +0 -16
- data/lib/2020-06-01/generated/azure_mgmt_resources/module_definition.rb +0 -9
- data/lib/2020-06-01/generated/azure_mgmt_resources/operations.rb +0 -219
- data/lib/2020-06-01/generated/azure_mgmt_resources/providers.rb +0 -933
- data/lib/2020-06-01/generated/azure_mgmt_resources/resource_groups.rb +0 -979
- data/lib/2020-06-01/generated/azure_mgmt_resources/resource_management_client.rb +0 -155
- data/lib/2020-06-01/generated/azure_mgmt_resources/resources.rb +0 -2354
- data/lib/2020-06-01/generated/azure_mgmt_resources/tags_operations.rb +0 -1078
- data/lib/2020-06-01/generated/azure_mgmt_resources.rb +0 -119
- data/lib/azure_mgmt_resources.rb +0 -22
- data/lib/profiles/latest/modules/resources_profile_module.rb +0 -413
- data/lib/profiles/latest/resources_latest_profile_client.rb +0 -40
- data/lib/profiles/latest/resources_module_definition.rb +0 -8
- data/lib/profiles/v2017_03_09/modules/resources_profile_module.rb +0 -267
- data/lib/profiles/v2017_03_09/resources_module_definition.rb +0 -8
- data/lib/profiles/v2017_03_09/resources_v2017_03_09_profile_client.rb +0 -40
- data/lib/profiles/v2018_03_01/modules/resources_profile_module.rb +0 -283
- data/lib/profiles/v2018_03_01/resources_module_definition.rb +0 -8
- data/lib/profiles/v2018_03_01/resources_v2018_03_01_profile_client.rb +0 -40
- data/lib/profiles/v2019_03_01_hybrid/modules/resources_profile_module.rb +0 -301
- data/lib/profiles/v2019_03_01_hybrid/resources_module_definition.rb +0 -8
- data/lib/profiles/v2019_03_01_hybrid/resources_v2019_03_01_hybrid_profile_client.rb +0 -40
@@ -0,0 +1,2286 @@
|
|
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::Resources2::Mgmt::V2018_05_01
|
7
|
+
#
|
8
|
+
# Provides operations for working with resources and resource groups.
|
9
|
+
#
|
10
|
+
class Deployments
|
11
|
+
include MsRestAzure2
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Deployments class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [ResourceManagementClient] reference to the ResourceManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Deletes a deployment from the deployment history.
|
26
|
+
#
|
27
|
+
# A template deployment that is currently running cannot be deleted. Deleting a
|
28
|
+
# template deployment removes the associated deployment operations. This is an
|
29
|
+
# asynchronous operation that returns a status of 202 until the template
|
30
|
+
# deployment is successfully deleted. The Location response header contains the
|
31
|
+
# URI that is used to obtain the status of the process. While the process is
|
32
|
+
# running, a call to the URI in the Location header returns a status of 202.
|
33
|
+
# When the process finishes, the URI in the Location header returns a status of
|
34
|
+
# 204 on success. If the asynchronous request failed, the URI in the Location
|
35
|
+
# header returns an error-level status code.
|
36
|
+
#
|
37
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
38
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
39
|
+
# will be added to the HTTP request.
|
40
|
+
#
|
41
|
+
def delete_at_subscription_scope(deployment_name, custom_headers:nil)
|
42
|
+
response = delete_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
|
43
|
+
nil
|
44
|
+
end
|
45
|
+
|
46
|
+
#
|
47
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
48
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
|
+
# will be added to the HTTP request.
|
50
|
+
#
|
51
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
52
|
+
# response.
|
53
|
+
#
|
54
|
+
def delete_at_subscription_scope_async(deployment_name, custom_headers:nil)
|
55
|
+
# Send request
|
56
|
+
promise = begin_delete_at_subscription_scope_async(deployment_name, custom_headers:custom_headers)
|
57
|
+
|
58
|
+
promise = promise.then do |response|
|
59
|
+
# Defining deserialization method.
|
60
|
+
deserialize_method = lambda do |parsed_response|
|
61
|
+
end
|
62
|
+
|
63
|
+
# Waiting for response.
|
64
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
65
|
+
end
|
66
|
+
|
67
|
+
promise
|
68
|
+
end
|
69
|
+
|
70
|
+
#
|
71
|
+
# Checks whether the deployment exists.
|
72
|
+
#
|
73
|
+
# @param deployment_name [String] The name of the deployment to check.
|
74
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
75
|
+
# will be added to the HTTP request.
|
76
|
+
#
|
77
|
+
# @return [Boolean] operation results.
|
78
|
+
#
|
79
|
+
def check_existence_at_subscription_scope(deployment_name, custom_headers:nil)
|
80
|
+
response = check_existence_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
|
81
|
+
response.body unless response.nil?
|
82
|
+
end
|
83
|
+
|
84
|
+
#
|
85
|
+
# Checks whether the deployment exists.
|
86
|
+
#
|
87
|
+
# @param deployment_name [String] The name of the deployment to check.
|
88
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
89
|
+
# will be added to the HTTP request.
|
90
|
+
#
|
91
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
92
|
+
#
|
93
|
+
def check_existence_at_subscription_scope_with_http_info(deployment_name, custom_headers:nil)
|
94
|
+
check_existence_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
|
95
|
+
end
|
96
|
+
|
97
|
+
#
|
98
|
+
# Checks whether the deployment exists.
|
99
|
+
#
|
100
|
+
# @param deployment_name [String] The name of the deployment to check.
|
101
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
102
|
+
# to the HTTP request.
|
103
|
+
#
|
104
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
105
|
+
#
|
106
|
+
def check_existence_at_subscription_scope_async(deployment_name, custom_headers:nil)
|
107
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
108
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
109
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
110
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
111
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
112
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
113
|
+
|
114
|
+
|
115
|
+
request_headers = {}
|
116
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
117
|
+
|
118
|
+
# Set Headers
|
119
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
120
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
121
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
122
|
+
|
123
|
+
request_url = @base_url || @client.base_url
|
124
|
+
|
125
|
+
options = {
|
126
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
127
|
+
path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
128
|
+
query_params: {'api-version' => @client.api_version},
|
129
|
+
headers: request_headers.merge(custom_headers || {}),
|
130
|
+
base_url: request_url
|
131
|
+
}
|
132
|
+
promise = @client.make_request_async(:head, path_template, options)
|
133
|
+
|
134
|
+
promise = promise.then do |result|
|
135
|
+
http_response = result.response
|
136
|
+
status_code = http_response.status
|
137
|
+
response_content = http_response.body
|
138
|
+
unless status_code == 204 || status_code == 404
|
139
|
+
error_model = JSON.load(response_content)
|
140
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
141
|
+
end
|
142
|
+
|
143
|
+
result.body = (status_code == 204)
|
144
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
145
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
146
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
147
|
+
|
148
|
+
result
|
149
|
+
end
|
150
|
+
|
151
|
+
promise.execute
|
152
|
+
end
|
153
|
+
|
154
|
+
#
|
155
|
+
# Deploys resources at subscription scope.
|
156
|
+
#
|
157
|
+
# You can provide the template and parameters directly in the request or link
|
158
|
+
# to JSON files.
|
159
|
+
#
|
160
|
+
# @param deployment_name [String] The name of the deployment.
|
161
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
162
|
+
# operation.
|
163
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
164
|
+
# will be added to the HTTP request.
|
165
|
+
#
|
166
|
+
# @return [DeploymentExtended] operation results.
|
167
|
+
#
|
168
|
+
def create_or_update_at_subscription_scope(deployment_name, parameters, custom_headers:nil)
|
169
|
+
response = create_or_update_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
|
170
|
+
response.body unless response.nil?
|
171
|
+
end
|
172
|
+
|
173
|
+
#
|
174
|
+
# @param deployment_name [String] The name of the deployment.
|
175
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
176
|
+
# operation.
|
177
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
178
|
+
# will be added to the HTTP request.
|
179
|
+
#
|
180
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
181
|
+
# response.
|
182
|
+
#
|
183
|
+
def create_or_update_at_subscription_scope_async(deployment_name, parameters, custom_headers:nil)
|
184
|
+
# Send request
|
185
|
+
promise = begin_create_or_update_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers)
|
186
|
+
|
187
|
+
promise = promise.then do |response|
|
188
|
+
# Defining deserialization method.
|
189
|
+
deserialize_method = lambda do |parsed_response|
|
190
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
|
191
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
192
|
+
end
|
193
|
+
|
194
|
+
# Waiting for response.
|
195
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
196
|
+
end
|
197
|
+
|
198
|
+
promise
|
199
|
+
end
|
200
|
+
|
201
|
+
#
|
202
|
+
# Gets a deployment.
|
203
|
+
#
|
204
|
+
# @param deployment_name [String] The name of the deployment to get.
|
205
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
206
|
+
# will be added to the HTTP request.
|
207
|
+
#
|
208
|
+
# @return [DeploymentExtended] operation results.
|
209
|
+
#
|
210
|
+
def get_at_subscription_scope(deployment_name, custom_headers:nil)
|
211
|
+
response = get_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
|
212
|
+
response.body unless response.nil?
|
213
|
+
end
|
214
|
+
|
215
|
+
#
|
216
|
+
# Gets a deployment.
|
217
|
+
#
|
218
|
+
# @param deployment_name [String] The name of the deployment to get.
|
219
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
220
|
+
# will be added to the HTTP request.
|
221
|
+
#
|
222
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
223
|
+
#
|
224
|
+
def get_at_subscription_scope_with_http_info(deployment_name, custom_headers:nil)
|
225
|
+
get_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
|
226
|
+
end
|
227
|
+
|
228
|
+
#
|
229
|
+
# Gets a deployment.
|
230
|
+
#
|
231
|
+
# @param deployment_name [String] The name of the deployment to get.
|
232
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
233
|
+
# to the HTTP request.
|
234
|
+
#
|
235
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
236
|
+
#
|
237
|
+
def get_at_subscription_scope_async(deployment_name, custom_headers:nil)
|
238
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
239
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
240
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
241
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
242
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
243
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
244
|
+
|
245
|
+
|
246
|
+
request_headers = {}
|
247
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
248
|
+
|
249
|
+
# Set Headers
|
250
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
251
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
252
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
253
|
+
|
254
|
+
request_url = @base_url || @client.base_url
|
255
|
+
|
256
|
+
options = {
|
257
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
258
|
+
path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
259
|
+
query_params: {'api-version' => @client.api_version},
|
260
|
+
headers: request_headers.merge(custom_headers || {}),
|
261
|
+
base_url: request_url
|
262
|
+
}
|
263
|
+
promise = @client.make_request_async(:get, path_template, options)
|
264
|
+
|
265
|
+
promise = promise.then do |result|
|
266
|
+
http_response = result.response
|
267
|
+
status_code = http_response.status
|
268
|
+
response_content = http_response.body
|
269
|
+
unless status_code == 200
|
270
|
+
error_model = JSON.load(response_content)
|
271
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
272
|
+
end
|
273
|
+
|
274
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
275
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
276
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
277
|
+
# Deserialize Response
|
278
|
+
if status_code == 200
|
279
|
+
begin
|
280
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
281
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
|
282
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
283
|
+
rescue Exception => e
|
284
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
result
|
289
|
+
end
|
290
|
+
|
291
|
+
promise.execute
|
292
|
+
end
|
293
|
+
|
294
|
+
#
|
295
|
+
# Cancels a currently running template deployment.
|
296
|
+
#
|
297
|
+
# You can cancel a deployment only if the provisioningState is Accepted or
|
298
|
+
# Running. After the deployment is canceled, the provisioningState is set to
|
299
|
+
# Canceled. Canceling a template deployment stops the currently running
|
300
|
+
# template deployment and leaves the resources partially deployed.
|
301
|
+
#
|
302
|
+
# @param deployment_name [String] The name of the deployment to cancel.
|
303
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
304
|
+
# will be added to the HTTP request.
|
305
|
+
#
|
306
|
+
#
|
307
|
+
def cancel_at_subscription_scope(deployment_name, custom_headers:nil)
|
308
|
+
response = cancel_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
|
309
|
+
nil
|
310
|
+
end
|
311
|
+
|
312
|
+
#
|
313
|
+
# Cancels a currently running template deployment.
|
314
|
+
#
|
315
|
+
# You can cancel a deployment only if the provisioningState is Accepted or
|
316
|
+
# Running. After the deployment is canceled, the provisioningState is set to
|
317
|
+
# Canceled. Canceling a template deployment stops the currently running
|
318
|
+
# template deployment and leaves the resources partially deployed.
|
319
|
+
#
|
320
|
+
# @param deployment_name [String] The name of the deployment to cancel.
|
321
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
322
|
+
# will be added to the HTTP request.
|
323
|
+
#
|
324
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
325
|
+
#
|
326
|
+
def cancel_at_subscription_scope_with_http_info(deployment_name, custom_headers:nil)
|
327
|
+
cancel_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
|
328
|
+
end
|
329
|
+
|
330
|
+
#
|
331
|
+
# Cancels a currently running template deployment.
|
332
|
+
#
|
333
|
+
# You can cancel a deployment only if the provisioningState is Accepted or
|
334
|
+
# Running. After the deployment is canceled, the provisioningState is set to
|
335
|
+
# Canceled. Canceling a template deployment stops the currently running
|
336
|
+
# template deployment and leaves the resources partially deployed.
|
337
|
+
#
|
338
|
+
# @param deployment_name [String] The name of the deployment to cancel.
|
339
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
340
|
+
# to the HTTP request.
|
341
|
+
#
|
342
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
343
|
+
#
|
344
|
+
def cancel_at_subscription_scope_async(deployment_name, custom_headers:nil)
|
345
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
346
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
347
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
348
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
349
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
350
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
351
|
+
|
352
|
+
|
353
|
+
request_headers = {}
|
354
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
355
|
+
|
356
|
+
# Set Headers
|
357
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
358
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
359
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel'
|
360
|
+
|
361
|
+
request_url = @base_url || @client.base_url
|
362
|
+
|
363
|
+
options = {
|
364
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
365
|
+
path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
366
|
+
query_params: {'api-version' => @client.api_version},
|
367
|
+
headers: request_headers.merge(custom_headers || {}),
|
368
|
+
base_url: request_url
|
369
|
+
}
|
370
|
+
promise = @client.make_request_async(:post, path_template, options)
|
371
|
+
|
372
|
+
promise = promise.then do |result|
|
373
|
+
http_response = result.response
|
374
|
+
status_code = http_response.status
|
375
|
+
response_content = http_response.body
|
376
|
+
unless status_code == 204
|
377
|
+
error_model = JSON.load(response_content)
|
378
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
379
|
+
end
|
380
|
+
|
381
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
382
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
383
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
384
|
+
|
385
|
+
result
|
386
|
+
end
|
387
|
+
|
388
|
+
promise.execute
|
389
|
+
end
|
390
|
+
|
391
|
+
#
|
392
|
+
# Validates whether the specified template is syntactically correct and will be
|
393
|
+
# accepted by Azure Resource Manager..
|
394
|
+
#
|
395
|
+
# @param deployment_name [String] The name of the deployment.
|
396
|
+
# @param parameters [Deployment] Parameters to validate.
|
397
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
398
|
+
# will be added to the HTTP request.
|
399
|
+
#
|
400
|
+
# @return [DeploymentValidateResult] operation results.
|
401
|
+
#
|
402
|
+
def validate_at_subscription_scope(deployment_name, parameters, custom_headers:nil)
|
403
|
+
response = validate_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
|
404
|
+
response.body unless response.nil?
|
405
|
+
end
|
406
|
+
|
407
|
+
#
|
408
|
+
# Validates whether the specified template is syntactically correct and will be
|
409
|
+
# accepted by Azure Resource Manager..
|
410
|
+
#
|
411
|
+
# @param deployment_name [String] The name of the deployment.
|
412
|
+
# @param parameters [Deployment] Parameters to validate.
|
413
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
414
|
+
# will be added to the HTTP request.
|
415
|
+
#
|
416
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
417
|
+
#
|
418
|
+
def validate_at_subscription_scope_with_http_info(deployment_name, parameters, custom_headers:nil)
|
419
|
+
validate_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
|
420
|
+
end
|
421
|
+
|
422
|
+
#
|
423
|
+
# Validates whether the specified template is syntactically correct and will be
|
424
|
+
# accepted by Azure Resource Manager..
|
425
|
+
#
|
426
|
+
# @param deployment_name [String] The name of the deployment.
|
427
|
+
# @param parameters [Deployment] Parameters to validate.
|
428
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
429
|
+
# to the HTTP request.
|
430
|
+
#
|
431
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
432
|
+
#
|
433
|
+
def validate_at_subscription_scope_async(deployment_name, parameters, custom_headers:nil)
|
434
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
435
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
436
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
437
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
438
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
439
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
440
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
441
|
+
|
442
|
+
|
443
|
+
request_headers = {}
|
444
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
445
|
+
|
446
|
+
# Set Headers
|
447
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
448
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
449
|
+
|
450
|
+
# Serialize Request
|
451
|
+
request_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::Deployment.mapper()
|
452
|
+
request_content = @client.serialize(request_mapper, parameters)
|
453
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
454
|
+
|
455
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate'
|
456
|
+
|
457
|
+
request_url = @base_url || @client.base_url
|
458
|
+
|
459
|
+
options = {
|
460
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
461
|
+
path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
462
|
+
query_params: {'api-version' => @client.api_version},
|
463
|
+
body: request_content,
|
464
|
+
headers: request_headers.merge(custom_headers || {}),
|
465
|
+
base_url: request_url
|
466
|
+
}
|
467
|
+
promise = @client.make_request_async(:post, path_template, options)
|
468
|
+
|
469
|
+
promise = promise.then do |result|
|
470
|
+
http_response = result.response
|
471
|
+
status_code = http_response.status
|
472
|
+
response_content = http_response.body
|
473
|
+
unless status_code == 200 || status_code == 400
|
474
|
+
error_model = JSON.load(response_content)
|
475
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
476
|
+
end
|
477
|
+
|
478
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
479
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
480
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
481
|
+
# Deserialize Response
|
482
|
+
if status_code == 200
|
483
|
+
begin
|
484
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
485
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentValidateResult.mapper()
|
486
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
487
|
+
rescue Exception => e
|
488
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
489
|
+
end
|
490
|
+
end
|
491
|
+
# Deserialize Response
|
492
|
+
if status_code == 400
|
493
|
+
begin
|
494
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
495
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentValidateResult.mapper()
|
496
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
497
|
+
rescue Exception => e
|
498
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
499
|
+
end
|
500
|
+
end
|
501
|
+
|
502
|
+
result
|
503
|
+
end
|
504
|
+
|
505
|
+
promise.execute
|
506
|
+
end
|
507
|
+
|
508
|
+
#
|
509
|
+
# Exports the template used for specified deployment.
|
510
|
+
#
|
511
|
+
# @param deployment_name [String] The name of the deployment from which to get
|
512
|
+
# the template.
|
513
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
514
|
+
# will be added to the HTTP request.
|
515
|
+
#
|
516
|
+
# @return [DeploymentExportResult] operation results.
|
517
|
+
#
|
518
|
+
def export_template_at_subscription_scope(deployment_name, custom_headers:nil)
|
519
|
+
response = export_template_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
|
520
|
+
response.body unless response.nil?
|
521
|
+
end
|
522
|
+
|
523
|
+
#
|
524
|
+
# Exports the template used for specified deployment.
|
525
|
+
#
|
526
|
+
# @param deployment_name [String] The name of the deployment from which to get
|
527
|
+
# the template.
|
528
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
529
|
+
# will be added to the HTTP request.
|
530
|
+
#
|
531
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
532
|
+
#
|
533
|
+
def export_template_at_subscription_scope_with_http_info(deployment_name, custom_headers:nil)
|
534
|
+
export_template_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
|
535
|
+
end
|
536
|
+
|
537
|
+
#
|
538
|
+
# Exports the template used for specified deployment.
|
539
|
+
#
|
540
|
+
# @param deployment_name [String] The name of the deployment from which to get
|
541
|
+
# the template.
|
542
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
543
|
+
# to the HTTP request.
|
544
|
+
#
|
545
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
546
|
+
#
|
547
|
+
def export_template_at_subscription_scope_async(deployment_name, custom_headers:nil)
|
548
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
549
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
550
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
551
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
552
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
553
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
554
|
+
|
555
|
+
|
556
|
+
request_headers = {}
|
557
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
558
|
+
|
559
|
+
# Set Headers
|
560
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
561
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
562
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate'
|
563
|
+
|
564
|
+
request_url = @base_url || @client.base_url
|
565
|
+
|
566
|
+
options = {
|
567
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
568
|
+
path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
569
|
+
query_params: {'api-version' => @client.api_version},
|
570
|
+
headers: request_headers.merge(custom_headers || {}),
|
571
|
+
base_url: request_url
|
572
|
+
}
|
573
|
+
promise = @client.make_request_async(:post, path_template, options)
|
574
|
+
|
575
|
+
promise = promise.then do |result|
|
576
|
+
http_response = result.response
|
577
|
+
status_code = http_response.status
|
578
|
+
response_content = http_response.body
|
579
|
+
unless status_code == 200
|
580
|
+
error_model = JSON.load(response_content)
|
581
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
582
|
+
end
|
583
|
+
|
584
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
585
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
586
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
587
|
+
# Deserialize Response
|
588
|
+
if status_code == 200
|
589
|
+
begin
|
590
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
591
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExportResult.mapper()
|
592
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
593
|
+
rescue Exception => e
|
594
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
595
|
+
end
|
596
|
+
end
|
597
|
+
|
598
|
+
result
|
599
|
+
end
|
600
|
+
|
601
|
+
promise.execute
|
602
|
+
end
|
603
|
+
|
604
|
+
#
|
605
|
+
# Get all the deployments for a subscription.
|
606
|
+
#
|
607
|
+
# @param filter [String] The filter to apply on the operation. For example, you
|
608
|
+
# can use $filter=provisioningState eq '{state}'.
|
609
|
+
# @param top [Integer] The number of results to get. If null is passed, returns
|
610
|
+
# all deployments.
|
611
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
612
|
+
# will be added to the HTTP request.
|
613
|
+
#
|
614
|
+
# @return [Array<DeploymentExtended>] operation results.
|
615
|
+
#
|
616
|
+
def list_at_subscription_scope(filter:nil, top:nil, custom_headers:nil)
|
617
|
+
first_page = list_at_subscription_scope_as_lazy(filter:filter, top:top, custom_headers:custom_headers)
|
618
|
+
first_page.get_all_items
|
619
|
+
end
|
620
|
+
|
621
|
+
#
|
622
|
+
# Get all the deployments for a subscription.
|
623
|
+
#
|
624
|
+
# @param filter [String] The filter to apply on the operation. For example, you
|
625
|
+
# can use $filter=provisioningState eq '{state}'.
|
626
|
+
# @param top [Integer] The number of results to get. If null is passed, returns
|
627
|
+
# all deployments.
|
628
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
629
|
+
# will be added to the HTTP request.
|
630
|
+
#
|
631
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
632
|
+
#
|
633
|
+
def list_at_subscription_scope_with_http_info(filter:nil, top:nil, custom_headers:nil)
|
634
|
+
list_at_subscription_scope_async(filter:filter, top:top, custom_headers:custom_headers).value!
|
635
|
+
end
|
636
|
+
|
637
|
+
#
|
638
|
+
# Get all the deployments for a subscription.
|
639
|
+
#
|
640
|
+
# @param filter [String] The filter to apply on the operation. For example, you
|
641
|
+
# can use $filter=provisioningState eq '{state}'.
|
642
|
+
# @param top [Integer] The number of results to get. If null is passed, returns
|
643
|
+
# all deployments.
|
644
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
645
|
+
# to the HTTP request.
|
646
|
+
#
|
647
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
648
|
+
#
|
649
|
+
def list_at_subscription_scope_async(filter:nil, top:nil, custom_headers:nil)
|
650
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
651
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
652
|
+
|
653
|
+
|
654
|
+
request_headers = {}
|
655
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
656
|
+
|
657
|
+
# Set Headers
|
658
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
659
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
660
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/'
|
661
|
+
|
662
|
+
request_url = @base_url || @client.base_url
|
663
|
+
|
664
|
+
options = {
|
665
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
666
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
667
|
+
query_params: {'$filter' => filter,'$top' => top,'api-version' => @client.api_version},
|
668
|
+
headers: request_headers.merge(custom_headers || {}),
|
669
|
+
base_url: request_url
|
670
|
+
}
|
671
|
+
promise = @client.make_request_async(:get, path_template, options)
|
672
|
+
|
673
|
+
promise = promise.then do |result|
|
674
|
+
http_response = result.response
|
675
|
+
status_code = http_response.status
|
676
|
+
response_content = http_response.body
|
677
|
+
unless status_code == 200
|
678
|
+
error_model = JSON.load(response_content)
|
679
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
680
|
+
end
|
681
|
+
|
682
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
683
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
684
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
685
|
+
# Deserialize Response
|
686
|
+
if status_code == 200
|
687
|
+
begin
|
688
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
689
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentListResult.mapper()
|
690
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
691
|
+
rescue Exception => e
|
692
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
result
|
697
|
+
end
|
698
|
+
|
699
|
+
promise.execute
|
700
|
+
end
|
701
|
+
|
702
|
+
#
|
703
|
+
# Deletes a deployment from the deployment history.
|
704
|
+
#
|
705
|
+
# A template deployment that is currently running cannot be deleted. Deleting a
|
706
|
+
# template deployment removes the associated deployment operations. Deleting a
|
707
|
+
# template deployment does not affect the state of the resource group. This is
|
708
|
+
# an asynchronous operation that returns a status of 202 until the template
|
709
|
+
# deployment is successfully deleted. The Location response header contains the
|
710
|
+
# URI that is used to obtain the status of the process. While the process is
|
711
|
+
# running, a call to the URI in the Location header returns a status of 202.
|
712
|
+
# When the process finishes, the URI in the Location header returns a status of
|
713
|
+
# 204 on success. If the asynchronous request failed, the URI in the Location
|
714
|
+
# header returns an error-level status code.
|
715
|
+
#
|
716
|
+
# @param resource_group_name [String] The name of the resource group with the
|
717
|
+
# deployment to delete. The name is case insensitive.
|
718
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
719
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
720
|
+
# will be added to the HTTP request.
|
721
|
+
#
|
722
|
+
def delete(resource_group_name, deployment_name, custom_headers:nil)
|
723
|
+
response = delete_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
724
|
+
nil
|
725
|
+
end
|
726
|
+
|
727
|
+
#
|
728
|
+
# @param resource_group_name [String] The name of the resource group with the
|
729
|
+
# deployment to delete. The name is case insensitive.
|
730
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
731
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
732
|
+
# will be added to the HTTP request.
|
733
|
+
#
|
734
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
735
|
+
# response.
|
736
|
+
#
|
737
|
+
def delete_async(resource_group_name, deployment_name, custom_headers:nil)
|
738
|
+
# Send request
|
739
|
+
promise = begin_delete_async(resource_group_name, deployment_name, custom_headers:custom_headers)
|
740
|
+
|
741
|
+
promise = promise.then do |response|
|
742
|
+
# Defining deserialization method.
|
743
|
+
deserialize_method = lambda do |parsed_response|
|
744
|
+
end
|
745
|
+
|
746
|
+
# Waiting for response.
|
747
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
748
|
+
end
|
749
|
+
|
750
|
+
promise
|
751
|
+
end
|
752
|
+
|
753
|
+
#
|
754
|
+
# Checks whether the deployment exists.
|
755
|
+
#
|
756
|
+
# @param resource_group_name [String] The name of the resource group with the
|
757
|
+
# deployment to check. The name is case insensitive.
|
758
|
+
# @param deployment_name [String] The name of the deployment to check.
|
759
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
760
|
+
# will be added to the HTTP request.
|
761
|
+
#
|
762
|
+
# @return [Boolean] operation results.
|
763
|
+
#
|
764
|
+
def check_existence(resource_group_name, deployment_name, custom_headers:nil)
|
765
|
+
response = check_existence_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
766
|
+
response.body unless response.nil?
|
767
|
+
end
|
768
|
+
|
769
|
+
#
|
770
|
+
# Checks whether the deployment exists.
|
771
|
+
#
|
772
|
+
# @param resource_group_name [String] The name of the resource group with the
|
773
|
+
# deployment to check. The name is case insensitive.
|
774
|
+
# @param deployment_name [String] The name of the deployment to check.
|
775
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
776
|
+
# will be added to the HTTP request.
|
777
|
+
#
|
778
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
779
|
+
#
|
780
|
+
def check_existence_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
|
781
|
+
check_existence_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
782
|
+
end
|
783
|
+
|
784
|
+
#
|
785
|
+
# Checks whether the deployment exists.
|
786
|
+
#
|
787
|
+
# @param resource_group_name [String] The name of the resource group with the
|
788
|
+
# deployment to check. The name is case insensitive.
|
789
|
+
# @param deployment_name [String] The name of the deployment to check.
|
790
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
791
|
+
# to the HTTP request.
|
792
|
+
#
|
793
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
794
|
+
#
|
795
|
+
def check_existence_async(resource_group_name, deployment_name, custom_headers:nil)
|
796
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
797
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
798
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
799
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
800
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
801
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
802
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
803
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
804
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
805
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
806
|
+
|
807
|
+
|
808
|
+
request_headers = {}
|
809
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
810
|
+
|
811
|
+
# Set Headers
|
812
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
813
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
814
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
815
|
+
|
816
|
+
request_url = @base_url || @client.base_url
|
817
|
+
|
818
|
+
options = {
|
819
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
820
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
821
|
+
query_params: {'api-version' => @client.api_version},
|
822
|
+
headers: request_headers.merge(custom_headers || {}),
|
823
|
+
base_url: request_url
|
824
|
+
}
|
825
|
+
promise = @client.make_request_async(:head, path_template, options)
|
826
|
+
|
827
|
+
promise = promise.then do |result|
|
828
|
+
http_response = result.response
|
829
|
+
status_code = http_response.status
|
830
|
+
response_content = http_response.body
|
831
|
+
unless status_code == 204 || status_code == 404
|
832
|
+
error_model = JSON.load(response_content)
|
833
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
834
|
+
end
|
835
|
+
|
836
|
+
result.body = (status_code == 204)
|
837
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
838
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
839
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
840
|
+
|
841
|
+
result
|
842
|
+
end
|
843
|
+
|
844
|
+
promise.execute
|
845
|
+
end
|
846
|
+
|
847
|
+
#
|
848
|
+
# Deploys resources to a resource group.
|
849
|
+
#
|
850
|
+
# You can provide the template and parameters directly in the request or link
|
851
|
+
# to JSON files.
|
852
|
+
#
|
853
|
+
# @param resource_group_name [String] The name of the resource group to deploy
|
854
|
+
# the resources to. The name is case insensitive. The resource group must
|
855
|
+
# already exist.
|
856
|
+
# @param deployment_name [String] The name of the deployment.
|
857
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
858
|
+
# operation.
|
859
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
860
|
+
# will be added to the HTTP request.
|
861
|
+
#
|
862
|
+
# @return [DeploymentExtended] operation results.
|
863
|
+
#
|
864
|
+
def create_or_update(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
865
|
+
response = create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
|
866
|
+
response.body unless response.nil?
|
867
|
+
end
|
868
|
+
|
869
|
+
#
|
870
|
+
# @param resource_group_name [String] The name of the resource group to deploy
|
871
|
+
# the resources to. The name is case insensitive. The resource group must
|
872
|
+
# already exist.
|
873
|
+
# @param deployment_name [String] The name of the deployment.
|
874
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
875
|
+
# operation.
|
876
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
877
|
+
# will be added to the HTTP request.
|
878
|
+
#
|
879
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
880
|
+
# response.
|
881
|
+
#
|
882
|
+
def create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
883
|
+
# Send request
|
884
|
+
promise = begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers)
|
885
|
+
|
886
|
+
promise = promise.then do |response|
|
887
|
+
# Defining deserialization method.
|
888
|
+
deserialize_method = lambda do |parsed_response|
|
889
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
|
890
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
891
|
+
end
|
892
|
+
|
893
|
+
# Waiting for response.
|
894
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
895
|
+
end
|
896
|
+
|
897
|
+
promise
|
898
|
+
end
|
899
|
+
|
900
|
+
#
|
901
|
+
# Gets a deployment.
|
902
|
+
#
|
903
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
904
|
+
# is case insensitive.
|
905
|
+
# @param deployment_name [String] The name of the deployment to get.
|
906
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
907
|
+
# will be added to the HTTP request.
|
908
|
+
#
|
909
|
+
# @return [DeploymentExtended] operation results.
|
910
|
+
#
|
911
|
+
def get(resource_group_name, deployment_name, custom_headers:nil)
|
912
|
+
response = get_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
913
|
+
response.body unless response.nil?
|
914
|
+
end
|
915
|
+
|
916
|
+
#
|
917
|
+
# Gets a deployment.
|
918
|
+
#
|
919
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
920
|
+
# is case insensitive.
|
921
|
+
# @param deployment_name [String] The name of the deployment to get.
|
922
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
923
|
+
# will be added to the HTTP request.
|
924
|
+
#
|
925
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
926
|
+
#
|
927
|
+
def get_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
|
928
|
+
get_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
929
|
+
end
|
930
|
+
|
931
|
+
#
|
932
|
+
# Gets a deployment.
|
933
|
+
#
|
934
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
935
|
+
# is case insensitive.
|
936
|
+
# @param deployment_name [String] The name of the deployment to get.
|
937
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
938
|
+
# to the HTTP request.
|
939
|
+
#
|
940
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
941
|
+
#
|
942
|
+
def get_async(resource_group_name, deployment_name, custom_headers:nil)
|
943
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
944
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
945
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
946
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
947
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
948
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
949
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
950
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
951
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
952
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
953
|
+
|
954
|
+
|
955
|
+
request_headers = {}
|
956
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
957
|
+
|
958
|
+
# Set Headers
|
959
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
960
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
961
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
962
|
+
|
963
|
+
request_url = @base_url || @client.base_url
|
964
|
+
|
965
|
+
options = {
|
966
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
967
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
968
|
+
query_params: {'api-version' => @client.api_version},
|
969
|
+
headers: request_headers.merge(custom_headers || {}),
|
970
|
+
base_url: request_url
|
971
|
+
}
|
972
|
+
promise = @client.make_request_async(:get, path_template, options)
|
973
|
+
|
974
|
+
promise = promise.then do |result|
|
975
|
+
http_response = result.response
|
976
|
+
status_code = http_response.status
|
977
|
+
response_content = http_response.body
|
978
|
+
unless status_code == 200
|
979
|
+
error_model = JSON.load(response_content)
|
980
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
981
|
+
end
|
982
|
+
|
983
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
984
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
985
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
986
|
+
# Deserialize Response
|
987
|
+
if status_code == 200
|
988
|
+
begin
|
989
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
990
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
|
991
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
992
|
+
rescue Exception => e
|
993
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
994
|
+
end
|
995
|
+
end
|
996
|
+
|
997
|
+
result
|
998
|
+
end
|
999
|
+
|
1000
|
+
promise.execute
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
#
|
1004
|
+
# Cancels a currently running template deployment.
|
1005
|
+
#
|
1006
|
+
# You can cancel a deployment only if the provisioningState is Accepted or
|
1007
|
+
# Running. After the deployment is canceled, the provisioningState is set to
|
1008
|
+
# Canceled. Canceling a template deployment stops the currently running
|
1009
|
+
# template deployment and leaves the resource group partially deployed.
|
1010
|
+
#
|
1011
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
1012
|
+
# is case insensitive.
|
1013
|
+
# @param deployment_name [String] The name of the deployment to cancel.
|
1014
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1015
|
+
# will be added to the HTTP request.
|
1016
|
+
#
|
1017
|
+
#
|
1018
|
+
def cancel(resource_group_name, deployment_name, custom_headers:nil)
|
1019
|
+
response = cancel_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
1020
|
+
nil
|
1021
|
+
end
|
1022
|
+
|
1023
|
+
#
|
1024
|
+
# Cancels a currently running template deployment.
|
1025
|
+
#
|
1026
|
+
# You can cancel a deployment only if the provisioningState is Accepted or
|
1027
|
+
# Running. After the deployment is canceled, the provisioningState is set to
|
1028
|
+
# Canceled. Canceling a template deployment stops the currently running
|
1029
|
+
# template deployment and leaves the resource group partially deployed.
|
1030
|
+
#
|
1031
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
1032
|
+
# is case insensitive.
|
1033
|
+
# @param deployment_name [String] The name of the deployment to cancel.
|
1034
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1035
|
+
# will be added to the HTTP request.
|
1036
|
+
#
|
1037
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
1038
|
+
#
|
1039
|
+
def cancel_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
|
1040
|
+
cancel_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
#
|
1044
|
+
# Cancels a currently running template deployment.
|
1045
|
+
#
|
1046
|
+
# You can cancel a deployment only if the provisioningState is Accepted or
|
1047
|
+
# Running. After the deployment is canceled, the provisioningState is set to
|
1048
|
+
# Canceled. Canceling a template deployment stops the currently running
|
1049
|
+
# template deployment and leaves the resource group partially deployed.
|
1050
|
+
#
|
1051
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
1052
|
+
# is case insensitive.
|
1053
|
+
# @param deployment_name [String] The name of the deployment to cancel.
|
1054
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1055
|
+
# to the HTTP request.
|
1056
|
+
#
|
1057
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1058
|
+
#
|
1059
|
+
def cancel_async(resource_group_name, deployment_name, custom_headers:nil)
|
1060
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1061
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1062
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1063
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1064
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
1065
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
1066
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
1067
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1068
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1069
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1070
|
+
|
1071
|
+
|
1072
|
+
request_headers = {}
|
1073
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1074
|
+
|
1075
|
+
# Set Headers
|
1076
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1077
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1078
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel'
|
1079
|
+
|
1080
|
+
request_url = @base_url || @client.base_url
|
1081
|
+
|
1082
|
+
options = {
|
1083
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1084
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
1085
|
+
query_params: {'api-version' => @client.api_version},
|
1086
|
+
headers: request_headers.merge(custom_headers || {}),
|
1087
|
+
base_url: request_url
|
1088
|
+
}
|
1089
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1090
|
+
|
1091
|
+
promise = promise.then do |result|
|
1092
|
+
http_response = result.response
|
1093
|
+
status_code = http_response.status
|
1094
|
+
response_content = http_response.body
|
1095
|
+
unless status_code == 204
|
1096
|
+
error_model = JSON.load(response_content)
|
1097
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1101
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1102
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1103
|
+
|
1104
|
+
result
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
promise.execute
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
#
|
1111
|
+
# Validates whether the specified template is syntactically correct and will be
|
1112
|
+
# accepted by Azure Resource Manager..
|
1113
|
+
#
|
1114
|
+
# @param resource_group_name [String] The name of the resource group the
|
1115
|
+
# template will be deployed to. The name is case insensitive.
|
1116
|
+
# @param deployment_name [String] The name of the deployment.
|
1117
|
+
# @param parameters [Deployment] Parameters to validate.
|
1118
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1119
|
+
# will be added to the HTTP request.
|
1120
|
+
#
|
1121
|
+
# @return [DeploymentValidateResult] operation results.
|
1122
|
+
#
|
1123
|
+
def validate(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
1124
|
+
response = validate_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
|
1125
|
+
response.body unless response.nil?
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
#
|
1129
|
+
# Validates whether the specified template is syntactically correct and will be
|
1130
|
+
# accepted by Azure Resource Manager..
|
1131
|
+
#
|
1132
|
+
# @param resource_group_name [String] The name of the resource group the
|
1133
|
+
# template will be deployed to. The name is case insensitive.
|
1134
|
+
# @param deployment_name [String] The name of the deployment.
|
1135
|
+
# @param parameters [Deployment] Parameters to validate.
|
1136
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1137
|
+
# will be added to the HTTP request.
|
1138
|
+
#
|
1139
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
1140
|
+
#
|
1141
|
+
def validate_with_http_info(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
1142
|
+
validate_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
#
|
1146
|
+
# Validates whether the specified template is syntactically correct and will be
|
1147
|
+
# accepted by Azure Resource Manager..
|
1148
|
+
#
|
1149
|
+
# @param resource_group_name [String] The name of the resource group the
|
1150
|
+
# template will be deployed to. The name is case insensitive.
|
1151
|
+
# @param deployment_name [String] The name of the deployment.
|
1152
|
+
# @param parameters [Deployment] Parameters to validate.
|
1153
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1154
|
+
# to the HTTP request.
|
1155
|
+
#
|
1156
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1157
|
+
#
|
1158
|
+
def validate_async(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
1159
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1160
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1161
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1162
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1163
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
1164
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
1165
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
1166
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1167
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1168
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1169
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1170
|
+
|
1171
|
+
|
1172
|
+
request_headers = {}
|
1173
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1174
|
+
|
1175
|
+
# Set Headers
|
1176
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1177
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1178
|
+
|
1179
|
+
# Serialize Request
|
1180
|
+
request_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::Deployment.mapper()
|
1181
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1182
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1183
|
+
|
1184
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate'
|
1185
|
+
|
1186
|
+
request_url = @base_url || @client.base_url
|
1187
|
+
|
1188
|
+
options = {
|
1189
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1190
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
1191
|
+
query_params: {'api-version' => @client.api_version},
|
1192
|
+
body: request_content,
|
1193
|
+
headers: request_headers.merge(custom_headers || {}),
|
1194
|
+
base_url: request_url
|
1195
|
+
}
|
1196
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1197
|
+
|
1198
|
+
promise = promise.then do |result|
|
1199
|
+
http_response = result.response
|
1200
|
+
status_code = http_response.status
|
1201
|
+
response_content = http_response.body
|
1202
|
+
unless status_code == 200 || status_code == 400
|
1203
|
+
error_model = JSON.load(response_content)
|
1204
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1208
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1209
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1210
|
+
# Deserialize Response
|
1211
|
+
if status_code == 200
|
1212
|
+
begin
|
1213
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1214
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentValidateResult.mapper()
|
1215
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1216
|
+
rescue Exception => e
|
1217
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1218
|
+
end
|
1219
|
+
end
|
1220
|
+
# Deserialize Response
|
1221
|
+
if status_code == 400
|
1222
|
+
begin
|
1223
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1224
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentValidateResult.mapper()
|
1225
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1226
|
+
rescue Exception => e
|
1227
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1228
|
+
end
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
result
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
promise.execute
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
#
|
1238
|
+
# Exports the template used for specified deployment.
|
1239
|
+
#
|
1240
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
1241
|
+
# is case insensitive.
|
1242
|
+
# @param deployment_name [String] The name of the deployment from which to get
|
1243
|
+
# the template.
|
1244
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1245
|
+
# will be added to the HTTP request.
|
1246
|
+
#
|
1247
|
+
# @return [DeploymentExportResult] operation results.
|
1248
|
+
#
|
1249
|
+
def export_template(resource_group_name, deployment_name, custom_headers:nil)
|
1250
|
+
response = export_template_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
1251
|
+
response.body unless response.nil?
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
#
|
1255
|
+
# Exports the template used for specified deployment.
|
1256
|
+
#
|
1257
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
1258
|
+
# is case insensitive.
|
1259
|
+
# @param deployment_name [String] The name of the deployment from which to get
|
1260
|
+
# the template.
|
1261
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1262
|
+
# will be added to the HTTP request.
|
1263
|
+
#
|
1264
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
1265
|
+
#
|
1266
|
+
def export_template_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
|
1267
|
+
export_template_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
1268
|
+
end
|
1269
|
+
|
1270
|
+
#
|
1271
|
+
# Exports the template used for specified deployment.
|
1272
|
+
#
|
1273
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
1274
|
+
# is case insensitive.
|
1275
|
+
# @param deployment_name [String] The name of the deployment from which to get
|
1276
|
+
# the template.
|
1277
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1278
|
+
# to the HTTP request.
|
1279
|
+
#
|
1280
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1281
|
+
#
|
1282
|
+
def export_template_async(resource_group_name, deployment_name, custom_headers:nil)
|
1283
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1284
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1285
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1286
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1287
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
1288
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
1289
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
1290
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1291
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1292
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1293
|
+
|
1294
|
+
|
1295
|
+
request_headers = {}
|
1296
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1297
|
+
|
1298
|
+
# Set Headers
|
1299
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1300
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1301
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate'
|
1302
|
+
|
1303
|
+
request_url = @base_url || @client.base_url
|
1304
|
+
|
1305
|
+
options = {
|
1306
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1307
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
1308
|
+
query_params: {'api-version' => @client.api_version},
|
1309
|
+
headers: request_headers.merge(custom_headers || {}),
|
1310
|
+
base_url: request_url
|
1311
|
+
}
|
1312
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1313
|
+
|
1314
|
+
promise = promise.then do |result|
|
1315
|
+
http_response = result.response
|
1316
|
+
status_code = http_response.status
|
1317
|
+
response_content = http_response.body
|
1318
|
+
unless status_code == 200
|
1319
|
+
error_model = JSON.load(response_content)
|
1320
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1324
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1325
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1326
|
+
# Deserialize Response
|
1327
|
+
if status_code == 200
|
1328
|
+
begin
|
1329
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1330
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExportResult.mapper()
|
1331
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1332
|
+
rescue Exception => e
|
1333
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1334
|
+
end
|
1335
|
+
end
|
1336
|
+
|
1337
|
+
result
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
promise.execute
|
1341
|
+
end
|
1342
|
+
|
1343
|
+
#
|
1344
|
+
# Get all the deployments for a resource group.
|
1345
|
+
#
|
1346
|
+
# @param resource_group_name [String] The name of the resource group with the
|
1347
|
+
# deployments to get. The name is case insensitive.
|
1348
|
+
# @param filter [String] The filter to apply on the operation. For example, you
|
1349
|
+
# can use $filter=provisioningState eq '{state}'.
|
1350
|
+
# @param top [Integer] The number of results to get. If null is passed, returns
|
1351
|
+
# all deployments.
|
1352
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1353
|
+
# will be added to the HTTP request.
|
1354
|
+
#
|
1355
|
+
# @return [Array<DeploymentExtended>] operation results.
|
1356
|
+
#
|
1357
|
+
def list_by_resource_group(resource_group_name, filter:nil, top:nil, custom_headers:nil)
|
1358
|
+
first_page = list_by_resource_group_as_lazy(resource_group_name, filter:filter, top:top, custom_headers:custom_headers)
|
1359
|
+
first_page.get_all_items
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
#
|
1363
|
+
# Get all the deployments for a resource group.
|
1364
|
+
#
|
1365
|
+
# @param resource_group_name [String] The name of the resource group with the
|
1366
|
+
# deployments to get. The name is case insensitive.
|
1367
|
+
# @param filter [String] The filter to apply on the operation. For example, you
|
1368
|
+
# can use $filter=provisioningState eq '{state}'.
|
1369
|
+
# @param top [Integer] The number of results to get. If null is passed, returns
|
1370
|
+
# all deployments.
|
1371
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1372
|
+
# will be added to the HTTP request.
|
1373
|
+
#
|
1374
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
1375
|
+
#
|
1376
|
+
def list_by_resource_group_with_http_info(resource_group_name, filter:nil, top:nil, custom_headers:nil)
|
1377
|
+
list_by_resource_group_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
|
1378
|
+
end
|
1379
|
+
|
1380
|
+
#
|
1381
|
+
# Get all the deployments for a resource group.
|
1382
|
+
#
|
1383
|
+
# @param resource_group_name [String] The name of the resource group with the
|
1384
|
+
# deployments to get. The name is case insensitive.
|
1385
|
+
# @param filter [String] The filter to apply on the operation. For example, you
|
1386
|
+
# can use $filter=provisioningState eq '{state}'.
|
1387
|
+
# @param top [Integer] The number of results to get. If null is passed, returns
|
1388
|
+
# all deployments.
|
1389
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1390
|
+
# to the HTTP request.
|
1391
|
+
#
|
1392
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1393
|
+
#
|
1394
|
+
def list_by_resource_group_async(resource_group_name, filter:nil, top:nil, custom_headers:nil)
|
1395
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1396
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1397
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1398
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1399
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1400
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1401
|
+
|
1402
|
+
|
1403
|
+
request_headers = {}
|
1404
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1405
|
+
|
1406
|
+
# Set Headers
|
1407
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1408
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1409
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/'
|
1410
|
+
|
1411
|
+
request_url = @base_url || @client.base_url
|
1412
|
+
|
1413
|
+
options = {
|
1414
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1415
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
1416
|
+
query_params: {'$filter' => filter,'$top' => top,'api-version' => @client.api_version},
|
1417
|
+
headers: request_headers.merge(custom_headers || {}),
|
1418
|
+
base_url: request_url
|
1419
|
+
}
|
1420
|
+
promise = @client.make_request_async(:get, path_template, options)
|
1421
|
+
|
1422
|
+
promise = promise.then do |result|
|
1423
|
+
http_response = result.response
|
1424
|
+
status_code = http_response.status
|
1425
|
+
response_content = http_response.body
|
1426
|
+
unless status_code == 200
|
1427
|
+
error_model = JSON.load(response_content)
|
1428
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
1429
|
+
end
|
1430
|
+
|
1431
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1432
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1433
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1434
|
+
# Deserialize Response
|
1435
|
+
if status_code == 200
|
1436
|
+
begin
|
1437
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1438
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentListResult.mapper()
|
1439
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1440
|
+
rescue Exception => e
|
1441
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1442
|
+
end
|
1443
|
+
end
|
1444
|
+
|
1445
|
+
result
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
promise.execute
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
#
|
1452
|
+
# Calculate the hash of the given template.
|
1453
|
+
#
|
1454
|
+
# @param template The template provided to calculate hash.
|
1455
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1456
|
+
# will be added to the HTTP request.
|
1457
|
+
#
|
1458
|
+
# @return [TemplateHashResult] operation results.
|
1459
|
+
#
|
1460
|
+
def calculate_template_hash(template, custom_headers:nil)
|
1461
|
+
response = calculate_template_hash_async(template, custom_headers:custom_headers).value!
|
1462
|
+
response.body unless response.nil?
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
#
|
1466
|
+
# Calculate the hash of the given template.
|
1467
|
+
#
|
1468
|
+
# @param template The template provided to calculate hash.
|
1469
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1470
|
+
# will be added to the HTTP request.
|
1471
|
+
#
|
1472
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
1473
|
+
#
|
1474
|
+
def calculate_template_hash_with_http_info(template, custom_headers:nil)
|
1475
|
+
calculate_template_hash_async(template, custom_headers:custom_headers).value!
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
#
|
1479
|
+
# Calculate the hash of the given template.
|
1480
|
+
#
|
1481
|
+
# @param template The template provided to calculate hash.
|
1482
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1483
|
+
# to the HTTP request.
|
1484
|
+
#
|
1485
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1486
|
+
#
|
1487
|
+
def calculate_template_hash_async(template, custom_headers:nil)
|
1488
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1489
|
+
fail ArgumentError, 'template is nil' if template.nil?
|
1490
|
+
|
1491
|
+
|
1492
|
+
request_headers = {}
|
1493
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1494
|
+
|
1495
|
+
# Set Headers
|
1496
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1497
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1498
|
+
|
1499
|
+
# Serialize Request
|
1500
|
+
request_mapper = {
|
1501
|
+
client_side_validation: true,
|
1502
|
+
required: true,
|
1503
|
+
serialized_name: 'template',
|
1504
|
+
type: {
|
1505
|
+
name: 'Object'
|
1506
|
+
}
|
1507
|
+
}
|
1508
|
+
request_content = @client.serialize(request_mapper, template)
|
1509
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1510
|
+
|
1511
|
+
path_template = 'providers/Microsoft.Resources/calculateTemplateHash'
|
1512
|
+
|
1513
|
+
request_url = @base_url || @client.base_url
|
1514
|
+
|
1515
|
+
options = {
|
1516
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1517
|
+
query_params: {'api-version' => @client.api_version},
|
1518
|
+
body: request_content,
|
1519
|
+
headers: request_headers.merge(custom_headers || {}),
|
1520
|
+
base_url: request_url
|
1521
|
+
}
|
1522
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1523
|
+
|
1524
|
+
promise = promise.then do |result|
|
1525
|
+
http_response = result.response
|
1526
|
+
status_code = http_response.status
|
1527
|
+
response_content = http_response.body
|
1528
|
+
unless status_code == 200
|
1529
|
+
error_model = JSON.load(response_content)
|
1530
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
1531
|
+
end
|
1532
|
+
|
1533
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1534
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1535
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1536
|
+
# Deserialize Response
|
1537
|
+
if status_code == 200
|
1538
|
+
begin
|
1539
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1540
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::TemplateHashResult.mapper()
|
1541
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1542
|
+
rescue Exception => e
|
1543
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1544
|
+
end
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
result
|
1548
|
+
end
|
1549
|
+
|
1550
|
+
promise.execute
|
1551
|
+
end
|
1552
|
+
|
1553
|
+
#
|
1554
|
+
# Deletes a deployment from the deployment history.
|
1555
|
+
#
|
1556
|
+
# A template deployment that is currently running cannot be deleted. Deleting a
|
1557
|
+
# template deployment removes the associated deployment operations. This is an
|
1558
|
+
# asynchronous operation that returns a status of 202 until the template
|
1559
|
+
# deployment is successfully deleted. The Location response header contains the
|
1560
|
+
# URI that is used to obtain the status of the process. While the process is
|
1561
|
+
# running, a call to the URI in the Location header returns a status of 202.
|
1562
|
+
# When the process finishes, the URI in the Location header returns a status of
|
1563
|
+
# 204 on success. If the asynchronous request failed, the URI in the Location
|
1564
|
+
# header returns an error-level status code.
|
1565
|
+
#
|
1566
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
1567
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1568
|
+
# will be added to the HTTP request.
|
1569
|
+
#
|
1570
|
+
#
|
1571
|
+
def begin_delete_at_subscription_scope(deployment_name, custom_headers:nil)
|
1572
|
+
response = begin_delete_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
|
1573
|
+
nil
|
1574
|
+
end
|
1575
|
+
|
1576
|
+
#
|
1577
|
+
# Deletes a deployment from the deployment history.
|
1578
|
+
#
|
1579
|
+
# A template deployment that is currently running cannot be deleted. Deleting a
|
1580
|
+
# template deployment removes the associated deployment operations. This is an
|
1581
|
+
# asynchronous operation that returns a status of 202 until the template
|
1582
|
+
# deployment is successfully deleted. The Location response header contains the
|
1583
|
+
# URI that is used to obtain the status of the process. While the process is
|
1584
|
+
# running, a call to the URI in the Location header returns a status of 202.
|
1585
|
+
# When the process finishes, the URI in the Location header returns a status of
|
1586
|
+
# 204 on success. If the asynchronous request failed, the URI in the Location
|
1587
|
+
# header returns an error-level status code.
|
1588
|
+
#
|
1589
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
1590
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1591
|
+
# will be added to the HTTP request.
|
1592
|
+
#
|
1593
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
1594
|
+
#
|
1595
|
+
def begin_delete_at_subscription_scope_with_http_info(deployment_name, custom_headers:nil)
|
1596
|
+
begin_delete_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
|
1597
|
+
end
|
1598
|
+
|
1599
|
+
#
|
1600
|
+
# Deletes a deployment from the deployment history.
|
1601
|
+
#
|
1602
|
+
# A template deployment that is currently running cannot be deleted. Deleting a
|
1603
|
+
# template deployment removes the associated deployment operations. This is an
|
1604
|
+
# asynchronous operation that returns a status of 202 until the template
|
1605
|
+
# deployment is successfully deleted. The Location response header contains the
|
1606
|
+
# URI that is used to obtain the status of the process. While the process is
|
1607
|
+
# running, a call to the URI in the Location header returns a status of 202.
|
1608
|
+
# When the process finishes, the URI in the Location header returns a status of
|
1609
|
+
# 204 on success. If the asynchronous request failed, the URI in the Location
|
1610
|
+
# header returns an error-level status code.
|
1611
|
+
#
|
1612
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
1613
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1614
|
+
# to the HTTP request.
|
1615
|
+
#
|
1616
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1617
|
+
#
|
1618
|
+
def begin_delete_at_subscription_scope_async(deployment_name, custom_headers:nil)
|
1619
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
1620
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
1621
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
1622
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1623
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1624
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1625
|
+
|
1626
|
+
|
1627
|
+
request_headers = {}
|
1628
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1629
|
+
|
1630
|
+
# Set Headers
|
1631
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1632
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1633
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
1634
|
+
|
1635
|
+
request_url = @base_url || @client.base_url
|
1636
|
+
|
1637
|
+
options = {
|
1638
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1639
|
+
path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
1640
|
+
query_params: {'api-version' => @client.api_version},
|
1641
|
+
headers: request_headers.merge(custom_headers || {}),
|
1642
|
+
base_url: request_url
|
1643
|
+
}
|
1644
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
1645
|
+
|
1646
|
+
promise = promise.then do |result|
|
1647
|
+
http_response = result.response
|
1648
|
+
status_code = http_response.status
|
1649
|
+
response_content = http_response.body
|
1650
|
+
unless status_code == 202 || status_code == 204
|
1651
|
+
error_model = JSON.load(response_content)
|
1652
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
1653
|
+
end
|
1654
|
+
|
1655
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1656
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1657
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1658
|
+
|
1659
|
+
result
|
1660
|
+
end
|
1661
|
+
|
1662
|
+
promise.execute
|
1663
|
+
end
|
1664
|
+
|
1665
|
+
#
|
1666
|
+
# Deploys resources at subscription scope.
|
1667
|
+
#
|
1668
|
+
# You can provide the template and parameters directly in the request or link
|
1669
|
+
# to JSON files.
|
1670
|
+
#
|
1671
|
+
# @param deployment_name [String] The name of the deployment.
|
1672
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
1673
|
+
# operation.
|
1674
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1675
|
+
# will be added to the HTTP request.
|
1676
|
+
#
|
1677
|
+
# @return [DeploymentExtended] operation results.
|
1678
|
+
#
|
1679
|
+
def begin_create_or_update_at_subscription_scope(deployment_name, parameters, custom_headers:nil)
|
1680
|
+
response = begin_create_or_update_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
|
1681
|
+
response.body unless response.nil?
|
1682
|
+
end
|
1683
|
+
|
1684
|
+
#
|
1685
|
+
# Deploys resources at subscription scope.
|
1686
|
+
#
|
1687
|
+
# You can provide the template and parameters directly in the request or link
|
1688
|
+
# to JSON files.
|
1689
|
+
#
|
1690
|
+
# @param deployment_name [String] The name of the deployment.
|
1691
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
1692
|
+
# operation.
|
1693
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1694
|
+
# will be added to the HTTP request.
|
1695
|
+
#
|
1696
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
1697
|
+
#
|
1698
|
+
def begin_create_or_update_at_subscription_scope_with_http_info(deployment_name, parameters, custom_headers:nil)
|
1699
|
+
begin_create_or_update_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
|
1700
|
+
end
|
1701
|
+
|
1702
|
+
#
|
1703
|
+
# Deploys resources at subscription scope.
|
1704
|
+
#
|
1705
|
+
# You can provide the template and parameters directly in the request or link
|
1706
|
+
# to JSON files.
|
1707
|
+
#
|
1708
|
+
# @param deployment_name [String] The name of the deployment.
|
1709
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
1710
|
+
# operation.
|
1711
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1712
|
+
# to the HTTP request.
|
1713
|
+
#
|
1714
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1715
|
+
#
|
1716
|
+
def begin_create_or_update_at_subscription_scope_async(deployment_name, parameters, custom_headers:nil)
|
1717
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
1718
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
1719
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
1720
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1721
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1722
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1723
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1724
|
+
|
1725
|
+
|
1726
|
+
request_headers = {}
|
1727
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1728
|
+
|
1729
|
+
# Set Headers
|
1730
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1731
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1732
|
+
|
1733
|
+
# Serialize Request
|
1734
|
+
request_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::Deployment.mapper()
|
1735
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1736
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1737
|
+
|
1738
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
1739
|
+
|
1740
|
+
request_url = @base_url || @client.base_url
|
1741
|
+
|
1742
|
+
options = {
|
1743
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1744
|
+
path_params: {'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
1745
|
+
query_params: {'api-version' => @client.api_version},
|
1746
|
+
body: request_content,
|
1747
|
+
headers: request_headers.merge(custom_headers || {}),
|
1748
|
+
base_url: request_url
|
1749
|
+
}
|
1750
|
+
promise = @client.make_request_async(:put, path_template, options)
|
1751
|
+
|
1752
|
+
promise = promise.then do |result|
|
1753
|
+
http_response = result.response
|
1754
|
+
status_code = http_response.status
|
1755
|
+
response_content = http_response.body
|
1756
|
+
unless status_code == 200 || status_code == 201
|
1757
|
+
error_model = JSON.load(response_content)
|
1758
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
1759
|
+
end
|
1760
|
+
|
1761
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1762
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1763
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1764
|
+
# Deserialize Response
|
1765
|
+
if status_code == 200
|
1766
|
+
begin
|
1767
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1768
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
|
1769
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1770
|
+
rescue Exception => e
|
1771
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1772
|
+
end
|
1773
|
+
end
|
1774
|
+
# Deserialize Response
|
1775
|
+
if status_code == 201
|
1776
|
+
begin
|
1777
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1778
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
|
1779
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1780
|
+
rescue Exception => e
|
1781
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1782
|
+
end
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
result
|
1786
|
+
end
|
1787
|
+
|
1788
|
+
promise.execute
|
1789
|
+
end
|
1790
|
+
|
1791
|
+
#
|
1792
|
+
# Deletes a deployment from the deployment history.
|
1793
|
+
#
|
1794
|
+
# A template deployment that is currently running cannot be deleted. Deleting a
|
1795
|
+
# template deployment removes the associated deployment operations. Deleting a
|
1796
|
+
# template deployment does not affect the state of the resource group. This is
|
1797
|
+
# an asynchronous operation that returns a status of 202 until the template
|
1798
|
+
# deployment is successfully deleted. The Location response header contains the
|
1799
|
+
# URI that is used to obtain the status of the process. While the process is
|
1800
|
+
# running, a call to the URI in the Location header returns a status of 202.
|
1801
|
+
# When the process finishes, the URI in the Location header returns a status of
|
1802
|
+
# 204 on success. If the asynchronous request failed, the URI in the Location
|
1803
|
+
# header returns an error-level status code.
|
1804
|
+
#
|
1805
|
+
# @param resource_group_name [String] The name of the resource group with the
|
1806
|
+
# deployment to delete. The name is case insensitive.
|
1807
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
1808
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1809
|
+
# will be added to the HTTP request.
|
1810
|
+
#
|
1811
|
+
#
|
1812
|
+
def begin_delete(resource_group_name, deployment_name, custom_headers:nil)
|
1813
|
+
response = begin_delete_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
1814
|
+
nil
|
1815
|
+
end
|
1816
|
+
|
1817
|
+
#
|
1818
|
+
# Deletes a deployment from the deployment history.
|
1819
|
+
#
|
1820
|
+
# A template deployment that is currently running cannot be deleted. Deleting a
|
1821
|
+
# template deployment removes the associated deployment operations. Deleting a
|
1822
|
+
# template deployment does not affect the state of the resource group. This is
|
1823
|
+
# an asynchronous operation that returns a status of 202 until the template
|
1824
|
+
# deployment is successfully deleted. The Location response header contains the
|
1825
|
+
# URI that is used to obtain the status of the process. While the process is
|
1826
|
+
# running, a call to the URI in the Location header returns a status of 202.
|
1827
|
+
# When the process finishes, the URI in the Location header returns a status of
|
1828
|
+
# 204 on success. If the asynchronous request failed, the URI in the Location
|
1829
|
+
# header returns an error-level status code.
|
1830
|
+
#
|
1831
|
+
# @param resource_group_name [String] The name of the resource group with the
|
1832
|
+
# deployment to delete. The name is case insensitive.
|
1833
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
1834
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1835
|
+
# will be added to the HTTP request.
|
1836
|
+
#
|
1837
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
1838
|
+
#
|
1839
|
+
def begin_delete_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
|
1840
|
+
begin_delete_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
1841
|
+
end
|
1842
|
+
|
1843
|
+
#
|
1844
|
+
# Deletes a deployment from the deployment history.
|
1845
|
+
#
|
1846
|
+
# A template deployment that is currently running cannot be deleted. Deleting a
|
1847
|
+
# template deployment removes the associated deployment operations. Deleting a
|
1848
|
+
# template deployment does not affect the state of the resource group. This is
|
1849
|
+
# an asynchronous operation that returns a status of 202 until the template
|
1850
|
+
# deployment is successfully deleted. The Location response header contains the
|
1851
|
+
# URI that is used to obtain the status of the process. While the process is
|
1852
|
+
# running, a call to the URI in the Location header returns a status of 202.
|
1853
|
+
# When the process finishes, the URI in the Location header returns a status of
|
1854
|
+
# 204 on success. If the asynchronous request failed, the URI in the Location
|
1855
|
+
# header returns an error-level status code.
|
1856
|
+
#
|
1857
|
+
# @param resource_group_name [String] The name of the resource group with the
|
1858
|
+
# deployment to delete. The name is case insensitive.
|
1859
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
1860
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1861
|
+
# to the HTTP request.
|
1862
|
+
#
|
1863
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1864
|
+
#
|
1865
|
+
def begin_delete_async(resource_group_name, deployment_name, custom_headers:nil)
|
1866
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1867
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1868
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1869
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1870
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
1871
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
1872
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
1873
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1874
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1875
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1876
|
+
|
1877
|
+
|
1878
|
+
request_headers = {}
|
1879
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1880
|
+
|
1881
|
+
# Set Headers
|
1882
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1883
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1884
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
1885
|
+
|
1886
|
+
request_url = @base_url || @client.base_url
|
1887
|
+
|
1888
|
+
options = {
|
1889
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1890
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
1891
|
+
query_params: {'api-version' => @client.api_version},
|
1892
|
+
headers: request_headers.merge(custom_headers || {}),
|
1893
|
+
base_url: request_url
|
1894
|
+
}
|
1895
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
1896
|
+
|
1897
|
+
promise = promise.then do |result|
|
1898
|
+
http_response = result.response
|
1899
|
+
status_code = http_response.status
|
1900
|
+
response_content = http_response.body
|
1901
|
+
unless status_code == 202 || status_code == 204
|
1902
|
+
error_model = JSON.load(response_content)
|
1903
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
1904
|
+
end
|
1905
|
+
|
1906
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1907
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1908
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1909
|
+
|
1910
|
+
result
|
1911
|
+
end
|
1912
|
+
|
1913
|
+
promise.execute
|
1914
|
+
end
|
1915
|
+
|
1916
|
+
#
|
1917
|
+
# Deploys resources to a resource group.
|
1918
|
+
#
|
1919
|
+
# You can provide the template and parameters directly in the request or link
|
1920
|
+
# to JSON files.
|
1921
|
+
#
|
1922
|
+
# @param resource_group_name [String] The name of the resource group to deploy
|
1923
|
+
# the resources to. The name is case insensitive. The resource group must
|
1924
|
+
# already exist.
|
1925
|
+
# @param deployment_name [String] The name of the deployment.
|
1926
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
1927
|
+
# operation.
|
1928
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1929
|
+
# will be added to the HTTP request.
|
1930
|
+
#
|
1931
|
+
# @return [DeploymentExtended] operation results.
|
1932
|
+
#
|
1933
|
+
def begin_create_or_update(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
1934
|
+
response = begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
|
1935
|
+
response.body unless response.nil?
|
1936
|
+
end
|
1937
|
+
|
1938
|
+
#
|
1939
|
+
# Deploys resources to a resource group.
|
1940
|
+
#
|
1941
|
+
# You can provide the template and parameters directly in the request or link
|
1942
|
+
# to JSON files.
|
1943
|
+
#
|
1944
|
+
# @param resource_group_name [String] The name of the resource group to deploy
|
1945
|
+
# the resources to. The name is case insensitive. The resource group must
|
1946
|
+
# already exist.
|
1947
|
+
# @param deployment_name [String] The name of the deployment.
|
1948
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
1949
|
+
# operation.
|
1950
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1951
|
+
# will be added to the HTTP request.
|
1952
|
+
#
|
1953
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
1954
|
+
#
|
1955
|
+
def begin_create_or_update_with_http_info(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
1956
|
+
begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
|
1957
|
+
end
|
1958
|
+
|
1959
|
+
#
|
1960
|
+
# Deploys resources to a resource group.
|
1961
|
+
#
|
1962
|
+
# You can provide the template and parameters directly in the request or link
|
1963
|
+
# to JSON files.
|
1964
|
+
#
|
1965
|
+
# @param resource_group_name [String] The name of the resource group to deploy
|
1966
|
+
# the resources to. The name is case insensitive. The resource group must
|
1967
|
+
# already exist.
|
1968
|
+
# @param deployment_name [String] The name of the deployment.
|
1969
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
1970
|
+
# operation.
|
1971
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1972
|
+
# to the HTTP request.
|
1973
|
+
#
|
1974
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1975
|
+
#
|
1976
|
+
def begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
1977
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1978
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1979
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1980
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1981
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
1982
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
1983
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
1984
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1985
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1986
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1987
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1988
|
+
|
1989
|
+
|
1990
|
+
request_headers = {}
|
1991
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1992
|
+
|
1993
|
+
# Set Headers
|
1994
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1995
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1996
|
+
|
1997
|
+
# Serialize Request
|
1998
|
+
request_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::Deployment.mapper()
|
1999
|
+
request_content = @client.serialize(request_mapper, parameters)
|
2000
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
2001
|
+
|
2002
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
2003
|
+
|
2004
|
+
request_url = @base_url || @client.base_url
|
2005
|
+
|
2006
|
+
options = {
|
2007
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2008
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
2009
|
+
query_params: {'api-version' => @client.api_version},
|
2010
|
+
body: request_content,
|
2011
|
+
headers: request_headers.merge(custom_headers || {}),
|
2012
|
+
base_url: request_url
|
2013
|
+
}
|
2014
|
+
promise = @client.make_request_async(:put, path_template, options)
|
2015
|
+
|
2016
|
+
promise = promise.then do |result|
|
2017
|
+
http_response = result.response
|
2018
|
+
status_code = http_response.status
|
2019
|
+
response_content = http_response.body
|
2020
|
+
unless status_code == 200 || status_code == 201
|
2021
|
+
error_model = JSON.load(response_content)
|
2022
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
2023
|
+
end
|
2024
|
+
|
2025
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2026
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2027
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2028
|
+
# Deserialize Response
|
2029
|
+
if status_code == 200
|
2030
|
+
begin
|
2031
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2032
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
|
2033
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2034
|
+
rescue Exception => e
|
2035
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2036
|
+
end
|
2037
|
+
end
|
2038
|
+
# Deserialize Response
|
2039
|
+
if status_code == 201
|
2040
|
+
begin
|
2041
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2042
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentExtended.mapper()
|
2043
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2044
|
+
rescue Exception => e
|
2045
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2046
|
+
end
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
result
|
2050
|
+
end
|
2051
|
+
|
2052
|
+
promise.execute
|
2053
|
+
end
|
2054
|
+
|
2055
|
+
#
|
2056
|
+
# Get all the deployments for a subscription.
|
2057
|
+
#
|
2058
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2059
|
+
# to List operation.
|
2060
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2061
|
+
# will be added to the HTTP request.
|
2062
|
+
#
|
2063
|
+
# @return [DeploymentListResult] operation results.
|
2064
|
+
#
|
2065
|
+
def list_at_subscription_scope_next(next_page_link, custom_headers:nil)
|
2066
|
+
response = list_at_subscription_scope_next_async(next_page_link, custom_headers:custom_headers).value!
|
2067
|
+
response.body unless response.nil?
|
2068
|
+
end
|
2069
|
+
|
2070
|
+
#
|
2071
|
+
# Get all the deployments for a subscription.
|
2072
|
+
#
|
2073
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2074
|
+
# to List operation.
|
2075
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2076
|
+
# will be added to the HTTP request.
|
2077
|
+
#
|
2078
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
2079
|
+
#
|
2080
|
+
def list_at_subscription_scope_next_with_http_info(next_page_link, custom_headers:nil)
|
2081
|
+
list_at_subscription_scope_next_async(next_page_link, custom_headers:custom_headers).value!
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
#
|
2085
|
+
# Get all the deployments for a subscription.
|
2086
|
+
#
|
2087
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2088
|
+
# to List operation.
|
2089
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2090
|
+
# to the HTTP request.
|
2091
|
+
#
|
2092
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2093
|
+
#
|
2094
|
+
def list_at_subscription_scope_next_async(next_page_link, custom_headers:nil)
|
2095
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
2096
|
+
|
2097
|
+
|
2098
|
+
request_headers = {}
|
2099
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2100
|
+
|
2101
|
+
# Set Headers
|
2102
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2103
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2104
|
+
path_template = '{nextLink}'
|
2105
|
+
|
2106
|
+
request_url = @base_url || @client.base_url
|
2107
|
+
|
2108
|
+
options = {
|
2109
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2110
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
2111
|
+
headers: request_headers.merge(custom_headers || {}),
|
2112
|
+
base_url: request_url
|
2113
|
+
}
|
2114
|
+
promise = @client.make_request_async(:get, path_template, options)
|
2115
|
+
|
2116
|
+
promise = promise.then do |result|
|
2117
|
+
http_response = result.response
|
2118
|
+
status_code = http_response.status
|
2119
|
+
response_content = http_response.body
|
2120
|
+
unless status_code == 200
|
2121
|
+
error_model = JSON.load(response_content)
|
2122
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
2123
|
+
end
|
2124
|
+
|
2125
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2126
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2127
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2128
|
+
# Deserialize Response
|
2129
|
+
if status_code == 200
|
2130
|
+
begin
|
2131
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2132
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentListResult.mapper()
|
2133
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2134
|
+
rescue Exception => e
|
2135
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2136
|
+
end
|
2137
|
+
end
|
2138
|
+
|
2139
|
+
result
|
2140
|
+
end
|
2141
|
+
|
2142
|
+
promise.execute
|
2143
|
+
end
|
2144
|
+
|
2145
|
+
#
|
2146
|
+
# Get all the deployments for a resource group.
|
2147
|
+
#
|
2148
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2149
|
+
# to List operation.
|
2150
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2151
|
+
# will be added to the HTTP request.
|
2152
|
+
#
|
2153
|
+
# @return [DeploymentListResult] operation results.
|
2154
|
+
#
|
2155
|
+
def list_by_resource_group_next(next_page_link, custom_headers:nil)
|
2156
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
2157
|
+
response.body unless response.nil?
|
2158
|
+
end
|
2159
|
+
|
2160
|
+
#
|
2161
|
+
# Get all the deployments for a resource group.
|
2162
|
+
#
|
2163
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2164
|
+
# to List operation.
|
2165
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2166
|
+
# will be added to the HTTP request.
|
2167
|
+
#
|
2168
|
+
# @return [MsRestAzure2::AzureOperationResponse] HTTP response information.
|
2169
|
+
#
|
2170
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
|
2171
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
2172
|
+
end
|
2173
|
+
|
2174
|
+
#
|
2175
|
+
# Get all the deployments for a resource group.
|
2176
|
+
#
|
2177
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
2178
|
+
# to List operation.
|
2179
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2180
|
+
# to the HTTP request.
|
2181
|
+
#
|
2182
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2183
|
+
#
|
2184
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
|
2185
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
2186
|
+
|
2187
|
+
|
2188
|
+
request_headers = {}
|
2189
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2190
|
+
|
2191
|
+
# Set Headers
|
2192
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2193
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2194
|
+
path_template = '{nextLink}'
|
2195
|
+
|
2196
|
+
request_url = @base_url || @client.base_url
|
2197
|
+
|
2198
|
+
options = {
|
2199
|
+
middlewares: [[MsRest2::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2200
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
2201
|
+
headers: request_headers.merge(custom_headers || {}),
|
2202
|
+
base_url: request_url
|
2203
|
+
}
|
2204
|
+
promise = @client.make_request_async(:get, path_template, options)
|
2205
|
+
|
2206
|
+
promise = promise.then do |result|
|
2207
|
+
http_response = result.response
|
2208
|
+
status_code = http_response.status
|
2209
|
+
response_content = http_response.body
|
2210
|
+
unless status_code == 200
|
2211
|
+
error_model = JSON.load(response_content)
|
2212
|
+
fail MsRestAzure2::AzureOperationError.new(result.request, http_response, error_model)
|
2213
|
+
end
|
2214
|
+
|
2215
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2216
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2217
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2218
|
+
# Deserialize Response
|
2219
|
+
if status_code == 200
|
2220
|
+
begin
|
2221
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2222
|
+
result_mapper = Azure::Resources2::Mgmt::V2018_05_01::Models::DeploymentListResult.mapper()
|
2223
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2224
|
+
rescue Exception => e
|
2225
|
+
fail MsRest2::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2226
|
+
end
|
2227
|
+
end
|
2228
|
+
|
2229
|
+
result
|
2230
|
+
end
|
2231
|
+
|
2232
|
+
promise.execute
|
2233
|
+
end
|
2234
|
+
|
2235
|
+
#
|
2236
|
+
# Get all the deployments for a subscription.
|
2237
|
+
#
|
2238
|
+
# @param filter [String] The filter to apply on the operation. For example, you
|
2239
|
+
# can use $filter=provisioningState eq '{state}'.
|
2240
|
+
# @param top [Integer] The number of results to get. If null is passed, returns
|
2241
|
+
# all deployments.
|
2242
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2243
|
+
# will be added to the HTTP request.
|
2244
|
+
#
|
2245
|
+
# @return [DeploymentListResult] which provide lazy access to pages of the
|
2246
|
+
# response.
|
2247
|
+
#
|
2248
|
+
def list_at_subscription_scope_as_lazy(filter:nil, top:nil, custom_headers:nil)
|
2249
|
+
response = list_at_subscription_scope_async(filter:filter, top:top, custom_headers:custom_headers).value!
|
2250
|
+
unless response.nil?
|
2251
|
+
page = response.body
|
2252
|
+
page.next_method = Proc.new do |next_page_link|
|
2253
|
+
list_at_subscription_scope_next_async(next_page_link, custom_headers:custom_headers)
|
2254
|
+
end
|
2255
|
+
page
|
2256
|
+
end
|
2257
|
+
end
|
2258
|
+
|
2259
|
+
#
|
2260
|
+
# Get all the deployments for a resource group.
|
2261
|
+
#
|
2262
|
+
# @param resource_group_name [String] The name of the resource group with the
|
2263
|
+
# deployments to get. The name is case insensitive.
|
2264
|
+
# @param filter [String] The filter to apply on the operation. For example, you
|
2265
|
+
# can use $filter=provisioningState eq '{state}'.
|
2266
|
+
# @param top [Integer] The number of results to get. If null is passed, returns
|
2267
|
+
# all deployments.
|
2268
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2269
|
+
# will be added to the HTTP request.
|
2270
|
+
#
|
2271
|
+
# @return [DeploymentListResult] which provide lazy access to pages of the
|
2272
|
+
# response.
|
2273
|
+
#
|
2274
|
+
def list_by_resource_group_as_lazy(resource_group_name, filter:nil, top:nil, custom_headers:nil)
|
2275
|
+
response = list_by_resource_group_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
|
2276
|
+
unless response.nil?
|
2277
|
+
page = response.body
|
2278
|
+
page.next_method = Proc.new do |next_page_link|
|
2279
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
|
2280
|
+
end
|
2281
|
+
page
|
2282
|
+
end
|
2283
|
+
end
|
2284
|
+
|
2285
|
+
end
|
2286
|
+
end
|