azure_mgmt_media_services 0.21.0 → 0.21.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2015-10-01/generated/azure_mgmt_media_services/media_services_management_client.rb +1 -1
- data/lib/2018-03-30-preview/generated/azure_mgmt_media_services/azure_media_services.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_media_services/azure_media_services.rb +1 -1
- data/lib/2018-07-01/generated/azure_mgmt_media_services/azure_media_services.rb +1 -1
- data/lib/2020-05-01/generated/azure_mgmt_media_services.rb +96 -72
- data/lib/2020-05-01/generated/azure_mgmt_media_services/azure_media_services.rb +1 -1
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/account_filter.rb +13 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/asset.rb +13 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/asset_filter.rb +13 -0
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/aac_audio_profile.rb → 2020-05-01/generated/azure_mgmt_media_services/models/attribute_filter.rb} +7 -6
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/copy_audio.rb → 2020-05-01/generated/azure_mgmt_media_services/models/audio_track_descriptor.rb} +20 -13
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/azure_entity_resource.rb +3 -1
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/priority.rb → 2020-05-01/generated/azure_mgmt_media_services/models/blur_type.rb} +6 -4
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb +3 -1
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/channel_mapping.rb +22 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/codec.rb +1 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/content_key_policy.rb +13 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/created_by_type.rb +18 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/encoder_named_preset.rb +5 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/face_detector_preset.rb +33 -1
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_input_protocol.rb → 2020-05-01/generated/azure_mgmt_media_services/models/face_redactor_mode.rb} +6 -5
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/format.rb +2 -2
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_configuration.rb → 2020-05-01/generated/azure_mgmt_media_services/models/from_all_input_file.rb} +20 -30
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/mp4format.rb → 2020-05-01/generated/azure_mgmt_media_services/models/from_each_input_file.rb} +24 -27
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/h264complexity.rb → 2020-05-01/generated/azure_mgmt_media_services/models/h265complexity.rb} +3 -3
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/h264layer.rb → 2020-05-01/generated/azure_mgmt_media_services/models/h265layer.rb} +10 -24
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/h264video.rb → 2020-05-01/generated/azure_mgmt_media_services/models/h265video.rb} +27 -17
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/video_layer.rb → 2020-05-01/generated/azure_mgmt_media_services/models/h265video_layer.rb} +12 -11
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/entropy_mode.rb → 2020-05-01/generated/azure_mgmt_media_services/models/h265video_profile.rb} +5 -5
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/input_definition.rb +72 -0
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/transport_stream_format.rb → 2020-05-01/generated/azure_mgmt_media_services/models/input_file.rb} +30 -24
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/job.rb +13 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/job_input.rb +1 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/job_input_asset.rb +19 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/job_input_clip.rb +24 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/job_input_http.rb +19 -0
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/job_inputs.rb → 2020-05-01/generated/azure_mgmt_media_services/models/job_input_sequence.rb} +11 -12
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/layer.rb +2 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/live_event.rb +13 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/media_service.rb +13 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/metric_specification.rb +13 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/overlay.rb +4 -3
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/proxy_resource.rb +4 -2
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/resource.rb +8 -5
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/job_output_asset.rb → 2020-05-01/generated/azure_mgmt_media_services/models/select_audio_track_by_attribute.rb} +34 -35
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/png_layer.rb → 2020-05-01/generated/azure_mgmt_media_services/models/select_audio_track_by_id.rb} +18 -23
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/select_video_track_by_attribute.rb +91 -0
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/image_format.rb → 2020-05-01/generated/azure_mgmt_media_services/models/select_video_track_by_id.rb} +15 -12
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_endpoint.rb +13 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_locator.rb +13 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/streaming_policy.rb +13 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/system_data.rb +105 -0
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/job_retry.rb → 2020-05-01/generated/azure_mgmt_media_services/models/track_attribute.rb} +5 -5
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/track_descriptor.rb +52 -0
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/tracked_resource.rb +4 -1
- data/lib/2020-05-01/generated/azure_mgmt_media_services/models/transform.rb +13 -0
- data/lib/{2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_clear_key_configuration.rb → 2020-05-01/generated/azure_mgmt_media_services/models/video_track_descriptor.rb} +7 -7
- data/lib/azure_mgmt_media_services.rb +0 -1
- data/lib/profiles/latest/modules/mediaservices_profile_module.rb +336 -240
- data/lib/version.rb +1 -1
- metadata +26 -220
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services.rb +0 -242
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/account_filters.rb +0 -698
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/asset_filters.rb +0 -719
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/assets.rb +0 -1069
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/azure_media_services.rb +0 -180
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/content_key_policies.rb +0 -829
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/jobs.rb +0 -826
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/live_events.rb +0 -1308
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/live_outputs.rb +0 -716
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/locations.rb +0 -132
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/mediaservices.rb +0 -1089
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/aac_audio.rb +0 -94
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/absolute_clip_time.rb +0 -65
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/account_filter.rb +0 -106
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/account_filter_collection.rb +0 -99
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/akamai_access_control.rb +0 -56
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/akamai_signature_header_authentication_key.rb +0 -68
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/analysis_resolution.rb +0 -16
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/api_error.rb +0 -47
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/asset.rb +0 -156
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/asset_collection.rb +0 -99
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/asset_container_permission.rb +0 -17
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/asset_container_sas.rb +0 -54
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/asset_file_encryption_metadata.rb +0 -68
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/asset_filter.rb +0 -106
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/asset_filter_collection.rb +0 -99
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/asset_storage_encryption_format.rb +0 -16
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/asset_streaming_locator.rb +0 -133
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/audio.rb +0 -92
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb +0 -79
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/audio_overlay.rb +0 -98
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/built_in_standard_encoder_preset.rb +0 -67
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/cbcs_drm_configuration.rb +0 -73
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/cenc_drm_configuration.rb +0 -61
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/check_name_availability_input.rb +0 -58
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/clip_time.rb +0 -47
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/codec.rb +0 -66
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cbcs.rb +0 -95
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/common_encryption_cenc.rb +0 -95
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy.rb +0 -129
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_collection.rb +0 -100
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_configuration.rb +0 -51
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_configuration.rb +0 -111
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_fair_play_rental_and_lease_key_type.rb +0 -18
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_open_restriction.rb +0 -51
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_option.rb +0 -87
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_header.rb +0 -51
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_encryption_key_from_key_identifier.rb +0 -64
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_key_location.rb +0 -49
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_content_type.rb +0 -18
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_explicit_analog_television_restriction.rb +0 -61
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license.rb +0 -154
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_license_type.rb +0 -17
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_play_right.rb +0 -195
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_play_ready_unknown_output_passing_option.rb +0 -18
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_properties.rb +0 -102
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction.rb +0 -49
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_key.rb +0 -49
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_restriction_token_type.rb +0 -17
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_rsa_token_key.rb +0 -72
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_symmetric_token_key.rb +0 -61
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_claim.rb +0 -57
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_token_restriction.rb +0 -155
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_configuration.rb +0 -51
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_unknown_restriction.rb +0 -51
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_widevine_configuration.rb +0 -61
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/content_key_policy_x509certificate_token_key.rb +0 -62
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/copy_video.rb +0 -59
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/cross_site_access_policies.rb +0 -58
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/default_key.rb +0 -59
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/deinterlace.rb +0 -60
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/deinterlace_mode.rb +0 -16
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/deinterlace_parity.rb +0 -17
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/enabled_protocols.rb +0 -79
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/encoder_named_preset.rb +0 -23
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/encryption_scheme.rb +0 -18
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/entity_name_availability_check_output.rb +0 -69
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/envelope_encryption.rb +0 -100
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/face_detector_preset.rb +0 -75
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/filter_track_property_compare_operation.rb +0 -16
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/filter_track_property_condition.rb +0 -71
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/filter_track_property_type.rb +0 -20
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/filter_track_selection.rb +0 -56
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/filters.rb +0 -97
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/first_quality.rb +0 -46
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/format.rb +0 -69
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/h264video_profile.rb +0 -20
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/hls.rb +0 -47
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/image.rb +0 -120
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/insights_type.rb +0 -17
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/ipaccess_control.rb +0 -55
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/iprange.rb +0 -68
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job.rb +0 -184
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_collection.rb +0 -99
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_error.rb +0 -114
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_error_category.rb +0 -19
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_error_code.rb +0 -23
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_error_detail.rb +0 -59
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_input.rb +0 -49
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_input_asset.rb +0 -107
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_input_clip.rb +0 -117
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_input_http.rb +0 -110
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_output.rb +0 -112
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/job_state.rb +0 -21
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/jpg_format.rb +0 -58
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/jpg_image.rb +0 -120
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/jpg_layer.rb +0 -86
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/layer.rb +0 -93
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/list_container_sas_input.rb +0 -59
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/list_content_keys_response.rb +0 -56
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/list_paths_response.rb +0 -76
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/list_streaming_locators_response.rb +0 -56
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event.rb +0 -248
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_action_input.rb +0 -46
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_encoding.rb +0 -60
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_encoding_type.rb +0 -18
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_endpoint.rb +0 -57
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_input.rb +0 -107
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_input_access_control.rb +0 -47
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_input_track_selection.rb +0 -68
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_list_result.rb +0 -110
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_output_transcription_track.rb +0 -47
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_preview.rb +0 -112
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_preview_access_control.rb +0 -47
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_resource_state.rb +0 -19
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_event_transcription.rb +0 -87
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_output.rb +0 -181
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_output_list_result.rb +0 -111
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/live_output_resource_state.rb +0 -17
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/location.rb +0 -47
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/media_service.rb +0 -118
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/media_service_collection.rb +0 -99
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/metric.rb +0 -118
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/metric_aggregation_type.rb +0 -17
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/metric_dimension.rb +0 -71
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/metric_properties.rb +0 -48
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/metric_unit.rb +0 -17
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/multi_bitrate_format.rb +0 -84
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/no_encryption.rb +0 -47
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/odata_error.rb +0 -89
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/on_error_type.rb +0 -16
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/operation.rb +0 -81
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/operation_collection.rb +0 -99
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/operation_display.rb +0 -79
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/output_file.rb +0 -59
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/overlay.rb +0 -132
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/png_format.rb +0 -58
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/png_image.rb +0 -120
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/presentation_time_range.rb +0 -102
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/preset.rb +0 -51
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/provider.rb +0 -46
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/proxy_resource.rb +0 -62
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/rectangle.rb +0 -88
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/resource.rb +0 -80
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/rotation.rb +0 -20
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/service_specification.rb +0 -56
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/standard_encoder_preset.rb +0 -110
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/storage_account.rb +0 -62
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/storage_account_type.rb +0 -16
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/storage_encrypted_asset_decryption_data.rb +0 -68
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/stream_options_flag.rb +0 -16
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint.rb +0 -286
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_access_control.rb +0 -60
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_list_result.rb +0 -111
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_endpoint_resource_state.rb +0 -20
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_entity_scale_unit.rb +0 -46
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_locator.rb +0 -199
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_collection.rb +0 -100
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key.rb +0 -116
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_locator_content_key_type.rb +0 -17
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_path.rb +0 -80
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_policy.rb +0 -133
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_collection.rb +0 -99
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_key.rb +0 -78
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_content_keys.rb +0 -68
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_fair_play_configuration.rb +0 -64
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_play_ready_configuration.rb +0 -64
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_streaming_protocol.rb +0 -18
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/streaming_policy_widevine_configuration.rb +0 -53
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/stretch_mode.rb +0 -17
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/subscription_media_service.rb +0 -118
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/subscription_media_service_collection.rb +0 -100
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/sync_storage_keys_input.rb +0 -46
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/track_property_compare_operation.rb +0 -16
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/track_property_condition.rb +0 -70
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/track_property_type.rb +0 -16
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/track_selection.rb +0 -56
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/tracked_resource.rb +0 -92
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/transform.rb +0 -123
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/transform_collection.rb +0 -99
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/transform_output.rb +0 -82
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/video.rb +0 -85
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/video_analyzer_preset.rb +0 -79
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/models/video_overlay.rb +0 -136
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/module_definition.rb +0 -9
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/operations.rb +0 -233
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/streaming_endpoints.rb +0 -1331
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/streaming_locators.rb +0 -808
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/streaming_policies.rb +0 -594
- data/lib/2019-05-01-preview/generated/azure_mgmt_media_services/transforms.rb +0 -710
@@ -1,60 +0,0 @@
|
|
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::MediaServices::Mgmt::V2019_05_01_preview
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# StreamingEndpoint access control definition.
|
10
|
-
#
|
11
|
-
class StreamingEndpointAccessControl
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [AkamaiAccessControl] The access control of Akamai
|
16
|
-
attr_accessor :akamai
|
17
|
-
|
18
|
-
# @return [IPAccessControl] The IP access control of the
|
19
|
-
# StreamingEndpoint.
|
20
|
-
attr_accessor :ip
|
21
|
-
|
22
|
-
|
23
|
-
#
|
24
|
-
# Mapper for StreamingEndpointAccessControl class as Ruby Hash.
|
25
|
-
# This will be used for serialization/deserialization.
|
26
|
-
#
|
27
|
-
def self.mapper()
|
28
|
-
{
|
29
|
-
client_side_validation: true,
|
30
|
-
required: false,
|
31
|
-
serialized_name: 'StreamingEndpointAccessControl',
|
32
|
-
type: {
|
33
|
-
name: 'Composite',
|
34
|
-
class_name: 'StreamingEndpointAccessControl',
|
35
|
-
model_properties: {
|
36
|
-
akamai: {
|
37
|
-
client_side_validation: true,
|
38
|
-
required: false,
|
39
|
-
serialized_name: 'akamai',
|
40
|
-
type: {
|
41
|
-
name: 'Composite',
|
42
|
-
class_name: 'AkamaiAccessControl'
|
43
|
-
}
|
44
|
-
},
|
45
|
-
ip: {
|
46
|
-
client_side_validation: true,
|
47
|
-
required: false,
|
48
|
-
serialized_name: 'ip',
|
49
|
-
type: {
|
50
|
-
name: 'Composite',
|
51
|
-
class_name: 'IPAccessControl'
|
52
|
-
}
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
60
|
-
end
|
@@ -1,111 +0,0 @@
|
|
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::MediaServices::Mgmt::V2019_05_01_preview
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# The StreamingEndpoint list result.
|
10
|
-
#
|
11
|
-
class StreamingEndpointListResult
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
include MsRest::JSONable
|
16
|
-
# @return [Array<StreamingEndpoint>] The result of the List
|
17
|
-
# StreamingEndpoint operation.
|
18
|
-
attr_accessor :value
|
19
|
-
|
20
|
-
# @return [Integer] The number of result.
|
21
|
-
attr_accessor :odatacount
|
22
|
-
|
23
|
-
# @return [String] Th link to the next set of results. Not empty if value
|
24
|
-
# contains incomplete list of StreamingEndpoints.
|
25
|
-
attr_accessor :odatanext_link
|
26
|
-
|
27
|
-
# return [Proc] with next page method call.
|
28
|
-
attr_accessor :next_method
|
29
|
-
|
30
|
-
#
|
31
|
-
# Gets the rest of the items for the request, enabling auto-pagination.
|
32
|
-
#
|
33
|
-
# @return [Array<StreamingEndpoint>] operation results.
|
34
|
-
#
|
35
|
-
def get_all_items
|
36
|
-
items = @value
|
37
|
-
page = self
|
38
|
-
while page.odatanext_link != nil && !page.odatanext_link.strip.empty? do
|
39
|
-
page = page.get_next_page
|
40
|
-
items.concat(page.value)
|
41
|
-
end
|
42
|
-
items
|
43
|
-
end
|
44
|
-
|
45
|
-
#
|
46
|
-
# Gets the next page of results.
|
47
|
-
#
|
48
|
-
# @return [StreamingEndpointListResult] with next page content.
|
49
|
-
#
|
50
|
-
def get_next_page
|
51
|
-
response = @next_method.call(@odatanext_link).value! unless @next_method.nil?
|
52
|
-
unless response.nil?
|
53
|
-
@odatanext_link = response.body.odatanext_link
|
54
|
-
@value = response.body.value
|
55
|
-
self
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
#
|
60
|
-
# Mapper for StreamingEndpointListResult class as Ruby Hash.
|
61
|
-
# This will be used for serialization/deserialization.
|
62
|
-
#
|
63
|
-
def self.mapper()
|
64
|
-
{
|
65
|
-
client_side_validation: true,
|
66
|
-
required: false,
|
67
|
-
serialized_name: 'StreamingEndpointListResult',
|
68
|
-
type: {
|
69
|
-
name: 'Composite',
|
70
|
-
class_name: 'StreamingEndpointListResult',
|
71
|
-
model_properties: {
|
72
|
-
value: {
|
73
|
-
client_side_validation: true,
|
74
|
-
required: false,
|
75
|
-
serialized_name: 'value',
|
76
|
-
type: {
|
77
|
-
name: 'Sequence',
|
78
|
-
element: {
|
79
|
-
client_side_validation: true,
|
80
|
-
required: false,
|
81
|
-
serialized_name: 'StreamingEndpointElementType',
|
82
|
-
type: {
|
83
|
-
name: 'Composite',
|
84
|
-
class_name: 'StreamingEndpoint'
|
85
|
-
}
|
86
|
-
}
|
87
|
-
}
|
88
|
-
},
|
89
|
-
odatacount: {
|
90
|
-
client_side_validation: true,
|
91
|
-
required: false,
|
92
|
-
serialized_name: '@odata\\.count',
|
93
|
-
type: {
|
94
|
-
name: 'Number'
|
95
|
-
}
|
96
|
-
},
|
97
|
-
odatanext_link: {
|
98
|
-
client_side_validation: true,
|
99
|
-
required: false,
|
100
|
-
serialized_name: '@odata\\.nextLink',
|
101
|
-
type: {
|
102
|
-
name: 'String'
|
103
|
-
}
|
104
|
-
}
|
105
|
-
}
|
106
|
-
}
|
107
|
-
}
|
108
|
-
end
|
109
|
-
end
|
110
|
-
end
|
111
|
-
end
|
@@ -1,20 +0,0 @@
|
|
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::MediaServices::Mgmt::V2019_05_01_preview
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# Defines values for StreamingEndpointResourceState
|
10
|
-
#
|
11
|
-
module StreamingEndpointResourceState
|
12
|
-
Stopped = "Stopped"
|
13
|
-
Starting = "Starting"
|
14
|
-
Running = "Running"
|
15
|
-
Stopping = "Stopping"
|
16
|
-
Deleting = "Deleting"
|
17
|
-
Scaling = "Scaling"
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
@@ -1,46 +0,0 @@
|
|
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::MediaServices::Mgmt::V2019_05_01_preview
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# scale units definition
|
10
|
-
#
|
11
|
-
class StreamingEntityScaleUnit
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [Integer] The scale unit number of the StreamingEndpoint.
|
16
|
-
attr_accessor :scale_unit
|
17
|
-
|
18
|
-
|
19
|
-
#
|
20
|
-
# Mapper for StreamingEntityScaleUnit class as Ruby Hash.
|
21
|
-
# This will be used for serialization/deserialization.
|
22
|
-
#
|
23
|
-
def self.mapper()
|
24
|
-
{
|
25
|
-
client_side_validation: true,
|
26
|
-
required: false,
|
27
|
-
serialized_name: 'StreamingEntityScaleUnit',
|
28
|
-
type: {
|
29
|
-
name: 'Composite',
|
30
|
-
class_name: 'StreamingEntityScaleUnit',
|
31
|
-
model_properties: {
|
32
|
-
scale_unit: {
|
33
|
-
client_side_validation: true,
|
34
|
-
required: false,
|
35
|
-
serialized_name: 'scaleUnit',
|
36
|
-
type: {
|
37
|
-
name: 'Number'
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
}
|
42
|
-
}
|
43
|
-
end
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
@@ -1,199 +0,0 @@
|
|
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::MediaServices::Mgmt::V2019_05_01_preview
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# A Streaming Locator resource
|
10
|
-
#
|
11
|
-
class StreamingLocator < ProxyResource
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
# @return [String] Asset Name
|
16
|
-
attr_accessor :asset_name
|
17
|
-
|
18
|
-
# @return [DateTime] The creation time of the Streaming Locator.
|
19
|
-
attr_accessor :created
|
20
|
-
|
21
|
-
# @return [DateTime] The start time of the Streaming Locator.
|
22
|
-
attr_accessor :start_time
|
23
|
-
|
24
|
-
# @return [DateTime] The end time of the Streaming Locator.
|
25
|
-
attr_accessor :end_time
|
26
|
-
|
27
|
-
# @return The StreamingLocatorId of the Streaming Locator.
|
28
|
-
attr_accessor :streaming_locator_id
|
29
|
-
|
30
|
-
# @return [String] Name of the Streaming Policy used by this Streaming
|
31
|
-
# Locator. Either specify the name of Streaming Policy you created or use
|
32
|
-
# one of the predefined Streaming Policies. The predefined Streaming
|
33
|
-
# Policies available are: 'Predefined_DownloadOnly',
|
34
|
-
# 'Predefined_ClearStreamingOnly',
|
35
|
-
# 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey',
|
36
|
-
# 'Predefined_MultiDrmCencStreaming' and 'Predefined_MultiDrmStreaming'
|
37
|
-
attr_accessor :streaming_policy_name
|
38
|
-
|
39
|
-
# @return [String] Name of the default ContentKeyPolicy used by this
|
40
|
-
# Streaming Locator.
|
41
|
-
attr_accessor :default_content_key_policy_name
|
42
|
-
|
43
|
-
# @return [Array<StreamingLocatorContentKey>] The ContentKeys used by
|
44
|
-
# this Streaming Locator.
|
45
|
-
attr_accessor :content_keys
|
46
|
-
|
47
|
-
# @return [String] Alternative Media ID of this Streaming Locator
|
48
|
-
attr_accessor :alternative_media_id
|
49
|
-
|
50
|
-
# @return [Array<String>] A list of asset or account filters which apply
|
51
|
-
# to this streaming locator
|
52
|
-
attr_accessor :filters
|
53
|
-
|
54
|
-
|
55
|
-
#
|
56
|
-
# Mapper for StreamingLocator class as Ruby Hash.
|
57
|
-
# This will be used for serialization/deserialization.
|
58
|
-
#
|
59
|
-
def self.mapper()
|
60
|
-
{
|
61
|
-
client_side_validation: true,
|
62
|
-
required: false,
|
63
|
-
serialized_name: 'StreamingLocator',
|
64
|
-
type: {
|
65
|
-
name: 'Composite',
|
66
|
-
class_name: 'StreamingLocator',
|
67
|
-
model_properties: {
|
68
|
-
id: {
|
69
|
-
client_side_validation: true,
|
70
|
-
required: false,
|
71
|
-
read_only: true,
|
72
|
-
serialized_name: 'id',
|
73
|
-
type: {
|
74
|
-
name: 'String'
|
75
|
-
}
|
76
|
-
},
|
77
|
-
name: {
|
78
|
-
client_side_validation: true,
|
79
|
-
required: false,
|
80
|
-
read_only: true,
|
81
|
-
serialized_name: 'name',
|
82
|
-
type: {
|
83
|
-
name: 'String'
|
84
|
-
}
|
85
|
-
},
|
86
|
-
type: {
|
87
|
-
client_side_validation: true,
|
88
|
-
required: false,
|
89
|
-
read_only: true,
|
90
|
-
serialized_name: 'type',
|
91
|
-
type: {
|
92
|
-
name: 'String'
|
93
|
-
}
|
94
|
-
},
|
95
|
-
asset_name: {
|
96
|
-
client_side_validation: true,
|
97
|
-
required: true,
|
98
|
-
serialized_name: 'properties.assetName',
|
99
|
-
type: {
|
100
|
-
name: 'String'
|
101
|
-
}
|
102
|
-
},
|
103
|
-
created: {
|
104
|
-
client_side_validation: true,
|
105
|
-
required: false,
|
106
|
-
read_only: true,
|
107
|
-
serialized_name: 'properties.created',
|
108
|
-
type: {
|
109
|
-
name: 'DateTime'
|
110
|
-
}
|
111
|
-
},
|
112
|
-
start_time: {
|
113
|
-
client_side_validation: true,
|
114
|
-
required: false,
|
115
|
-
serialized_name: 'properties.startTime',
|
116
|
-
type: {
|
117
|
-
name: 'DateTime'
|
118
|
-
}
|
119
|
-
},
|
120
|
-
end_time: {
|
121
|
-
client_side_validation: true,
|
122
|
-
required: false,
|
123
|
-
serialized_name: 'properties.endTime',
|
124
|
-
type: {
|
125
|
-
name: 'DateTime'
|
126
|
-
}
|
127
|
-
},
|
128
|
-
streaming_locator_id: {
|
129
|
-
client_side_validation: true,
|
130
|
-
required: false,
|
131
|
-
serialized_name: 'properties.streamingLocatorId',
|
132
|
-
type: {
|
133
|
-
name: 'String'
|
134
|
-
}
|
135
|
-
},
|
136
|
-
streaming_policy_name: {
|
137
|
-
client_side_validation: true,
|
138
|
-
required: true,
|
139
|
-
serialized_name: 'properties.streamingPolicyName',
|
140
|
-
type: {
|
141
|
-
name: 'String'
|
142
|
-
}
|
143
|
-
},
|
144
|
-
default_content_key_policy_name: {
|
145
|
-
client_side_validation: true,
|
146
|
-
required: false,
|
147
|
-
serialized_name: 'properties.defaultContentKeyPolicyName',
|
148
|
-
type: {
|
149
|
-
name: 'String'
|
150
|
-
}
|
151
|
-
},
|
152
|
-
content_keys: {
|
153
|
-
client_side_validation: true,
|
154
|
-
required: false,
|
155
|
-
serialized_name: 'properties.contentKeys',
|
156
|
-
type: {
|
157
|
-
name: 'Sequence',
|
158
|
-
element: {
|
159
|
-
client_side_validation: true,
|
160
|
-
required: false,
|
161
|
-
serialized_name: 'StreamingLocatorContentKeyElementType',
|
162
|
-
type: {
|
163
|
-
name: 'Composite',
|
164
|
-
class_name: 'StreamingLocatorContentKey'
|
165
|
-
}
|
166
|
-
}
|
167
|
-
}
|
168
|
-
},
|
169
|
-
alternative_media_id: {
|
170
|
-
client_side_validation: true,
|
171
|
-
required: false,
|
172
|
-
serialized_name: 'properties.alternativeMediaId',
|
173
|
-
type: {
|
174
|
-
name: 'String'
|
175
|
-
}
|
176
|
-
},
|
177
|
-
filters: {
|
178
|
-
client_side_validation: true,
|
179
|
-
required: false,
|
180
|
-
serialized_name: 'properties.filters',
|
181
|
-
type: {
|
182
|
-
name: 'Sequence',
|
183
|
-
element: {
|
184
|
-
client_side_validation: true,
|
185
|
-
required: false,
|
186
|
-
serialized_name: 'StringElementType',
|
187
|
-
type: {
|
188
|
-
name: 'String'
|
189
|
-
}
|
190
|
-
}
|
191
|
-
}
|
192
|
-
}
|
193
|
-
}
|
194
|
-
}
|
195
|
-
}
|
196
|
-
end
|
197
|
-
end
|
198
|
-
end
|
199
|
-
end
|
@@ -1,100 +0,0 @@
|
|
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::MediaServices::Mgmt::V2019_05_01_preview
|
7
|
-
module Models
|
8
|
-
#
|
9
|
-
# A collection of StreamingLocator items.
|
10
|
-
#
|
11
|
-
class StreamingLocatorCollection
|
12
|
-
|
13
|
-
include MsRestAzure
|
14
|
-
|
15
|
-
include MsRest::JSONable
|
16
|
-
# @return [Array<StreamingLocator>] A collection of StreamingLocator
|
17
|
-
# items.
|
18
|
-
attr_accessor :value
|
19
|
-
|
20
|
-
# @return [String] A link to the next page of the collection (when the
|
21
|
-
# collection contains too many results to return in one response).
|
22
|
-
attr_accessor :odatanext_link
|
23
|
-
|
24
|
-
# return [Proc] with next page method call.
|
25
|
-
attr_accessor :next_method
|
26
|
-
|
27
|
-
#
|
28
|
-
# Gets the rest of the items for the request, enabling auto-pagination.
|
29
|
-
#
|
30
|
-
# @return [Array<StreamingLocator>] operation results.
|
31
|
-
#
|
32
|
-
def get_all_items
|
33
|
-
items = @value
|
34
|
-
page = self
|
35
|
-
while page.odatanext_link != nil && !page.odatanext_link.strip.empty? do
|
36
|
-
page = page.get_next_page
|
37
|
-
items.concat(page.value)
|
38
|
-
end
|
39
|
-
items
|
40
|
-
end
|
41
|
-
|
42
|
-
#
|
43
|
-
# Gets the next page of results.
|
44
|
-
#
|
45
|
-
# @return [StreamingLocatorCollection] with next page content.
|
46
|
-
#
|
47
|
-
def get_next_page
|
48
|
-
response = @next_method.call(@odatanext_link).value! unless @next_method.nil?
|
49
|
-
unless response.nil?
|
50
|
-
@odatanext_link = response.body.odatanext_link
|
51
|
-
@value = response.body.value
|
52
|
-
self
|
53
|
-
end
|
54
|
-
end
|
55
|
-
|
56
|
-
#
|
57
|
-
# Mapper for StreamingLocatorCollection class as Ruby Hash.
|
58
|
-
# This will be used for serialization/deserialization.
|
59
|
-
#
|
60
|
-
def self.mapper()
|
61
|
-
{
|
62
|
-
client_side_validation: true,
|
63
|
-
required: false,
|
64
|
-
serialized_name: 'StreamingLocatorCollection',
|
65
|
-
type: {
|
66
|
-
name: 'Composite',
|
67
|
-
class_name: 'StreamingLocatorCollection',
|
68
|
-
model_properties: {
|
69
|
-
value: {
|
70
|
-
client_side_validation: true,
|
71
|
-
required: false,
|
72
|
-
serialized_name: 'value',
|
73
|
-
type: {
|
74
|
-
name: 'Sequence',
|
75
|
-
element: {
|
76
|
-
client_side_validation: true,
|
77
|
-
required: false,
|
78
|
-
serialized_name: 'StreamingLocatorElementType',
|
79
|
-
type: {
|
80
|
-
name: 'Composite',
|
81
|
-
class_name: 'StreamingLocator'
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
85
|
-
},
|
86
|
-
odatanext_link: {
|
87
|
-
client_side_validation: true,
|
88
|
-
required: false,
|
89
|
-
serialized_name: '@odata\\.nextLink',
|
90
|
-
type: {
|
91
|
-
name: 'String'
|
92
|
-
}
|
93
|
-
}
|
94
|
-
}
|
95
|
-
}
|
96
|
-
}
|
97
|
-
end
|
98
|
-
end
|
99
|
-
end
|
100
|
-
end
|