azure_mgmt_resources2 0.18.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +114 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/deployment_operations.rb +346 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/deployments.rb +1149 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/alias_path_type.rb +66 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/alias_type.rb +67 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/debug_setting.rb +47 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment.rb +47 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +47 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_extended.rb +70 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +98 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operation.rb +69 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +126 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +98 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_properties.rb +110 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +194 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/generic_resource.rb +155 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/http_message.rb +47 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/identity.rb +72 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/plan.rb +79 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider.rb +89 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider_list_result.rb +98 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +125 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource.rb +111 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group.rb +104 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +59 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +98 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_list_result.rb +98 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +89 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/sub_resource.rb +47 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_details.rb +90 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/tags_list_result.rb +98 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/providers.rb +522 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/resource_groups.rb +1112 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/resource_management_client.rb +151 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/resources.rb +1023 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources/tags.rb +586 -0
- data/lib/2016-02-01/generated/azure_mgmt_resources.rb +82 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/location.rb +108 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/location_list_result.rb +55 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/spending_limit.rb +17 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription.rb +112 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription_list_result.rb +98 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription_policies.rb +76 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/subscription_state.rb +19 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/tenant_id_description.rb +61 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/models/tenant_list_result.rb +98 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/operations.rb +222 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/subscription_client.rb +136 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/subscriptions.rb +409 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources/tenants.rb +222 -0
- data/lib/2016-06-01/generated/azure_mgmt_resources.rb +42 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/deployment_operations.rb +346 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/deployments.rb +1149 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/debug_setting.rb +47 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment.rb +47 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_extended.rb +70 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +98 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operation.rb +69 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +126 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +98 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_properties.rb +110 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +194 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/generic_resource.rb +155 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/http_message.rb +47 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/identity.rb +72 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/plan.rb +79 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider.rb +89 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider_list_result.rb +98 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +125 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource.rb +111 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group.rb +104 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +59 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +98 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_list_result.rb +98 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +89 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/sub_resource.rb +47 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_details.rb +90 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/tags_list_result.rb +98 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/providers.rb +522 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/resource_groups.rb +1112 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/resource_management_client.rb +153 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/resources.rb +1023 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources/tags.rb +586 -0
- data/lib/2016-07-01/generated/azure_mgmt_resources.rb +82 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/deployment_operations.rb +356 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/deployments.rb +1256 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/debug_setting.rb +54 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment.rb +47 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_extended.rb +70 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +134 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_properties.rb +124 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +198 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/http_message.rb +47 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/identity.rb +72 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/plan.rb +79 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider.rb +92 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +125 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource.rb +111 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group.rb +115 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +59 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +93 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/sub_resource.rb +47 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/providers.rb +530 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/resource_groups.rb +1131 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/resource_management_client.rb +151 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/resources.rb +1814 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources/tags.rb +611 -0
- data/lib/2016-09-01/generated/azure_mgmt_resources.rb +82 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/deployment_operations.rb +356 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/deployments.rb +1256 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/debug_setting.rb +54 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment.rb +47 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_extended.rb +70 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +134 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_properties.rb +124 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +198 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/error_response.rb +113 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/http_message.rb +46 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/identity.rb +72 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/plan.rb +90 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider.rb +92 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/provider_resource_type.rb +125 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource.rb +110 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group.rb +115 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +92 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/models/template_link.rb +58 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/providers.rb +530 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/resource_groups.rb +907 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/resource_management_client.rb +151 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/resources.rb +2210 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources/tags.rb +611 -0
- data/lib/2017-05-10/generated/azure_mgmt_resources.rb +83 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/deployment_operations.rb +356 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/deployments.rb +1256 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/debug_setting.rb +54 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_extended.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +134 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +210 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/identity.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/provider.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +125 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group.rb +115 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/providers.rb +530 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/resource_groups.rb +907 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/resource_management_client.rb +151 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/resources.rb +2210 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources/tags.rb +611 -0
- data/lib/2018-02-01/generated/azure_mgmt_resources.rb +86 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/deployment_operations.rb +665 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb +2286 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/debug_setting.rb +54 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_extended.rb +94 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +134 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +210 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/provider.rb +92 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +125 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +92 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/operations.rb +219 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/providers.rb +530 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/resource_groups.rb +918 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/resources.rb +2338 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources/tags.rb +611 -0
- data/lib/2018-05-01/generated/azure_mgmt_resources.rb +91 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/application_client.rb +135 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/application_definitions.rb +1052 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/applications.rb +1467 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application.rb +202 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_artifact.rb +70 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_artifact_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition.rb +240 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_definition_list_result.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_list_result.rb +98 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_lock_level.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_patchable.rb +202 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/application_provider_authorization.rb +62 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/error_response.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/generic_resource.rb +121 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/identity.rb +72 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/plan_patchable.rb +90 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/provisioning_state.rb +25 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2018-06-01/generated/azure_mgmt_resources.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/deployment_operations.rb +665 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/deployments.rb +2286 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/debug_setting.rb +54 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_extended.rb +94 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +134 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +210 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/provider.rb +104 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +137 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +92 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/operations.rb +219 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/providers.rb +530 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/resource_groups.rb +918 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/resources.rb +2338 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources/tags.rb +611 -0
- data/lib/2019-03-01/generated/azure_mgmt_resources.rb +91 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/deployment_operations.rb +973 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/deployments.rb +3352 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/debug_setting.rb +53 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_extended.rb +94 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +146 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +222 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/provider.rb +104 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +137 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +92 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/operations.rb +219 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/providers.rb +530 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/resource_groups.rb +918 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/resources.rb +2338 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources/tags.rb +611 -0
- data/lib/2019-05-01/generated/azure_mgmt_resources.rb +91 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/deployment_operations.rb +973 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/deployments.rb +3352 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/debug_setting.rb +53 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment.rb +58 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_extended.rb +94 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +146 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +222 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/error_response.rb +113 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/http_message.rb +46 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/identity.rb +96 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/operation.rb +58 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/plan.rb +90 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/provider.rb +104 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/provider_resource_type.rb +137 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource.rb +110 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_management_error_with_details.rb +92 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/models/template_link.rb +58 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/operations.rb +219 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/providers.rb +846 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/resource_groups.rb +918 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/resources.rb +2338 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources/tags.rb +611 -0
- data/lib/2019-05-10/generated/azure_mgmt_resources.rb +91 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/deployment_operations.rb +1588 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/deployments.rb +5740 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/alias_path_type.rb +65 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/alias_type.rb +66 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/change_type.rb +20 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/debug_setting.rb +53 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_extended.rb +94 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +146 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +222 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +108 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +48 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/property_change_type.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/provider.rb +104 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +137 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_change.rb +105 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +80 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +101 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +16 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/operations.rb +219 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/providers.rb +846 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/resource_groups.rb +918 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/resources.rb +2338 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources/tags.rb +611 -0
- data/lib/2019-07-01/generated/azure_mgmt_resources.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/deployment_operations.rb +1590 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/deployments.rb +6276 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_model.rb +102 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_path.rb +77 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_pattern.rb +70 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_pattern_type.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/alias_type.rb +17 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/change_type.rb +20 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/debug_setting.rb +53 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment.rb +77 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_extended.rb +113 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +162 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +284 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +61 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +108 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +48 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/error_response.rb +117 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/generic_resource_expanded.rb +179 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/property_change_type.rb +18 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/provider.rb +104 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +137 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/provisioning_operation.rb +24 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resource_reference.rb +47 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/scoped_deployment.rb +77 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags.rb +54 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_patch_operation.rb +17 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb +59 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/tags_resource.rb +83 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/template_link.rb +58 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_change.rb +105 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +80 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +101 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +16 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/operations.rb +219 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/providers.rb +846 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/resource_groups.rb +964 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/resources.rb +2354 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources/tags_operations.rb +1078 -0
- data/lib/2019-10-01/generated/azure_mgmt_resources.rb +111 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/deployment_operations.rb +1590 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/deployments.rb +6276 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_model.rb +116 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path.rb +91 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_attributes.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_metadata.rb +64 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_token_type.rb +22 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_pattern.rb +70 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_pattern_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_type.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/api_profile.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/change_type.rb +20 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/debug_setting.rb +53 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_extended.rb +113 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +166 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_properties.rb +151 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +287 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +117 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +48 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/error_response.rb +117 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/expression_evaluation_options.rb +49 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/expression_evaluation_options_scope_type.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource_expanded.rb +179 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/property_change_type.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider.rb +104 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +170 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provisioning_operation.rb +24 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provisioning_state.rb +26 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_reference.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/status_message.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags.rb +54 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_patch_operation.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_resource.rb +83 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/template_link.rb +84 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_change.rb +105 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +80 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +101 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/operations.rb +219 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/providers.rb +933 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/resource_groups.rb +979 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/resources.rb +2354 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/tags_operations.rb +1078 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources.rb +119 -0
- data/lib/azure_mgmt_resources.rb +22 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/modules/resources_profile_module.rb +413 -0
- data/lib/profiles/latest/resources_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/resources_module_definition.rb +8 -0
- data/lib/profiles/v2017_03_09/modules/resources_profile_module.rb +267 -0
- data/lib/profiles/v2017_03_09/resources_module_definition.rb +8 -0
- data/lib/profiles/v2017_03_09/resources_v2017_03_09_profile_client.rb +40 -0
- data/lib/profiles/v2018_03_01/modules/resources_profile_module.rb +283 -0
- data/lib/profiles/v2018_03_01/resources_module_definition.rb +8 -0
- data/lib/profiles/v2018_03_01/resources_v2018_03_01_profile_client.rb +40 -0
- data/lib/profiles/v2019_03_01_hybrid/modules/resources_profile_module.rb +301 -0
- data/lib/profiles/v2019_03_01_hybrid/resources_module_definition.rb +8 -0
- data/lib/profiles/v2019_03_01_hybrid/resources_v2019_03_01_hybrid_profile_client.rb +40 -0
- data/lib/version.rb +7 -0
- metadata +996 -0
@@ -0,0 +1,1256 @@
|
|
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::Resources::Mgmt::V2017_05_10
|
7
|
+
#
|
8
|
+
# Provides operations for working with resources and resource groups.
|
9
|
+
#
|
10
|
+
class Deployments
|
11
|
+
include MsRestAzure
|
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. Deleting a
|
29
|
+
# template deployment does not affect the state of the resource group. This is
|
30
|
+
# an asynchronous operation that returns a status of 202 until the template
|
31
|
+
# deployment is successfully deleted. The Location response header contains the
|
32
|
+
# URI that is used to obtain the status of the process. While the process is
|
33
|
+
# running, a call to the URI in the Location header returns a status of 202.
|
34
|
+
# When the process finishes, the URI in the Location header returns a status of
|
35
|
+
# 204 on success. If the asynchronous request failed, the URI in the Location
|
36
|
+
# header returns an error-level status code.
|
37
|
+
#
|
38
|
+
# @param resource_group_name [String] The name of the resource group with the
|
39
|
+
# deployment to delete. The name is case insensitive.
|
40
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
41
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
42
|
+
# will be added to the HTTP request.
|
43
|
+
#
|
44
|
+
def delete(resource_group_name, deployment_name, custom_headers:nil)
|
45
|
+
response = delete_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
46
|
+
nil
|
47
|
+
end
|
48
|
+
|
49
|
+
#
|
50
|
+
# @param resource_group_name [String] The name of the resource group with the
|
51
|
+
# deployment to delete. The name is case insensitive.
|
52
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
53
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
54
|
+
# will be added to the HTTP request.
|
55
|
+
#
|
56
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
57
|
+
# response.
|
58
|
+
#
|
59
|
+
def delete_async(resource_group_name, deployment_name, custom_headers:nil)
|
60
|
+
# Send request
|
61
|
+
promise = begin_delete_async(resource_group_name, deployment_name, custom_headers:custom_headers)
|
62
|
+
|
63
|
+
promise = promise.then do |response|
|
64
|
+
# Defining deserialization method.
|
65
|
+
deserialize_method = lambda do |parsed_response|
|
66
|
+
end
|
67
|
+
|
68
|
+
# Waiting for response.
|
69
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
70
|
+
end
|
71
|
+
|
72
|
+
promise
|
73
|
+
end
|
74
|
+
|
75
|
+
#
|
76
|
+
# Checks whether the deployment exists.
|
77
|
+
#
|
78
|
+
# @param resource_group_name [String] The name of the resource group with the
|
79
|
+
# deployment to check. The name is case insensitive.
|
80
|
+
# @param deployment_name [String] The name of the deployment to check.
|
81
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
82
|
+
# will be added to the HTTP request.
|
83
|
+
#
|
84
|
+
# @return [Boolean] operation results.
|
85
|
+
#
|
86
|
+
def check_existence(resource_group_name, deployment_name, custom_headers:nil)
|
87
|
+
response = check_existence_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
88
|
+
response.body unless response.nil?
|
89
|
+
end
|
90
|
+
|
91
|
+
#
|
92
|
+
# Checks whether the deployment exists.
|
93
|
+
#
|
94
|
+
# @param resource_group_name [String] The name of the resource group with the
|
95
|
+
# deployment to check. The name is case insensitive.
|
96
|
+
# @param deployment_name [String] The name of the deployment to check.
|
97
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
98
|
+
# will be added to the HTTP request.
|
99
|
+
#
|
100
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
101
|
+
#
|
102
|
+
def check_existence_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
|
103
|
+
check_existence_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
104
|
+
end
|
105
|
+
|
106
|
+
#
|
107
|
+
# Checks whether the deployment exists.
|
108
|
+
#
|
109
|
+
# @param resource_group_name [String] The name of the resource group with the
|
110
|
+
# deployment to check. The name is case insensitive.
|
111
|
+
# @param deployment_name [String] The name of the deployment to check.
|
112
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
113
|
+
# to the HTTP request.
|
114
|
+
#
|
115
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
116
|
+
#
|
117
|
+
def check_existence_async(resource_group_name, deployment_name, custom_headers:nil)
|
118
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
119
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
120
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
121
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
122
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
123
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
124
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
125
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
126
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
127
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
128
|
+
|
129
|
+
|
130
|
+
request_headers = {}
|
131
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
132
|
+
|
133
|
+
# Set Headers
|
134
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
135
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
136
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
137
|
+
|
138
|
+
request_url = @base_url || @client.base_url
|
139
|
+
|
140
|
+
options = {
|
141
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
142
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
143
|
+
query_params: {'api-version' => @client.api_version},
|
144
|
+
headers: request_headers.merge(custom_headers || {}),
|
145
|
+
base_url: request_url
|
146
|
+
}
|
147
|
+
promise = @client.make_request_async(:head, path_template, options)
|
148
|
+
|
149
|
+
promise = promise.then do |result|
|
150
|
+
http_response = result.response
|
151
|
+
status_code = http_response.status
|
152
|
+
response_content = http_response.body
|
153
|
+
unless status_code == 204 || status_code == 404
|
154
|
+
error_model = JSON.load(response_content)
|
155
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
156
|
+
end
|
157
|
+
|
158
|
+
result.body = (status_code == 204)
|
159
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
160
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
161
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
162
|
+
|
163
|
+
result
|
164
|
+
end
|
165
|
+
|
166
|
+
promise.execute
|
167
|
+
end
|
168
|
+
|
169
|
+
#
|
170
|
+
# Deploys resources to a resource group.
|
171
|
+
#
|
172
|
+
# You can provide the template and parameters directly in the request or link
|
173
|
+
# to JSON files.
|
174
|
+
#
|
175
|
+
# @param resource_group_name [String] The name of the resource group to deploy
|
176
|
+
# the resources to. The name is case insensitive. The resource group must
|
177
|
+
# already exist.
|
178
|
+
# @param deployment_name [String] The name of the deployment.
|
179
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
180
|
+
# operation.
|
181
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
182
|
+
# will be added to the HTTP request.
|
183
|
+
#
|
184
|
+
# @return [DeploymentExtended] operation results.
|
185
|
+
#
|
186
|
+
def create_or_update(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
187
|
+
response = create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
|
188
|
+
response.body unless response.nil?
|
189
|
+
end
|
190
|
+
|
191
|
+
#
|
192
|
+
# @param resource_group_name [String] The name of the resource group to deploy
|
193
|
+
# the resources to. The name is case insensitive. The resource group must
|
194
|
+
# already exist.
|
195
|
+
# @param deployment_name [String] The name of the deployment.
|
196
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
197
|
+
# operation.
|
198
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
199
|
+
# will be added to the HTTP request.
|
200
|
+
#
|
201
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
202
|
+
# response.
|
203
|
+
#
|
204
|
+
def create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
205
|
+
# Send request
|
206
|
+
promise = begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers)
|
207
|
+
|
208
|
+
promise = promise.then do |response|
|
209
|
+
# Defining deserialization method.
|
210
|
+
deserialize_method = lambda do |parsed_response|
|
211
|
+
result_mapper = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended.mapper()
|
212
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
213
|
+
end
|
214
|
+
|
215
|
+
# Waiting for response.
|
216
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
217
|
+
end
|
218
|
+
|
219
|
+
promise
|
220
|
+
end
|
221
|
+
|
222
|
+
#
|
223
|
+
# Gets a deployment.
|
224
|
+
#
|
225
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
226
|
+
# is case insensitive.
|
227
|
+
# @param deployment_name [String] The name of the deployment to get.
|
228
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
229
|
+
# will be added to the HTTP request.
|
230
|
+
#
|
231
|
+
# @return [DeploymentExtended] operation results.
|
232
|
+
#
|
233
|
+
def get(resource_group_name, deployment_name, custom_headers:nil)
|
234
|
+
response = get_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
235
|
+
response.body unless response.nil?
|
236
|
+
end
|
237
|
+
|
238
|
+
#
|
239
|
+
# Gets a deployment.
|
240
|
+
#
|
241
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
242
|
+
# is case insensitive.
|
243
|
+
# @param deployment_name [String] The name of the deployment to get.
|
244
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
245
|
+
# will be added to the HTTP request.
|
246
|
+
#
|
247
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
248
|
+
#
|
249
|
+
def get_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
|
250
|
+
get_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
251
|
+
end
|
252
|
+
|
253
|
+
#
|
254
|
+
# Gets a deployment.
|
255
|
+
#
|
256
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
257
|
+
# is case insensitive.
|
258
|
+
# @param deployment_name [String] The name of the deployment to get.
|
259
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
260
|
+
# to the HTTP request.
|
261
|
+
#
|
262
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
263
|
+
#
|
264
|
+
def get_async(resource_group_name, deployment_name, custom_headers:nil)
|
265
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
266
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
267
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
268
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
269
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
270
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
271
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
272
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
273
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
274
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
275
|
+
|
276
|
+
|
277
|
+
request_headers = {}
|
278
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
279
|
+
|
280
|
+
# Set Headers
|
281
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
282
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
283
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
284
|
+
|
285
|
+
request_url = @base_url || @client.base_url
|
286
|
+
|
287
|
+
options = {
|
288
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
289
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
290
|
+
query_params: {'api-version' => @client.api_version},
|
291
|
+
headers: request_headers.merge(custom_headers || {}),
|
292
|
+
base_url: request_url
|
293
|
+
}
|
294
|
+
promise = @client.make_request_async(:get, path_template, options)
|
295
|
+
|
296
|
+
promise = promise.then do |result|
|
297
|
+
http_response = result.response
|
298
|
+
status_code = http_response.status
|
299
|
+
response_content = http_response.body
|
300
|
+
unless status_code == 200
|
301
|
+
error_model = JSON.load(response_content)
|
302
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
303
|
+
end
|
304
|
+
|
305
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
306
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
307
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
308
|
+
# Deserialize Response
|
309
|
+
if status_code == 200
|
310
|
+
begin
|
311
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
312
|
+
result_mapper = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended.mapper()
|
313
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
314
|
+
rescue Exception => e
|
315
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
319
|
+
result
|
320
|
+
end
|
321
|
+
|
322
|
+
promise.execute
|
323
|
+
end
|
324
|
+
|
325
|
+
#
|
326
|
+
# Cancels a currently running template deployment.
|
327
|
+
#
|
328
|
+
# You can cancel a deployment only if the provisioningState is Accepted or
|
329
|
+
# Running. After the deployment is canceled, the provisioningState is set to
|
330
|
+
# Canceled. Canceling a template deployment stops the currently running
|
331
|
+
# template deployment and leaves the resource group partially deployed.
|
332
|
+
#
|
333
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
334
|
+
# is case insensitive.
|
335
|
+
# @param deployment_name [String] The name of the deployment to cancel.
|
336
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
337
|
+
# will be added to the HTTP request.
|
338
|
+
#
|
339
|
+
#
|
340
|
+
def cancel(resource_group_name, deployment_name, custom_headers:nil)
|
341
|
+
response = cancel_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
342
|
+
nil
|
343
|
+
end
|
344
|
+
|
345
|
+
#
|
346
|
+
# Cancels a currently running template deployment.
|
347
|
+
#
|
348
|
+
# You can cancel a deployment only if the provisioningState is Accepted or
|
349
|
+
# Running. After the deployment is canceled, the provisioningState is set to
|
350
|
+
# Canceled. Canceling a template deployment stops the currently running
|
351
|
+
# template deployment and leaves the resource group partially deployed.
|
352
|
+
#
|
353
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
354
|
+
# is case insensitive.
|
355
|
+
# @param deployment_name [String] The name of the deployment to cancel.
|
356
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
357
|
+
# will be added to the HTTP request.
|
358
|
+
#
|
359
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
360
|
+
#
|
361
|
+
def cancel_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
|
362
|
+
cancel_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
363
|
+
end
|
364
|
+
|
365
|
+
#
|
366
|
+
# Cancels a currently running template deployment.
|
367
|
+
#
|
368
|
+
# You can cancel a deployment only if the provisioningState is Accepted or
|
369
|
+
# Running. After the deployment is canceled, the provisioningState is set to
|
370
|
+
# Canceled. Canceling a template deployment stops the currently running
|
371
|
+
# template deployment and leaves the resource group partially deployed.
|
372
|
+
#
|
373
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
374
|
+
# is case insensitive.
|
375
|
+
# @param deployment_name [String] The name of the deployment to cancel.
|
376
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
377
|
+
# to the HTTP request.
|
378
|
+
#
|
379
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
380
|
+
#
|
381
|
+
def cancel_async(resource_group_name, deployment_name, custom_headers:nil)
|
382
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
383
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
384
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
385
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
386
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
387
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
388
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
389
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
390
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
391
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
392
|
+
|
393
|
+
|
394
|
+
request_headers = {}
|
395
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
396
|
+
|
397
|
+
# Set Headers
|
398
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
399
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
400
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel'
|
401
|
+
|
402
|
+
request_url = @base_url || @client.base_url
|
403
|
+
|
404
|
+
options = {
|
405
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
406
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
407
|
+
query_params: {'api-version' => @client.api_version},
|
408
|
+
headers: request_headers.merge(custom_headers || {}),
|
409
|
+
base_url: request_url
|
410
|
+
}
|
411
|
+
promise = @client.make_request_async(:post, path_template, options)
|
412
|
+
|
413
|
+
promise = promise.then do |result|
|
414
|
+
http_response = result.response
|
415
|
+
status_code = http_response.status
|
416
|
+
response_content = http_response.body
|
417
|
+
unless status_code == 204
|
418
|
+
error_model = JSON.load(response_content)
|
419
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
420
|
+
end
|
421
|
+
|
422
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
423
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
424
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
425
|
+
|
426
|
+
result
|
427
|
+
end
|
428
|
+
|
429
|
+
promise.execute
|
430
|
+
end
|
431
|
+
|
432
|
+
#
|
433
|
+
# Validates whether the specified template is syntactically correct and will be
|
434
|
+
# accepted by Azure Resource Manager..
|
435
|
+
#
|
436
|
+
# @param resource_group_name [String] The name of the resource group the
|
437
|
+
# template will be deployed to. The name is case insensitive.
|
438
|
+
# @param deployment_name [String] The name of the deployment.
|
439
|
+
# @param parameters [Deployment] Parameters to validate.
|
440
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
441
|
+
# will be added to the HTTP request.
|
442
|
+
#
|
443
|
+
# @return [DeploymentValidateResult] operation results.
|
444
|
+
#
|
445
|
+
def validate(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
446
|
+
response = validate_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
|
447
|
+
response.body unless response.nil?
|
448
|
+
end
|
449
|
+
|
450
|
+
#
|
451
|
+
# Validates whether the specified template is syntactically correct and will be
|
452
|
+
# accepted by Azure Resource Manager..
|
453
|
+
#
|
454
|
+
# @param resource_group_name [String] The name of the resource group the
|
455
|
+
# template will be deployed to. The name is case insensitive.
|
456
|
+
# @param deployment_name [String] The name of the deployment.
|
457
|
+
# @param parameters [Deployment] Parameters to validate.
|
458
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
459
|
+
# will be added to the HTTP request.
|
460
|
+
#
|
461
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
462
|
+
#
|
463
|
+
def validate_with_http_info(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
464
|
+
validate_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
|
465
|
+
end
|
466
|
+
|
467
|
+
#
|
468
|
+
# Validates whether the specified template is syntactically correct and will be
|
469
|
+
# accepted by Azure Resource Manager..
|
470
|
+
#
|
471
|
+
# @param resource_group_name [String] The name of the resource group the
|
472
|
+
# template will be deployed to. The name is case insensitive.
|
473
|
+
# @param deployment_name [String] The name of the deployment.
|
474
|
+
# @param parameters [Deployment] Parameters to validate.
|
475
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
476
|
+
# to the HTTP request.
|
477
|
+
#
|
478
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
479
|
+
#
|
480
|
+
def validate_async(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
481
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
482
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
483
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
484
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
485
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
486
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
487
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
488
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
489
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
490
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
491
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
492
|
+
|
493
|
+
|
494
|
+
request_headers = {}
|
495
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
496
|
+
|
497
|
+
# Set Headers
|
498
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
499
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
500
|
+
|
501
|
+
# Serialize Request
|
502
|
+
request_mapper = Azure::Resources::Mgmt::V2017_05_10::Models::Deployment.mapper()
|
503
|
+
request_content = @client.serialize(request_mapper, parameters)
|
504
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
505
|
+
|
506
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate'
|
507
|
+
|
508
|
+
request_url = @base_url || @client.base_url
|
509
|
+
|
510
|
+
options = {
|
511
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
512
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
513
|
+
query_params: {'api-version' => @client.api_version},
|
514
|
+
body: request_content,
|
515
|
+
headers: request_headers.merge(custom_headers || {}),
|
516
|
+
base_url: request_url
|
517
|
+
}
|
518
|
+
promise = @client.make_request_async(:post, path_template, options)
|
519
|
+
|
520
|
+
promise = promise.then do |result|
|
521
|
+
http_response = result.response
|
522
|
+
status_code = http_response.status
|
523
|
+
response_content = http_response.body
|
524
|
+
unless status_code == 200 || status_code == 400
|
525
|
+
error_model = JSON.load(response_content)
|
526
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
527
|
+
end
|
528
|
+
|
529
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
530
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
531
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
532
|
+
# Deserialize Response
|
533
|
+
if status_code == 200
|
534
|
+
begin
|
535
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
536
|
+
result_mapper = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentValidateResult.mapper()
|
537
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
538
|
+
rescue Exception => e
|
539
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
540
|
+
end
|
541
|
+
end
|
542
|
+
# Deserialize Response
|
543
|
+
if status_code == 400
|
544
|
+
begin
|
545
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
546
|
+
result_mapper = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentValidateResult.mapper()
|
547
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
548
|
+
rescue Exception => e
|
549
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
553
|
+
result
|
554
|
+
end
|
555
|
+
|
556
|
+
promise.execute
|
557
|
+
end
|
558
|
+
|
559
|
+
#
|
560
|
+
# Exports the template used for specified deployment.
|
561
|
+
#
|
562
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
563
|
+
# is case insensitive.
|
564
|
+
# @param deployment_name [String] The name of the deployment from which to get
|
565
|
+
# the template.
|
566
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
567
|
+
# will be added to the HTTP request.
|
568
|
+
#
|
569
|
+
# @return [DeploymentExportResult] operation results.
|
570
|
+
#
|
571
|
+
def export_template(resource_group_name, deployment_name, custom_headers:nil)
|
572
|
+
response = export_template_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
573
|
+
response.body unless response.nil?
|
574
|
+
end
|
575
|
+
|
576
|
+
#
|
577
|
+
# Exports the template used for specified deployment.
|
578
|
+
#
|
579
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
580
|
+
# is case insensitive.
|
581
|
+
# @param deployment_name [String] The name of the deployment from which to get
|
582
|
+
# the template.
|
583
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
584
|
+
# will be added to the HTTP request.
|
585
|
+
#
|
586
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
587
|
+
#
|
588
|
+
def export_template_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
|
589
|
+
export_template_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
590
|
+
end
|
591
|
+
|
592
|
+
#
|
593
|
+
# Exports the template used for specified deployment.
|
594
|
+
#
|
595
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
596
|
+
# is case insensitive.
|
597
|
+
# @param deployment_name [String] The name of the deployment from which to get
|
598
|
+
# the template.
|
599
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
600
|
+
# to the HTTP request.
|
601
|
+
#
|
602
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
603
|
+
#
|
604
|
+
def export_template_async(resource_group_name, deployment_name, custom_headers:nil)
|
605
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
606
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
607
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
608
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
609
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
610
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
611
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
612
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
613
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
614
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
615
|
+
|
616
|
+
|
617
|
+
request_headers = {}
|
618
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
619
|
+
|
620
|
+
# Set Headers
|
621
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
622
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
623
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate'
|
624
|
+
|
625
|
+
request_url = @base_url || @client.base_url
|
626
|
+
|
627
|
+
options = {
|
628
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
629
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
630
|
+
query_params: {'api-version' => @client.api_version},
|
631
|
+
headers: request_headers.merge(custom_headers || {}),
|
632
|
+
base_url: request_url
|
633
|
+
}
|
634
|
+
promise = @client.make_request_async(:post, path_template, options)
|
635
|
+
|
636
|
+
promise = promise.then do |result|
|
637
|
+
http_response = result.response
|
638
|
+
status_code = http_response.status
|
639
|
+
response_content = http_response.body
|
640
|
+
unless status_code == 200
|
641
|
+
error_model = JSON.load(response_content)
|
642
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
643
|
+
end
|
644
|
+
|
645
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
646
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
647
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
648
|
+
# Deserialize Response
|
649
|
+
if status_code == 200
|
650
|
+
begin
|
651
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
652
|
+
result_mapper = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExportResult.mapper()
|
653
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
654
|
+
rescue Exception => e
|
655
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
659
|
+
result
|
660
|
+
end
|
661
|
+
|
662
|
+
promise.execute
|
663
|
+
end
|
664
|
+
|
665
|
+
#
|
666
|
+
# Get all the deployments for a resource group.
|
667
|
+
#
|
668
|
+
# @param resource_group_name [String] The name of the resource group with the
|
669
|
+
# deployments to get. The name is case insensitive.
|
670
|
+
# @param filter [String] The filter to apply on the operation. For example, you
|
671
|
+
# can use $filter=provisioningState eq '{state}'.
|
672
|
+
# @param top [Integer] The number of results to get. If null is passed, returns
|
673
|
+
# all deployments.
|
674
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
675
|
+
# will be added to the HTTP request.
|
676
|
+
#
|
677
|
+
# @return [Array<DeploymentExtended>] operation results.
|
678
|
+
#
|
679
|
+
def list_by_resource_group(resource_group_name, filter:nil, top:nil, custom_headers:nil)
|
680
|
+
first_page = list_by_resource_group_as_lazy(resource_group_name, filter:filter, top:top, custom_headers:custom_headers)
|
681
|
+
first_page.get_all_items
|
682
|
+
end
|
683
|
+
|
684
|
+
#
|
685
|
+
# Get all the deployments for a resource group.
|
686
|
+
#
|
687
|
+
# @param resource_group_name [String] The name of the resource group with the
|
688
|
+
# deployments to get. The name is case insensitive.
|
689
|
+
# @param filter [String] The filter to apply on the operation. For example, you
|
690
|
+
# can use $filter=provisioningState eq '{state}'.
|
691
|
+
# @param top [Integer] The number of results to get. If null is passed, returns
|
692
|
+
# all deployments.
|
693
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
694
|
+
# will be added to the HTTP request.
|
695
|
+
#
|
696
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
697
|
+
#
|
698
|
+
def list_by_resource_group_with_http_info(resource_group_name, filter:nil, top:nil, custom_headers:nil)
|
699
|
+
list_by_resource_group_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
|
700
|
+
end
|
701
|
+
|
702
|
+
#
|
703
|
+
# Get all the deployments for a resource group.
|
704
|
+
#
|
705
|
+
# @param resource_group_name [String] The name of the resource group with the
|
706
|
+
# deployments to get. The name is case insensitive.
|
707
|
+
# @param filter [String] The filter to apply on the operation. For example, you
|
708
|
+
# can use $filter=provisioningState eq '{state}'.
|
709
|
+
# @param top [Integer] The number of results to get. If null is passed, returns
|
710
|
+
# all deployments.
|
711
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
712
|
+
# to the HTTP request.
|
713
|
+
#
|
714
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
715
|
+
#
|
716
|
+
def list_by_resource_group_async(resource_group_name, filter:nil, top:nil, custom_headers:nil)
|
717
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
718
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
719
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
720
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
721
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
722
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
723
|
+
|
724
|
+
|
725
|
+
request_headers = {}
|
726
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
727
|
+
|
728
|
+
# Set Headers
|
729
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
730
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
731
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/'
|
732
|
+
|
733
|
+
request_url = @base_url || @client.base_url
|
734
|
+
|
735
|
+
options = {
|
736
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
737
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
738
|
+
query_params: {'$filter' => filter,'$top' => top,'api-version' => @client.api_version},
|
739
|
+
headers: request_headers.merge(custom_headers || {}),
|
740
|
+
base_url: request_url
|
741
|
+
}
|
742
|
+
promise = @client.make_request_async(:get, path_template, options)
|
743
|
+
|
744
|
+
promise = promise.then do |result|
|
745
|
+
http_response = result.response
|
746
|
+
status_code = http_response.status
|
747
|
+
response_content = http_response.body
|
748
|
+
unless status_code == 200
|
749
|
+
error_model = JSON.load(response_content)
|
750
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
751
|
+
end
|
752
|
+
|
753
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
754
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
755
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
756
|
+
# Deserialize Response
|
757
|
+
if status_code == 200
|
758
|
+
begin
|
759
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
760
|
+
result_mapper = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentListResult.mapper()
|
761
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
762
|
+
rescue Exception => e
|
763
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
764
|
+
end
|
765
|
+
end
|
766
|
+
|
767
|
+
result
|
768
|
+
end
|
769
|
+
|
770
|
+
promise.execute
|
771
|
+
end
|
772
|
+
|
773
|
+
#
|
774
|
+
# Calculate the hash of the given template.
|
775
|
+
#
|
776
|
+
# @param template The template provided to calculate hash.
|
777
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
778
|
+
# will be added to the HTTP request.
|
779
|
+
#
|
780
|
+
# @return [TemplateHashResult] operation results.
|
781
|
+
#
|
782
|
+
def calculate_template_hash(template, custom_headers:nil)
|
783
|
+
response = calculate_template_hash_async(template, custom_headers:custom_headers).value!
|
784
|
+
response.body unless response.nil?
|
785
|
+
end
|
786
|
+
|
787
|
+
#
|
788
|
+
# Calculate the hash of the given template.
|
789
|
+
#
|
790
|
+
# @param template The template provided to calculate hash.
|
791
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
792
|
+
# will be added to the HTTP request.
|
793
|
+
#
|
794
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
795
|
+
#
|
796
|
+
def calculate_template_hash_with_http_info(template, custom_headers:nil)
|
797
|
+
calculate_template_hash_async(template, custom_headers:custom_headers).value!
|
798
|
+
end
|
799
|
+
|
800
|
+
#
|
801
|
+
# Calculate the hash of the given template.
|
802
|
+
#
|
803
|
+
# @param template The template provided to calculate hash.
|
804
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
805
|
+
# to the HTTP request.
|
806
|
+
#
|
807
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
808
|
+
#
|
809
|
+
def calculate_template_hash_async(template, custom_headers:nil)
|
810
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
811
|
+
fail ArgumentError, 'template is nil' if template.nil?
|
812
|
+
|
813
|
+
|
814
|
+
request_headers = {}
|
815
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
816
|
+
|
817
|
+
# Set Headers
|
818
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
819
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
820
|
+
|
821
|
+
# Serialize Request
|
822
|
+
request_mapper = {
|
823
|
+
client_side_validation: true,
|
824
|
+
required: true,
|
825
|
+
serialized_name: 'template',
|
826
|
+
type: {
|
827
|
+
name: 'Object'
|
828
|
+
}
|
829
|
+
}
|
830
|
+
request_content = @client.serialize(request_mapper, template)
|
831
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
832
|
+
|
833
|
+
path_template = 'providers/Microsoft.Resources/calculateTemplateHash'
|
834
|
+
|
835
|
+
request_url = @base_url || @client.base_url
|
836
|
+
|
837
|
+
options = {
|
838
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
839
|
+
query_params: {'api-version' => @client.api_version},
|
840
|
+
body: request_content,
|
841
|
+
headers: request_headers.merge(custom_headers || {}),
|
842
|
+
base_url: request_url
|
843
|
+
}
|
844
|
+
promise = @client.make_request_async(:post, path_template, options)
|
845
|
+
|
846
|
+
promise = promise.then do |result|
|
847
|
+
http_response = result.response
|
848
|
+
status_code = http_response.status
|
849
|
+
response_content = http_response.body
|
850
|
+
unless status_code == 200
|
851
|
+
error_model = JSON.load(response_content)
|
852
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
853
|
+
end
|
854
|
+
|
855
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
856
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
857
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
858
|
+
# Deserialize Response
|
859
|
+
if status_code == 200
|
860
|
+
begin
|
861
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
862
|
+
result_mapper = Azure::Resources::Mgmt::V2017_05_10::Models::TemplateHashResult.mapper()
|
863
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
864
|
+
rescue Exception => e
|
865
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
866
|
+
end
|
867
|
+
end
|
868
|
+
|
869
|
+
result
|
870
|
+
end
|
871
|
+
|
872
|
+
promise.execute
|
873
|
+
end
|
874
|
+
|
875
|
+
#
|
876
|
+
# Deletes a deployment from the deployment history.
|
877
|
+
#
|
878
|
+
# A template deployment that is currently running cannot be deleted. Deleting a
|
879
|
+
# template deployment removes the associated deployment operations. Deleting a
|
880
|
+
# template deployment does not affect the state of the resource group. This is
|
881
|
+
# an asynchronous operation that returns a status of 202 until the template
|
882
|
+
# deployment is successfully deleted. The Location response header contains the
|
883
|
+
# URI that is used to obtain the status of the process. While the process is
|
884
|
+
# running, a call to the URI in the Location header returns a status of 202.
|
885
|
+
# When the process finishes, the URI in the Location header returns a status of
|
886
|
+
# 204 on success. If the asynchronous request failed, the URI in the Location
|
887
|
+
# header returns an error-level status code.
|
888
|
+
#
|
889
|
+
# @param resource_group_name [String] The name of the resource group with the
|
890
|
+
# deployment to delete. The name is case insensitive.
|
891
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
892
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
893
|
+
# will be added to the HTTP request.
|
894
|
+
#
|
895
|
+
#
|
896
|
+
def begin_delete(resource_group_name, deployment_name, custom_headers:nil)
|
897
|
+
response = begin_delete_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
898
|
+
nil
|
899
|
+
end
|
900
|
+
|
901
|
+
#
|
902
|
+
# Deletes a deployment from the deployment history.
|
903
|
+
#
|
904
|
+
# A template deployment that is currently running cannot be deleted. Deleting a
|
905
|
+
# template deployment removes the associated deployment operations. Deleting a
|
906
|
+
# template deployment does not affect the state of the resource group. This is
|
907
|
+
# an asynchronous operation that returns a status of 202 until the template
|
908
|
+
# deployment is successfully deleted. The Location response header contains the
|
909
|
+
# URI that is used to obtain the status of the process. While the process is
|
910
|
+
# running, a call to the URI in the Location header returns a status of 202.
|
911
|
+
# When the process finishes, the URI in the Location header returns a status of
|
912
|
+
# 204 on success. If the asynchronous request failed, the URI in the Location
|
913
|
+
# header returns an error-level status code.
|
914
|
+
#
|
915
|
+
# @param resource_group_name [String] The name of the resource group with the
|
916
|
+
# deployment to delete. The name is case insensitive.
|
917
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
918
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
919
|
+
# will be added to the HTTP request.
|
920
|
+
#
|
921
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
922
|
+
#
|
923
|
+
def begin_delete_with_http_info(resource_group_name, deployment_name, custom_headers:nil)
|
924
|
+
begin_delete_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
|
925
|
+
end
|
926
|
+
|
927
|
+
#
|
928
|
+
# Deletes a deployment from the deployment history.
|
929
|
+
#
|
930
|
+
# A template deployment that is currently running cannot be deleted. Deleting a
|
931
|
+
# template deployment removes the associated deployment operations. Deleting a
|
932
|
+
# template deployment does not affect the state of the resource group. This is
|
933
|
+
# an asynchronous operation that returns a status of 202 until the template
|
934
|
+
# deployment is successfully deleted. The Location response header contains the
|
935
|
+
# URI that is used to obtain the status of the process. While the process is
|
936
|
+
# running, a call to the URI in the Location header returns a status of 202.
|
937
|
+
# When the process finishes, the URI in the Location header returns a status of
|
938
|
+
# 204 on success. If the asynchronous request failed, the URI in the Location
|
939
|
+
# header returns an error-level status code.
|
940
|
+
#
|
941
|
+
# @param resource_group_name [String] The name of the resource group with the
|
942
|
+
# deployment to delete. The name is case insensitive.
|
943
|
+
# @param deployment_name [String] The name of the deployment to delete.
|
944
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
945
|
+
# to the HTTP request.
|
946
|
+
#
|
947
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
948
|
+
#
|
949
|
+
def begin_delete_async(resource_group_name, deployment_name, custom_headers:nil)
|
950
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
951
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
952
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
953
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
954
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
955
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
956
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
957
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
958
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
959
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
960
|
+
|
961
|
+
|
962
|
+
request_headers = {}
|
963
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
964
|
+
|
965
|
+
# Set Headers
|
966
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
967
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
968
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
969
|
+
|
970
|
+
request_url = @base_url || @client.base_url
|
971
|
+
|
972
|
+
options = {
|
973
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
974
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
975
|
+
query_params: {'api-version' => @client.api_version},
|
976
|
+
headers: request_headers.merge(custom_headers || {}),
|
977
|
+
base_url: request_url
|
978
|
+
}
|
979
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
980
|
+
|
981
|
+
promise = promise.then do |result|
|
982
|
+
http_response = result.response
|
983
|
+
status_code = http_response.status
|
984
|
+
response_content = http_response.body
|
985
|
+
unless status_code == 202 || status_code == 204
|
986
|
+
error_model = JSON.load(response_content)
|
987
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
988
|
+
end
|
989
|
+
|
990
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
991
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
992
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
993
|
+
|
994
|
+
result
|
995
|
+
end
|
996
|
+
|
997
|
+
promise.execute
|
998
|
+
end
|
999
|
+
|
1000
|
+
#
|
1001
|
+
# Deploys resources to a resource group.
|
1002
|
+
#
|
1003
|
+
# You can provide the template and parameters directly in the request or link
|
1004
|
+
# to JSON files.
|
1005
|
+
#
|
1006
|
+
# @param resource_group_name [String] The name of the resource group to deploy
|
1007
|
+
# the resources to. The name is case insensitive. The resource group must
|
1008
|
+
# already exist.
|
1009
|
+
# @param deployment_name [String] The name of the deployment.
|
1010
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
1011
|
+
# operation.
|
1012
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1013
|
+
# will be added to the HTTP request.
|
1014
|
+
#
|
1015
|
+
# @return [DeploymentExtended] operation results.
|
1016
|
+
#
|
1017
|
+
def begin_create_or_update(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
1018
|
+
response = begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
|
1019
|
+
response.body unless response.nil?
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
#
|
1023
|
+
# Deploys resources to a resource group.
|
1024
|
+
#
|
1025
|
+
# You can provide the template and parameters directly in the request or link
|
1026
|
+
# to JSON files.
|
1027
|
+
#
|
1028
|
+
# @param resource_group_name [String] The name of the resource group to deploy
|
1029
|
+
# the resources to. The name is case insensitive. The resource group must
|
1030
|
+
# already exist.
|
1031
|
+
# @param deployment_name [String] The name of the deployment.
|
1032
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
1033
|
+
# operation.
|
1034
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1035
|
+
# will be added to the HTTP request.
|
1036
|
+
#
|
1037
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1038
|
+
#
|
1039
|
+
def begin_create_or_update_with_http_info(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
1040
|
+
begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
#
|
1044
|
+
# Deploys resources to a resource group.
|
1045
|
+
#
|
1046
|
+
# You can provide the template and parameters directly in the request or link
|
1047
|
+
# to JSON files.
|
1048
|
+
#
|
1049
|
+
# @param resource_group_name [String] The name of the resource group to deploy
|
1050
|
+
# the resources to. The name is case insensitive. The resource group must
|
1051
|
+
# already exist.
|
1052
|
+
# @param deployment_name [String] The name of the deployment.
|
1053
|
+
# @param parameters [Deployment] Additional parameters supplied to the
|
1054
|
+
# operation.
|
1055
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1056
|
+
# to the HTTP request.
|
1057
|
+
#
|
1058
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1059
|
+
#
|
1060
|
+
def begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:nil)
|
1061
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1062
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1063
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1064
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1065
|
+
fail ArgumentError, 'deployment_name is nil' if deployment_name.nil?
|
1066
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MaxLength': '64'" if !deployment_name.nil? && deployment_name.length > 64
|
1067
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'MinLength': '1'" if !deployment_name.nil? && deployment_name.length < 1
|
1068
|
+
fail ArgumentError, "'deployment_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !deployment_name.nil? && deployment_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1069
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1070
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1071
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1072
|
+
|
1073
|
+
|
1074
|
+
request_headers = {}
|
1075
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1076
|
+
|
1077
|
+
# Set Headers
|
1078
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1079
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1080
|
+
|
1081
|
+
# Serialize Request
|
1082
|
+
request_mapper = Azure::Resources::Mgmt::V2017_05_10::Models::Deployment.mapper()
|
1083
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1084
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1085
|
+
|
1086
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}'
|
1087
|
+
|
1088
|
+
request_url = @base_url || @client.base_url
|
1089
|
+
|
1090
|
+
options = {
|
1091
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1092
|
+
path_params: {'resourceGroupName' => resource_group_name,'deploymentName' => deployment_name,'subscriptionId' => @client.subscription_id},
|
1093
|
+
query_params: {'api-version' => @client.api_version},
|
1094
|
+
body: request_content,
|
1095
|
+
headers: request_headers.merge(custom_headers || {}),
|
1096
|
+
base_url: request_url
|
1097
|
+
}
|
1098
|
+
promise = @client.make_request_async(:put, path_template, options)
|
1099
|
+
|
1100
|
+
promise = promise.then do |result|
|
1101
|
+
http_response = result.response
|
1102
|
+
status_code = http_response.status
|
1103
|
+
response_content = http_response.body
|
1104
|
+
unless status_code == 200 || status_code == 201
|
1105
|
+
error_model = JSON.load(response_content)
|
1106
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1110
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1111
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1112
|
+
# Deserialize Response
|
1113
|
+
if status_code == 200
|
1114
|
+
begin
|
1115
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1116
|
+
result_mapper = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended.mapper()
|
1117
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1118
|
+
rescue Exception => e
|
1119
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1120
|
+
end
|
1121
|
+
end
|
1122
|
+
# Deserialize Response
|
1123
|
+
if status_code == 201
|
1124
|
+
begin
|
1125
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1126
|
+
result_mapper = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentExtended.mapper()
|
1127
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1128
|
+
rescue Exception => e
|
1129
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1130
|
+
end
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
result
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
promise.execute
|
1137
|
+
end
|
1138
|
+
|
1139
|
+
#
|
1140
|
+
# Get all the deployments for a resource group.
|
1141
|
+
#
|
1142
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1143
|
+
# to List operation.
|
1144
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1145
|
+
# will be added to the HTTP request.
|
1146
|
+
#
|
1147
|
+
# @return [DeploymentListResult] operation results.
|
1148
|
+
#
|
1149
|
+
def list_by_resource_group_next(next_page_link, custom_headers:nil)
|
1150
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
1151
|
+
response.body unless response.nil?
|
1152
|
+
end
|
1153
|
+
|
1154
|
+
#
|
1155
|
+
# Get all the deployments for a resource group.
|
1156
|
+
#
|
1157
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1158
|
+
# to List operation.
|
1159
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1160
|
+
# will be added to the HTTP request.
|
1161
|
+
#
|
1162
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1163
|
+
#
|
1164
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
|
1165
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
#
|
1169
|
+
# Get all the deployments for a resource group.
|
1170
|
+
#
|
1171
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1172
|
+
# to List operation.
|
1173
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1174
|
+
# to the HTTP request.
|
1175
|
+
#
|
1176
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1177
|
+
#
|
1178
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
|
1179
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1180
|
+
|
1181
|
+
|
1182
|
+
request_headers = {}
|
1183
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1184
|
+
|
1185
|
+
# Set Headers
|
1186
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1187
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1188
|
+
path_template = '{nextLink}'
|
1189
|
+
|
1190
|
+
request_url = @base_url || @client.base_url
|
1191
|
+
|
1192
|
+
options = {
|
1193
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1194
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
1195
|
+
headers: request_headers.merge(custom_headers || {}),
|
1196
|
+
base_url: request_url
|
1197
|
+
}
|
1198
|
+
promise = @client.make_request_async(:get, path_template, options)
|
1199
|
+
|
1200
|
+
promise = promise.then do |result|
|
1201
|
+
http_response = result.response
|
1202
|
+
status_code = http_response.status
|
1203
|
+
response_content = http_response.body
|
1204
|
+
unless status_code == 200
|
1205
|
+
error_model = JSON.load(response_content)
|
1206
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1210
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1211
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1212
|
+
# Deserialize Response
|
1213
|
+
if status_code == 200
|
1214
|
+
begin
|
1215
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1216
|
+
result_mapper = Azure::Resources::Mgmt::V2017_05_10::Models::DeploymentListResult.mapper()
|
1217
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1218
|
+
rescue Exception => e
|
1219
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
1223
|
+
result
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
promise.execute
|
1227
|
+
end
|
1228
|
+
|
1229
|
+
#
|
1230
|
+
# Get all the deployments for a resource group.
|
1231
|
+
#
|
1232
|
+
# @param resource_group_name [String] The name of the resource group with the
|
1233
|
+
# deployments to get. The name is case insensitive.
|
1234
|
+
# @param filter [String] The filter to apply on the operation. For example, you
|
1235
|
+
# can use $filter=provisioningState eq '{state}'.
|
1236
|
+
# @param top [Integer] The number of results to get. If null is passed, returns
|
1237
|
+
# all deployments.
|
1238
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1239
|
+
# will be added to the HTTP request.
|
1240
|
+
#
|
1241
|
+
# @return [DeploymentListResult] which provide lazy access to pages of the
|
1242
|
+
# response.
|
1243
|
+
#
|
1244
|
+
def list_by_resource_group_as_lazy(resource_group_name, filter:nil, top:nil, custom_headers:nil)
|
1245
|
+
response = list_by_resource_group_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
|
1246
|
+
unless response.nil?
|
1247
|
+
page = response.body
|
1248
|
+
page.next_method = Proc.new do |next_page_link|
|
1249
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
|
1250
|
+
end
|
1251
|
+
page
|
1252
|
+
end
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
end
|
1256
|
+
end
|