azure_mgmt_api_management 0.17.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_client.rb +7 -6
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_client.rb +7 -6
- data/lib/2017-03-01/generated/azure_mgmt_api_management.rb +290 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api.rb +1141 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic.rb +877 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +647 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_export.rb +134 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_attachment.rb +142 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_comment.rb +142 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue.rb +508 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +434 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachments.rb +288 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comment.rb +431 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comments.rb +288 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issues.rb +279 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_client.rb +385 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_operations.rb +222 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_service.rb +1904 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation.rb +895 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation_policy.rb +637 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_policy.rb +587 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_product.rb +272 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_release.rb +789 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_revisions.rb +280 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_schema.rb +725 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_version_set.rb +867 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/authorization_server.rb +807 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/backend.rb +924 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/certificate.rb +733 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/delegation_settings.rb +416 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic.rb +815 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +612 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/email_template.rb +889 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/group.rb +832 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/group_user.rb +655 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/identity_provider.rb +675 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/logger.rb +812 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +80 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +48 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/additional_location.rb +107 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_contract.rb +260 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +200 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +271 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +151 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_export_result.rb +47 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +298 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +418 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +60 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +77 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +407 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +72 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +172 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +221 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_contract_properties.rb +95 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +79 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +48 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +78 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/content_format.rb +20 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +74 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +88 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +88 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +139 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +71 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/hostname_type.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +131 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +191 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +67 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +164 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_contract.rb +134 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_sampling_contract.rb +160 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_contract.rb +149 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/policy_contract.rb +73 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/region_list_result.rb +77 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/resource.rb +71 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/sampling_type.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/schema_contract.rb +87 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/sku_type.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +244 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +128 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +146 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +110 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +154 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +83 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +77 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +140 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/network_status.rb +238 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification.rb +462 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +472 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +493 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +800 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/operation_operations.rb +312 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/policy.rb +438 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/policy_snippets.rb +126 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product.rb +855 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_api.rb +643 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_group.rb +641 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_policy.rb +469 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_subscriptions.rb +312 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/property.rb +797 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +262 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +261 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/regions.rb +120 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/reports.rb +1690 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_in_settings.rb +416 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_up_settings.rb +416 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/subscription.rb +1039 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag.rb +3058 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_description.rb +774 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_resource.rb +356 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access.rb +401 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access_git.rb +291 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_configuration.rb +607 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user.rb +1086 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_group.rb +287 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_identities.rb +130 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_subscription.rb +312 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management.rb +100 -89
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue.rb +762 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +814 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +811 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +19 -6
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/additional_location.rb +26 -2
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_collection.rb +2 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +28 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +22 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +28 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +28 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +5 -4
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +5 -4
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +5 -4
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_release_collection.rb +2 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_revision_collection.rb +2 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +22 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +28 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_response.rb +4 -4
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_collection.rb +2 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_result_contract.rb +2 -2
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_content_format.rb +2 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_contract.rb +2 -1
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/schema_collection.rb +2 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_api.rb +33 -24
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management.rb +296 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api.rb +1144 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_diagnostic.rb +874 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_export.rb +147 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue.rb +762 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +814 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +811 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +357 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_operations.rb +222 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service.rb +1914 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation.rb +905 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation_policy.rb +639 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_policy.rb +589 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_product.rb +272 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_release.rb +893 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_revisions.rb +280 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_schema.rb +738 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_version_set.rb +864 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/authorization_server.rb +819 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/backend.rb +931 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/certificate.rb +730 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/delegation_settings.rb +416 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/diagnostic.rb +812 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/email_template.rb +896 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group.rb +839 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group_user.rb +657 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/identity_provider.rb +796 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/logger.rb +819 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/access_information_contract.rb +80 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +48 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/additional_location.rb +131 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +288 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +222 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +313 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +179 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_export_result.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +322 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +442 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +60 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +77 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +431 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +72 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +221 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +249 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +96 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +48 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_configuration.rb +85 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/content_format.rb +20 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +123 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/export_format.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_create_parameters.rb +88 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_update_parameters.rb +88 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration.rb +139 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +71 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_type.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +131 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +191 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +164 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_contract.rb +133 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation.rb +80 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource.rb +71 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/schema_contract.rb +87 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/sku_type.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_contract.rb +244 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +128 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +146 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_contract.rb +179 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_create_parameters.rb +154 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +83 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_update_parameters.rb +140 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/module_definition.rb +9 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/network_status.rb +254 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification.rb +469 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_email.rb +474 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_user.rb +495 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/open_id_connect_provider.rb +807 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/operation_operations.rb +316 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy.rb +526 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb +126 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product.rb +862 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_api.rb +654 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_group.rb +643 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_policy.rb +571 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_subscriptions.rb +312 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/property.rb +804 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +262 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_period_keys.rb +261 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/regions.rb +230 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/reports.rb +1690 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_in_settings.rb +416 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_up_settings.rb +416 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/subscription.rb +1070 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag.rb +3081 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_description.rb +787 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_resource.rb +356 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access.rb +401 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +291 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_configuration.rb +607 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user.rb +1099 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_group.rb +287 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_identities.rb +242 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_subscription.rb +312 -0
- data/lib/azure_mgmt_api_management.rb +4 -2
- data/lib/profiles/latest/modules/apimanagement_profile_module.rb +616 -558
- data/lib/version.rb +1 -1
- metadata +553 -4
@@ -0,0 +1,296 @@
|
|
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
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2018-06-01-preview/generated/azure_mgmt_api_management/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
23
|
+
autoload :Policy, '2018-06-01-preview/generated/azure_mgmt_api_management/policy.rb'
|
24
|
+
autoload :PolicySnippets, '2018-06-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb'
|
25
|
+
autoload :Regions, '2018-06-01-preview/generated/azure_mgmt_api_management/regions.rb'
|
26
|
+
autoload :Api, '2018-06-01-preview/generated/azure_mgmt_api_management/api.rb'
|
27
|
+
autoload :ApiRevisions, '2018-06-01-preview/generated/azure_mgmt_api_management/api_revisions.rb'
|
28
|
+
autoload :ApiRelease, '2018-06-01-preview/generated/azure_mgmt_api_management/api_release.rb'
|
29
|
+
autoload :ApiOperation, '2018-06-01-preview/generated/azure_mgmt_api_management/api_operation.rb'
|
30
|
+
autoload :ApiOperationPolicy, '2018-06-01-preview/generated/azure_mgmt_api_management/api_operation_policy.rb'
|
31
|
+
autoload :ApiProduct, '2018-06-01-preview/generated/azure_mgmt_api_management/api_product.rb'
|
32
|
+
autoload :ApiPolicy, '2018-06-01-preview/generated/azure_mgmt_api_management/api_policy.rb'
|
33
|
+
autoload :ApiSchema, '2018-06-01-preview/generated/azure_mgmt_api_management/api_schema.rb'
|
34
|
+
autoload :ApiDiagnostic, '2018-06-01-preview/generated/azure_mgmt_api_management/api_diagnostic.rb'
|
35
|
+
autoload :ApiIssue, '2018-06-01-preview/generated/azure_mgmt_api_management/api_issue.rb'
|
36
|
+
autoload :ApiIssueComment, '2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb'
|
37
|
+
autoload :ApiIssueAttachment, '2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb'
|
38
|
+
autoload :AuthorizationServer, '2018-06-01-preview/generated/azure_mgmt_api_management/authorization_server.rb'
|
39
|
+
autoload :Backend, '2018-06-01-preview/generated/azure_mgmt_api_management/backend.rb'
|
40
|
+
autoload :Certificate, '2018-06-01-preview/generated/azure_mgmt_api_management/certificate.rb'
|
41
|
+
autoload :ApiManagementOperations, '2018-06-01-preview/generated/azure_mgmt_api_management/api_management_operations.rb'
|
42
|
+
autoload :ApiManagementService, '2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service.rb'
|
43
|
+
autoload :Diagnostic, '2018-06-01-preview/generated/azure_mgmt_api_management/diagnostic.rb'
|
44
|
+
autoload :EmailTemplate, '2018-06-01-preview/generated/azure_mgmt_api_management/email_template.rb'
|
45
|
+
autoload :Group, '2018-06-01-preview/generated/azure_mgmt_api_management/group.rb'
|
46
|
+
autoload :GroupUser, '2018-06-01-preview/generated/azure_mgmt_api_management/group_user.rb'
|
47
|
+
autoload :IdentityProvider, '2018-06-01-preview/generated/azure_mgmt_api_management/identity_provider.rb'
|
48
|
+
autoload :Logger, '2018-06-01-preview/generated/azure_mgmt_api_management/logger.rb'
|
49
|
+
autoload :Notification, '2018-06-01-preview/generated/azure_mgmt_api_management/notification.rb'
|
50
|
+
autoload :NotificationRecipientUser, '2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_user.rb'
|
51
|
+
autoload :NotificationRecipientEmail, '2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_email.rb'
|
52
|
+
autoload :NetworkStatus, '2018-06-01-preview/generated/azure_mgmt_api_management/network_status.rb'
|
53
|
+
autoload :OpenIdConnectProvider, '2018-06-01-preview/generated/azure_mgmt_api_management/open_id_connect_provider.rb'
|
54
|
+
autoload :SignInSettings, '2018-06-01-preview/generated/azure_mgmt_api_management/sign_in_settings.rb'
|
55
|
+
autoload :SignUpSettings, '2018-06-01-preview/generated/azure_mgmt_api_management/sign_up_settings.rb'
|
56
|
+
autoload :DelegationSettings, '2018-06-01-preview/generated/azure_mgmt_api_management/delegation_settings.rb'
|
57
|
+
autoload :Product, '2018-06-01-preview/generated/azure_mgmt_api_management/product.rb'
|
58
|
+
autoload :ProductApi, '2018-06-01-preview/generated/azure_mgmt_api_management/product_api.rb'
|
59
|
+
autoload :ProductGroup, '2018-06-01-preview/generated/azure_mgmt_api_management/product_group.rb'
|
60
|
+
autoload :ProductSubscriptions, '2018-06-01-preview/generated/azure_mgmt_api_management/product_subscriptions.rb'
|
61
|
+
autoload :ProductPolicy, '2018-06-01-preview/generated/azure_mgmt_api_management/product_policy.rb'
|
62
|
+
autoload :Property, '2018-06-01-preview/generated/azure_mgmt_api_management/property.rb'
|
63
|
+
autoload :QuotaByCounterKeys, '2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_counter_keys.rb'
|
64
|
+
autoload :QuotaByPeriodKeys, '2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_period_keys.rb'
|
65
|
+
autoload :Reports, '2018-06-01-preview/generated/azure_mgmt_api_management/reports.rb'
|
66
|
+
autoload :Subscription, '2018-06-01-preview/generated/azure_mgmt_api_management/subscription.rb'
|
67
|
+
autoload :TagResource, '2018-06-01-preview/generated/azure_mgmt_api_management/tag_resource.rb'
|
68
|
+
autoload :Tag, '2018-06-01-preview/generated/azure_mgmt_api_management/tag.rb'
|
69
|
+
autoload :TagDescription, '2018-06-01-preview/generated/azure_mgmt_api_management/tag_description.rb'
|
70
|
+
autoload :OperationOperations, '2018-06-01-preview/generated/azure_mgmt_api_management/operation_operations.rb'
|
71
|
+
autoload :TenantAccess, '2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access.rb'
|
72
|
+
autoload :TenantAccessGit, '2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb'
|
73
|
+
autoload :TenantConfiguration, '2018-06-01-preview/generated/azure_mgmt_api_management/tenant_configuration.rb'
|
74
|
+
autoload :User, '2018-06-01-preview/generated/azure_mgmt_api_management/user.rb'
|
75
|
+
autoload :UserGroup, '2018-06-01-preview/generated/azure_mgmt_api_management/user_group.rb'
|
76
|
+
autoload :UserSubscription, '2018-06-01-preview/generated/azure_mgmt_api_management/user_subscription.rb'
|
77
|
+
autoload :UserIdentities, '2018-06-01-preview/generated/azure_mgmt_api_management/user_identities.rb'
|
78
|
+
autoload :ApiVersionSet, '2018-06-01-preview/generated/azure_mgmt_api_management/api_version_set.rb'
|
79
|
+
autoload :ApiExport, '2018-06-01-preview/generated/azure_mgmt_api_management/api_export.rb'
|
80
|
+
autoload :ApiManagementClient, '2018-06-01-preview/generated/azure_mgmt_api_management/api_management_client.rb'
|
81
|
+
|
82
|
+
module Models
|
83
|
+
autoload :ApiManagementServiceListResult, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb'
|
84
|
+
autoload :ErrorFieldContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/error_field_contract.rb'
|
85
|
+
autoload :ApiManagementServiceGetSsoTokenResult, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb'
|
86
|
+
autoload :ErrorResponse, '2018-06-01-preview/generated/azure_mgmt_api_management/models/error_response.rb'
|
87
|
+
autoload :ApiManagementServiceCheckNameAvailabilityParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb'
|
88
|
+
autoload :PolicyCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_collection.rb'
|
89
|
+
autoload :ApiManagementServiceNameAvailabilityResult, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb'
|
90
|
+
autoload :PolicySnippetsCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb'
|
91
|
+
autoload :ApiManagementServiceApplyNetworkConfigurationParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb'
|
92
|
+
autoload :RegionListResult, '2018-06-01-preview/generated/azure_mgmt_api_management/models/region_list_result.rb'
|
93
|
+
autoload :ApiManagementServiceUploadCertificateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb'
|
94
|
+
autoload :ApiExportResult, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_export_result.rb'
|
95
|
+
autoload :HostnameConfigurationOld, '2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb'
|
96
|
+
autoload :CertificateInformation, '2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_information.rb'
|
97
|
+
autoload :CertificateConfiguration, '2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_configuration.rb'
|
98
|
+
autoload :ApiCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_collection.rb'
|
99
|
+
autoload :HostnameConfiguration, '2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration.rb'
|
100
|
+
autoload :ApiCreateOrUpdateParameter, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb'
|
101
|
+
autoload :VirtualNetworkConfiguration, '2018-06-01-preview/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb'
|
102
|
+
autoload :OAuth2AuthenticationSettingsContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb'
|
103
|
+
autoload :ApiManagementServiceSkuProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb'
|
104
|
+
autoload :SubscriptionKeyParameterNamesContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb'
|
105
|
+
autoload :AdditionalLocation, '2018-06-01-preview/generated/azure_mgmt_api_management/models/additional_location.rb'
|
106
|
+
autoload :ApiRevisionContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_revision_contract.rb'
|
107
|
+
autoload :ApiManagementServiceBackupRestoreParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb'
|
108
|
+
autoload :ApiRevisionInfoContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb'
|
109
|
+
autoload :ApiManagementServiceBaseProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb'
|
110
|
+
autoload :ApiReleaseCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_release_collection.rb'
|
111
|
+
autoload :ApiManagementServiceIdentity, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_identity.rb'
|
112
|
+
autoload :OperationCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_collection.rb'
|
113
|
+
autoload :AccessInformationContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/access_information_contract.rb'
|
114
|
+
autoload :RepresentationContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/representation_contract.rb'
|
115
|
+
autoload :ApimResource, '2018-06-01-preview/generated/azure_mgmt_api_management/models/apim_resource.rb'
|
116
|
+
autoload :ResponseContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/response_contract.rb'
|
117
|
+
autoload :TagDescriptionCreateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb'
|
118
|
+
autoload :OperationUpdateContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_update_contract.rb'
|
119
|
+
autoload :ErrorResponseBody, '2018-06-01-preview/generated/azure_mgmt_api_management/models/error_response_body.rb'
|
120
|
+
autoload :SchemaCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/schema_collection.rb'
|
121
|
+
autoload :UserUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/user_update_parameters.rb'
|
122
|
+
autoload :PropertyCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/property_collection.rb'
|
123
|
+
autoload :UserTokenResult, '2018-06-01-preview/generated/azure_mgmt_api_management/models/user_token_result.rb'
|
124
|
+
autoload :PolicySnippetContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb'
|
125
|
+
autoload :UserTokenParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/user_token_parameters.rb'
|
126
|
+
autoload :RegionContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/region_contract.rb'
|
127
|
+
autoload :BodyDiagnosticSettings, '2018-06-01-preview/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb'
|
128
|
+
autoload :Resource, '2018-06-01-preview/generated/azure_mgmt_api_management/models/resource.rb'
|
129
|
+
autoload :PipelineDiagnosticSettings, '2018-06-01-preview/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb'
|
130
|
+
autoload :ApiVersionSetContractDetails, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb'
|
131
|
+
autoload :UserIdentityCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/user_identity_collection.rb'
|
132
|
+
autoload :TagDescriptionCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_description_collection.rb'
|
133
|
+
autoload :ProductEntityBaseParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb'
|
134
|
+
autoload :ApiManagementServiceUpdateHostnameParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb'
|
135
|
+
autoload :OperationTagResourceContractProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb'
|
136
|
+
autoload :OperationDisplay, '2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_display.rb'
|
137
|
+
autoload :TagTagResourceContractProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb'
|
138
|
+
autoload :Operation, '2018-06-01-preview/generated/azure_mgmt_api_management/models/operation.rb'
|
139
|
+
autoload :TagResourceCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_resource_collection.rb'
|
140
|
+
autoload :OperationListResult, '2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_list_result.rb'
|
141
|
+
autoload :ProductCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/product_collection.rb'
|
142
|
+
autoload :EmailTemplateParametersContractProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb'
|
143
|
+
autoload :AuthorizationServerCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_collection.rb'
|
144
|
+
autoload :TagCreateUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb'
|
145
|
+
autoload :TokenBodyParameterContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb'
|
146
|
+
autoload :EmailTemplateCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_collection.rb'
|
147
|
+
autoload :BackendAuthorizationHeaderCredentials, '2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb'
|
148
|
+
autoload :EmailTemplateUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb'
|
149
|
+
autoload :BackendServiceFabricClusterProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb'
|
150
|
+
autoload :GroupContractProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract_properties.rb'
|
151
|
+
autoload :BackendCredentialsContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb'
|
152
|
+
autoload :TagCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_collection.rb'
|
153
|
+
autoload :BackendTlsProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_tls_properties.rb'
|
154
|
+
autoload :GroupCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/group_collection.rb'
|
155
|
+
autoload :OperationResultLogItemContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb'
|
156
|
+
autoload :GroupCreateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/group_create_parameters.rb'
|
157
|
+
autoload :BackendUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_update_parameters.rb'
|
158
|
+
autoload :GroupUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/group_update_parameters.rb'
|
159
|
+
autoload :AccessInformationUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb'
|
160
|
+
autoload :UserIdentityContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/user_identity_contract.rb'
|
161
|
+
autoload :CertificateCreateOrUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb'
|
162
|
+
autoload :UserEntityBaseParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb'
|
163
|
+
autoload :ApiCreateOrUpdatePropertiesWsdlSelector, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb'
|
164
|
+
autoload :SubscriptionUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb'
|
165
|
+
autoload :AuthenticationSettingsContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb'
|
166
|
+
autoload :UserCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/user_collection.rb'
|
167
|
+
autoload :ApiRevisionCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_revision_collection.rb'
|
168
|
+
autoload :SubscriptionCreateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb'
|
169
|
+
autoload :ApiVersionSetEntityBase, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb'
|
170
|
+
autoload :IdentityProviderList, '2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_list.rb'
|
171
|
+
autoload :RequestContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/request_contract.rb'
|
172
|
+
autoload :IdentityProviderUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb'
|
173
|
+
autoload :ApiVersionSetCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_collection.rb'
|
174
|
+
autoload :IdentityProviderBaseParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb'
|
175
|
+
autoload :IssueCommentCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_comment_collection.rb'
|
176
|
+
autoload :RequestReportCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/request_report_collection.rb'
|
177
|
+
autoload :HttpMessageDiagnostic, '2018-06-01-preview/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb'
|
178
|
+
autoload :LoggerCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_collection.rb'
|
179
|
+
autoload :DiagnosticCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_collection.rb'
|
180
|
+
autoload :LoggerUpdateContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_update_contract.rb'
|
181
|
+
autoload :GenerateSsoUrlResult, '2018-06-01-preview/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb'
|
182
|
+
autoload :RecipientsContractProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb'
|
183
|
+
autoload :TenantConfigurationSyncStateContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb'
|
184
|
+
autoload :RequestReportRecordContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/request_report_record_contract.rb'
|
185
|
+
autoload :OperationResultContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_result_contract.rb'
|
186
|
+
autoload :NotificationCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/notification_collection.rb'
|
187
|
+
autoload :X509CertificateName, '2018-06-01-preview/generated/azure_mgmt_api_management/models/x509certificate_name.rb'
|
188
|
+
autoload :ReportCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/report_collection.rb'
|
189
|
+
autoload :BackendProxyContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb'
|
190
|
+
autoload :RecipientUserCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/recipient_user_collection.rb'
|
191
|
+
autoload :BackendCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_collection.rb'
|
192
|
+
autoload :ReportRecordContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb'
|
193
|
+
autoload :CertificateCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_collection.rb'
|
194
|
+
autoload :RecipientEmailCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/recipient_email_collection.rb'
|
195
|
+
autoload :ApiUpdateContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb'
|
196
|
+
autoload :ConnectivityStatusContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb'
|
197
|
+
autoload :ApiVersionSetUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb'
|
198
|
+
autoload :NetworkStatusContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/network_status_contract.rb'
|
199
|
+
autoload :OperationEntityBaseContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb'
|
200
|
+
autoload :NetworkStatusContractByLocation, '2018-06-01-preview/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb'
|
201
|
+
autoload :IssueAttachmentCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb'
|
202
|
+
autoload :QuotaCounterValueContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb'
|
203
|
+
autoload :UserCreateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/user_create_parameters.rb'
|
204
|
+
autoload :OpenIdConnectProviderCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb'
|
205
|
+
autoload :SaveConfigurationParameter, '2018-06-01-preview/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb'
|
206
|
+
autoload :OpenidConnectProviderUpdateContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb'
|
207
|
+
autoload :BackendProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_properties.rb'
|
208
|
+
autoload :QuotaCounterCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/quota_counter_collection.rb'
|
209
|
+
autoload :DeployConfigurationParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb'
|
210
|
+
autoload :TermsOfServiceProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb'
|
211
|
+
autoload :ApiEntityBaseContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb'
|
212
|
+
autoload :QuotaCounterContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/quota_counter_contract.rb'
|
213
|
+
autoload :IssueCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_collection.rb'
|
214
|
+
autoload :SubscriptionsDelegationSettingsProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb'
|
215
|
+
autoload :TagResourceContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_resource_contract.rb'
|
216
|
+
autoload :RegistrationDelegationSettingsProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb'
|
217
|
+
autoload :BackendBaseParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_base_parameters.rb'
|
218
|
+
autoload :QuotaCounterValueContractProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb'
|
219
|
+
autoload :ParameterContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/parameter_contract.rb'
|
220
|
+
autoload :ProductUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/product_update_parameters.rb'
|
221
|
+
autoload :AuthorizationServerContractBaseProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb'
|
222
|
+
autoload :PropertyEntityBaseParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb'
|
223
|
+
autoload :SamplingSettings, '2018-06-01-preview/generated/azure_mgmt_api_management/models/sampling_settings.rb'
|
224
|
+
autoload :SubscriptionCollection, '2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_collection.rb'
|
225
|
+
autoload :PropertyUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/property_update_parameters.rb'
|
226
|
+
autoload :PolicyContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_contract.rb'
|
227
|
+
autoload :ApiContractProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb'
|
228
|
+
autoload :ApiContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb'
|
229
|
+
autoload :ApiReleaseContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_release_contract.rb'
|
230
|
+
autoload :OperationContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_contract.rb'
|
231
|
+
autoload :SchemaContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/schema_contract.rb'
|
232
|
+
autoload :IssueContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb'
|
233
|
+
autoload :IssueCommentContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_comment_contract.rb'
|
234
|
+
autoload :IssueAttachmentContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb'
|
235
|
+
autoload :DiagnosticContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb'
|
236
|
+
autoload :ProductTagResourceContractProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb'
|
237
|
+
autoload :ApiTagResourceContractProperties, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb'
|
238
|
+
autoload :ProductContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/product_contract.rb'
|
239
|
+
autoload :AuthorizationServerContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_contract.rb'
|
240
|
+
autoload :AuthorizationServerUpdateContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb'
|
241
|
+
autoload :BackendContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_contract.rb'
|
242
|
+
autoload :BackendReconnectContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb'
|
243
|
+
autoload :CertificateContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_contract.rb'
|
244
|
+
autoload :ApiManagementServiceResource, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb'
|
245
|
+
autoload :ApiManagementServiceUpdateParameters, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb'
|
246
|
+
autoload :EmailTemplateContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_contract.rb'
|
247
|
+
autoload :GroupContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract.rb'
|
248
|
+
autoload :UserContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/user_contract.rb'
|
249
|
+
autoload :IdentityProviderContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_contract.rb'
|
250
|
+
autoload :LoggerContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_contract.rb'
|
251
|
+
autoload :NotificationContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/notification_contract.rb'
|
252
|
+
autoload :RecipientUserContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/recipient_user_contract.rb'
|
253
|
+
autoload :RecipientEmailContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/recipient_email_contract.rb'
|
254
|
+
autoload :OpenidConnectProviderContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb'
|
255
|
+
autoload :PortalSigninSettings, '2018-06-01-preview/generated/azure_mgmt_api_management/models/portal_signin_settings.rb'
|
256
|
+
autoload :PortalSignupSettings, '2018-06-01-preview/generated/azure_mgmt_api_management/models/portal_signup_settings.rb'
|
257
|
+
autoload :PortalDelegationSettings, '2018-06-01-preview/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb'
|
258
|
+
autoload :SubscriptionContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_contract.rb'
|
259
|
+
autoload :PropertyContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/property_contract.rb'
|
260
|
+
autoload :TagContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_contract.rb'
|
261
|
+
autoload :TagDescriptionContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_description_contract.rb'
|
262
|
+
autoload :ApiVersionSetContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_contract.rb'
|
263
|
+
autoload :PolicyContentFormat, '2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_content_format.rb'
|
264
|
+
autoload :Protocol, '2018-06-01-preview/generated/azure_mgmt_api_management/models/protocol.rb'
|
265
|
+
autoload :ContentFormat, '2018-06-01-preview/generated/azure_mgmt_api_management/models/content_format.rb'
|
266
|
+
autoload :SoapApiType, '2018-06-01-preview/generated/azure_mgmt_api_management/models/soap_api_type.rb'
|
267
|
+
autoload :ApiType, '2018-06-01-preview/generated/azure_mgmt_api_management/models/api_type.rb'
|
268
|
+
autoload :State, '2018-06-01-preview/generated/azure_mgmt_api_management/models/state.rb'
|
269
|
+
autoload :SamplingType, '2018-06-01-preview/generated/azure_mgmt_api_management/models/sampling_type.rb'
|
270
|
+
autoload :AlwaysLog, '2018-06-01-preview/generated/azure_mgmt_api_management/models/always_log.rb'
|
271
|
+
autoload :ProductState, '2018-06-01-preview/generated/azure_mgmt_api_management/models/product_state.rb'
|
272
|
+
autoload :GrantType, '2018-06-01-preview/generated/azure_mgmt_api_management/models/grant_type.rb'
|
273
|
+
autoload :AuthorizationMethod, '2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_method.rb'
|
274
|
+
autoload :ClientAuthenticationMethod, '2018-06-01-preview/generated/azure_mgmt_api_management/models/client_authentication_method.rb'
|
275
|
+
autoload :BearerTokenSendingMethod, '2018-06-01-preview/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb'
|
276
|
+
autoload :BackendProtocol, '2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_protocol.rb'
|
277
|
+
autoload :HostnameType, '2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_type.rb'
|
278
|
+
autoload :SkuType, '2018-06-01-preview/generated/azure_mgmt_api_management/models/sku_type.rb'
|
279
|
+
autoload :VirtualNetworkType, '2018-06-01-preview/generated/azure_mgmt_api_management/models/virtual_network_type.rb'
|
280
|
+
autoload :NameAvailabilityReason, '2018-06-01-preview/generated/azure_mgmt_api_management/models/name_availability_reason.rb'
|
281
|
+
autoload :GroupType, '2018-06-01-preview/generated/azure_mgmt_api_management/models/group_type.rb'
|
282
|
+
autoload :Confirmation, '2018-06-01-preview/generated/azure_mgmt_api_management/models/confirmation.rb'
|
283
|
+
autoload :UserState, '2018-06-01-preview/generated/azure_mgmt_api_management/models/user_state.rb'
|
284
|
+
autoload :IdentityProviderType, '2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_type.rb'
|
285
|
+
autoload :LoggerType, '2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_type.rb'
|
286
|
+
autoload :ConnectivityStatusType, '2018-06-01-preview/generated/azure_mgmt_api_management/models/connectivity_status_type.rb'
|
287
|
+
autoload :SubscriptionState, '2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_state.rb'
|
288
|
+
autoload :AsyncOperationStatus, '2018-06-01-preview/generated/azure_mgmt_api_management/models/async_operation_status.rb'
|
289
|
+
autoload :KeyType, '2018-06-01-preview/generated/azure_mgmt_api_management/models/key_type.rb'
|
290
|
+
autoload :VersioningScheme, '2018-06-01-preview/generated/azure_mgmt_api_management/models/versioning_scheme.rb'
|
291
|
+
autoload :TemplateName, '2018-06-01-preview/generated/azure_mgmt_api_management/models/template_name.rb'
|
292
|
+
autoload :NotificationName, '2018-06-01-preview/generated/azure_mgmt_api_management/models/notification_name.rb'
|
293
|
+
autoload :PolicyScopeContract, '2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_scope_contract.rb'
|
294
|
+
autoload :ExportFormat, '2018-06-01-preview/generated/azure_mgmt_api_management/models/export_format.rb'
|
295
|
+
end
|
296
|
+
end
|
@@ -0,0 +1,1144 @@
|
|
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::ApiManagement::Mgmt::V2018_06_01_preview
|
7
|
+
#
|
8
|
+
# ApiManagement Client
|
9
|
+
#
|
10
|
+
class Api
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Api class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [ApiManagementClient] reference to the ApiManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Lists all APIs of the API Management service instance.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param service_name [String] The name of the API Management service.
|
29
|
+
# @param filter [String] | Field | Supported operators | Supported
|
30
|
+
# functions |
|
31
|
+
# |-------------|------------------------|-----------------------------------|
|
32
|
+
# | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
33
|
+
# | name | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
34
|
+
# | description | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
35
|
+
# | serviceUrl | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
36
|
+
# | path | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
37
|
+
# @param top [Integer] Number of records to return.
|
38
|
+
# @param skip [Integer] Number of records to skip.
|
39
|
+
# @param expand_api_version_set [Boolean] Include full ApiVersionSet resource
|
40
|
+
# in response
|
41
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
42
|
+
# will be added to the HTTP request.
|
43
|
+
#
|
44
|
+
# @return [Array<ApiContract>] operation results.
|
45
|
+
#
|
46
|
+
def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_api_version_set:false, custom_headers:nil)
|
47
|
+
first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_api_version_set:expand_api_version_set, custom_headers:custom_headers)
|
48
|
+
first_page.get_all_items
|
49
|
+
end
|
50
|
+
|
51
|
+
#
|
52
|
+
# Lists all APIs of the API Management service instance.
|
53
|
+
#
|
54
|
+
# @param resource_group_name [String] The name of the resource group.
|
55
|
+
# @param service_name [String] The name of the API Management service.
|
56
|
+
# @param filter [String] | Field | Supported operators | Supported
|
57
|
+
# functions |
|
58
|
+
# |-------------|------------------------|-----------------------------------|
|
59
|
+
# | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
60
|
+
# | name | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
61
|
+
# | description | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
62
|
+
# | serviceUrl | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
63
|
+
# | path | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
64
|
+
# @param top [Integer] Number of records to return.
|
65
|
+
# @param skip [Integer] Number of records to skip.
|
66
|
+
# @param expand_api_version_set [Boolean] Include full ApiVersionSet resource
|
67
|
+
# in response
|
68
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
69
|
+
# will be added to the HTTP request.
|
70
|
+
#
|
71
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
72
|
+
#
|
73
|
+
def list_by_service_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_api_version_set:false, custom_headers:nil)
|
74
|
+
list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_api_version_set:expand_api_version_set, custom_headers:custom_headers).value!
|
75
|
+
end
|
76
|
+
|
77
|
+
#
|
78
|
+
# Lists all APIs of the API Management service instance.
|
79
|
+
#
|
80
|
+
# @param resource_group_name [String] The name of the resource group.
|
81
|
+
# @param service_name [String] The name of the API Management service.
|
82
|
+
# @param filter [String] | Field | Supported operators | Supported
|
83
|
+
# functions |
|
84
|
+
# |-------------|------------------------|-----------------------------------|
|
85
|
+
# | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
86
|
+
# | name | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
87
|
+
# | description | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
88
|
+
# | serviceUrl | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
89
|
+
# | path | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
90
|
+
# @param top [Integer] Number of records to return.
|
91
|
+
# @param skip [Integer] Number of records to skip.
|
92
|
+
# @param expand_api_version_set [Boolean] Include full ApiVersionSet resource
|
93
|
+
# in response
|
94
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
95
|
+
# to the HTTP request.
|
96
|
+
#
|
97
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
98
|
+
#
|
99
|
+
def list_by_service_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_api_version_set:false, custom_headers:nil)
|
100
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
101
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
102
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
103
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
104
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
|
105
|
+
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
106
|
+
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
107
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
108
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
109
|
+
|
110
|
+
|
111
|
+
request_headers = {}
|
112
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
113
|
+
|
114
|
+
# Set Headers
|
115
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
116
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
117
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis'
|
118
|
+
|
119
|
+
request_url = @base_url || @client.base_url
|
120
|
+
|
121
|
+
options = {
|
122
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
123
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
124
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version,'expandApiVersionSet' => expand_api_version_set},
|
125
|
+
headers: request_headers.merge(custom_headers || {}),
|
126
|
+
base_url: request_url
|
127
|
+
}
|
128
|
+
promise = @client.make_request_async(:get, path_template, options)
|
129
|
+
|
130
|
+
promise = promise.then do |result|
|
131
|
+
http_response = result.response
|
132
|
+
status_code = http_response.status
|
133
|
+
response_content = http_response.body
|
134
|
+
unless status_code == 200
|
135
|
+
error_model = JSON.load(response_content)
|
136
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
137
|
+
end
|
138
|
+
|
139
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
140
|
+
# Deserialize Response
|
141
|
+
if status_code == 200
|
142
|
+
begin
|
143
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
144
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiCollection.mapper()
|
145
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
146
|
+
rescue Exception => e
|
147
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
result
|
152
|
+
end
|
153
|
+
|
154
|
+
promise.execute
|
155
|
+
end
|
156
|
+
|
157
|
+
#
|
158
|
+
# Gets the entity state (Etag) version of the API specified by its identifier.
|
159
|
+
#
|
160
|
+
# @param resource_group_name [String] The name of the resource group.
|
161
|
+
# @param service_name [String] The name of the API Management service.
|
162
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
163
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
164
|
+
# where n is the revision number.
|
165
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
166
|
+
# will be added to the HTTP request.
|
167
|
+
#
|
168
|
+
#
|
169
|
+
def get_entity_tag(resource_group_name, service_name, api_id, custom_headers:nil)
|
170
|
+
response = get_entity_tag_async(resource_group_name, service_name, api_id, custom_headers:custom_headers).value!
|
171
|
+
nil
|
172
|
+
end
|
173
|
+
|
174
|
+
#
|
175
|
+
# Gets the entity state (Etag) version of the API specified by its identifier.
|
176
|
+
#
|
177
|
+
# @param resource_group_name [String] The name of the resource group.
|
178
|
+
# @param service_name [String] The name of the API Management service.
|
179
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
180
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
181
|
+
# where n is the revision number.
|
182
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
183
|
+
# will be added to the HTTP request.
|
184
|
+
#
|
185
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
186
|
+
#
|
187
|
+
def get_entity_tag_with_http_info(resource_group_name, service_name, api_id, custom_headers:nil)
|
188
|
+
get_entity_tag_async(resource_group_name, service_name, api_id, custom_headers:custom_headers).value!
|
189
|
+
end
|
190
|
+
|
191
|
+
#
|
192
|
+
# Gets the entity state (Etag) version of the API specified by its identifier.
|
193
|
+
#
|
194
|
+
# @param resource_group_name [String] The name of the resource group.
|
195
|
+
# @param service_name [String] The name of the API Management service.
|
196
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
197
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
198
|
+
# where n is the revision number.
|
199
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
200
|
+
# to the HTTP request.
|
201
|
+
#
|
202
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
203
|
+
#
|
204
|
+
def get_entity_tag_async(resource_group_name, service_name, api_id, custom_headers:nil)
|
205
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
206
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
207
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
208
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
209
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
|
210
|
+
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
211
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
|
212
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
213
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
214
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
215
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
216
|
+
|
217
|
+
|
218
|
+
request_headers = {}
|
219
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
220
|
+
|
221
|
+
# Set Headers
|
222
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
223
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
224
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}'
|
225
|
+
|
226
|
+
request_url = @base_url || @client.base_url
|
227
|
+
|
228
|
+
options = {
|
229
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
230
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'subscriptionId' => @client.subscription_id},
|
231
|
+
query_params: {'api-version' => @client.api_version},
|
232
|
+
headers: request_headers.merge(custom_headers || {}),
|
233
|
+
base_url: request_url
|
234
|
+
}
|
235
|
+
promise = @client.make_request_async(:head, path_template, options)
|
236
|
+
|
237
|
+
promise = promise.then do |result|
|
238
|
+
http_response = result.response
|
239
|
+
status_code = http_response.status
|
240
|
+
response_content = http_response.body
|
241
|
+
unless status_code == 200
|
242
|
+
error_model = JSON.load(response_content)
|
243
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
244
|
+
end
|
245
|
+
|
246
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
247
|
+
|
248
|
+
result
|
249
|
+
end
|
250
|
+
|
251
|
+
promise.execute
|
252
|
+
end
|
253
|
+
|
254
|
+
#
|
255
|
+
# Gets the details of the API specified by its identifier.
|
256
|
+
#
|
257
|
+
# @param resource_group_name [String] The name of the resource group.
|
258
|
+
# @param service_name [String] The name of the API Management service.
|
259
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
260
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
261
|
+
# where n is the revision number.
|
262
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
263
|
+
# will be added to the HTTP request.
|
264
|
+
#
|
265
|
+
# @return [ApiContract] operation results.
|
266
|
+
#
|
267
|
+
def get(resource_group_name, service_name, api_id, custom_headers:nil)
|
268
|
+
response = get_async(resource_group_name, service_name, api_id, custom_headers:custom_headers).value!
|
269
|
+
response.body unless response.nil?
|
270
|
+
end
|
271
|
+
|
272
|
+
#
|
273
|
+
# Gets the details of the API specified by its identifier.
|
274
|
+
#
|
275
|
+
# @param resource_group_name [String] The name of the resource group.
|
276
|
+
# @param service_name [String] The name of the API Management service.
|
277
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
278
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
279
|
+
# where n is the revision number.
|
280
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
281
|
+
# will be added to the HTTP request.
|
282
|
+
#
|
283
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
284
|
+
#
|
285
|
+
def get_with_http_info(resource_group_name, service_name, api_id, custom_headers:nil)
|
286
|
+
get_async(resource_group_name, service_name, api_id, custom_headers:custom_headers).value!
|
287
|
+
end
|
288
|
+
|
289
|
+
#
|
290
|
+
# Gets the details of the API specified by its identifier.
|
291
|
+
#
|
292
|
+
# @param resource_group_name [String] The name of the resource group.
|
293
|
+
# @param service_name [String] The name of the API Management service.
|
294
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
295
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
296
|
+
# where n is the revision number.
|
297
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
298
|
+
# to the HTTP request.
|
299
|
+
#
|
300
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
301
|
+
#
|
302
|
+
def get_async(resource_group_name, service_name, api_id, custom_headers:nil)
|
303
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
304
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
305
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
306
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
307
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
|
308
|
+
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
309
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
|
310
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
311
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
312
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
313
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
314
|
+
|
315
|
+
|
316
|
+
request_headers = {}
|
317
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
318
|
+
|
319
|
+
# Set Headers
|
320
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
321
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
322
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}'
|
323
|
+
|
324
|
+
request_url = @base_url || @client.base_url
|
325
|
+
|
326
|
+
options = {
|
327
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
328
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'subscriptionId' => @client.subscription_id},
|
329
|
+
query_params: {'api-version' => @client.api_version},
|
330
|
+
headers: request_headers.merge(custom_headers || {}),
|
331
|
+
base_url: request_url
|
332
|
+
}
|
333
|
+
promise = @client.make_request_async(:get, path_template, options)
|
334
|
+
|
335
|
+
promise = promise.then do |result|
|
336
|
+
http_response = result.response
|
337
|
+
status_code = http_response.status
|
338
|
+
response_content = http_response.body
|
339
|
+
unless status_code == 200
|
340
|
+
error_model = JSON.load(response_content)
|
341
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
342
|
+
end
|
343
|
+
|
344
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
345
|
+
# Deserialize Response
|
346
|
+
if status_code == 200
|
347
|
+
begin
|
348
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
349
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiContract.mapper()
|
350
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
351
|
+
rescue Exception => e
|
352
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
356
|
+
result
|
357
|
+
end
|
358
|
+
|
359
|
+
promise.execute
|
360
|
+
end
|
361
|
+
|
362
|
+
#
|
363
|
+
# Creates new or updates existing specified API of the API Management service
|
364
|
+
# instance.
|
365
|
+
#
|
366
|
+
# @param resource_group_name [String] The name of the resource group.
|
367
|
+
# @param service_name [String] The name of the API Management service.
|
368
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
369
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
370
|
+
# where n is the revision number.
|
371
|
+
# @param parameters [ApiCreateOrUpdateParameter] Create or update parameters.
|
372
|
+
# @param if_match [String] ETag of the Entity. Not required when creating an
|
373
|
+
# entity, but required when updating an entity.
|
374
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
375
|
+
# will be added to the HTTP request.
|
376
|
+
#
|
377
|
+
# @return [ApiContract] operation results.
|
378
|
+
#
|
379
|
+
def create_or_update(resource_group_name, service_name, api_id, parameters, if_match:nil, custom_headers:nil)
|
380
|
+
response = create_or_update_async(resource_group_name, service_name, api_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
|
381
|
+
response.body unless response.nil?
|
382
|
+
end
|
383
|
+
|
384
|
+
#
|
385
|
+
# Creates new or updates existing specified API of the API Management service
|
386
|
+
# instance.
|
387
|
+
#
|
388
|
+
# @param resource_group_name [String] The name of the resource group.
|
389
|
+
# @param service_name [String] The name of the API Management service.
|
390
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
391
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
392
|
+
# where n is the revision number.
|
393
|
+
# @param parameters [ApiCreateOrUpdateParameter] Create or update parameters.
|
394
|
+
# @param if_match [String] ETag of the Entity. Not required when creating an
|
395
|
+
# entity, but required when updating an entity.
|
396
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
397
|
+
# will be added to the HTTP request.
|
398
|
+
#
|
399
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
400
|
+
#
|
401
|
+
def create_or_update_with_http_info(resource_group_name, service_name, api_id, parameters, if_match:nil, custom_headers:nil)
|
402
|
+
create_or_update_async(resource_group_name, service_name, api_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
|
403
|
+
end
|
404
|
+
|
405
|
+
#
|
406
|
+
# Creates new or updates existing specified API of the API Management service
|
407
|
+
# instance.
|
408
|
+
#
|
409
|
+
# @param resource_group_name [String] The name of the resource group.
|
410
|
+
# @param service_name [String] The name of the API Management service.
|
411
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
412
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
413
|
+
# where n is the revision number.
|
414
|
+
# @param parameters [ApiCreateOrUpdateParameter] Create or update parameters.
|
415
|
+
# @param if_match [String] ETag of the Entity. Not required when creating an
|
416
|
+
# entity, but required when updating an entity.
|
417
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
418
|
+
# to the HTTP request.
|
419
|
+
#
|
420
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
421
|
+
#
|
422
|
+
def create_or_update_async(resource_group_name, service_name, api_id, parameters, if_match:nil, custom_headers:nil)
|
423
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
424
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
425
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
426
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
427
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
|
428
|
+
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
429
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
|
430
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
431
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
432
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
433
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
434
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
435
|
+
|
436
|
+
|
437
|
+
request_headers = {}
|
438
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
439
|
+
|
440
|
+
# Set Headers
|
441
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
442
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
443
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
444
|
+
|
445
|
+
# Serialize Request
|
446
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiCreateOrUpdateParameter.mapper()
|
447
|
+
request_content = @client.serialize(request_mapper, parameters)
|
448
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
449
|
+
|
450
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}'
|
451
|
+
|
452
|
+
request_url = @base_url || @client.base_url
|
453
|
+
|
454
|
+
options = {
|
455
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
456
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'subscriptionId' => @client.subscription_id},
|
457
|
+
query_params: {'api-version' => @client.api_version},
|
458
|
+
body: request_content,
|
459
|
+
headers: request_headers.merge(custom_headers || {}),
|
460
|
+
base_url: request_url
|
461
|
+
}
|
462
|
+
promise = @client.make_request_async(:put, path_template, options)
|
463
|
+
|
464
|
+
promise = promise.then do |result|
|
465
|
+
http_response = result.response
|
466
|
+
status_code = http_response.status
|
467
|
+
response_content = http_response.body
|
468
|
+
unless status_code == 201 || status_code == 200
|
469
|
+
error_model = JSON.load(response_content)
|
470
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
471
|
+
end
|
472
|
+
|
473
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
474
|
+
# Deserialize Response
|
475
|
+
if status_code == 201
|
476
|
+
begin
|
477
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
478
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiContract.mapper()
|
479
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
480
|
+
rescue Exception => e
|
481
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
482
|
+
end
|
483
|
+
end
|
484
|
+
# Deserialize Response
|
485
|
+
if status_code == 200
|
486
|
+
begin
|
487
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
488
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiContract.mapper()
|
489
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
490
|
+
rescue Exception => e
|
491
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
495
|
+
result
|
496
|
+
end
|
497
|
+
|
498
|
+
promise.execute
|
499
|
+
end
|
500
|
+
|
501
|
+
#
|
502
|
+
# Updates the specified API of the API Management service instance.
|
503
|
+
#
|
504
|
+
# @param resource_group_name [String] The name of the resource group.
|
505
|
+
# @param service_name [String] The name of the API Management service.
|
506
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
507
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
508
|
+
# where n is the revision number.
|
509
|
+
# @param parameters [ApiUpdateContract] API Update Contract parameters.
|
510
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
511
|
+
# entity state from the header response of the GET request or it should be *
|
512
|
+
# for unconditional update.
|
513
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
514
|
+
# will be added to the HTTP request.
|
515
|
+
#
|
516
|
+
#
|
517
|
+
def update(resource_group_name, service_name, api_id, parameters, if_match, custom_headers:nil)
|
518
|
+
response = update_async(resource_group_name, service_name, api_id, parameters, if_match, custom_headers:custom_headers).value!
|
519
|
+
nil
|
520
|
+
end
|
521
|
+
|
522
|
+
#
|
523
|
+
# Updates the specified API of the API Management service instance.
|
524
|
+
#
|
525
|
+
# @param resource_group_name [String] The name of the resource group.
|
526
|
+
# @param service_name [String] The name of the API Management service.
|
527
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
528
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
529
|
+
# where n is the revision number.
|
530
|
+
# @param parameters [ApiUpdateContract] API Update Contract parameters.
|
531
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
532
|
+
# entity state from the header response of the GET request or it should be *
|
533
|
+
# for unconditional update.
|
534
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
535
|
+
# will be added to the HTTP request.
|
536
|
+
#
|
537
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
538
|
+
#
|
539
|
+
def update_with_http_info(resource_group_name, service_name, api_id, parameters, if_match, custom_headers:nil)
|
540
|
+
update_async(resource_group_name, service_name, api_id, parameters, if_match, custom_headers:custom_headers).value!
|
541
|
+
end
|
542
|
+
|
543
|
+
#
|
544
|
+
# Updates the specified API of the API Management service instance.
|
545
|
+
#
|
546
|
+
# @param resource_group_name [String] The name of the resource group.
|
547
|
+
# @param service_name [String] The name of the API Management service.
|
548
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
549
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
550
|
+
# where n is the revision number.
|
551
|
+
# @param parameters [ApiUpdateContract] API Update Contract parameters.
|
552
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
553
|
+
# entity state from the header response of the GET request or it should be *
|
554
|
+
# for unconditional update.
|
555
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
556
|
+
# to the HTTP request.
|
557
|
+
#
|
558
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
559
|
+
#
|
560
|
+
def update_async(resource_group_name, service_name, api_id, parameters, if_match, custom_headers:nil)
|
561
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
562
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
563
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
564
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
565
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
|
566
|
+
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
567
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
|
568
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
569
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
570
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
571
|
+
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
572
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
573
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
574
|
+
|
575
|
+
|
576
|
+
request_headers = {}
|
577
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
578
|
+
|
579
|
+
# Set Headers
|
580
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
581
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
582
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
583
|
+
|
584
|
+
# Serialize Request
|
585
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiUpdateContract.mapper()
|
586
|
+
request_content = @client.serialize(request_mapper, parameters)
|
587
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
588
|
+
|
589
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}'
|
590
|
+
|
591
|
+
request_url = @base_url || @client.base_url
|
592
|
+
|
593
|
+
options = {
|
594
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
595
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'subscriptionId' => @client.subscription_id},
|
596
|
+
query_params: {'api-version' => @client.api_version},
|
597
|
+
body: request_content,
|
598
|
+
headers: request_headers.merge(custom_headers || {}),
|
599
|
+
base_url: request_url
|
600
|
+
}
|
601
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
602
|
+
|
603
|
+
promise = promise.then do |result|
|
604
|
+
http_response = result.response
|
605
|
+
status_code = http_response.status
|
606
|
+
response_content = http_response.body
|
607
|
+
unless status_code == 204
|
608
|
+
error_model = JSON.load(response_content)
|
609
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
610
|
+
end
|
611
|
+
|
612
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
613
|
+
|
614
|
+
result
|
615
|
+
end
|
616
|
+
|
617
|
+
promise.execute
|
618
|
+
end
|
619
|
+
|
620
|
+
#
|
621
|
+
# Deletes the specified API of the API Management service instance.
|
622
|
+
#
|
623
|
+
# @param resource_group_name [String] The name of the resource group.
|
624
|
+
# @param service_name [String] The name of the API Management service.
|
625
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
626
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
627
|
+
# where n is the revision number.
|
628
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
629
|
+
# entity state from the header response of the GET request or it should be *
|
630
|
+
# for unconditional update.
|
631
|
+
# @param delete_revisions [Boolean] Delete all revisions of the Api.
|
632
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
633
|
+
# will be added to the HTTP request.
|
634
|
+
#
|
635
|
+
#
|
636
|
+
def delete(resource_group_name, service_name, api_id, if_match, delete_revisions:nil, custom_headers:nil)
|
637
|
+
response = delete_async(resource_group_name, service_name, api_id, if_match, delete_revisions:delete_revisions, custom_headers:custom_headers).value!
|
638
|
+
nil
|
639
|
+
end
|
640
|
+
|
641
|
+
#
|
642
|
+
# Deletes the specified API of the API Management service instance.
|
643
|
+
#
|
644
|
+
# @param resource_group_name [String] The name of the resource group.
|
645
|
+
# @param service_name [String] The name of the API Management service.
|
646
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
647
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
648
|
+
# where n is the revision number.
|
649
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
650
|
+
# entity state from the header response of the GET request or it should be *
|
651
|
+
# for unconditional update.
|
652
|
+
# @param delete_revisions [Boolean] Delete all revisions of the Api.
|
653
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
654
|
+
# will be added to the HTTP request.
|
655
|
+
#
|
656
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
657
|
+
#
|
658
|
+
def delete_with_http_info(resource_group_name, service_name, api_id, if_match, delete_revisions:nil, custom_headers:nil)
|
659
|
+
delete_async(resource_group_name, service_name, api_id, if_match, delete_revisions:delete_revisions, custom_headers:custom_headers).value!
|
660
|
+
end
|
661
|
+
|
662
|
+
#
|
663
|
+
# Deletes the specified API of the API Management service instance.
|
664
|
+
#
|
665
|
+
# @param resource_group_name [String] The name of the resource group.
|
666
|
+
# @param service_name [String] The name of the API Management service.
|
667
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
668
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
669
|
+
# where n is the revision number.
|
670
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
671
|
+
# entity state from the header response of the GET request or it should be *
|
672
|
+
# for unconditional update.
|
673
|
+
# @param delete_revisions [Boolean] Delete all revisions of the Api.
|
674
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
675
|
+
# to the HTTP request.
|
676
|
+
#
|
677
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
678
|
+
#
|
679
|
+
def delete_async(resource_group_name, service_name, api_id, if_match, delete_revisions:nil, custom_headers:nil)
|
680
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
681
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
682
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
683
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
684
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
|
685
|
+
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
686
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
|
687
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
688
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
689
|
+
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
690
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
691
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
692
|
+
|
693
|
+
|
694
|
+
request_headers = {}
|
695
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
696
|
+
|
697
|
+
# Set Headers
|
698
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
699
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
700
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
701
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}'
|
702
|
+
|
703
|
+
request_url = @base_url || @client.base_url
|
704
|
+
|
705
|
+
options = {
|
706
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
707
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'subscriptionId' => @client.subscription_id},
|
708
|
+
query_params: {'deleteRevisions' => delete_revisions,'api-version' => @client.api_version},
|
709
|
+
headers: request_headers.merge(custom_headers || {}),
|
710
|
+
base_url: request_url
|
711
|
+
}
|
712
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
713
|
+
|
714
|
+
promise = promise.then do |result|
|
715
|
+
http_response = result.response
|
716
|
+
status_code = http_response.status
|
717
|
+
response_content = http_response.body
|
718
|
+
unless status_code == 200 || status_code == 204
|
719
|
+
error_model = JSON.load(response_content)
|
720
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
721
|
+
end
|
722
|
+
|
723
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
724
|
+
|
725
|
+
result
|
726
|
+
end
|
727
|
+
|
728
|
+
promise.execute
|
729
|
+
end
|
730
|
+
|
731
|
+
#
|
732
|
+
# Lists a collection of apis associated with tags.
|
733
|
+
#
|
734
|
+
# @param resource_group_name [String] The name of the resource group.
|
735
|
+
# @param service_name [String] The name of the API Management service.
|
736
|
+
# @param filter [String] | Field | Supported operators | Supported
|
737
|
+
# functions |
|
738
|
+
# |-------------|------------------------|---------------------------------------------|
|
739
|
+
# | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
740
|
+
# endswith |
|
741
|
+
# | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
742
|
+
# endswith |
|
743
|
+
# | aid | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
744
|
+
# endswith |
|
745
|
+
# | apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
746
|
+
# endswith |
|
747
|
+
# | path | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
748
|
+
# endswith |
|
749
|
+
# | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
750
|
+
# endswith |
|
751
|
+
# | serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
752
|
+
# endswith |
|
753
|
+
# | isCurrent | eq | substringof, contains, startswith,
|
754
|
+
# endswith |
|
755
|
+
# @param top [Integer] Number of records to return.
|
756
|
+
# @param skip [Integer] Number of records to skip.
|
757
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
758
|
+
# will be added to the HTTP request.
|
759
|
+
#
|
760
|
+
# @return [Array<TagResourceContract>] operation results.
|
761
|
+
#
|
762
|
+
def list_by_tags(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
763
|
+
first_page = list_by_tags_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
|
764
|
+
first_page.get_all_items
|
765
|
+
end
|
766
|
+
|
767
|
+
#
|
768
|
+
# Lists a collection of apis associated with tags.
|
769
|
+
#
|
770
|
+
# @param resource_group_name [String] The name of the resource group.
|
771
|
+
# @param service_name [String] The name of the API Management service.
|
772
|
+
# @param filter [String] | Field | Supported operators | Supported
|
773
|
+
# functions |
|
774
|
+
# |-------------|------------------------|---------------------------------------------|
|
775
|
+
# | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
776
|
+
# endswith |
|
777
|
+
# | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
778
|
+
# endswith |
|
779
|
+
# | aid | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
780
|
+
# endswith |
|
781
|
+
# | apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
782
|
+
# endswith |
|
783
|
+
# | path | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
784
|
+
# endswith |
|
785
|
+
# | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
786
|
+
# endswith |
|
787
|
+
# | serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
788
|
+
# endswith |
|
789
|
+
# | isCurrent | eq | substringof, contains, startswith,
|
790
|
+
# endswith |
|
791
|
+
# @param top [Integer] Number of records to return.
|
792
|
+
# @param skip [Integer] Number of records to skip.
|
793
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
794
|
+
# will be added to the HTTP request.
|
795
|
+
#
|
796
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
797
|
+
#
|
798
|
+
def list_by_tags_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
799
|
+
list_by_tags_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
800
|
+
end
|
801
|
+
|
802
|
+
#
|
803
|
+
# Lists a collection of apis associated with tags.
|
804
|
+
#
|
805
|
+
# @param resource_group_name [String] The name of the resource group.
|
806
|
+
# @param service_name [String] The name of the API Management service.
|
807
|
+
# @param filter [String] | Field | Supported operators | Supported
|
808
|
+
# functions |
|
809
|
+
# |-------------|------------------------|---------------------------------------------|
|
810
|
+
# | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
811
|
+
# endswith |
|
812
|
+
# | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
813
|
+
# endswith |
|
814
|
+
# | aid | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
815
|
+
# endswith |
|
816
|
+
# | apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
817
|
+
# endswith |
|
818
|
+
# | path | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
819
|
+
# endswith |
|
820
|
+
# | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
821
|
+
# endswith |
|
822
|
+
# | serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
823
|
+
# endswith |
|
824
|
+
# | isCurrent | eq | substringof, contains, startswith,
|
825
|
+
# endswith |
|
826
|
+
# @param top [Integer] Number of records to return.
|
827
|
+
# @param skip [Integer] Number of records to skip.
|
828
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
829
|
+
# to the HTTP request.
|
830
|
+
#
|
831
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
832
|
+
#
|
833
|
+
def list_by_tags_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
834
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
835
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
836
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
837
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
838
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
|
839
|
+
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
840
|
+
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
841
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
842
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
843
|
+
|
844
|
+
|
845
|
+
request_headers = {}
|
846
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
847
|
+
|
848
|
+
# Set Headers
|
849
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
850
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
851
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apisByTags'
|
852
|
+
|
853
|
+
request_url = @base_url || @client.base_url
|
854
|
+
|
855
|
+
options = {
|
856
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
857
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
858
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
859
|
+
headers: request_headers.merge(custom_headers || {}),
|
860
|
+
base_url: request_url
|
861
|
+
}
|
862
|
+
promise = @client.make_request_async(:get, path_template, options)
|
863
|
+
|
864
|
+
promise = promise.then do |result|
|
865
|
+
http_response = result.response
|
866
|
+
status_code = http_response.status
|
867
|
+
response_content = http_response.body
|
868
|
+
unless status_code == 200
|
869
|
+
error_model = JSON.load(response_content)
|
870
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
871
|
+
end
|
872
|
+
|
873
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
874
|
+
# Deserialize Response
|
875
|
+
if status_code == 200
|
876
|
+
begin
|
877
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
878
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection.mapper()
|
879
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
880
|
+
rescue Exception => e
|
881
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
885
|
+
result
|
886
|
+
end
|
887
|
+
|
888
|
+
promise.execute
|
889
|
+
end
|
890
|
+
|
891
|
+
#
|
892
|
+
# Lists all APIs of the API Management service instance.
|
893
|
+
#
|
894
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
895
|
+
# to List operation.
|
896
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
897
|
+
# will be added to the HTTP request.
|
898
|
+
#
|
899
|
+
# @return [ApiCollection] operation results.
|
900
|
+
#
|
901
|
+
def list_by_service_next(next_page_link, custom_headers:nil)
|
902
|
+
response = list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
|
903
|
+
response.body unless response.nil?
|
904
|
+
end
|
905
|
+
|
906
|
+
#
|
907
|
+
# Lists all APIs of the API Management service instance.
|
908
|
+
#
|
909
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
910
|
+
# to List operation.
|
911
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
912
|
+
# will be added to the HTTP request.
|
913
|
+
#
|
914
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
915
|
+
#
|
916
|
+
def list_by_service_next_with_http_info(next_page_link, custom_headers:nil)
|
917
|
+
list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
|
918
|
+
end
|
919
|
+
|
920
|
+
#
|
921
|
+
# Lists all APIs of the API Management service instance.
|
922
|
+
#
|
923
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
924
|
+
# to List operation.
|
925
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
926
|
+
# to the HTTP request.
|
927
|
+
#
|
928
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
929
|
+
#
|
930
|
+
def list_by_service_next_async(next_page_link, custom_headers:nil)
|
931
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
932
|
+
|
933
|
+
|
934
|
+
request_headers = {}
|
935
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
936
|
+
|
937
|
+
# Set Headers
|
938
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
939
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
940
|
+
path_template = '{nextLink}'
|
941
|
+
|
942
|
+
request_url = @base_url || @client.base_url
|
943
|
+
|
944
|
+
options = {
|
945
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
946
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
947
|
+
headers: request_headers.merge(custom_headers || {}),
|
948
|
+
base_url: request_url
|
949
|
+
}
|
950
|
+
promise = @client.make_request_async(:get, path_template, options)
|
951
|
+
|
952
|
+
promise = promise.then do |result|
|
953
|
+
http_response = result.response
|
954
|
+
status_code = http_response.status
|
955
|
+
response_content = http_response.body
|
956
|
+
unless status_code == 200
|
957
|
+
error_model = JSON.load(response_content)
|
958
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
959
|
+
end
|
960
|
+
|
961
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
962
|
+
# Deserialize Response
|
963
|
+
if status_code == 200
|
964
|
+
begin
|
965
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
966
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::ApiCollection.mapper()
|
967
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
968
|
+
rescue Exception => e
|
969
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
970
|
+
end
|
971
|
+
end
|
972
|
+
|
973
|
+
result
|
974
|
+
end
|
975
|
+
|
976
|
+
promise.execute
|
977
|
+
end
|
978
|
+
|
979
|
+
#
|
980
|
+
# Lists a collection of apis associated with tags.
|
981
|
+
#
|
982
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
983
|
+
# to List operation.
|
984
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
985
|
+
# will be added to the HTTP request.
|
986
|
+
#
|
987
|
+
# @return [TagResourceCollection] operation results.
|
988
|
+
#
|
989
|
+
def list_by_tags_next(next_page_link, custom_headers:nil)
|
990
|
+
response = list_by_tags_next_async(next_page_link, custom_headers:custom_headers).value!
|
991
|
+
response.body unless response.nil?
|
992
|
+
end
|
993
|
+
|
994
|
+
#
|
995
|
+
# Lists a collection of apis associated with tags.
|
996
|
+
#
|
997
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
998
|
+
# to List operation.
|
999
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1000
|
+
# will be added to the HTTP request.
|
1001
|
+
#
|
1002
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1003
|
+
#
|
1004
|
+
def list_by_tags_next_with_http_info(next_page_link, custom_headers:nil)
|
1005
|
+
list_by_tags_next_async(next_page_link, custom_headers:custom_headers).value!
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
#
|
1009
|
+
# Lists a collection of apis associated with tags.
|
1010
|
+
#
|
1011
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1012
|
+
# to List operation.
|
1013
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1014
|
+
# to the HTTP request.
|
1015
|
+
#
|
1016
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1017
|
+
#
|
1018
|
+
def list_by_tags_next_async(next_page_link, custom_headers:nil)
|
1019
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1020
|
+
|
1021
|
+
|
1022
|
+
request_headers = {}
|
1023
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1024
|
+
|
1025
|
+
# Set Headers
|
1026
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1027
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1028
|
+
path_template = '{nextLink}'
|
1029
|
+
|
1030
|
+
request_url = @base_url || @client.base_url
|
1031
|
+
|
1032
|
+
options = {
|
1033
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1034
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
1035
|
+
headers: request_headers.merge(custom_headers || {}),
|
1036
|
+
base_url: request_url
|
1037
|
+
}
|
1038
|
+
promise = @client.make_request_async(:get, path_template, options)
|
1039
|
+
|
1040
|
+
promise = promise.then do |result|
|
1041
|
+
http_response = result.response
|
1042
|
+
status_code = http_response.status
|
1043
|
+
response_content = http_response.body
|
1044
|
+
unless status_code == 200
|
1045
|
+
error_model = JSON.load(response_content)
|
1046
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1050
|
+
# Deserialize Response
|
1051
|
+
if status_code == 200
|
1052
|
+
begin
|
1053
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1054
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagResourceCollection.mapper()
|
1055
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1056
|
+
rescue Exception => e
|
1057
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1058
|
+
end
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
result
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
promise.execute
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
#
|
1068
|
+
# Lists all APIs of the API Management service instance.
|
1069
|
+
#
|
1070
|
+
# @param resource_group_name [String] The name of the resource group.
|
1071
|
+
# @param service_name [String] The name of the API Management service.
|
1072
|
+
# @param filter [String] | Field | Supported operators | Supported
|
1073
|
+
# functions |
|
1074
|
+
# |-------------|------------------------|-----------------------------------|
|
1075
|
+
# | id | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
1076
|
+
# | name | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
1077
|
+
# | description | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
1078
|
+
# | serviceUrl | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
1079
|
+
# | path | ge, le, eq, ne, gt, lt | substringof, startswith, endswith |
|
1080
|
+
# @param top [Integer] Number of records to return.
|
1081
|
+
# @param skip [Integer] Number of records to skip.
|
1082
|
+
# @param expand_api_version_set [Boolean] Include full ApiVersionSet resource
|
1083
|
+
# in response
|
1084
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1085
|
+
# will be added to the HTTP request.
|
1086
|
+
#
|
1087
|
+
# @return [ApiCollection] which provide lazy access to pages of the response.
|
1088
|
+
#
|
1089
|
+
def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_api_version_set:false, custom_headers:nil)
|
1090
|
+
response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_api_version_set:expand_api_version_set, custom_headers:custom_headers).value!
|
1091
|
+
unless response.nil?
|
1092
|
+
page = response.body
|
1093
|
+
page.next_method = Proc.new do |next_page_link|
|
1094
|
+
list_by_service_next_async(next_page_link, custom_headers:custom_headers)
|
1095
|
+
end
|
1096
|
+
page
|
1097
|
+
end
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
#
|
1101
|
+
# Lists a collection of apis associated with tags.
|
1102
|
+
#
|
1103
|
+
# @param resource_group_name [String] The name of the resource group.
|
1104
|
+
# @param service_name [String] The name of the API Management service.
|
1105
|
+
# @param filter [String] | Field | Supported operators | Supported
|
1106
|
+
# functions |
|
1107
|
+
# |-------------|------------------------|---------------------------------------------|
|
1108
|
+
# | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1109
|
+
# endswith |
|
1110
|
+
# | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1111
|
+
# endswith |
|
1112
|
+
# | aid | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1113
|
+
# endswith |
|
1114
|
+
# | apiRevision | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1115
|
+
# endswith |
|
1116
|
+
# | path | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1117
|
+
# endswith |
|
1118
|
+
# | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1119
|
+
# endswith |
|
1120
|
+
# | serviceUrl | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1121
|
+
# endswith |
|
1122
|
+
# | isCurrent | eq | substringof, contains, startswith,
|
1123
|
+
# endswith |
|
1124
|
+
# @param top [Integer] Number of records to return.
|
1125
|
+
# @param skip [Integer] Number of records to skip.
|
1126
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1127
|
+
# will be added to the HTTP request.
|
1128
|
+
#
|
1129
|
+
# @return [TagResourceCollection] which provide lazy access to pages of the
|
1130
|
+
# response.
|
1131
|
+
#
|
1132
|
+
def list_by_tags_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
1133
|
+
response = list_by_tags_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
1134
|
+
unless response.nil?
|
1135
|
+
page = response.body
|
1136
|
+
page.next_method = Proc.new do |next_page_link|
|
1137
|
+
list_by_tags_next_async(next_page_link, custom_headers:custom_headers)
|
1138
|
+
end
|
1139
|
+
page
|
1140
|
+
end
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
end
|
1144
|
+
end
|