azure_service_fabric 0.17.1 → 0.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/6.2.0.9/generated/azure_service_fabric/models/chaos_target_filter.rb +2 -2
- data/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb +391 -1
- data/lib/6.3.0.9/generated/azure_service_fabric/models/chaos_target_filter.rb +2 -2
- data/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb +411 -1
- data/lib/6.4.0.36/generated/azure_service_fabric/mesh_application.rb +8 -0
- data/lib/6.4.0.36/generated/azure_service_fabric/mesh_code_package.rb +2 -0
- data/lib/6.4.0.36/generated/azure_service_fabric/mesh_gateway.rb +8 -0
- data/lib/6.4.0.36/generated/azure_service_fabric/mesh_network.rb +8 -0
- data/lib/6.4.0.36/generated/azure_service_fabric/mesh_secret.rb +8 -0
- data/lib/6.4.0.36/generated/azure_service_fabric/mesh_secret_value.rb +13 -3
- data/lib/6.4.0.36/generated/azure_service_fabric/mesh_service.rb +4 -0
- data/lib/6.4.0.36/generated/azure_service_fabric/mesh_service_replica.rb +4 -0
- data/lib/6.4.0.36/generated/azure_service_fabric/mesh_volume.rb +8 -0
- data/lib/6.4.0.36/generated/azure_service_fabric/models/chaos_target_filter.rb +2 -2
- data/lib/6.4.0.36/generated/azure_service_fabric/models/container_code_package_properties.rb +1 -1
- data/lib/6.4.0.36/generated/azure_service_fabric/models/epoch.rb +1 -1
- data/lib/6.4.0.36/generated/azure_service_fabric/models/fabric_error_error.rb +1 -1
- data/lib/6.4.0.36/generated/azure_service_fabric/models/http_host_config.rb +1 -1
- data/lib/6.4.0.36/generated/azure_service_fabric/models/partition_backup_configuration_info.rb +1 -1
- data/lib/6.4.0.36/generated/azure_service_fabric/models/partition_backup_entity.rb +1 -1
- data/lib/6.4.0.36/generated/azure_service_fabric/service_fabric_client_apis.rb +395 -1
- data/lib/6.5.0.36/generated/azure_service_fabric.rb +622 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/mesh_application.rb +429 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/mesh_code_package.rb +143 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/mesh_gateway.rb +429 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/mesh_network.rb +429 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/mesh_secret.rb +429 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/mesh_secret_value.rb +566 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/mesh_service.rb +226 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/mesh_service_replica.rb +237 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/mesh_volume.rb +426 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/aad_metadata.rb +101 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/aad_metadata_object.rb +60 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/add_remove_incremental_named_partition_scaling_mechanism.rb +86 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/add_remove_replica_scaling_mechanism.rb +87 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/analysis_event_metadata.rb +57 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_backup_configuration_info.rb +89 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_backup_entity.rb +62 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_capacity_description.rb +100 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_container_instance_exited_event.rb +222 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_created_event.rb +123 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_definition_kind.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_deleted_event.rb +112 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_description.rb +125 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_event.rb +100 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_health.rb +142 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_health_evaluation.rb +104 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_health_policies.rb +58 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_health_policy.rb +104 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_health_policy_map_item.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_health_report_expired_event.rb +189 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_health_state.rb +56 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_health_state_chunk.rb +99 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_health_state_chunk_list.rb +66 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_health_state_filter.rb +177 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_info.rb +150 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_load_info.rb +119 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_metric_description.rb +109 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_name_info.rb +65 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_new_health_report_event.rb +189 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_package_cleanup_policy.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_parameter.rb +58 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_process_exited_event.rb +222 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_resource_description.rb +194 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_scoped_volume.rb +75 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters.rb +58 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_scoped_volume_creation_parameters_service_fabric_volume_disk.rb +73 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_scoped_volume_kind.rb +15 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_status.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_type_applications_health_evaluation.rb +132 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_type_definition_kind.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_type_health_policy_map_item.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_type_image_store_path.rb +48 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_type_info.rb +119 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_type_manifest.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_type_status.rb +19 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_completed_event.rb +123 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_description.rb +188 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_domain_completed_event.rb +156 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_progress_info.rb +273 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_rollback_completed_event.rb +134 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_rollback_started_event.rb +145 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_started_event.rb +156 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/application_upgrade_update_description.rb +87 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/applications_health_evaluation.rb +113 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_mechanism.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_mechanism_kind.rb +15 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_metric.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_metric_kind.rb +15 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_policy.rb +76 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_resource_metric.rb +62 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_resource_metric_name.rb +16 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_trigger.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_trigger_kind.rb +15 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/average_load_scaling_trigger.rb +104 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/average_partition_load_scaling_trigger.rb +103 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/average_service_load_scaling_trigger.rb +103 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/azure_blob_backup_storage_description.rb +83 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/azure_internal_monitoring_pipeline_sink_description.rb +123 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_configuration_info.rb +85 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_entity.rb +48 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_entity_kind.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_info.rb +180 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_partition_description.rb +50 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_policy_description.rb +126 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_policy_scope.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_progress_info.rb +119 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_schedule_description.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_schedule_frequency_type.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_schedule_kind.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_state.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_storage_description.rb +58 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_storage_kind.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_suspension_info.rb +60 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_suspension_scope.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/backup_type.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/basic_retention_policy_description.rb +80 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/binary_property_value.rb +70 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos.rb +72 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_code_package_restart_scheduled_event.rb +156 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_context.rb +60 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_event.rb +63 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_event_kind.rb +21 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_event_wrapper.rb +49 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_events_segment.rb +73 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_node_restart_scheduled_event.rb +123 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_parameters.rb +202 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_parameters_dictionary_item.rb +60 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_partition_primary_move_scheduled_event.rb +145 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_partition_secondary_move_scheduled_event.rb +157 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_replica_removal_scheduled_event.rb +131 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_replica_restart_scheduled_event.rb +131 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_schedule.rb +103 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_schedule_description.rb +63 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_schedule_job.rb +83 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_schedule_job_active_days_of_week.rb +126 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_schedule_status.rb +19 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_started_event.rb +192 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_status.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_stopped_event.rb +93 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/chaos_target_filter.rb +120 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/check_exists_property_batch_operation.rb +77 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/check_sequence_property_batch_operation.rb +79 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/check_value_property_batch_operation.rb +77 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_configuration.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_configuration_upgrade_description.rb +188 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_configuration_upgrade_status_info.rb +82 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_event.rb +82 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_health.rb +131 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_health_chunk.rb +82 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_health_chunk_query_description.rb +123 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_health_policies.rb +77 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_health_policy.rb +144 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_health_report_expired_event.rb +170 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_load_info.rb +79 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_manifest.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_new_health_report_event.rb +170 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_upgrade_completed_event.rb +104 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_upgrade_description_object.rb +212 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_upgrade_domain_completed_event.rb +126 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_upgrade_health_policy_object.rb +79 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_upgrade_progress_object.rb +240 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_upgrade_rollback_completed_event.rb +115 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_upgrade_rollback_started_event.rb +115 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_upgrade_started_event.rb +137 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/cluster_version.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/code_package_entry_point.rb +122 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/code_package_entry_point_statistics.rb +164 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/compose_deployment_status.rb +22 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/compose_deployment_status_info.rb +83 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/compose_deployment_upgrade_description.rb +155 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/compose_deployment_upgrade_progress_info.rb +306 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/compose_deployment_upgrade_state.rb +24 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/container_api_request_body.rb +80 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/container_api_response.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/container_api_result.rb +79 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/container_code_package_properties.rb +290 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/container_event.rb +101 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/container_instance_event.rb +82 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/container_instance_view.rb +90 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/container_label.rb +57 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/container_logs.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/container_state.rb +90 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/create_compose_deployment_description.rb +71 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/create_fabric_dump.rb +16 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/current_upgrade_domain_progress_info.rb +67 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/data_loss_mode.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/day_of_week.rb +21 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deactivation_intent.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deactivation_intent_description.rb +48 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/delete_property_batch_operation.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/delta_nodes_check_health_evaluation.rb +140 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deploy_service_package_to_node_description.rb +104 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_application_health.rb +132 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_application_health_evaluation.rb +115 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_application_health_report_expired_event.rb +201 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_application_health_state.rb +68 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_application_health_state_chunk.rb +72 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_application_health_state_chunk_list.rb +59 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_application_health_state_filter.rb +132 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_application_info.rb +141 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_application_new_health_report_event.rb +200 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_application_status.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_applications_health_evaluation.rb +117 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_code_package_info.rb +166 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_package_health.rb +122 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_package_health_evaluation.rb +125 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_package_health_report_expired_event.rb +223 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_package_health_state.rb +95 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_package_health_state_chunk.rb +72 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_package_health_state_chunk_list.rb +60 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_package_health_state_filter.rb +118 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_package_info.rb +89 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_package_new_health_report_event.rb +223 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_packages_health_evaluation.rb +105 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_replica_detail_info.rb +120 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_replica_info.rb +163 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_service_type_info.rb +101 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_stateful_service_replica_detail_info.rb +202 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_stateful_service_replica_info.rb +166 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_stateless_service_instance_detail_info.rb +131 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployed_stateless_service_instance_info.rb +138 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/deployment_status.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/diagnostics_description.rb +89 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/diagnostics_ref.rb +66 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/diagnostics_sink_kind.rb +16 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/diagnostics_sink_properties.rb +69 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/disable_backup_description.rb +49 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/double_property_value.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/enable_backup_description.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/endpoint_properties.rb +57 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/endpoint_ref.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/ensure_availability_safety_check.rb +60 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/ensure_partition_quorum_safety_check.rb +59 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/entity_health.rb +108 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/entity_health_state.rb +49 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/entity_health_state_chunk.rb +49 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/entity_health_state_chunk_list.rb +49 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/entity_kind.rb +23 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/entity_kind_health_state_count.rb +62 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/entry_point_status.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/environment_variable.rb +57 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/epoch.rb +66 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/event_health_evaluation.rb +96 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/executing_faults_chaos_event.rb +80 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/external_store_provision_application_type_description.rb +100 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/fabric_code_version_info.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/fabric_config_version_info.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/fabric_error.rb +50 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/fabric_error_codes.rb +98 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/fabric_error_error.rb +222 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/fabric_event.rb +151 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/fabric_event_kind.rb +76 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/fabric_replica_status.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/failed_property_batch_info.rb +76 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/failed_upgrade_domain_progress_object.rb +68 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/failure_action.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/failure_reason.rb +19 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/failure_upgrade_domain_progress_info.rb +68 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/file_info.rb +82 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/file_share_backup_storage_description.rb +115 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/file_version.rb +71 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/folder_info.rb +60 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/folder_size_info.rb +58 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/frequency_based_backup_schedule_description.rb +64 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/gateway_destination.rb +68 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/gateway_resource_description.rb +163 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/get_backup_by_storage_query_description.rb +110 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/get_property_batch_operation.rb +76 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/guid_property_value.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/header_match_type.rb +15 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/health_evaluation.rb +91 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/health_evaluation_kind.rb +36 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/health_evaluation_wrapper.rb +51 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/health_event.rb +196 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/health_information.rb +166 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/health_state.rb +19 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/health_state_count.rb +81 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/health_statistics.rb +64 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/host_isolation_mode.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/host_type.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/http_config.rb +79 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/http_host_config.rb +68 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/http_route_config.rb +72 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/http_route_match_header.rb +69 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/http_route_match_path.rb +71 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/http_route_match_rule.rb +69 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/identity_description.rb +104 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/identity_item_description.rb +60 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/image_registry_credential.rb +71 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/image_store_content.rb +77 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/image_store_copy_description.rb +95 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/impact_level.rb +19 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/inlined_value_secret_resource_properties.rb +88 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/int64property_value.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/int64range_partition_information.rb +83 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/invoke_data_loss_result.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/invoke_quorum_loss_result.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/key_value_store_replica_status.rb +111 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_information.rb +340 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_report.rb +82 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/load_metric_report_info.rb +81 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/local_network_resource_properties.rb +88 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/managed_application_identity.rb +57 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/managed_application_identity_description.rb +67 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/monitoring_policy_description.rb +124 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/move_cost.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/name_description.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/named_partition_information.rb +70 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/named_partition_scheme_description.rb +81 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/network_kind.rb +15 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/network_ref.rb +67 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/network_resource_description.rb +59 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/network_resource_properties.rb +88 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/network_resource_properties_base.rb +48 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_aborted_event.rb +178 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_added_to_cluster_event.rb +156 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_closed_event.rb +123 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_deactivate_completed_event.rb +134 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_deactivate_started_event.rb +123 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_deactivation_info.rb +104 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_deactivation_intent.rb +19 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_deactivation_status.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_deactivation_task.rb +62 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_deactivation_task_id.rb +59 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_deactivation_task_type.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_down_event.rb +112 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_event.rb +93 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_health.rb +98 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_health_evaluation.rb +102 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_health_report_expired_event.rb +189 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_health_state.rb +68 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_health_state_chunk.rb +55 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_health_state_chunk_list.rb +66 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_health_state_filter.rb +93 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_id.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_impact.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_info.rb +254 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_load_info.rb +69 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_load_metric_information.rb +171 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_new_health_report_event.rb +189 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_open_failed_event.rb +189 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_open_succeeded_event.rb +178 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_removed_from_cluster_event.rb +156 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_repair_impact_description.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_repair_target_description.rb +72 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_result.rb +58 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_status.rb +22 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_status_filter.rb +23 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_transition_progress.rb +64 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_transition_result.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_transition_type.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_up_event.rb +112 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_upgrade_phase.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/node_upgrade_progress_info.rb +79 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/nodes_health_evaluation.rb +114 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/operating_system_type.rb +16 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/operation_state.rb +21 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/operation_status.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/operation_type.rb +19 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/package_sharing_policy_info.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/package_sharing_policy_scope.rb +19 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_application_info_list.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_application_resource_description_list.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_application_type_info_list.rb +75 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_backup_configuration_info_list.rb +77 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_backup_entity_list.rb +76 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_backup_info_list.rb +73 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_backup_policy_description_list.rb +75 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_compose_deployment_status_info_list.rb +75 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_deployed_application_info_list.rb +76 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_gateway_resource_description_list.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_network_resource_description_list.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_node_info_list.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_property_info_list.rb +87 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_replica_info_list.rb +76 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_secret_resource_description_list.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_secret_value_resource_description_list.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_service_info_list.rb +76 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_service_partition_info_list.rb +77 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_service_replica_description_list.rb +75 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_service_resource_description_list.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_sub_name_info_list.rb +86 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/paged_volume_resource_description_list.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_access_status.rb +19 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_analysis_event.rb +102 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_backup_configuration_info.rb +99 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_backup_entity.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_data_loss_progress.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_event.rb +97 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_health.rb +121 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_health_evaluation.rb +104 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_health_report_expired_event.rb +178 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_health_state.rb +56 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_health_state_chunk.rb +70 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_health_state_chunk_list.rb +59 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_health_state_filter.rb +125 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_information.rb +64 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_instance_count_scale_mechanism.rb +85 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_load_information.rb +93 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_new_health_report_event.rb +178 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_primary_move_analysis_event.rb +154 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_quorum_loss_progress.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_reconfigured_event.rb +233 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_restart_progress.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_safety_check.rb +62 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_scheme.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partition_scheme_description.rb +48 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/partitions_health_evaluation.rb +115 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/primary_replicator_status.rb +85 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/property_batch_description_list.rb +59 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/property_batch_info.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/property_batch_info_kind.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/property_batch_operation.rb +63 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/property_batch_operation_kind.rb +21 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/property_description.rb +72 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/property_info.rb +73 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/property_metadata.rb +107 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/property_value.rb +50 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/property_value_kind.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/provision_application_type_description.rb +85 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/provision_application_type_description_base.rb +64 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/provision_application_type_kind.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/provision_fabric_description.rb +57 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/put_property_batch_operation.rb +86 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/quorum_loss_mode.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/reconfiguration_information.rb +89 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/reconfiguration_phase.rb +22 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/reconfiguration_type.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/registry_credential.rb +70 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/reliable_collections_ref.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/remote_replicator_acknowledgement_detail.rb +85 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/remote_replicator_acknowledgement_status.rb +63 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/remote_replicator_status.rb +139 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/repair_impact_description_base.rb +49 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/repair_impact_kind.rb +16 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/repair_target_description_base.rb +49 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/repair_target_kind.rb +16 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/repair_task.rb +290 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_approve_description.rb +63 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_cancel_description.rb +76 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_delete_description.rb +63 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_health_check_state.rb +19 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_history.rb +170 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_update_health_policy_description.rb +91 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/repair_task_update_info.rb +50 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_event.rb +114 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_health.rb +109 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_health_evaluation.rb +122 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_health_report_service_kind.rb +16 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_health_state.rb +64 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_health_state_chunk.rb +66 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_health_state_chunk_list.rb +57 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_health_state_filter.rb +97 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_info.rb +107 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_kind.rb +16 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_role.rb +19 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_status.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replica_status_base.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replicas_health_evaluation.rb +115 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replicator_operation_name.rb +24 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replicator_queue_status.rb +123 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/replicator_status.rb +52 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/resolved_service_endpoint.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/resolved_service_partition.rb +96 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/resource_limits.rb +60 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/resource_requests.rb +62 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/resource_requirements.rb +62 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/resource_status.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/restart_deployed_code_package_description.rb +97 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/restart_node_description.rb +65 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/restart_partition_mode.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/restart_partition_result.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/restore_partition_description.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/restore_progress_info.rb +95 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/restore_state.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/result_status.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/resume_application_upgrade_description.rb +48 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/resume_cluster_upgrade_description.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/retention_policy_description.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/retention_policy_type.rb +16 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/rolling_upgrade_update_description.rb +169 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/safety_check.rb +55 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/safety_check_kind.rb +22 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/safety_check_wrapper.rb +53 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/scaling_mechanism_description.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/scaling_mechanism_kind.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/scaling_policy_description.rb +65 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/scaling_trigger_description.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/scaling_trigger_kind.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/secondary_active_replicator_status.rb +101 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/secondary_idle_replicator_status.rb +101 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/secondary_replicator_status.rb +131 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/secret_kind.rb +15 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/secret_resource_description.rb +59 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/secret_resource_properties.rb +101 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/secret_resource_properties_base.rb +48 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/secret_value.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/secret_value_properties.rb +46 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/secret_value_resource_description.rb +58 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/seed_node_safety_check.rb +51 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/selected_partition.rb +62 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_backup_configuration_info.rb +89 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_backup_entity.rb +62 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_correlation_description.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_correlation_scheme.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_created_event.rb +204 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_deleted_event.rb +189 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_description.rb +268 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_endpoint_role.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_event.rb +100 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_from_template_description.rb +117 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_health.rb +119 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_health_evaluation.rb +104 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_health_report_expired_event.rb +189 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_health_state.rb +56 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_health_state_chunk.rb +71 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_health_state_chunk_list.rb +57 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_health_state_filter.rb +124 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_identity.rb +57 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_info.rb +137 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_kind.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_load_metric_description.rb +100 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_load_metric_weight.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_name_info.rb +65 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_new_health_report_event.rb +189 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_operation_name.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_package_activation_mode.rb +16 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_partition_info.rb +88 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_partition_kind.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_partition_status.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_invalid_domain_policy_description.rb +65 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_non_partially_place_service_policy_description.rb +53 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_policy_description.rb +51 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_policy_type.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_prefer_primary_domain_policy_description.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_require_domain_distribution_policy_description.rb +74 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_placement_required_domain_policy_description.rb +65 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_properties.rb +153 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_replica_description.rb +97 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_replica_properties.rb +104 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_resource_description.rb +233 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_status.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_type_description.rb +151 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_type_extension_description.rb +57 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_type_health_policy.rb +104 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_type_health_policy_map_item.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_type_info.rb +88 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_type_manifest.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_type_registration_status.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/service_update_description.rb +202 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/services_health_evaluation.rb +127 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/setting.rb +60 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/singleton_partition_information.rb +60 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/singleton_partition_scheme_description.rb +51 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/size_types.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/start_cluster_upgrade_description.rb +196 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/started_chaos_event.rb +71 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/state.rb +22 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_health_report_expired_event.rb +197 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb +197 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateful_service_description.rb +326 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateful_service_info.rb +117 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateful_service_partition_info.rb +129 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateful_service_replica_health.rb +128 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateful_service_replica_health_state.rb +84 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateful_service_replica_info.rb +122 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateful_service_type_description.rb +141 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateful_service_update_description.rb +208 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateless_replica_health_report_expired_event.rb +186 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateless_replica_new_health_report_event.rb +186 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateless_service_description.rb +225 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateless_service_info.rb +106 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateless_service_instance_health.rb +127 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateless_service_instance_health_state.rb +79 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateless_service_instance_info.rb +108 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateless_service_partition_info.rb +88 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateless_service_type_description.rb +142 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stateless_service_update_description.rb +158 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/stopped_chaos_event.rb +72 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/string_property_value.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/successful_property_batch_info.rb +75 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/system_application_health_evaluation.rb +93 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/tcp_config.rb +72 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/test_error_chaos_event.rb +76 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/time_based_backup_schedule_description.rb +105 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/time_of_day.rb +67 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/time_range.rb +61 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/uniform_int64range_partition_scheme_description.rb +89 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/unplaced_replica_information.rb +77 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/unprovision_application_type_description_info.rb +65 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/unprovision_fabric_description.rb +57 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/update_cluster_upgrade_description.rb +115 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_delta_nodes_check_health_evaluation.rb +154 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_info.rb +58 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_nodes_health_evaluation.rb +127 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_domain_state.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_kind.rb +16 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_mode.rb +18 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_orchestration_service_state.rb +47 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_orchestration_service_state_summary.rb +90 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_sort_order.rb +20 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_state.rb +21 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upgrade_type.rb +17 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upload_chunk_range.rb +59 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upload_session.rb +58 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/upload_session_info.rb +104 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/validation_failed_chaos_event.rb +73 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/volume_provider.rb +15 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/volume_provider_parameters_azure_file.rb +70 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/volume_reference.rb +70 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/volume_resource_description.rb +109 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/wait_for_inbuild_replica_safety_check.rb +62 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/wait_for_primary_placement_safety_check.rb +59 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/wait_for_primary_swap_safety_check.rb +60 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/wait_for_reconfiguration_safety_check.rb +59 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/models/waiting_chaos_event.rb +72 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/module_definition.rb +8 -0
- data/lib/6.5.0.36/generated/azure_service_fabric/service_fabric_client_apis.rb +30912 -0
- data/lib/azure_service_fabric.rb +1 -0
- data/lib/profiles/latest/modules/servicefabric_profile_module.rb +1384 -1344
- data/lib/version.rb +1 -1
- metadata +602 -4
@@ -0,0 +1,429 @@
|
|
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::ServiceFabric::V6_5_0_36
|
7
|
+
#
|
8
|
+
# Service Fabric REST Client APIs allows management of Service Fabric
|
9
|
+
# clusters, applications and services.
|
10
|
+
#
|
11
|
+
class MeshGateway
|
12
|
+
include MsRestAzure
|
13
|
+
|
14
|
+
#
|
15
|
+
# Creates and initializes a new instance of the MeshGateway class.
|
16
|
+
# @param client service class for accessing basic functionality.
|
17
|
+
#
|
18
|
+
def initialize(client)
|
19
|
+
@client = client
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [ServiceFabricClientAPIs] reference to the ServiceFabricClientAPIs
|
23
|
+
attr_reader :client
|
24
|
+
|
25
|
+
#
|
26
|
+
# Creates or updates a Gateway resource.
|
27
|
+
#
|
28
|
+
# Creates a Gateway resource with the specified name, description and
|
29
|
+
# properties. If Gateway resource with the same name exists, then it is updated
|
30
|
+
# with the specified description and properties. Use Gateway resource to
|
31
|
+
# provide public connectivity to application services.
|
32
|
+
#
|
33
|
+
# @param gateway_resource_name [String] The identity of the gateway.
|
34
|
+
# @param gateway_resource_description [GatewayResourceDescription] Description
|
35
|
+
# for creating a Gateway resource.
|
36
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
37
|
+
# will be added to the HTTP request.
|
38
|
+
#
|
39
|
+
# @return [GatewayResourceDescription] operation results.
|
40
|
+
#
|
41
|
+
def create_or_update(gateway_resource_name, gateway_resource_description, custom_headers:nil)
|
42
|
+
response = create_or_update_async(gateway_resource_name, gateway_resource_description, custom_headers:custom_headers).value!
|
43
|
+
response.body unless response.nil?
|
44
|
+
end
|
45
|
+
|
46
|
+
#
|
47
|
+
# Creates or updates a Gateway resource.
|
48
|
+
#
|
49
|
+
# Creates a Gateway resource with the specified name, description and
|
50
|
+
# properties. If Gateway resource with the same name exists, then it is updated
|
51
|
+
# with the specified description and properties. Use Gateway resource to
|
52
|
+
# provide public connectivity to application services.
|
53
|
+
#
|
54
|
+
# @param gateway_resource_name [String] The identity of the gateway.
|
55
|
+
# @param gateway_resource_description [GatewayResourceDescription] Description
|
56
|
+
# for creating a Gateway resource.
|
57
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
58
|
+
# will be added to the HTTP request.
|
59
|
+
#
|
60
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
61
|
+
#
|
62
|
+
def create_or_update_with_http_info(gateway_resource_name, gateway_resource_description, custom_headers:nil)
|
63
|
+
create_or_update_async(gateway_resource_name, gateway_resource_description, custom_headers:custom_headers).value!
|
64
|
+
end
|
65
|
+
|
66
|
+
#
|
67
|
+
# Creates or updates a Gateway resource.
|
68
|
+
#
|
69
|
+
# Creates a Gateway resource with the specified name, description and
|
70
|
+
# properties. If Gateway resource with the same name exists, then it is updated
|
71
|
+
# with the specified description and properties. Use Gateway resource to
|
72
|
+
# provide public connectivity to application services.
|
73
|
+
#
|
74
|
+
# @param gateway_resource_name [String] The identity of the gateway.
|
75
|
+
# @param gateway_resource_description [GatewayResourceDescription] Description
|
76
|
+
# for creating a Gateway resource.
|
77
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
78
|
+
# to the HTTP request.
|
79
|
+
#
|
80
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
81
|
+
#
|
82
|
+
def create_or_update_async(gateway_resource_name, gateway_resource_description, custom_headers:nil)
|
83
|
+
api_version = '6.4-preview'
|
84
|
+
fail ArgumentError, 'gateway_resource_name is nil' if gateway_resource_name.nil?
|
85
|
+
fail ArgumentError, 'gateway_resource_description is nil' if gateway_resource_description.nil?
|
86
|
+
|
87
|
+
|
88
|
+
request_headers = {}
|
89
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
90
|
+
|
91
|
+
# Set Headers
|
92
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
93
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
94
|
+
|
95
|
+
# Serialize Request
|
96
|
+
request_mapper = Azure::ServiceFabric::V6_5_0_36::Models::GatewayResourceDescription.mapper()
|
97
|
+
request_content = @client.serialize(request_mapper, gateway_resource_description)
|
98
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
99
|
+
|
100
|
+
path_template = 'Resources/Gateways/{gatewayResourceName}'
|
101
|
+
|
102
|
+
request_url = @base_url || @client.base_url
|
103
|
+
|
104
|
+
options = {
|
105
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
106
|
+
skip_encoding_path_params: {'gatewayResourceName' => gateway_resource_name},
|
107
|
+
query_params: {'api-version' => api_version},
|
108
|
+
body: request_content,
|
109
|
+
headers: request_headers.merge(custom_headers || {}),
|
110
|
+
base_url: request_url
|
111
|
+
}
|
112
|
+
promise = @client.make_request_async(:put, path_template, options)
|
113
|
+
|
114
|
+
promise = promise.then do |result|
|
115
|
+
http_response = result.response
|
116
|
+
status_code = http_response.status
|
117
|
+
response_content = http_response.body
|
118
|
+
unless status_code == 200 || status_code == 201 || status_code == 202
|
119
|
+
error_model = JSON.load(response_content)
|
120
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
121
|
+
end
|
122
|
+
|
123
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
124
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
125
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
126
|
+
# Deserialize Response
|
127
|
+
if status_code == 200
|
128
|
+
begin
|
129
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
130
|
+
result_mapper = Azure::ServiceFabric::V6_5_0_36::Models::GatewayResourceDescription.mapper()
|
131
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
132
|
+
rescue Exception => e
|
133
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
134
|
+
end
|
135
|
+
end
|
136
|
+
# Deserialize Response
|
137
|
+
if status_code == 201
|
138
|
+
begin
|
139
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
140
|
+
result_mapper = Azure::ServiceFabric::V6_5_0_36::Models::GatewayResourceDescription.mapper()
|
141
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
142
|
+
rescue Exception => e
|
143
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
result
|
148
|
+
end
|
149
|
+
|
150
|
+
promise.execute
|
151
|
+
end
|
152
|
+
|
153
|
+
#
|
154
|
+
# Gets the Gateway resource with the given name.
|
155
|
+
#
|
156
|
+
# Gets the information about the Gateway resource with the given name. The
|
157
|
+
# information include the description and other properties of the Gateway.
|
158
|
+
#
|
159
|
+
# @param gateway_resource_name [String] The identity of the gateway.
|
160
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
161
|
+
# will be added to the HTTP request.
|
162
|
+
#
|
163
|
+
# @return [GatewayResourceDescription] operation results.
|
164
|
+
#
|
165
|
+
def get(gateway_resource_name, custom_headers:nil)
|
166
|
+
response = get_async(gateway_resource_name, custom_headers:custom_headers).value!
|
167
|
+
response.body unless response.nil?
|
168
|
+
end
|
169
|
+
|
170
|
+
#
|
171
|
+
# Gets the Gateway resource with the given name.
|
172
|
+
#
|
173
|
+
# Gets the information about the Gateway resource with the given name. The
|
174
|
+
# information include the description and other properties of the Gateway.
|
175
|
+
#
|
176
|
+
# @param gateway_resource_name [String] The identity of the gateway.
|
177
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
178
|
+
# will be added to the HTTP request.
|
179
|
+
#
|
180
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
181
|
+
#
|
182
|
+
def get_with_http_info(gateway_resource_name, custom_headers:nil)
|
183
|
+
get_async(gateway_resource_name, custom_headers:custom_headers).value!
|
184
|
+
end
|
185
|
+
|
186
|
+
#
|
187
|
+
# Gets the Gateway resource with the given name.
|
188
|
+
#
|
189
|
+
# Gets the information about the Gateway resource with the given name. The
|
190
|
+
# information include the description and other properties of the Gateway.
|
191
|
+
#
|
192
|
+
# @param gateway_resource_name [String] The identity of the gateway.
|
193
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
194
|
+
# to the HTTP request.
|
195
|
+
#
|
196
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
197
|
+
#
|
198
|
+
def get_async(gateway_resource_name, custom_headers:nil)
|
199
|
+
api_version = '6.4-preview'
|
200
|
+
fail ArgumentError, 'gateway_resource_name is nil' if gateway_resource_name.nil?
|
201
|
+
|
202
|
+
|
203
|
+
request_headers = {}
|
204
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
205
|
+
|
206
|
+
# Set Headers
|
207
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
208
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
209
|
+
path_template = 'Resources/Gateways/{gatewayResourceName}'
|
210
|
+
|
211
|
+
request_url = @base_url || @client.base_url
|
212
|
+
|
213
|
+
options = {
|
214
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
215
|
+
skip_encoding_path_params: {'gatewayResourceName' => gateway_resource_name},
|
216
|
+
query_params: {'api-version' => api_version},
|
217
|
+
headers: request_headers.merge(custom_headers || {}),
|
218
|
+
base_url: request_url
|
219
|
+
}
|
220
|
+
promise = @client.make_request_async(:get, path_template, options)
|
221
|
+
|
222
|
+
promise = promise.then do |result|
|
223
|
+
http_response = result.response
|
224
|
+
status_code = http_response.status
|
225
|
+
response_content = http_response.body
|
226
|
+
unless status_code == 200
|
227
|
+
error_model = JSON.load(response_content)
|
228
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
229
|
+
end
|
230
|
+
|
231
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
232
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
233
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
234
|
+
# Deserialize Response
|
235
|
+
if status_code == 200
|
236
|
+
begin
|
237
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
238
|
+
result_mapper = Azure::ServiceFabric::V6_5_0_36::Models::GatewayResourceDescription.mapper()
|
239
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
240
|
+
rescue Exception => e
|
241
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
result
|
246
|
+
end
|
247
|
+
|
248
|
+
promise.execute
|
249
|
+
end
|
250
|
+
|
251
|
+
#
|
252
|
+
# Deletes the Gateway resource.
|
253
|
+
#
|
254
|
+
# Deletes the Gateway resource identified by the name.
|
255
|
+
#
|
256
|
+
# @param gateway_resource_name [String] The identity of the gateway.
|
257
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
258
|
+
# will be added to the HTTP request.
|
259
|
+
#
|
260
|
+
#
|
261
|
+
def delete(gateway_resource_name, custom_headers:nil)
|
262
|
+
response = delete_async(gateway_resource_name, custom_headers:custom_headers).value!
|
263
|
+
nil
|
264
|
+
end
|
265
|
+
|
266
|
+
#
|
267
|
+
# Deletes the Gateway resource.
|
268
|
+
#
|
269
|
+
# Deletes the Gateway resource identified by the name.
|
270
|
+
#
|
271
|
+
# @param gateway_resource_name [String] The identity of the gateway.
|
272
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
273
|
+
# will be added to the HTTP request.
|
274
|
+
#
|
275
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
276
|
+
#
|
277
|
+
def delete_with_http_info(gateway_resource_name, custom_headers:nil)
|
278
|
+
delete_async(gateway_resource_name, custom_headers:custom_headers).value!
|
279
|
+
end
|
280
|
+
|
281
|
+
#
|
282
|
+
# Deletes the Gateway resource.
|
283
|
+
#
|
284
|
+
# Deletes the Gateway resource identified by the name.
|
285
|
+
#
|
286
|
+
# @param gateway_resource_name [String] The identity of the gateway.
|
287
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
288
|
+
# to the HTTP request.
|
289
|
+
#
|
290
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
291
|
+
#
|
292
|
+
def delete_async(gateway_resource_name, custom_headers:nil)
|
293
|
+
api_version = '6.4-preview'
|
294
|
+
fail ArgumentError, 'gateway_resource_name is nil' if gateway_resource_name.nil?
|
295
|
+
|
296
|
+
|
297
|
+
request_headers = {}
|
298
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
299
|
+
|
300
|
+
# Set Headers
|
301
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
302
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
303
|
+
path_template = 'Resources/Gateways/{gatewayResourceName}'
|
304
|
+
|
305
|
+
request_url = @base_url || @client.base_url
|
306
|
+
|
307
|
+
options = {
|
308
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
309
|
+
skip_encoding_path_params: {'gatewayResourceName' => gateway_resource_name},
|
310
|
+
query_params: {'api-version' => api_version},
|
311
|
+
headers: request_headers.merge(custom_headers || {}),
|
312
|
+
base_url: request_url
|
313
|
+
}
|
314
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
315
|
+
|
316
|
+
promise = promise.then do |result|
|
317
|
+
http_response = result.response
|
318
|
+
status_code = http_response.status
|
319
|
+
response_content = http_response.body
|
320
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
321
|
+
error_model = JSON.load(response_content)
|
322
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
323
|
+
end
|
324
|
+
|
325
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
326
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
327
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
328
|
+
|
329
|
+
result
|
330
|
+
end
|
331
|
+
|
332
|
+
promise.execute
|
333
|
+
end
|
334
|
+
|
335
|
+
#
|
336
|
+
# Lists all the gateway resources.
|
337
|
+
#
|
338
|
+
# Gets the information about all gateway resources in a given resource group.
|
339
|
+
# The information include the description and other properties of the Gateway.
|
340
|
+
#
|
341
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
342
|
+
# will be added to the HTTP request.
|
343
|
+
#
|
344
|
+
# @return [PagedGatewayResourceDescriptionList] operation results.
|
345
|
+
#
|
346
|
+
def list(custom_headers:nil)
|
347
|
+
response = list_async(custom_headers:custom_headers).value!
|
348
|
+
response.body unless response.nil?
|
349
|
+
end
|
350
|
+
|
351
|
+
#
|
352
|
+
# Lists all the gateway resources.
|
353
|
+
#
|
354
|
+
# Gets the information about all gateway resources in a given resource group.
|
355
|
+
# The information include the description and other properties of the Gateway.
|
356
|
+
#
|
357
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
358
|
+
# will be added to the HTTP request.
|
359
|
+
#
|
360
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
361
|
+
#
|
362
|
+
def list_with_http_info(custom_headers:nil)
|
363
|
+
list_async(custom_headers:custom_headers).value!
|
364
|
+
end
|
365
|
+
|
366
|
+
#
|
367
|
+
# Lists all the gateway resources.
|
368
|
+
#
|
369
|
+
# Gets the information about all gateway resources in a given resource group.
|
370
|
+
# The information include the description and other properties of the Gateway.
|
371
|
+
#
|
372
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
373
|
+
# to the HTTP request.
|
374
|
+
#
|
375
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
376
|
+
#
|
377
|
+
def list_async(custom_headers:nil)
|
378
|
+
api_version = '6.4-preview'
|
379
|
+
|
380
|
+
|
381
|
+
request_headers = {}
|
382
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
383
|
+
|
384
|
+
# Set Headers
|
385
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
386
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
387
|
+
path_template = 'Resources/Gateways'
|
388
|
+
|
389
|
+
request_url = @base_url || @client.base_url
|
390
|
+
|
391
|
+
options = {
|
392
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
393
|
+
query_params: {'api-version' => api_version},
|
394
|
+
headers: request_headers.merge(custom_headers || {}),
|
395
|
+
base_url: request_url
|
396
|
+
}
|
397
|
+
promise = @client.make_request_async(:get, path_template, options)
|
398
|
+
|
399
|
+
promise = promise.then do |result|
|
400
|
+
http_response = result.response
|
401
|
+
status_code = http_response.status
|
402
|
+
response_content = http_response.body
|
403
|
+
unless status_code == 200
|
404
|
+
error_model = JSON.load(response_content)
|
405
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
406
|
+
end
|
407
|
+
|
408
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
409
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
410
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
411
|
+
# Deserialize Response
|
412
|
+
if status_code == 200
|
413
|
+
begin
|
414
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
415
|
+
result_mapper = Azure::ServiceFabric::V6_5_0_36::Models::PagedGatewayResourceDescriptionList.mapper()
|
416
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
417
|
+
rescue Exception => e
|
418
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
result
|
423
|
+
end
|
424
|
+
|
425
|
+
promise.execute
|
426
|
+
end
|
427
|
+
|
428
|
+
end
|
429
|
+
end
|
@@ -0,0 +1,429 @@
|
|
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::ServiceFabric::V6_5_0_36
|
7
|
+
#
|
8
|
+
# Service Fabric REST Client APIs allows management of Service Fabric
|
9
|
+
# clusters, applications and services.
|
10
|
+
#
|
11
|
+
class MeshNetwork
|
12
|
+
include MsRestAzure
|
13
|
+
|
14
|
+
#
|
15
|
+
# Creates and initializes a new instance of the MeshNetwork class.
|
16
|
+
# @param client service class for accessing basic functionality.
|
17
|
+
#
|
18
|
+
def initialize(client)
|
19
|
+
@client = client
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [ServiceFabricClientAPIs] reference to the ServiceFabricClientAPIs
|
23
|
+
attr_reader :client
|
24
|
+
|
25
|
+
#
|
26
|
+
# Creates or updates a Network resource.
|
27
|
+
#
|
28
|
+
# Creates a Network resource with the specified name, description and
|
29
|
+
# properties. If Network resource with the same name exists, then it is updated
|
30
|
+
# with the specified description and properties. Network resource provides
|
31
|
+
# connectivity between application services.
|
32
|
+
#
|
33
|
+
# @param network_resource_name [String] The identity of the network.
|
34
|
+
# @param network_resource_description [NetworkResourceDescription] Description
|
35
|
+
# for creating a Network resource.
|
36
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
37
|
+
# will be added to the HTTP request.
|
38
|
+
#
|
39
|
+
# @return [NetworkResourceDescription] operation results.
|
40
|
+
#
|
41
|
+
def create_or_update(network_resource_name, network_resource_description, custom_headers:nil)
|
42
|
+
response = create_or_update_async(network_resource_name, network_resource_description, custom_headers:custom_headers).value!
|
43
|
+
response.body unless response.nil?
|
44
|
+
end
|
45
|
+
|
46
|
+
#
|
47
|
+
# Creates or updates a Network resource.
|
48
|
+
#
|
49
|
+
# Creates a Network resource with the specified name, description and
|
50
|
+
# properties. If Network resource with the same name exists, then it is updated
|
51
|
+
# with the specified description and properties. Network resource provides
|
52
|
+
# connectivity between application services.
|
53
|
+
#
|
54
|
+
# @param network_resource_name [String] The identity of the network.
|
55
|
+
# @param network_resource_description [NetworkResourceDescription] Description
|
56
|
+
# for creating a Network resource.
|
57
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
58
|
+
# will be added to the HTTP request.
|
59
|
+
#
|
60
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
61
|
+
#
|
62
|
+
def create_or_update_with_http_info(network_resource_name, network_resource_description, custom_headers:nil)
|
63
|
+
create_or_update_async(network_resource_name, network_resource_description, custom_headers:custom_headers).value!
|
64
|
+
end
|
65
|
+
|
66
|
+
#
|
67
|
+
# Creates or updates a Network resource.
|
68
|
+
#
|
69
|
+
# Creates a Network resource with the specified name, description and
|
70
|
+
# properties. If Network resource with the same name exists, then it is updated
|
71
|
+
# with the specified description and properties. Network resource provides
|
72
|
+
# connectivity between application services.
|
73
|
+
#
|
74
|
+
# @param network_resource_name [String] The identity of the network.
|
75
|
+
# @param network_resource_description [NetworkResourceDescription] Description
|
76
|
+
# for creating a Network resource.
|
77
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
78
|
+
# to the HTTP request.
|
79
|
+
#
|
80
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
81
|
+
#
|
82
|
+
def create_or_update_async(network_resource_name, network_resource_description, custom_headers:nil)
|
83
|
+
api_version = '6.4-preview'
|
84
|
+
fail ArgumentError, 'network_resource_name is nil' if network_resource_name.nil?
|
85
|
+
fail ArgumentError, 'network_resource_description is nil' if network_resource_description.nil?
|
86
|
+
|
87
|
+
|
88
|
+
request_headers = {}
|
89
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
90
|
+
|
91
|
+
# Set Headers
|
92
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
93
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
94
|
+
|
95
|
+
# Serialize Request
|
96
|
+
request_mapper = Azure::ServiceFabric::V6_5_0_36::Models::NetworkResourceDescription.mapper()
|
97
|
+
request_content = @client.serialize(request_mapper, network_resource_description)
|
98
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
99
|
+
|
100
|
+
path_template = 'Resources/Networks/{networkResourceName}'
|
101
|
+
|
102
|
+
request_url = @base_url || @client.base_url
|
103
|
+
|
104
|
+
options = {
|
105
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
106
|
+
skip_encoding_path_params: {'networkResourceName' => network_resource_name},
|
107
|
+
query_params: {'api-version' => api_version},
|
108
|
+
body: request_content,
|
109
|
+
headers: request_headers.merge(custom_headers || {}),
|
110
|
+
base_url: request_url
|
111
|
+
}
|
112
|
+
promise = @client.make_request_async(:put, path_template, options)
|
113
|
+
|
114
|
+
promise = promise.then do |result|
|
115
|
+
http_response = result.response
|
116
|
+
status_code = http_response.status
|
117
|
+
response_content = http_response.body
|
118
|
+
unless status_code == 200 || status_code == 201 || status_code == 202
|
119
|
+
error_model = JSON.load(response_content)
|
120
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
121
|
+
end
|
122
|
+
|
123
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
124
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
125
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
126
|
+
# Deserialize Response
|
127
|
+
if status_code == 200
|
128
|
+
begin
|
129
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
130
|
+
result_mapper = Azure::ServiceFabric::V6_5_0_36::Models::NetworkResourceDescription.mapper()
|
131
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
132
|
+
rescue Exception => e
|
133
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
134
|
+
end
|
135
|
+
end
|
136
|
+
# Deserialize Response
|
137
|
+
if status_code == 201
|
138
|
+
begin
|
139
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
140
|
+
result_mapper = Azure::ServiceFabric::V6_5_0_36::Models::NetworkResourceDescription.mapper()
|
141
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
142
|
+
rescue Exception => e
|
143
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
result
|
148
|
+
end
|
149
|
+
|
150
|
+
promise.execute
|
151
|
+
end
|
152
|
+
|
153
|
+
#
|
154
|
+
# Gets the Network resource with the given name.
|
155
|
+
#
|
156
|
+
# Gets the information about the Network resource with the given name. The
|
157
|
+
# information include the description and other properties of the Network.
|
158
|
+
#
|
159
|
+
# @param network_resource_name [String] The identity of the network.
|
160
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
161
|
+
# will be added to the HTTP request.
|
162
|
+
#
|
163
|
+
# @return [NetworkResourceDescription] operation results.
|
164
|
+
#
|
165
|
+
def get(network_resource_name, custom_headers:nil)
|
166
|
+
response = get_async(network_resource_name, custom_headers:custom_headers).value!
|
167
|
+
response.body unless response.nil?
|
168
|
+
end
|
169
|
+
|
170
|
+
#
|
171
|
+
# Gets the Network resource with the given name.
|
172
|
+
#
|
173
|
+
# Gets the information about the Network resource with the given name. The
|
174
|
+
# information include the description and other properties of the Network.
|
175
|
+
#
|
176
|
+
# @param network_resource_name [String] The identity of the network.
|
177
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
178
|
+
# will be added to the HTTP request.
|
179
|
+
#
|
180
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
181
|
+
#
|
182
|
+
def get_with_http_info(network_resource_name, custom_headers:nil)
|
183
|
+
get_async(network_resource_name, custom_headers:custom_headers).value!
|
184
|
+
end
|
185
|
+
|
186
|
+
#
|
187
|
+
# Gets the Network resource with the given name.
|
188
|
+
#
|
189
|
+
# Gets the information about the Network resource with the given name. The
|
190
|
+
# information include the description and other properties of the Network.
|
191
|
+
#
|
192
|
+
# @param network_resource_name [String] The identity of the network.
|
193
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
194
|
+
# to the HTTP request.
|
195
|
+
#
|
196
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
197
|
+
#
|
198
|
+
def get_async(network_resource_name, custom_headers:nil)
|
199
|
+
api_version = '6.4-preview'
|
200
|
+
fail ArgumentError, 'network_resource_name is nil' if network_resource_name.nil?
|
201
|
+
|
202
|
+
|
203
|
+
request_headers = {}
|
204
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
205
|
+
|
206
|
+
# Set Headers
|
207
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
208
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
209
|
+
path_template = 'Resources/Networks/{networkResourceName}'
|
210
|
+
|
211
|
+
request_url = @base_url || @client.base_url
|
212
|
+
|
213
|
+
options = {
|
214
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
215
|
+
skip_encoding_path_params: {'networkResourceName' => network_resource_name},
|
216
|
+
query_params: {'api-version' => api_version},
|
217
|
+
headers: request_headers.merge(custom_headers || {}),
|
218
|
+
base_url: request_url
|
219
|
+
}
|
220
|
+
promise = @client.make_request_async(:get, path_template, options)
|
221
|
+
|
222
|
+
promise = promise.then do |result|
|
223
|
+
http_response = result.response
|
224
|
+
status_code = http_response.status
|
225
|
+
response_content = http_response.body
|
226
|
+
unless status_code == 200
|
227
|
+
error_model = JSON.load(response_content)
|
228
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
229
|
+
end
|
230
|
+
|
231
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
232
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
233
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
234
|
+
# Deserialize Response
|
235
|
+
if status_code == 200
|
236
|
+
begin
|
237
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
238
|
+
result_mapper = Azure::ServiceFabric::V6_5_0_36::Models::NetworkResourceDescription.mapper()
|
239
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
240
|
+
rescue Exception => e
|
241
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
result
|
246
|
+
end
|
247
|
+
|
248
|
+
promise.execute
|
249
|
+
end
|
250
|
+
|
251
|
+
#
|
252
|
+
# Deletes the Network resource.
|
253
|
+
#
|
254
|
+
# Deletes the Network resource identified by the name.
|
255
|
+
#
|
256
|
+
# @param network_resource_name [String] The identity of the network.
|
257
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
258
|
+
# will be added to the HTTP request.
|
259
|
+
#
|
260
|
+
#
|
261
|
+
def delete(network_resource_name, custom_headers:nil)
|
262
|
+
response = delete_async(network_resource_name, custom_headers:custom_headers).value!
|
263
|
+
nil
|
264
|
+
end
|
265
|
+
|
266
|
+
#
|
267
|
+
# Deletes the Network resource.
|
268
|
+
#
|
269
|
+
# Deletes the Network resource identified by the name.
|
270
|
+
#
|
271
|
+
# @param network_resource_name [String] The identity of the network.
|
272
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
273
|
+
# will be added to the HTTP request.
|
274
|
+
#
|
275
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
276
|
+
#
|
277
|
+
def delete_with_http_info(network_resource_name, custom_headers:nil)
|
278
|
+
delete_async(network_resource_name, custom_headers:custom_headers).value!
|
279
|
+
end
|
280
|
+
|
281
|
+
#
|
282
|
+
# Deletes the Network resource.
|
283
|
+
#
|
284
|
+
# Deletes the Network resource identified by the name.
|
285
|
+
#
|
286
|
+
# @param network_resource_name [String] The identity of the network.
|
287
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
288
|
+
# to the HTTP request.
|
289
|
+
#
|
290
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
291
|
+
#
|
292
|
+
def delete_async(network_resource_name, custom_headers:nil)
|
293
|
+
api_version = '6.4-preview'
|
294
|
+
fail ArgumentError, 'network_resource_name is nil' if network_resource_name.nil?
|
295
|
+
|
296
|
+
|
297
|
+
request_headers = {}
|
298
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
299
|
+
|
300
|
+
# Set Headers
|
301
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
302
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
303
|
+
path_template = 'Resources/Networks/{networkResourceName}'
|
304
|
+
|
305
|
+
request_url = @base_url || @client.base_url
|
306
|
+
|
307
|
+
options = {
|
308
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
309
|
+
skip_encoding_path_params: {'networkResourceName' => network_resource_name},
|
310
|
+
query_params: {'api-version' => api_version},
|
311
|
+
headers: request_headers.merge(custom_headers || {}),
|
312
|
+
base_url: request_url
|
313
|
+
}
|
314
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
315
|
+
|
316
|
+
promise = promise.then do |result|
|
317
|
+
http_response = result.response
|
318
|
+
status_code = http_response.status
|
319
|
+
response_content = http_response.body
|
320
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
321
|
+
error_model = JSON.load(response_content)
|
322
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
323
|
+
end
|
324
|
+
|
325
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
326
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
327
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
328
|
+
|
329
|
+
result
|
330
|
+
end
|
331
|
+
|
332
|
+
promise.execute
|
333
|
+
end
|
334
|
+
|
335
|
+
#
|
336
|
+
# Lists all the network resources.
|
337
|
+
#
|
338
|
+
# Gets the information about all network resources in a given resource group.
|
339
|
+
# The information include the description and other properties of the Network.
|
340
|
+
#
|
341
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
342
|
+
# will be added to the HTTP request.
|
343
|
+
#
|
344
|
+
# @return [PagedNetworkResourceDescriptionList] operation results.
|
345
|
+
#
|
346
|
+
def list(custom_headers:nil)
|
347
|
+
response = list_async(custom_headers:custom_headers).value!
|
348
|
+
response.body unless response.nil?
|
349
|
+
end
|
350
|
+
|
351
|
+
#
|
352
|
+
# Lists all the network resources.
|
353
|
+
#
|
354
|
+
# Gets the information about all network resources in a given resource group.
|
355
|
+
# The information include the description and other properties of the Network.
|
356
|
+
#
|
357
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
358
|
+
# will be added to the HTTP request.
|
359
|
+
#
|
360
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
361
|
+
#
|
362
|
+
def list_with_http_info(custom_headers:nil)
|
363
|
+
list_async(custom_headers:custom_headers).value!
|
364
|
+
end
|
365
|
+
|
366
|
+
#
|
367
|
+
# Lists all the network resources.
|
368
|
+
#
|
369
|
+
# Gets the information about all network resources in a given resource group.
|
370
|
+
# The information include the description and other properties of the Network.
|
371
|
+
#
|
372
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
373
|
+
# to the HTTP request.
|
374
|
+
#
|
375
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
376
|
+
#
|
377
|
+
def list_async(custom_headers:nil)
|
378
|
+
api_version = '6.4-preview'
|
379
|
+
|
380
|
+
|
381
|
+
request_headers = {}
|
382
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
383
|
+
|
384
|
+
# Set Headers
|
385
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
386
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
387
|
+
path_template = 'Resources/Networks'
|
388
|
+
|
389
|
+
request_url = @base_url || @client.base_url
|
390
|
+
|
391
|
+
options = {
|
392
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
393
|
+
query_params: {'api-version' => api_version},
|
394
|
+
headers: request_headers.merge(custom_headers || {}),
|
395
|
+
base_url: request_url
|
396
|
+
}
|
397
|
+
promise = @client.make_request_async(:get, path_template, options)
|
398
|
+
|
399
|
+
promise = promise.then do |result|
|
400
|
+
http_response = result.response
|
401
|
+
status_code = http_response.status
|
402
|
+
response_content = http_response.body
|
403
|
+
unless status_code == 200
|
404
|
+
error_model = JSON.load(response_content)
|
405
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
406
|
+
end
|
407
|
+
|
408
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
409
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
410
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
411
|
+
# Deserialize Response
|
412
|
+
if status_code == 200
|
413
|
+
begin
|
414
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
415
|
+
result_mapper = Azure::ServiceFabric::V6_5_0_36::Models::PagedNetworkResourceDescriptionList.mapper()
|
416
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
417
|
+
rescue Exception => e
|
418
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
result
|
423
|
+
end
|
424
|
+
|
425
|
+
promise.execute
|
426
|
+
end
|
427
|
+
|
428
|
+
end
|
429
|
+
end
|