azure_mgmt_api_management 0.18.2 → 0.18.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_base_parameters.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/report_record_contract.rb +2 -2
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/property.rb +3 -3
- data/lib/2016-07-07/generated/azure_mgmt_api_management/reports.rb +4 -4
- data/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb +3 -3
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/property.rb +3 -3
- data/lib/2016-10-10/generated/azure_mgmt_api_management/reports.rb +4 -4
- data/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb +3 -3
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +10 -10
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachments.rb +7 -7
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comments.rb +7 -7
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issues.rb +7 -7
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_service.rb +11 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +10 -10
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_sampling_contract.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/property.rb +3 -3
- data/lib/2017-03-01/generated/azure_mgmt_api_management/reports.rb +11 -11
- data/lib/2017-03-01/generated/azure_mgmt_api_management/subscription.rb +3 -3
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_description.rb +3 -3
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2018-01-01/generated/azure_mgmt_api_management.rb +303 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api.rb +1144 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +874 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +649 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_export.rb +147 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb +887 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +814 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +811 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb +369 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +222 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service.rb +1914 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +244 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation.rb +905 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +639 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_policy.rb +589 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_product.rb +272 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_release.rb +893 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_revisions.rb +280 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_schema.rb +738 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_version_set.rb +864 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/authorization_server.rb +819 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/backend.rb +931 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/certificate.rb +730 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +416 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic.rb +812 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +614 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/email_template.rb +896 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/group.rb +839 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/group_user.rb +657 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb +796 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/logger.rb +819 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +80 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +48 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/additional_location.rb +131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_contract.rb +288 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +222 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +313 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +179 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +322 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +442 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +60 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +77 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +431 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +72 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +221 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +249 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +96 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +75 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/content_format.rb +20 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/current_user_identity.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +74 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/export_format.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +88 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +88 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +138 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +71 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +191 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +164 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_contract.rb +121 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +85 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/schema_contract.rb +87 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/sku_type.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +244 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +128 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +146 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +153 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/network_status.rb +254 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification.rb +469 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +474 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +495 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +807 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/operation_operations.rb +316 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/policy.rb +526 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/policy_snippets.rb +126 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product.rb +862 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_api.rb +654 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_group.rb +643 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_policy.rb +571 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +312 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb +804 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +262 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +261 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/regions.rb +230 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb +1690 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +416 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +416 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb +1070 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag.rb +3081 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb +787 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_resource.rb +356 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access.rb +401 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +291 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +607 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user.rb +1194 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_group.rb +287 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_identities.rb +242 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_subscription.rb +312 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2019-01-01/generated/azure_mgmt_api_management.rb +313 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api.rb +1203 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +878 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_export.rb +147 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue.rb +888 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +811 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +808 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_client.rb +373 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +222 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service.rb +1665 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +244 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation.rb +921 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +645 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_policy.rb +595 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_product.rb +272 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_release.rb +896 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_revision.rb +272 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_schema.rb +777 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_tag_description.rb +783 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_version_set.rb +808 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/authorization_server.rb +815 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/backend.rb +931 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/cache.rb +795 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/certificate.rb +718 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +423 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/diagnostic.rb +816 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/email_template.rb +927 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/group.rb +827 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/group_user.rb +633 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/identity_provider.rb +796 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/issue.rb +384 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/logger.rb +826 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +79 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/additional_location.rb +131 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_contract.rb +310 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +240 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +335 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +190 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb +72 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_export_result_value.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +337 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +457 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +446 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +228 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +260 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +107 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +75 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/content_format.rb +23 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +136 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/export_format.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/export_result_format.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +89 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +89 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +137 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb +19 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +143 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +203 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +176 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_contract.rb +133 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_export_format.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_contract.rb +90 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_create_or_update_contract.rb +91 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sku_type.rb +19 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +254 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +139 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +158 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +153 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/network_status.rb +254 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/notification.rb +469 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +474 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +495 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +803 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/operation_operations.rb +304 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/policy.rb +533 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/policy_snippet.rb +126 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product.rb +1113 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_api.rb +636 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_group.rb +617 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_policy.rb +577 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +304 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/property.rb +800 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +262 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +261 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/region.rb +230 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/reports.rb +2099 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +423 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +423 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/subscription.rb +1062 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tag.rb +2998 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tag_resource.rb +316 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access.rb +486 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +291 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +607 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user.rb +1079 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +119 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_group.rb +279 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_identities.rb +242 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_subscription.rb +300 -0
- data/lib/azure_mgmt_api_management.rb +2 -0
- data/lib/profiles/latest/modules/apimanagement_profile_module.rb +723 -663
- data/lib/version.rb +1 -1
- metadata +571 -3
@@ -0,0 +1,384 @@
|
|
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::V2019_01_01
|
7
|
+
#
|
8
|
+
# ApiManagement Client
|
9
|
+
#
|
10
|
+
class Issue
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Issue 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 a collection of issues in the specified 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 | Usage | Supported
|
30
|
+
# operators | Supported functions
|
31
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>| name |
|
32
|
+
# filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
|
33
|
+
# | </br>| apiId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
34
|
+
# startswith, endswith | </br>| title | filter | ge, le, eq, ne, gt, lt |
|
35
|
+
# substringof, contains, startswith, endswith | </br>| description | filter |
|
36
|
+
# ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>|
|
37
|
+
# authorName | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
38
|
+
# startswith, endswith | </br>| state | filter | eq | | </br>
|
39
|
+
# @param top [Integer] Number of records to return.
|
40
|
+
# @param skip [Integer] Number of records to skip.
|
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<IssueContract>] operation results.
|
45
|
+
#
|
46
|
+
def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
47
|
+
first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
|
48
|
+
first_page.get_all_items
|
49
|
+
end
|
50
|
+
|
51
|
+
#
|
52
|
+
# Lists a collection of issues in the specified 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 | Usage | Supported
|
57
|
+
# operators | Supported functions
|
58
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>| name |
|
59
|
+
# filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
|
60
|
+
# | </br>| apiId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
61
|
+
# startswith, endswith | </br>| title | filter | ge, le, eq, ne, gt, lt |
|
62
|
+
# substringof, contains, startswith, endswith | </br>| description | filter |
|
63
|
+
# ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>|
|
64
|
+
# authorName | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
65
|
+
# startswith, endswith | </br>| state | filter | eq | | </br>
|
66
|
+
# @param top [Integer] Number of records to return.
|
67
|
+
# @param skip [Integer] Number of records to skip.
|
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, custom_headers:nil)
|
74
|
+
list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
75
|
+
end
|
76
|
+
|
77
|
+
#
|
78
|
+
# Lists a collection of issues in the specified 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 | Usage | Supported
|
83
|
+
# operators | Supported functions
|
84
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>| name |
|
85
|
+
# filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
|
86
|
+
# | </br>| apiId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
87
|
+
# startswith, endswith | </br>| title | filter | ge, le, eq, ne, gt, lt |
|
88
|
+
# substringof, contains, startswith, endswith | </br>| description | filter |
|
89
|
+
# ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>|
|
90
|
+
# authorName | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
91
|
+
# startswith, endswith | </br>| state | filter | eq | | </br>
|
92
|
+
# @param top [Integer] Number of records to return.
|
93
|
+
# @param skip [Integer] Number of records to skip.
|
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, 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}/issues'
|
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},
|
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::V2019_01_01::Models::IssueCollection.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 API Management issue details
|
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 issue_id [String] Issue identifier. Must be unique in the current API
|
163
|
+
# Management service instance.
|
164
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
165
|
+
# will be added to the HTTP request.
|
166
|
+
#
|
167
|
+
# @return [IssueContract] operation results.
|
168
|
+
#
|
169
|
+
def get(resource_group_name, service_name, issue_id, custom_headers:nil)
|
170
|
+
response = get_async(resource_group_name, service_name, issue_id, custom_headers:custom_headers).value!
|
171
|
+
response.body unless response.nil?
|
172
|
+
end
|
173
|
+
|
174
|
+
#
|
175
|
+
# Gets API Management issue details
|
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 issue_id [String] Issue identifier. Must be unique in the current API
|
180
|
+
# Management service instance.
|
181
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
182
|
+
# will be added to the HTTP request.
|
183
|
+
#
|
184
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
185
|
+
#
|
186
|
+
def get_with_http_info(resource_group_name, service_name, issue_id, custom_headers:nil)
|
187
|
+
get_async(resource_group_name, service_name, issue_id, custom_headers:custom_headers).value!
|
188
|
+
end
|
189
|
+
|
190
|
+
#
|
191
|
+
# Gets API Management issue details
|
192
|
+
#
|
193
|
+
# @param resource_group_name [String] The name of the resource group.
|
194
|
+
# @param service_name [String] The name of the API Management service.
|
195
|
+
# @param issue_id [String] Issue identifier. Must be unique in the current API
|
196
|
+
# Management service instance.
|
197
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
198
|
+
# to the HTTP request.
|
199
|
+
#
|
200
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
201
|
+
#
|
202
|
+
def get_async(resource_group_name, service_name, issue_id, custom_headers:nil)
|
203
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
204
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
205
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
206
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
207
|
+
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?
|
208
|
+
fail ArgumentError, 'issue_id is nil' if issue_id.nil?
|
209
|
+
fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
|
210
|
+
fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
|
211
|
+
fail ArgumentError, "'issue_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !issue_id.nil? && issue_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
212
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
213
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
214
|
+
|
215
|
+
|
216
|
+
request_headers = {}
|
217
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
218
|
+
|
219
|
+
# Set Headers
|
220
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
221
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
222
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/issues/{issueId}'
|
223
|
+
|
224
|
+
request_url = @base_url || @client.base_url
|
225
|
+
|
226
|
+
options = {
|
227
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
228
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'issueId' => issue_id,'subscriptionId' => @client.subscription_id},
|
229
|
+
query_params: {'api-version' => @client.api_version},
|
230
|
+
headers: request_headers.merge(custom_headers || {}),
|
231
|
+
base_url: request_url
|
232
|
+
}
|
233
|
+
promise = @client.make_request_async(:get, path_template, options)
|
234
|
+
|
235
|
+
promise = promise.then do |result|
|
236
|
+
http_response = result.response
|
237
|
+
status_code = http_response.status
|
238
|
+
response_content = http_response.body
|
239
|
+
unless status_code == 200
|
240
|
+
error_model = JSON.load(response_content)
|
241
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
242
|
+
end
|
243
|
+
|
244
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
245
|
+
# Deserialize Response
|
246
|
+
if status_code == 200
|
247
|
+
begin
|
248
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
249
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::IssueContract.mapper()
|
250
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
251
|
+
rescue Exception => e
|
252
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
result
|
257
|
+
end
|
258
|
+
|
259
|
+
promise.execute
|
260
|
+
end
|
261
|
+
|
262
|
+
#
|
263
|
+
# Lists a collection of issues in the specified service instance.
|
264
|
+
#
|
265
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
266
|
+
# to List operation.
|
267
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
268
|
+
# will be added to the HTTP request.
|
269
|
+
#
|
270
|
+
# @return [IssueCollection] operation results.
|
271
|
+
#
|
272
|
+
def list_by_service_next(next_page_link, custom_headers:nil)
|
273
|
+
response = list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
|
274
|
+
response.body unless response.nil?
|
275
|
+
end
|
276
|
+
|
277
|
+
#
|
278
|
+
# Lists a collection of issues in the specified service instance.
|
279
|
+
#
|
280
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
281
|
+
# to List operation.
|
282
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
283
|
+
# will be added to the HTTP request.
|
284
|
+
#
|
285
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
286
|
+
#
|
287
|
+
def list_by_service_next_with_http_info(next_page_link, custom_headers:nil)
|
288
|
+
list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
|
289
|
+
end
|
290
|
+
|
291
|
+
#
|
292
|
+
# Lists a collection of issues in the specified service instance.
|
293
|
+
#
|
294
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
295
|
+
# to List operation.
|
296
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
297
|
+
# to the HTTP request.
|
298
|
+
#
|
299
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
300
|
+
#
|
301
|
+
def list_by_service_next_async(next_page_link, custom_headers:nil)
|
302
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
303
|
+
|
304
|
+
|
305
|
+
request_headers = {}
|
306
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
307
|
+
|
308
|
+
# Set Headers
|
309
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
310
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
311
|
+
path_template = '{nextLink}'
|
312
|
+
|
313
|
+
request_url = @base_url || @client.base_url
|
314
|
+
|
315
|
+
options = {
|
316
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
317
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
318
|
+
headers: request_headers.merge(custom_headers || {}),
|
319
|
+
base_url: request_url
|
320
|
+
}
|
321
|
+
promise = @client.make_request_async(:get, path_template, options)
|
322
|
+
|
323
|
+
promise = promise.then do |result|
|
324
|
+
http_response = result.response
|
325
|
+
status_code = http_response.status
|
326
|
+
response_content = http_response.body
|
327
|
+
unless status_code == 200
|
328
|
+
error_model = JSON.load(response_content)
|
329
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
330
|
+
end
|
331
|
+
|
332
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
333
|
+
# Deserialize Response
|
334
|
+
if status_code == 200
|
335
|
+
begin
|
336
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
337
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::IssueCollection.mapper()
|
338
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
339
|
+
rescue Exception => e
|
340
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
344
|
+
result
|
345
|
+
end
|
346
|
+
|
347
|
+
promise.execute
|
348
|
+
end
|
349
|
+
|
350
|
+
#
|
351
|
+
# Lists a collection of issues in the specified service instance.
|
352
|
+
#
|
353
|
+
# @param resource_group_name [String] The name of the resource group.
|
354
|
+
# @param service_name [String] The name of the API Management service.
|
355
|
+
# @param filter [String] | Field | Usage | Supported
|
356
|
+
# operators | Supported functions
|
357
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>| name |
|
358
|
+
# filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
|
359
|
+
# | </br>| apiId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
360
|
+
# startswith, endswith | </br>| title | filter | ge, le, eq, ne, gt, lt |
|
361
|
+
# substringof, contains, startswith, endswith | </br>| description | filter |
|
362
|
+
# ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>|
|
363
|
+
# authorName | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
364
|
+
# startswith, endswith | </br>| state | filter | eq | | </br>
|
365
|
+
# @param top [Integer] Number of records to return.
|
366
|
+
# @param skip [Integer] Number of records to skip.
|
367
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
368
|
+
# will be added to the HTTP request.
|
369
|
+
#
|
370
|
+
# @return [IssueCollection] which provide lazy access to pages of the response.
|
371
|
+
#
|
372
|
+
def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
373
|
+
response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
374
|
+
unless response.nil?
|
375
|
+
page = response.body
|
376
|
+
page.next_method = Proc.new do |next_page_link|
|
377
|
+
list_by_service_next_async(next_page_link, custom_headers:custom_headers)
|
378
|
+
end
|
379
|
+
page
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
end
|
384
|
+
end
|
@@ -0,0 +1,826 @@
|
|
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::V2019_01_01
|
7
|
+
#
|
8
|
+
# ApiManagement Client
|
9
|
+
#
|
10
|
+
class Logger
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Logger 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 a collection of loggers in the specified 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 | Usage | Supported
|
30
|
+
# operators | Supported functions
|
31
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>| name |
|
32
|
+
# filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
|
33
|
+
# | </br>| description | filter | ge, le, eq, ne, gt, lt | substringof,
|
34
|
+
# contains, startswith, endswith | </br>| loggerType | filter | eq | |
|
35
|
+
# </br>| resourceId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
36
|
+
# startswith, endswith | </br>
|
37
|
+
# @param top [Integer] Number of records to return.
|
38
|
+
# @param skip [Integer] Number of records to skip.
|
39
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
40
|
+
# will be added to the HTTP request.
|
41
|
+
#
|
42
|
+
# @return [Array<LoggerContract>] operation results.
|
43
|
+
#
|
44
|
+
def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
45
|
+
first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
|
46
|
+
first_page.get_all_items
|
47
|
+
end
|
48
|
+
|
49
|
+
#
|
50
|
+
# Lists a collection of loggers in the specified service instance.
|
51
|
+
#
|
52
|
+
# @param resource_group_name [String] The name of the resource group.
|
53
|
+
# @param service_name [String] The name of the API Management service.
|
54
|
+
# @param filter [String] | Field | Usage | Supported
|
55
|
+
# operators | Supported functions
|
56
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>| name |
|
57
|
+
# filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
|
58
|
+
# | </br>| description | filter | ge, le, eq, ne, gt, lt | substringof,
|
59
|
+
# contains, startswith, endswith | </br>| loggerType | filter | eq | |
|
60
|
+
# </br>| resourceId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
61
|
+
# startswith, endswith | </br>
|
62
|
+
# @param top [Integer] Number of records to return.
|
63
|
+
# @param skip [Integer] Number of records to skip.
|
64
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
65
|
+
# will be added to the HTTP request.
|
66
|
+
#
|
67
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
68
|
+
#
|
69
|
+
def list_by_service_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
70
|
+
list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
71
|
+
end
|
72
|
+
|
73
|
+
#
|
74
|
+
# Lists a collection of loggers in the specified service instance.
|
75
|
+
#
|
76
|
+
# @param resource_group_name [String] The name of the resource group.
|
77
|
+
# @param service_name [String] The name of the API Management service.
|
78
|
+
# @param filter [String] | Field | Usage | Supported
|
79
|
+
# operators | Supported functions
|
80
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>| name |
|
81
|
+
# filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
|
82
|
+
# | </br>| description | filter | ge, le, eq, ne, gt, lt | substringof,
|
83
|
+
# contains, startswith, endswith | </br>| loggerType | filter | eq | |
|
84
|
+
# </br>| resourceId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
85
|
+
# startswith, endswith | </br>
|
86
|
+
# @param top [Integer] Number of records to return.
|
87
|
+
# @param skip [Integer] Number of records to skip.
|
88
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
89
|
+
# to the HTTP request.
|
90
|
+
#
|
91
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
92
|
+
#
|
93
|
+
def list_by_service_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
94
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
95
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
96
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
97
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
98
|
+
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?
|
99
|
+
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
100
|
+
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
101
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
102
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
103
|
+
|
104
|
+
|
105
|
+
request_headers = {}
|
106
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
107
|
+
|
108
|
+
# Set Headers
|
109
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
110
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
111
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers'
|
112
|
+
|
113
|
+
request_url = @base_url || @client.base_url
|
114
|
+
|
115
|
+
options = {
|
116
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
117
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
118
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
119
|
+
headers: request_headers.merge(custom_headers || {}),
|
120
|
+
base_url: request_url
|
121
|
+
}
|
122
|
+
promise = @client.make_request_async(:get, path_template, options)
|
123
|
+
|
124
|
+
promise = promise.then do |result|
|
125
|
+
http_response = result.response
|
126
|
+
status_code = http_response.status
|
127
|
+
response_content = http_response.body
|
128
|
+
unless status_code == 200
|
129
|
+
error_model = JSON.load(response_content)
|
130
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
131
|
+
end
|
132
|
+
|
133
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
134
|
+
# Deserialize Response
|
135
|
+
if status_code == 200
|
136
|
+
begin
|
137
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
138
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::LoggerCollection.mapper()
|
139
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
140
|
+
rescue Exception => e
|
141
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
result
|
146
|
+
end
|
147
|
+
|
148
|
+
promise.execute
|
149
|
+
end
|
150
|
+
|
151
|
+
#
|
152
|
+
# Gets the entity state (Etag) version of the logger specified by its
|
153
|
+
# identifier.
|
154
|
+
#
|
155
|
+
# @param resource_group_name [String] The name of the resource group.
|
156
|
+
# @param service_name [String] The name of the API Management service.
|
157
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
158
|
+
# Management service instance.
|
159
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
160
|
+
# will be added to the HTTP request.
|
161
|
+
#
|
162
|
+
#
|
163
|
+
def get_entity_tag(resource_group_name, service_name, logger_id, custom_headers:nil)
|
164
|
+
response = get_entity_tag_async(resource_group_name, service_name, logger_id, custom_headers:custom_headers).value!
|
165
|
+
nil
|
166
|
+
end
|
167
|
+
|
168
|
+
#
|
169
|
+
# Gets the entity state (Etag) version of the logger specified by its
|
170
|
+
# identifier.
|
171
|
+
#
|
172
|
+
# @param resource_group_name [String] The name of the resource group.
|
173
|
+
# @param service_name [String] The name of the API Management service.
|
174
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
175
|
+
# Management service instance.
|
176
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
177
|
+
# will be added to the HTTP request.
|
178
|
+
#
|
179
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
180
|
+
#
|
181
|
+
def get_entity_tag_with_http_info(resource_group_name, service_name, logger_id, custom_headers:nil)
|
182
|
+
get_entity_tag_async(resource_group_name, service_name, logger_id, custom_headers:custom_headers).value!
|
183
|
+
end
|
184
|
+
|
185
|
+
#
|
186
|
+
# Gets the entity state (Etag) version of the logger specified by its
|
187
|
+
# identifier.
|
188
|
+
#
|
189
|
+
# @param resource_group_name [String] The name of the resource group.
|
190
|
+
# @param service_name [String] The name of the API Management service.
|
191
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
192
|
+
# Management service instance.
|
193
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
194
|
+
# to the HTTP request.
|
195
|
+
#
|
196
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
197
|
+
#
|
198
|
+
def get_entity_tag_async(resource_group_name, service_name, logger_id, custom_headers:nil)
|
199
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
200
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
201
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
202
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
203
|
+
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?
|
204
|
+
fail ArgumentError, 'logger_id is nil' if logger_id.nil?
|
205
|
+
fail ArgumentError, "'logger_id' should satisfy the constraint - 'MaxLength': '256'" if !logger_id.nil? && logger_id.length > 256
|
206
|
+
fail ArgumentError, "'logger_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !logger_id.nil? && logger_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
207
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
208
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
209
|
+
|
210
|
+
|
211
|
+
request_headers = {}
|
212
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
213
|
+
|
214
|
+
# Set Headers
|
215
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
216
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
217
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerId}'
|
218
|
+
|
219
|
+
request_url = @base_url || @client.base_url
|
220
|
+
|
221
|
+
options = {
|
222
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
223
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'loggerId' => logger_id,'subscriptionId' => @client.subscription_id},
|
224
|
+
query_params: {'api-version' => @client.api_version},
|
225
|
+
headers: request_headers.merge(custom_headers || {}),
|
226
|
+
base_url: request_url
|
227
|
+
}
|
228
|
+
promise = @client.make_request_async(:head, path_template, options)
|
229
|
+
|
230
|
+
promise = promise.then do |result|
|
231
|
+
http_response = result.response
|
232
|
+
status_code = http_response.status
|
233
|
+
response_content = http_response.body
|
234
|
+
unless status_code == 200
|
235
|
+
error_model = JSON.load(response_content)
|
236
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
237
|
+
end
|
238
|
+
|
239
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
240
|
+
|
241
|
+
result
|
242
|
+
end
|
243
|
+
|
244
|
+
promise.execute
|
245
|
+
end
|
246
|
+
|
247
|
+
#
|
248
|
+
# Gets the details of the logger specified by its identifier.
|
249
|
+
#
|
250
|
+
# @param resource_group_name [String] The name of the resource group.
|
251
|
+
# @param service_name [String] The name of the API Management service.
|
252
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
253
|
+
# Management service instance.
|
254
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
255
|
+
# will be added to the HTTP request.
|
256
|
+
#
|
257
|
+
# @return [LoggerContract] operation results.
|
258
|
+
#
|
259
|
+
def get(resource_group_name, service_name, logger_id, custom_headers:nil)
|
260
|
+
response = get_async(resource_group_name, service_name, logger_id, custom_headers:custom_headers).value!
|
261
|
+
response.body unless response.nil?
|
262
|
+
end
|
263
|
+
|
264
|
+
#
|
265
|
+
# Gets the details of the logger specified by its identifier.
|
266
|
+
#
|
267
|
+
# @param resource_group_name [String] The name of the resource group.
|
268
|
+
# @param service_name [String] The name of the API Management service.
|
269
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
270
|
+
# Management service instance.
|
271
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
272
|
+
# will be added to the HTTP request.
|
273
|
+
#
|
274
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
275
|
+
#
|
276
|
+
def get_with_http_info(resource_group_name, service_name, logger_id, custom_headers:nil)
|
277
|
+
get_async(resource_group_name, service_name, logger_id, custom_headers:custom_headers).value!
|
278
|
+
end
|
279
|
+
|
280
|
+
#
|
281
|
+
# Gets the details of the logger specified by its identifier.
|
282
|
+
#
|
283
|
+
# @param resource_group_name [String] The name of the resource group.
|
284
|
+
# @param service_name [String] The name of the API Management service.
|
285
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
286
|
+
# Management service instance.
|
287
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
288
|
+
# to the HTTP request.
|
289
|
+
#
|
290
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
291
|
+
#
|
292
|
+
def get_async(resource_group_name, service_name, logger_id, custom_headers:nil)
|
293
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
294
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
295
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
296
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
297
|
+
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?
|
298
|
+
fail ArgumentError, 'logger_id is nil' if logger_id.nil?
|
299
|
+
fail ArgumentError, "'logger_id' should satisfy the constraint - 'MaxLength': '256'" if !logger_id.nil? && logger_id.length > 256
|
300
|
+
fail ArgumentError, "'logger_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !logger_id.nil? && logger_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
301
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
302
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
303
|
+
|
304
|
+
|
305
|
+
request_headers = {}
|
306
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
307
|
+
|
308
|
+
# Set Headers
|
309
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
310
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
311
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerId}'
|
312
|
+
|
313
|
+
request_url = @base_url || @client.base_url
|
314
|
+
|
315
|
+
options = {
|
316
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
317
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'loggerId' => logger_id,'subscriptionId' => @client.subscription_id},
|
318
|
+
query_params: {'api-version' => @client.api_version},
|
319
|
+
headers: request_headers.merge(custom_headers || {}),
|
320
|
+
base_url: request_url
|
321
|
+
}
|
322
|
+
promise = @client.make_request_async(:get, path_template, options)
|
323
|
+
|
324
|
+
promise = promise.then do |result|
|
325
|
+
http_response = result.response
|
326
|
+
status_code = http_response.status
|
327
|
+
response_content = http_response.body
|
328
|
+
unless status_code == 200
|
329
|
+
error_model = JSON.load(response_content)
|
330
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
331
|
+
end
|
332
|
+
|
333
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
334
|
+
# Deserialize Response
|
335
|
+
if status_code == 200
|
336
|
+
begin
|
337
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
338
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::LoggerContract.mapper()
|
339
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
340
|
+
rescue Exception => e
|
341
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
342
|
+
end
|
343
|
+
end
|
344
|
+
|
345
|
+
result
|
346
|
+
end
|
347
|
+
|
348
|
+
promise.execute
|
349
|
+
end
|
350
|
+
|
351
|
+
#
|
352
|
+
# Creates or Updates a logger.
|
353
|
+
#
|
354
|
+
# @param resource_group_name [String] The name of the resource group.
|
355
|
+
# @param service_name [String] The name of the API Management service.
|
356
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
357
|
+
# Management service instance.
|
358
|
+
# @param parameters [LoggerContract] Create parameters.
|
359
|
+
# @param if_match [String] ETag of the Entity. Not required when creating an
|
360
|
+
# entity, but required when updating an entity.
|
361
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
362
|
+
# will be added to the HTTP request.
|
363
|
+
#
|
364
|
+
# @return [LoggerContract] operation results.
|
365
|
+
#
|
366
|
+
def create_or_update(resource_group_name, service_name, logger_id, parameters, if_match:nil, custom_headers:nil)
|
367
|
+
response = create_or_update_async(resource_group_name, service_name, logger_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
|
368
|
+
response.body unless response.nil?
|
369
|
+
end
|
370
|
+
|
371
|
+
#
|
372
|
+
# Creates or Updates a logger.
|
373
|
+
#
|
374
|
+
# @param resource_group_name [String] The name of the resource group.
|
375
|
+
# @param service_name [String] The name of the API Management service.
|
376
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
377
|
+
# Management service instance.
|
378
|
+
# @param parameters [LoggerContract] Create parameters.
|
379
|
+
# @param if_match [String] ETag of the Entity. Not required when creating an
|
380
|
+
# entity, but required when updating an entity.
|
381
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
382
|
+
# will be added to the HTTP request.
|
383
|
+
#
|
384
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
385
|
+
#
|
386
|
+
def create_or_update_with_http_info(resource_group_name, service_name, logger_id, parameters, if_match:nil, custom_headers:nil)
|
387
|
+
create_or_update_async(resource_group_name, service_name, logger_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
|
388
|
+
end
|
389
|
+
|
390
|
+
#
|
391
|
+
# Creates or Updates a logger.
|
392
|
+
#
|
393
|
+
# @param resource_group_name [String] The name of the resource group.
|
394
|
+
# @param service_name [String] The name of the API Management service.
|
395
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
396
|
+
# Management service instance.
|
397
|
+
# @param parameters [LoggerContract] Create parameters.
|
398
|
+
# @param if_match [String] ETag of the Entity. Not required when creating an
|
399
|
+
# entity, but required when updating an entity.
|
400
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
401
|
+
# to the HTTP request.
|
402
|
+
#
|
403
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
404
|
+
#
|
405
|
+
def create_or_update_async(resource_group_name, service_name, logger_id, parameters, if_match:nil, custom_headers:nil)
|
406
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
407
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
408
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
409
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
410
|
+
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?
|
411
|
+
fail ArgumentError, 'logger_id is nil' if logger_id.nil?
|
412
|
+
fail ArgumentError, "'logger_id' should satisfy the constraint - 'MaxLength': '256'" if !logger_id.nil? && logger_id.length > 256
|
413
|
+
fail ArgumentError, "'logger_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !logger_id.nil? && logger_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
414
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
415
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
416
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
417
|
+
|
418
|
+
|
419
|
+
request_headers = {}
|
420
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
421
|
+
|
422
|
+
# Set Headers
|
423
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
424
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
425
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
426
|
+
|
427
|
+
# Serialize Request
|
428
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::LoggerContract.mapper()
|
429
|
+
request_content = @client.serialize(request_mapper, parameters)
|
430
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
431
|
+
|
432
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerId}'
|
433
|
+
|
434
|
+
request_url = @base_url || @client.base_url
|
435
|
+
|
436
|
+
options = {
|
437
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
438
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'loggerId' => logger_id,'subscriptionId' => @client.subscription_id},
|
439
|
+
query_params: {'api-version' => @client.api_version},
|
440
|
+
body: request_content,
|
441
|
+
headers: request_headers.merge(custom_headers || {}),
|
442
|
+
base_url: request_url
|
443
|
+
}
|
444
|
+
promise = @client.make_request_async(:put, path_template, options)
|
445
|
+
|
446
|
+
promise = promise.then do |result|
|
447
|
+
http_response = result.response
|
448
|
+
status_code = http_response.status
|
449
|
+
response_content = http_response.body
|
450
|
+
unless status_code == 201 || status_code == 200
|
451
|
+
error_model = JSON.load(response_content)
|
452
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
453
|
+
end
|
454
|
+
|
455
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
456
|
+
# Deserialize Response
|
457
|
+
if status_code == 201
|
458
|
+
begin
|
459
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
460
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::LoggerContract.mapper()
|
461
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
462
|
+
rescue Exception => e
|
463
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
464
|
+
end
|
465
|
+
end
|
466
|
+
# Deserialize Response
|
467
|
+
if status_code == 200
|
468
|
+
begin
|
469
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
470
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::LoggerContract.mapper()
|
471
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
472
|
+
rescue Exception => e
|
473
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
result
|
478
|
+
end
|
479
|
+
|
480
|
+
promise.execute
|
481
|
+
end
|
482
|
+
|
483
|
+
#
|
484
|
+
# Updates an existing logger.
|
485
|
+
#
|
486
|
+
# @param resource_group_name [String] The name of the resource group.
|
487
|
+
# @param service_name [String] The name of the API Management service.
|
488
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
489
|
+
# Management service instance.
|
490
|
+
# @param parameters [LoggerUpdateContract] Update parameters.
|
491
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
492
|
+
# entity state from the header response of the GET request or it should be *
|
493
|
+
# for unconditional update.
|
494
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
495
|
+
# will be added to the HTTP request.
|
496
|
+
#
|
497
|
+
#
|
498
|
+
def update(resource_group_name, service_name, logger_id, parameters, if_match, custom_headers:nil)
|
499
|
+
response = update_async(resource_group_name, service_name, logger_id, parameters, if_match, custom_headers:custom_headers).value!
|
500
|
+
nil
|
501
|
+
end
|
502
|
+
|
503
|
+
#
|
504
|
+
# Updates an existing logger.
|
505
|
+
#
|
506
|
+
# @param resource_group_name [String] The name of the resource group.
|
507
|
+
# @param service_name [String] The name of the API Management service.
|
508
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
509
|
+
# Management service instance.
|
510
|
+
# @param parameters [LoggerUpdateContract] Update parameters.
|
511
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
512
|
+
# entity state from the header response of the GET request or it should be *
|
513
|
+
# for unconditional update.
|
514
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
515
|
+
# will be added to the HTTP request.
|
516
|
+
#
|
517
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
518
|
+
#
|
519
|
+
def update_with_http_info(resource_group_name, service_name, logger_id, parameters, if_match, custom_headers:nil)
|
520
|
+
update_async(resource_group_name, service_name, logger_id, parameters, if_match, custom_headers:custom_headers).value!
|
521
|
+
end
|
522
|
+
|
523
|
+
#
|
524
|
+
# Updates an existing logger.
|
525
|
+
#
|
526
|
+
# @param resource_group_name [String] The name of the resource group.
|
527
|
+
# @param service_name [String] The name of the API Management service.
|
528
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
529
|
+
# Management service instance.
|
530
|
+
# @param parameters [LoggerUpdateContract] Update 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 [Hash{String => String}] A hash of custom headers that will be added
|
535
|
+
# to the HTTP request.
|
536
|
+
#
|
537
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
538
|
+
#
|
539
|
+
def update_async(resource_group_name, service_name, logger_id, parameters, if_match, custom_headers:nil)
|
540
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
541
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
542
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
543
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
544
|
+
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?
|
545
|
+
fail ArgumentError, 'logger_id is nil' if logger_id.nil?
|
546
|
+
fail ArgumentError, "'logger_id' should satisfy the constraint - 'MaxLength': '256'" if !logger_id.nil? && logger_id.length > 256
|
547
|
+
fail ArgumentError, "'logger_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !logger_id.nil? && logger_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
548
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
549
|
+
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
550
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
551
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
552
|
+
|
553
|
+
|
554
|
+
request_headers = {}
|
555
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
556
|
+
|
557
|
+
# Set Headers
|
558
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
559
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
560
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
561
|
+
|
562
|
+
# Serialize Request
|
563
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::LoggerUpdateContract.mapper()
|
564
|
+
request_content = @client.serialize(request_mapper, parameters)
|
565
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
566
|
+
|
567
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerId}'
|
568
|
+
|
569
|
+
request_url = @base_url || @client.base_url
|
570
|
+
|
571
|
+
options = {
|
572
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
573
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'loggerId' => logger_id,'subscriptionId' => @client.subscription_id},
|
574
|
+
query_params: {'api-version' => @client.api_version},
|
575
|
+
body: request_content,
|
576
|
+
headers: request_headers.merge(custom_headers || {}),
|
577
|
+
base_url: request_url
|
578
|
+
}
|
579
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
580
|
+
|
581
|
+
promise = promise.then do |result|
|
582
|
+
http_response = result.response
|
583
|
+
status_code = http_response.status
|
584
|
+
response_content = http_response.body
|
585
|
+
unless status_code == 204
|
586
|
+
error_model = JSON.load(response_content)
|
587
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
588
|
+
end
|
589
|
+
|
590
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
591
|
+
|
592
|
+
result
|
593
|
+
end
|
594
|
+
|
595
|
+
promise.execute
|
596
|
+
end
|
597
|
+
|
598
|
+
#
|
599
|
+
# Deletes the specified logger.
|
600
|
+
#
|
601
|
+
# @param resource_group_name [String] The name of the resource group.
|
602
|
+
# @param service_name [String] The name of the API Management service.
|
603
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
604
|
+
# Management service instance.
|
605
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
606
|
+
# entity state from the header response of the GET request or it should be *
|
607
|
+
# for unconditional update.
|
608
|
+
# @param force [Boolean] Force deletion even if diagnostic is attached.
|
609
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
610
|
+
# will be added to the HTTP request.
|
611
|
+
#
|
612
|
+
#
|
613
|
+
def delete(resource_group_name, service_name, logger_id, if_match, force:nil, custom_headers:nil)
|
614
|
+
response = delete_async(resource_group_name, service_name, logger_id, if_match, force:force, custom_headers:custom_headers).value!
|
615
|
+
nil
|
616
|
+
end
|
617
|
+
|
618
|
+
#
|
619
|
+
# Deletes the specified logger.
|
620
|
+
#
|
621
|
+
# @param resource_group_name [String] The name of the resource group.
|
622
|
+
# @param service_name [String] The name of the API Management service.
|
623
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
624
|
+
# Management service instance.
|
625
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
626
|
+
# entity state from the header response of the GET request or it should be *
|
627
|
+
# for unconditional update.
|
628
|
+
# @param force [Boolean] Force deletion even if diagnostic is attached.
|
629
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
630
|
+
# will be added to the HTTP request.
|
631
|
+
#
|
632
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
633
|
+
#
|
634
|
+
def delete_with_http_info(resource_group_name, service_name, logger_id, if_match, force:nil, custom_headers:nil)
|
635
|
+
delete_async(resource_group_name, service_name, logger_id, if_match, force:force, custom_headers:custom_headers).value!
|
636
|
+
end
|
637
|
+
|
638
|
+
#
|
639
|
+
# Deletes the specified logger.
|
640
|
+
#
|
641
|
+
# @param resource_group_name [String] The name of the resource group.
|
642
|
+
# @param service_name [String] The name of the API Management service.
|
643
|
+
# @param logger_id [String] Logger identifier. Must be unique in the API
|
644
|
+
# Management service instance.
|
645
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
646
|
+
# entity state from the header response of the GET request or it should be *
|
647
|
+
# for unconditional update.
|
648
|
+
# @param force [Boolean] Force deletion even if diagnostic is attached.
|
649
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
650
|
+
# to the HTTP request.
|
651
|
+
#
|
652
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
653
|
+
#
|
654
|
+
def delete_async(resource_group_name, service_name, logger_id, if_match, force:nil, custom_headers:nil)
|
655
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
656
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
657
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
658
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
659
|
+
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?
|
660
|
+
fail ArgumentError, 'logger_id is nil' if logger_id.nil?
|
661
|
+
fail ArgumentError, "'logger_id' should satisfy the constraint - 'MaxLength': '256'" if !logger_id.nil? && logger_id.length > 256
|
662
|
+
fail ArgumentError, "'logger_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !logger_id.nil? && logger_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
663
|
+
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
664
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
665
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
666
|
+
|
667
|
+
|
668
|
+
request_headers = {}
|
669
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
670
|
+
|
671
|
+
# Set Headers
|
672
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
673
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
674
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
675
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerId}'
|
676
|
+
|
677
|
+
request_url = @base_url || @client.base_url
|
678
|
+
|
679
|
+
options = {
|
680
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
681
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'loggerId' => logger_id,'subscriptionId' => @client.subscription_id},
|
682
|
+
query_params: {'force' => force,'api-version' => @client.api_version},
|
683
|
+
headers: request_headers.merge(custom_headers || {}),
|
684
|
+
base_url: request_url
|
685
|
+
}
|
686
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
687
|
+
|
688
|
+
promise = promise.then do |result|
|
689
|
+
http_response = result.response
|
690
|
+
status_code = http_response.status
|
691
|
+
response_content = http_response.body
|
692
|
+
unless status_code == 200 || status_code == 204
|
693
|
+
error_model = JSON.load(response_content)
|
694
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
695
|
+
end
|
696
|
+
|
697
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
698
|
+
|
699
|
+
result
|
700
|
+
end
|
701
|
+
|
702
|
+
promise.execute
|
703
|
+
end
|
704
|
+
|
705
|
+
#
|
706
|
+
# Lists a collection of loggers in the specified service instance.
|
707
|
+
#
|
708
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
709
|
+
# to List operation.
|
710
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
711
|
+
# will be added to the HTTP request.
|
712
|
+
#
|
713
|
+
# @return [LoggerCollection] operation results.
|
714
|
+
#
|
715
|
+
def list_by_service_next(next_page_link, custom_headers:nil)
|
716
|
+
response = list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
|
717
|
+
response.body unless response.nil?
|
718
|
+
end
|
719
|
+
|
720
|
+
#
|
721
|
+
# Lists a collection of loggers in the specified service instance.
|
722
|
+
#
|
723
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
724
|
+
# to List operation.
|
725
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
726
|
+
# will be added to the HTTP request.
|
727
|
+
#
|
728
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
729
|
+
#
|
730
|
+
def list_by_service_next_with_http_info(next_page_link, custom_headers:nil)
|
731
|
+
list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
|
732
|
+
end
|
733
|
+
|
734
|
+
#
|
735
|
+
# Lists a collection of loggers in the specified service instance.
|
736
|
+
#
|
737
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
738
|
+
# to List operation.
|
739
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
740
|
+
# to the HTTP request.
|
741
|
+
#
|
742
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
743
|
+
#
|
744
|
+
def list_by_service_next_async(next_page_link, custom_headers:nil)
|
745
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
746
|
+
|
747
|
+
|
748
|
+
request_headers = {}
|
749
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
750
|
+
|
751
|
+
# Set Headers
|
752
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
753
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
754
|
+
path_template = '{nextLink}'
|
755
|
+
|
756
|
+
request_url = @base_url || @client.base_url
|
757
|
+
|
758
|
+
options = {
|
759
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
760
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
761
|
+
headers: request_headers.merge(custom_headers || {}),
|
762
|
+
base_url: request_url
|
763
|
+
}
|
764
|
+
promise = @client.make_request_async(:get, path_template, options)
|
765
|
+
|
766
|
+
promise = promise.then do |result|
|
767
|
+
http_response = result.response
|
768
|
+
status_code = http_response.status
|
769
|
+
response_content = http_response.body
|
770
|
+
unless status_code == 200
|
771
|
+
error_model = JSON.load(response_content)
|
772
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
773
|
+
end
|
774
|
+
|
775
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
776
|
+
# Deserialize Response
|
777
|
+
if status_code == 200
|
778
|
+
begin
|
779
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
780
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_01_01::Models::LoggerCollection.mapper()
|
781
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
782
|
+
rescue Exception => e
|
783
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
784
|
+
end
|
785
|
+
end
|
786
|
+
|
787
|
+
result
|
788
|
+
end
|
789
|
+
|
790
|
+
promise.execute
|
791
|
+
end
|
792
|
+
|
793
|
+
#
|
794
|
+
# Lists a collection of loggers in the specified service instance.
|
795
|
+
#
|
796
|
+
# @param resource_group_name [String] The name of the resource group.
|
797
|
+
# @param service_name [String] The name of the API Management service.
|
798
|
+
# @param filter [String] | Field | Usage | Supported
|
799
|
+
# operators | Supported functions
|
800
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>| name |
|
801
|
+
# filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
|
802
|
+
# | </br>| description | filter | ge, le, eq, ne, gt, lt | substringof,
|
803
|
+
# contains, startswith, endswith | </br>| loggerType | filter | eq | |
|
804
|
+
# </br>| resourceId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
805
|
+
# startswith, endswith | </br>
|
806
|
+
# @param top [Integer] Number of records to return.
|
807
|
+
# @param skip [Integer] Number of records to skip.
|
808
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
809
|
+
# will be added to the HTTP request.
|
810
|
+
#
|
811
|
+
# @return [LoggerCollection] which provide lazy access to pages of the
|
812
|
+
# response.
|
813
|
+
#
|
814
|
+
def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
815
|
+
response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
816
|
+
unless response.nil?
|
817
|
+
page = response.body
|
818
|
+
page.next_method = Proc.new do |next_page_link|
|
819
|
+
list_by_service_next_async(next_page_link, custom_headers:custom_headers)
|
820
|
+
end
|
821
|
+
page
|
822
|
+
end
|
823
|
+
end
|
824
|
+
|
825
|
+
end
|
826
|
+
end
|