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,1112 @@
|
|
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::V2016_07_01
|
7
|
+
#
|
8
|
+
# ResourceGroups
|
9
|
+
#
|
10
|
+
class ResourceGroups
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the ResourceGroups 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
|
+
# Get all of the resources under a subscription.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] Query parameters. If null is passed
|
28
|
+
# returns all resource groups.
|
29
|
+
# @param filter [String] The filter to apply on the operation.
|
30
|
+
# @param expand [String] The $expand query parameter
|
31
|
+
# @param top [Integer] Query parameters. If null is passed returns all resource
|
32
|
+
# groups.
|
33
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
34
|
+
# will be added to the HTTP request.
|
35
|
+
#
|
36
|
+
# @return [Array<GenericResource>] operation results.
|
37
|
+
#
|
38
|
+
def list_resources(resource_group_name, filter:nil, expand:nil, top:nil, custom_headers:nil)
|
39
|
+
first_page = list_resources_as_lazy(resource_group_name, filter:filter, expand:expand, top:top, custom_headers:custom_headers)
|
40
|
+
first_page.get_all_items
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# Get all of the resources under a subscription.
|
45
|
+
#
|
46
|
+
# @param resource_group_name [String] Query parameters. If null is passed
|
47
|
+
# returns all resource groups.
|
48
|
+
# @param filter [String] The filter to apply on the operation.
|
49
|
+
# @param expand [String] The $expand query parameter
|
50
|
+
# @param top [Integer] Query parameters. If null is passed returns all resource
|
51
|
+
# groups.
|
52
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
53
|
+
# will be added to the HTTP request.
|
54
|
+
#
|
55
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
56
|
+
#
|
57
|
+
def list_resources_with_http_info(resource_group_name, filter:nil, expand:nil, top:nil, custom_headers:nil)
|
58
|
+
list_resources_async(resource_group_name, filter:filter, expand:expand, top:top, custom_headers:custom_headers).value!
|
59
|
+
end
|
60
|
+
|
61
|
+
#
|
62
|
+
# Get all of the resources under a subscription.
|
63
|
+
#
|
64
|
+
# @param resource_group_name [String] Query parameters. If null is passed
|
65
|
+
# returns all resource groups.
|
66
|
+
# @param filter [String] The filter to apply on the operation.
|
67
|
+
# @param expand [String] The $expand query parameter
|
68
|
+
# @param top [Integer] Query parameters. If null is passed returns all resource
|
69
|
+
# groups.
|
70
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
71
|
+
# to the HTTP request.
|
72
|
+
#
|
73
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
74
|
+
#
|
75
|
+
def list_resources_async(resource_group_name, filter:nil, expand:nil, top:nil, custom_headers:nil)
|
76
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
77
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
78
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
79
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
80
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
81
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
82
|
+
|
83
|
+
|
84
|
+
request_headers = {}
|
85
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
86
|
+
|
87
|
+
# Set Headers
|
88
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
89
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
90
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/resources'
|
91
|
+
|
92
|
+
request_url = @base_url || @client.base_url
|
93
|
+
|
94
|
+
options = {
|
95
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
96
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
97
|
+
query_params: {'$filter' => filter,'$expand' => expand,'$top' => top,'api-version' => @client.api_version},
|
98
|
+
headers: request_headers.merge(custom_headers || {}),
|
99
|
+
base_url: request_url
|
100
|
+
}
|
101
|
+
promise = @client.make_request_async(:get, path_template, options)
|
102
|
+
|
103
|
+
promise = promise.then do |result|
|
104
|
+
http_response = result.response
|
105
|
+
status_code = http_response.status
|
106
|
+
response_content = http_response.body
|
107
|
+
unless status_code == 200
|
108
|
+
error_model = JSON.load(response_content)
|
109
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
110
|
+
end
|
111
|
+
|
112
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
113
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
114
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
115
|
+
# Deserialize Response
|
116
|
+
if status_code == 200
|
117
|
+
begin
|
118
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
119
|
+
result_mapper = Azure::Resources::Mgmt::V2016_07_01::Models::ResourceListResult.mapper()
|
120
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
121
|
+
rescue Exception => e
|
122
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
result
|
127
|
+
end
|
128
|
+
|
129
|
+
promise.execute
|
130
|
+
end
|
131
|
+
|
132
|
+
#
|
133
|
+
# Checks whether resource group exists.
|
134
|
+
#
|
135
|
+
# @param resource_group_name [String] The name of the resource group to check.
|
136
|
+
# The name is case insensitive.
|
137
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
138
|
+
# will be added to the HTTP request.
|
139
|
+
#
|
140
|
+
# @return [Boolean] operation results.
|
141
|
+
#
|
142
|
+
def check_existence(resource_group_name, custom_headers:nil)
|
143
|
+
response = check_existence_async(resource_group_name, custom_headers:custom_headers).value!
|
144
|
+
response.body unless response.nil?
|
145
|
+
end
|
146
|
+
|
147
|
+
#
|
148
|
+
# Checks whether resource group exists.
|
149
|
+
#
|
150
|
+
# @param resource_group_name [String] The name of the resource group to check.
|
151
|
+
# The name is case insensitive.
|
152
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
153
|
+
# will be added to the HTTP request.
|
154
|
+
#
|
155
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
156
|
+
#
|
157
|
+
def check_existence_with_http_info(resource_group_name, custom_headers:nil)
|
158
|
+
check_existence_async(resource_group_name, custom_headers:custom_headers).value!
|
159
|
+
end
|
160
|
+
|
161
|
+
#
|
162
|
+
# Checks whether resource group exists.
|
163
|
+
#
|
164
|
+
# @param resource_group_name [String] The name of the resource group to check.
|
165
|
+
# The name is case insensitive.
|
166
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
167
|
+
# to the HTTP request.
|
168
|
+
#
|
169
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
170
|
+
#
|
171
|
+
def check_existence_async(resource_group_name, custom_headers:nil)
|
172
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
173
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
174
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
175
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
176
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
177
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
178
|
+
|
179
|
+
|
180
|
+
request_headers = {}
|
181
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
182
|
+
|
183
|
+
# Set Headers
|
184
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
185
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
186
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}'
|
187
|
+
|
188
|
+
request_url = @base_url || @client.base_url
|
189
|
+
|
190
|
+
options = {
|
191
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
192
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
193
|
+
query_params: {'api-version' => @client.api_version},
|
194
|
+
headers: request_headers.merge(custom_headers || {}),
|
195
|
+
base_url: request_url
|
196
|
+
}
|
197
|
+
promise = @client.make_request_async(:head, path_template, options)
|
198
|
+
|
199
|
+
promise = promise.then do |result|
|
200
|
+
http_response = result.response
|
201
|
+
status_code = http_response.status
|
202
|
+
response_content = http_response.body
|
203
|
+
unless status_code == 204 || status_code == 404
|
204
|
+
error_model = JSON.load(response_content)
|
205
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
206
|
+
end
|
207
|
+
|
208
|
+
result.body = (status_code == 204)
|
209
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
210
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
211
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
212
|
+
|
213
|
+
result
|
214
|
+
end
|
215
|
+
|
216
|
+
promise.execute
|
217
|
+
end
|
218
|
+
|
219
|
+
#
|
220
|
+
# Create a resource group.
|
221
|
+
#
|
222
|
+
# @param resource_group_name [String] The name of the resource group to be
|
223
|
+
# created or updated.
|
224
|
+
# @param parameters [ResourceGroup] Parameters supplied to the create or update
|
225
|
+
# resource group service operation.
|
226
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
227
|
+
# will be added to the HTTP request.
|
228
|
+
#
|
229
|
+
# @return [ResourceGroup] operation results.
|
230
|
+
#
|
231
|
+
def create_or_update(resource_group_name, parameters, custom_headers:nil)
|
232
|
+
response = create_or_update_async(resource_group_name, parameters, custom_headers:custom_headers).value!
|
233
|
+
response.body unless response.nil?
|
234
|
+
end
|
235
|
+
|
236
|
+
#
|
237
|
+
# Create a resource group.
|
238
|
+
#
|
239
|
+
# @param resource_group_name [String] The name of the resource group to be
|
240
|
+
# created or updated.
|
241
|
+
# @param parameters [ResourceGroup] Parameters supplied to the create or update
|
242
|
+
# resource group service operation.
|
243
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
244
|
+
# will be added to the HTTP request.
|
245
|
+
#
|
246
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
247
|
+
#
|
248
|
+
def create_or_update_with_http_info(resource_group_name, parameters, custom_headers:nil)
|
249
|
+
create_or_update_async(resource_group_name, parameters, custom_headers:custom_headers).value!
|
250
|
+
end
|
251
|
+
|
252
|
+
#
|
253
|
+
# Create a resource group.
|
254
|
+
#
|
255
|
+
# @param resource_group_name [String] The name of the resource group to be
|
256
|
+
# created or updated.
|
257
|
+
# @param parameters [ResourceGroup] Parameters supplied to the create or update
|
258
|
+
# resource group service operation.
|
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 create_or_update_async(resource_group_name, parameters, 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, 'parameters is nil' if parameters.nil?
|
270
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
271
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
272
|
+
|
273
|
+
|
274
|
+
request_headers = {}
|
275
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
276
|
+
|
277
|
+
# Set Headers
|
278
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
279
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
280
|
+
|
281
|
+
# Serialize Request
|
282
|
+
request_mapper = Azure::Resources::Mgmt::V2016_07_01::Models::ResourceGroup.mapper()
|
283
|
+
request_content = @client.serialize(request_mapper, parameters)
|
284
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
285
|
+
|
286
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}'
|
287
|
+
|
288
|
+
request_url = @base_url || @client.base_url
|
289
|
+
|
290
|
+
options = {
|
291
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
292
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
293
|
+
query_params: {'api-version' => @client.api_version},
|
294
|
+
body: request_content,
|
295
|
+
headers: request_headers.merge(custom_headers || {}),
|
296
|
+
base_url: request_url
|
297
|
+
}
|
298
|
+
promise = @client.make_request_async(:put, path_template, options)
|
299
|
+
|
300
|
+
promise = promise.then do |result|
|
301
|
+
http_response = result.response
|
302
|
+
status_code = http_response.status
|
303
|
+
response_content = http_response.body
|
304
|
+
unless status_code == 201 || status_code == 200
|
305
|
+
error_model = JSON.load(response_content)
|
306
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
307
|
+
end
|
308
|
+
|
309
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
310
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
311
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
312
|
+
# Deserialize Response
|
313
|
+
if status_code == 201
|
314
|
+
begin
|
315
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
316
|
+
result_mapper = Azure::Resources::Mgmt::V2016_07_01::Models::ResourceGroup.mapper()
|
317
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
318
|
+
rescue Exception => e
|
319
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
320
|
+
end
|
321
|
+
end
|
322
|
+
# Deserialize Response
|
323
|
+
if status_code == 200
|
324
|
+
begin
|
325
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
326
|
+
result_mapper = Azure::Resources::Mgmt::V2016_07_01::Models::ResourceGroup.mapper()
|
327
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
328
|
+
rescue Exception => e
|
329
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
330
|
+
end
|
331
|
+
end
|
332
|
+
|
333
|
+
result
|
334
|
+
end
|
335
|
+
|
336
|
+
promise.execute
|
337
|
+
end
|
338
|
+
|
339
|
+
#
|
340
|
+
# Delete resource group.
|
341
|
+
#
|
342
|
+
# @param resource_group_name [String] The name of the resource group to be
|
343
|
+
# deleted. The name is case insensitive.
|
344
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
345
|
+
# will be added to the HTTP request.
|
346
|
+
#
|
347
|
+
def delete(resource_group_name, custom_headers:nil)
|
348
|
+
response = delete_async(resource_group_name, custom_headers:custom_headers).value!
|
349
|
+
nil
|
350
|
+
end
|
351
|
+
|
352
|
+
#
|
353
|
+
# @param resource_group_name [String] The name of the resource group to be
|
354
|
+
# deleted. The name is case insensitive.
|
355
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
356
|
+
# will be added to the HTTP request.
|
357
|
+
#
|
358
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
359
|
+
# response.
|
360
|
+
#
|
361
|
+
def delete_async(resource_group_name, custom_headers:nil)
|
362
|
+
# Send request
|
363
|
+
promise = begin_delete_async(resource_group_name, custom_headers:custom_headers)
|
364
|
+
|
365
|
+
promise = promise.then do |response|
|
366
|
+
# Defining deserialization method.
|
367
|
+
deserialize_method = lambda do |parsed_response|
|
368
|
+
end
|
369
|
+
|
370
|
+
# Waiting for response.
|
371
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
372
|
+
end
|
373
|
+
|
374
|
+
promise
|
375
|
+
end
|
376
|
+
|
377
|
+
#
|
378
|
+
# Get a resource group.
|
379
|
+
#
|
380
|
+
# @param resource_group_name [String] The name of the resource group to get.
|
381
|
+
# The name is case insensitive.
|
382
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
383
|
+
# will be added to the HTTP request.
|
384
|
+
#
|
385
|
+
# @return [ResourceGroup] operation results.
|
386
|
+
#
|
387
|
+
def get(resource_group_name, custom_headers:nil)
|
388
|
+
response = get_async(resource_group_name, custom_headers:custom_headers).value!
|
389
|
+
response.body unless response.nil?
|
390
|
+
end
|
391
|
+
|
392
|
+
#
|
393
|
+
# Get a resource group.
|
394
|
+
#
|
395
|
+
# @param resource_group_name [String] The name of the resource group to get.
|
396
|
+
# The name is case insensitive.
|
397
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
398
|
+
# will be added to the HTTP request.
|
399
|
+
#
|
400
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
401
|
+
#
|
402
|
+
def get_with_http_info(resource_group_name, custom_headers:nil)
|
403
|
+
get_async(resource_group_name, custom_headers:custom_headers).value!
|
404
|
+
end
|
405
|
+
|
406
|
+
#
|
407
|
+
# Get a resource group.
|
408
|
+
#
|
409
|
+
# @param resource_group_name [String] The name of the resource group to get.
|
410
|
+
# The name is case insensitive.
|
411
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
412
|
+
# to the HTTP request.
|
413
|
+
#
|
414
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
415
|
+
#
|
416
|
+
def get_async(resource_group_name, custom_headers:nil)
|
417
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
418
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
419
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
420
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
421
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
422
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
423
|
+
|
424
|
+
|
425
|
+
request_headers = {}
|
426
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
427
|
+
|
428
|
+
# Set Headers
|
429
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
430
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
431
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}'
|
432
|
+
|
433
|
+
request_url = @base_url || @client.base_url
|
434
|
+
|
435
|
+
options = {
|
436
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
437
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
438
|
+
query_params: {'api-version' => @client.api_version},
|
439
|
+
headers: request_headers.merge(custom_headers || {}),
|
440
|
+
base_url: request_url
|
441
|
+
}
|
442
|
+
promise = @client.make_request_async(:get, path_template, options)
|
443
|
+
|
444
|
+
promise = promise.then do |result|
|
445
|
+
http_response = result.response
|
446
|
+
status_code = http_response.status
|
447
|
+
response_content = http_response.body
|
448
|
+
unless status_code == 200
|
449
|
+
error_model = JSON.load(response_content)
|
450
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
451
|
+
end
|
452
|
+
|
453
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
454
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
455
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
456
|
+
# Deserialize Response
|
457
|
+
if status_code == 200
|
458
|
+
begin
|
459
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
460
|
+
result_mapper = Azure::Resources::Mgmt::V2016_07_01::Models::ResourceGroup.mapper()
|
461
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
462
|
+
rescue Exception => e
|
463
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
464
|
+
end
|
465
|
+
end
|
466
|
+
|
467
|
+
result
|
468
|
+
end
|
469
|
+
|
470
|
+
promise.execute
|
471
|
+
end
|
472
|
+
|
473
|
+
#
|
474
|
+
# Resource groups can be updated through a simple PATCH operation to a group
|
475
|
+
# address. The format of the request is the same as that for creating a
|
476
|
+
# resource groups, though if a field is unspecified current value will be
|
477
|
+
# carried over.
|
478
|
+
#
|
479
|
+
# @param resource_group_name [String] The name of the resource group to be
|
480
|
+
# created or updated. The name is case insensitive.
|
481
|
+
# @param parameters [ResourceGroup] Parameters supplied to the update state
|
482
|
+
# resource group service operation.
|
483
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
484
|
+
# will be added to the HTTP request.
|
485
|
+
#
|
486
|
+
# @return [ResourceGroup] operation results.
|
487
|
+
#
|
488
|
+
def patch(resource_group_name, parameters, custom_headers:nil)
|
489
|
+
response = patch_async(resource_group_name, parameters, custom_headers:custom_headers).value!
|
490
|
+
response.body unless response.nil?
|
491
|
+
end
|
492
|
+
|
493
|
+
#
|
494
|
+
# Resource groups can be updated through a simple PATCH operation to a group
|
495
|
+
# address. The format of the request is the same as that for creating a
|
496
|
+
# resource groups, though if a field is unspecified current value will be
|
497
|
+
# carried over.
|
498
|
+
#
|
499
|
+
# @param resource_group_name [String] The name of the resource group to be
|
500
|
+
# created or updated. The name is case insensitive.
|
501
|
+
# @param parameters [ResourceGroup] Parameters supplied to the update state
|
502
|
+
# resource group service operation.
|
503
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
504
|
+
# will be added to the HTTP request.
|
505
|
+
#
|
506
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
507
|
+
#
|
508
|
+
def patch_with_http_info(resource_group_name, parameters, custom_headers:nil)
|
509
|
+
patch_async(resource_group_name, parameters, custom_headers:custom_headers).value!
|
510
|
+
end
|
511
|
+
|
512
|
+
#
|
513
|
+
# Resource groups can be updated through a simple PATCH operation to a group
|
514
|
+
# address. The format of the request is the same as that for creating a
|
515
|
+
# resource groups, though if a field is unspecified current value will be
|
516
|
+
# carried over.
|
517
|
+
#
|
518
|
+
# @param resource_group_name [String] The name of the resource group to be
|
519
|
+
# created or updated. The name is case insensitive.
|
520
|
+
# @param parameters [ResourceGroup] Parameters supplied to the update state
|
521
|
+
# resource group service operation.
|
522
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
523
|
+
# to the HTTP request.
|
524
|
+
#
|
525
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
526
|
+
#
|
527
|
+
def patch_async(resource_group_name, parameters, custom_headers:nil)
|
528
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
529
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
530
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
531
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
532
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
533
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
534
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
535
|
+
|
536
|
+
|
537
|
+
request_headers = {}
|
538
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
539
|
+
|
540
|
+
# Set Headers
|
541
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
542
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
543
|
+
|
544
|
+
# Serialize Request
|
545
|
+
request_mapper = Azure::Resources::Mgmt::V2016_07_01::Models::ResourceGroup.mapper()
|
546
|
+
request_content = @client.serialize(request_mapper, parameters)
|
547
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
548
|
+
|
549
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}'
|
550
|
+
|
551
|
+
request_url = @base_url || @client.base_url
|
552
|
+
|
553
|
+
options = {
|
554
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
555
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
556
|
+
query_params: {'api-version' => @client.api_version},
|
557
|
+
body: request_content,
|
558
|
+
headers: request_headers.merge(custom_headers || {}),
|
559
|
+
base_url: request_url
|
560
|
+
}
|
561
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
562
|
+
|
563
|
+
promise = promise.then do |result|
|
564
|
+
http_response = result.response
|
565
|
+
status_code = http_response.status
|
566
|
+
response_content = http_response.body
|
567
|
+
unless status_code == 200
|
568
|
+
error_model = JSON.load(response_content)
|
569
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
570
|
+
end
|
571
|
+
|
572
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
573
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
574
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
575
|
+
# Deserialize Response
|
576
|
+
if status_code == 200
|
577
|
+
begin
|
578
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
579
|
+
result_mapper = Azure::Resources::Mgmt::V2016_07_01::Models::ResourceGroup.mapper()
|
580
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
581
|
+
rescue Exception => e
|
582
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
586
|
+
result
|
587
|
+
end
|
588
|
+
|
589
|
+
promise.execute
|
590
|
+
end
|
591
|
+
|
592
|
+
#
|
593
|
+
# Captures the specified resource group as a template.
|
594
|
+
#
|
595
|
+
# @param resource_group_name [String] The name of the resource group to be
|
596
|
+
# created or updated.
|
597
|
+
# @param parameters [ExportTemplateRequest] Parameters supplied to the export
|
598
|
+
# template resource group operation.
|
599
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
600
|
+
# will be added to the HTTP request.
|
601
|
+
#
|
602
|
+
# @return [ResourceGroupExportResult] operation results.
|
603
|
+
#
|
604
|
+
def export_template(resource_group_name, parameters, custom_headers:nil)
|
605
|
+
response = export_template_async(resource_group_name, parameters, custom_headers:custom_headers).value!
|
606
|
+
response.body unless response.nil?
|
607
|
+
end
|
608
|
+
|
609
|
+
#
|
610
|
+
# Captures the specified resource group as a template.
|
611
|
+
#
|
612
|
+
# @param resource_group_name [String] The name of the resource group to be
|
613
|
+
# created or updated.
|
614
|
+
# @param parameters [ExportTemplateRequest] Parameters supplied to the export
|
615
|
+
# template resource group operation.
|
616
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
617
|
+
# will be added to the HTTP request.
|
618
|
+
#
|
619
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
620
|
+
#
|
621
|
+
def export_template_with_http_info(resource_group_name, parameters, custom_headers:nil)
|
622
|
+
export_template_async(resource_group_name, parameters, custom_headers:custom_headers).value!
|
623
|
+
end
|
624
|
+
|
625
|
+
#
|
626
|
+
# Captures the specified resource group as a template.
|
627
|
+
#
|
628
|
+
# @param resource_group_name [String] The name of the resource group to be
|
629
|
+
# created or updated.
|
630
|
+
# @param parameters [ExportTemplateRequest] Parameters supplied to the export
|
631
|
+
# template resource group operation.
|
632
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
633
|
+
# to the HTTP request.
|
634
|
+
#
|
635
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
636
|
+
#
|
637
|
+
def export_template_async(resource_group_name, parameters, custom_headers:nil)
|
638
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
639
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
640
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
641
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
642
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
643
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
644
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
645
|
+
|
646
|
+
|
647
|
+
request_headers = {}
|
648
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
649
|
+
|
650
|
+
# Set Headers
|
651
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
652
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
653
|
+
|
654
|
+
# Serialize Request
|
655
|
+
request_mapper = Azure::Resources::Mgmt::V2016_07_01::Models::ExportTemplateRequest.mapper()
|
656
|
+
request_content = @client.serialize(request_mapper, parameters)
|
657
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
658
|
+
|
659
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/exportTemplate'
|
660
|
+
|
661
|
+
request_url = @base_url || @client.base_url
|
662
|
+
|
663
|
+
options = {
|
664
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
665
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
666
|
+
query_params: {'api-version' => @client.api_version},
|
667
|
+
body: request_content,
|
668
|
+
headers: request_headers.merge(custom_headers || {}),
|
669
|
+
base_url: request_url
|
670
|
+
}
|
671
|
+
promise = @client.make_request_async(:post, path_template, options)
|
672
|
+
|
673
|
+
promise = promise.then do |result|
|
674
|
+
http_response = result.response
|
675
|
+
status_code = http_response.status
|
676
|
+
response_content = http_response.body
|
677
|
+
unless status_code == 200
|
678
|
+
error_model = JSON.load(response_content)
|
679
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
680
|
+
end
|
681
|
+
|
682
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
683
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
684
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
685
|
+
# Deserialize Response
|
686
|
+
if status_code == 200
|
687
|
+
begin
|
688
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
689
|
+
result_mapper = Azure::Resources::Mgmt::V2016_07_01::Models::ResourceGroupExportResult.mapper()
|
690
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
691
|
+
rescue Exception => e
|
692
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
result
|
697
|
+
end
|
698
|
+
|
699
|
+
promise.execute
|
700
|
+
end
|
701
|
+
|
702
|
+
#
|
703
|
+
# Gets a collection of resource groups.
|
704
|
+
#
|
705
|
+
# @param filter [String] The filter to apply on the operation.
|
706
|
+
# @param top [Integer] Query parameters. If null is passed returns all resource
|
707
|
+
# groups.
|
708
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
709
|
+
# will be added to the HTTP request.
|
710
|
+
#
|
711
|
+
# @return [Array<ResourceGroup>] operation results.
|
712
|
+
#
|
713
|
+
def list(filter:nil, top:nil, custom_headers:nil)
|
714
|
+
first_page = list_as_lazy(filter:filter, top:top, custom_headers:custom_headers)
|
715
|
+
first_page.get_all_items
|
716
|
+
end
|
717
|
+
|
718
|
+
#
|
719
|
+
# Gets a collection of resource groups.
|
720
|
+
#
|
721
|
+
# @param filter [String] The filter to apply on the operation.
|
722
|
+
# @param top [Integer] Query parameters. If null is passed returns all resource
|
723
|
+
# groups.
|
724
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
725
|
+
# will be added to the HTTP request.
|
726
|
+
#
|
727
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
728
|
+
#
|
729
|
+
def list_with_http_info(filter:nil, top:nil, custom_headers:nil)
|
730
|
+
list_async(filter:filter, top:top, custom_headers:custom_headers).value!
|
731
|
+
end
|
732
|
+
|
733
|
+
#
|
734
|
+
# Gets a collection of resource groups.
|
735
|
+
#
|
736
|
+
# @param filter [String] The filter to apply on the operation.
|
737
|
+
# @param top [Integer] Query parameters. If null is passed returns all resource
|
738
|
+
# groups.
|
739
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
740
|
+
# to the HTTP request.
|
741
|
+
#
|
742
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
743
|
+
#
|
744
|
+
def list_async(filter:nil, top:nil, custom_headers:nil)
|
745
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
746
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
747
|
+
|
748
|
+
|
749
|
+
request_headers = {}
|
750
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
751
|
+
|
752
|
+
# Set Headers
|
753
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
754
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
755
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups'
|
756
|
+
|
757
|
+
request_url = @base_url || @client.base_url
|
758
|
+
|
759
|
+
options = {
|
760
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
761
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
762
|
+
query_params: {'$filter' => filter,'$top' => top,'api-version' => @client.api_version},
|
763
|
+
headers: request_headers.merge(custom_headers || {}),
|
764
|
+
base_url: request_url
|
765
|
+
}
|
766
|
+
promise = @client.make_request_async(:get, path_template, options)
|
767
|
+
|
768
|
+
promise = promise.then do |result|
|
769
|
+
http_response = result.response
|
770
|
+
status_code = http_response.status
|
771
|
+
response_content = http_response.body
|
772
|
+
unless status_code == 200
|
773
|
+
error_model = JSON.load(response_content)
|
774
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
775
|
+
end
|
776
|
+
|
777
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
778
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
779
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
780
|
+
# Deserialize Response
|
781
|
+
if status_code == 200
|
782
|
+
begin
|
783
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
784
|
+
result_mapper = Azure::Resources::Mgmt::V2016_07_01::Models::ResourceGroupListResult.mapper()
|
785
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
786
|
+
rescue Exception => e
|
787
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
791
|
+
result
|
792
|
+
end
|
793
|
+
|
794
|
+
promise.execute
|
795
|
+
end
|
796
|
+
|
797
|
+
#
|
798
|
+
# Delete resource group.
|
799
|
+
#
|
800
|
+
# @param resource_group_name [String] The name of the resource group to be
|
801
|
+
# deleted. The name is case insensitive.
|
802
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
803
|
+
# will be added to the HTTP request.
|
804
|
+
#
|
805
|
+
#
|
806
|
+
def begin_delete(resource_group_name, custom_headers:nil)
|
807
|
+
response = begin_delete_async(resource_group_name, custom_headers:custom_headers).value!
|
808
|
+
nil
|
809
|
+
end
|
810
|
+
|
811
|
+
#
|
812
|
+
# Delete resource group.
|
813
|
+
#
|
814
|
+
# @param resource_group_name [String] The name of the resource group to be
|
815
|
+
# deleted. The name is case insensitive.
|
816
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
817
|
+
# will be added to the HTTP request.
|
818
|
+
#
|
819
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
820
|
+
#
|
821
|
+
def begin_delete_with_http_info(resource_group_name, custom_headers:nil)
|
822
|
+
begin_delete_async(resource_group_name, custom_headers:custom_headers).value!
|
823
|
+
end
|
824
|
+
|
825
|
+
#
|
826
|
+
# Delete resource group.
|
827
|
+
#
|
828
|
+
# @param resource_group_name [String] The name of the resource group to be
|
829
|
+
# deleted. The name is case insensitive.
|
830
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
831
|
+
# to the HTTP request.
|
832
|
+
#
|
833
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
834
|
+
#
|
835
|
+
def begin_delete_async(resource_group_name, custom_headers:nil)
|
836
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
837
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
838
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
839
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
840
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
841
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
842
|
+
|
843
|
+
|
844
|
+
request_headers = {}
|
845
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
846
|
+
|
847
|
+
# Set Headers
|
848
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
849
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
850
|
+
path_template = 'subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}'
|
851
|
+
|
852
|
+
request_url = @base_url || @client.base_url
|
853
|
+
|
854
|
+
options = {
|
855
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
856
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
857
|
+
query_params: {'api-version' => @client.api_version},
|
858
|
+
headers: request_headers.merge(custom_headers || {}),
|
859
|
+
base_url: request_url
|
860
|
+
}
|
861
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
862
|
+
|
863
|
+
promise = promise.then do |result|
|
864
|
+
http_response = result.response
|
865
|
+
status_code = http_response.status
|
866
|
+
response_content = http_response.body
|
867
|
+
unless status_code == 202 || status_code == 200
|
868
|
+
error_model = JSON.load(response_content)
|
869
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
870
|
+
end
|
871
|
+
|
872
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
873
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
874
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
875
|
+
|
876
|
+
result
|
877
|
+
end
|
878
|
+
|
879
|
+
promise.execute
|
880
|
+
end
|
881
|
+
|
882
|
+
#
|
883
|
+
# Get all of the resources under a subscription.
|
884
|
+
#
|
885
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
886
|
+
# to List operation.
|
887
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
888
|
+
# will be added to the HTTP request.
|
889
|
+
#
|
890
|
+
# @return [ResourceListResult] operation results.
|
891
|
+
#
|
892
|
+
def list_resources_next(next_page_link, custom_headers:nil)
|
893
|
+
response = list_resources_next_async(next_page_link, custom_headers:custom_headers).value!
|
894
|
+
response.body unless response.nil?
|
895
|
+
end
|
896
|
+
|
897
|
+
#
|
898
|
+
# Get all of the resources under a subscription.
|
899
|
+
#
|
900
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
901
|
+
# to List operation.
|
902
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
903
|
+
# will be added to the HTTP request.
|
904
|
+
#
|
905
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
906
|
+
#
|
907
|
+
def list_resources_next_with_http_info(next_page_link, custom_headers:nil)
|
908
|
+
list_resources_next_async(next_page_link, custom_headers:custom_headers).value!
|
909
|
+
end
|
910
|
+
|
911
|
+
#
|
912
|
+
# Get all of the resources under a subscription.
|
913
|
+
#
|
914
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
915
|
+
# to List operation.
|
916
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
917
|
+
# to the HTTP request.
|
918
|
+
#
|
919
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
920
|
+
#
|
921
|
+
def list_resources_next_async(next_page_link, custom_headers:nil)
|
922
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
923
|
+
|
924
|
+
|
925
|
+
request_headers = {}
|
926
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
927
|
+
|
928
|
+
# Set Headers
|
929
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
930
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
931
|
+
path_template = '{nextLink}'
|
932
|
+
|
933
|
+
request_url = @base_url || @client.base_url
|
934
|
+
|
935
|
+
options = {
|
936
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
937
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
938
|
+
headers: request_headers.merge(custom_headers || {}),
|
939
|
+
base_url: request_url
|
940
|
+
}
|
941
|
+
promise = @client.make_request_async(:get, path_template, options)
|
942
|
+
|
943
|
+
promise = promise.then do |result|
|
944
|
+
http_response = result.response
|
945
|
+
status_code = http_response.status
|
946
|
+
response_content = http_response.body
|
947
|
+
unless status_code == 200
|
948
|
+
error_model = JSON.load(response_content)
|
949
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
950
|
+
end
|
951
|
+
|
952
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
953
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
954
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
955
|
+
# Deserialize Response
|
956
|
+
if status_code == 200
|
957
|
+
begin
|
958
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
959
|
+
result_mapper = Azure::Resources::Mgmt::V2016_07_01::Models::ResourceListResult.mapper()
|
960
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
961
|
+
rescue Exception => e
|
962
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
963
|
+
end
|
964
|
+
end
|
965
|
+
|
966
|
+
result
|
967
|
+
end
|
968
|
+
|
969
|
+
promise.execute
|
970
|
+
end
|
971
|
+
|
972
|
+
#
|
973
|
+
# Gets a collection of resource groups.
|
974
|
+
#
|
975
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
976
|
+
# to List operation.
|
977
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
978
|
+
# will be added to the HTTP request.
|
979
|
+
#
|
980
|
+
# @return [ResourceGroupListResult] operation results.
|
981
|
+
#
|
982
|
+
def list_next(next_page_link, custom_headers:nil)
|
983
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
984
|
+
response.body unless response.nil?
|
985
|
+
end
|
986
|
+
|
987
|
+
#
|
988
|
+
# Gets a collection of resource groups.
|
989
|
+
#
|
990
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
991
|
+
# to List operation.
|
992
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
993
|
+
# will be added to the HTTP request.
|
994
|
+
#
|
995
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
996
|
+
#
|
997
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
998
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
999
|
+
end
|
1000
|
+
|
1001
|
+
#
|
1002
|
+
# Gets a collection of resource groups.
|
1003
|
+
#
|
1004
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1005
|
+
# to List operation.
|
1006
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1007
|
+
# to the HTTP request.
|
1008
|
+
#
|
1009
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1010
|
+
#
|
1011
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
1012
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1013
|
+
|
1014
|
+
|
1015
|
+
request_headers = {}
|
1016
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1017
|
+
|
1018
|
+
# Set Headers
|
1019
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1020
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1021
|
+
path_template = '{nextLink}'
|
1022
|
+
|
1023
|
+
request_url = @base_url || @client.base_url
|
1024
|
+
|
1025
|
+
options = {
|
1026
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1027
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
1028
|
+
headers: request_headers.merge(custom_headers || {}),
|
1029
|
+
base_url: request_url
|
1030
|
+
}
|
1031
|
+
promise = @client.make_request_async(:get, path_template, options)
|
1032
|
+
|
1033
|
+
promise = promise.then do |result|
|
1034
|
+
http_response = result.response
|
1035
|
+
status_code = http_response.status
|
1036
|
+
response_content = http_response.body
|
1037
|
+
unless status_code == 200
|
1038
|
+
error_model = JSON.load(response_content)
|
1039
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1043
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1044
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1045
|
+
# Deserialize Response
|
1046
|
+
if status_code == 200
|
1047
|
+
begin
|
1048
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1049
|
+
result_mapper = Azure::Resources::Mgmt::V2016_07_01::Models::ResourceGroupListResult.mapper()
|
1050
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1051
|
+
rescue Exception => e
|
1052
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1053
|
+
end
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
result
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
promise.execute
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
#
|
1063
|
+
# Get all of the resources under a subscription.
|
1064
|
+
#
|
1065
|
+
# @param resource_group_name [String] Query parameters. If null is passed
|
1066
|
+
# returns all resource groups.
|
1067
|
+
# @param filter [String] The filter to apply on the operation.
|
1068
|
+
# @param expand [String] The $expand query parameter
|
1069
|
+
# @param top [Integer] Query parameters. If null is passed returns all resource
|
1070
|
+
# groups.
|
1071
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1072
|
+
# will be added to the HTTP request.
|
1073
|
+
#
|
1074
|
+
# @return [ResourceListResult] which provide lazy access to pages of the
|
1075
|
+
# response.
|
1076
|
+
#
|
1077
|
+
def list_resources_as_lazy(resource_group_name, filter:nil, expand:nil, top:nil, custom_headers:nil)
|
1078
|
+
response = list_resources_async(resource_group_name, filter:filter, expand:expand, top:top, custom_headers:custom_headers).value!
|
1079
|
+
unless response.nil?
|
1080
|
+
page = response.body
|
1081
|
+
page.next_method = Proc.new do |next_page_link|
|
1082
|
+
list_resources_next_async(next_page_link, custom_headers:custom_headers)
|
1083
|
+
end
|
1084
|
+
page
|
1085
|
+
end
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
#
|
1089
|
+
# Gets a collection of resource groups.
|
1090
|
+
#
|
1091
|
+
# @param filter [String] The filter to apply on the operation.
|
1092
|
+
# @param top [Integer] Query parameters. If null is passed returns all resource
|
1093
|
+
# groups.
|
1094
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1095
|
+
# will be added to the HTTP request.
|
1096
|
+
#
|
1097
|
+
# @return [ResourceGroupListResult] which provide lazy access to pages of the
|
1098
|
+
# response.
|
1099
|
+
#
|
1100
|
+
def list_as_lazy(filter:nil, top:nil, custom_headers:nil)
|
1101
|
+
response = list_async(filter:filter, top:top, custom_headers:custom_headers).value!
|
1102
|
+
unless response.nil?
|
1103
|
+
page = response.body
|
1104
|
+
page.next_method = Proc.new do |next_page_link|
|
1105
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
1106
|
+
end
|
1107
|
+
page
|
1108
|
+
end
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
end
|
1112
|
+
end
|