azure_mgmt_api_management 0.17.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_client.rb +7 -6
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_client.rb +7 -6
- data/lib/2017-03-01/generated/azure_mgmt_api_management.rb +290 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api.rb +1141 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic.rb +877 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +647 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_export.rb +134 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_attachment.rb +142 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_comment.rb +142 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue.rb +508 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +434 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachments.rb +288 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comment.rb +431 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comments.rb +288 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issues.rb +279 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_client.rb +385 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_operations.rb +222 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_service.rb +1904 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation.rb +895 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation_policy.rb +637 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_policy.rb +587 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_product.rb +272 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_release.rb +789 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_revisions.rb +280 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_schema.rb +725 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_version_set.rb +867 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/authorization_server.rb +807 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/backend.rb +924 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/certificate.rb +733 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/delegation_settings.rb +416 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic.rb +815 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +612 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/email_template.rb +889 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/group.rb +832 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/group_user.rb +655 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/identity_provider.rb +675 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/logger.rb +812 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +80 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +48 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/additional_location.rb +107 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_contract.rb +260 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +200 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +271 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +151 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_export_result.rb +47 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +298 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +418 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +60 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +77 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +407 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +72 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +172 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +221 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_contract_properties.rb +95 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +79 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +48 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +78 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/content_format.rb +20 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +74 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +88 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +88 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +139 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +71 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/hostname_type.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +131 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +191 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +67 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +164 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_contract.rb +134 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_sampling_contract.rb +160 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_entity_contract.rb +149 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/policy_contract.rb +73 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/region_list_result.rb +77 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/resource.rb +71 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/sampling_type.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/schema_contract.rb +87 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/sku_type.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +244 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +128 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +146 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +110 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +154 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +83 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +77 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +140 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/network_status.rb +238 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification.rb +462 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +472 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +493 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +800 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/operation_operations.rb +312 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/policy.rb +438 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/policy_snippets.rb +126 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product.rb +855 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_api.rb +643 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_group.rb +641 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_policy.rb +469 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_subscriptions.rb +312 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/property.rb +797 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +262 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +261 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/regions.rb +120 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/reports.rb +1690 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_in_settings.rb +416 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_up_settings.rb +416 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/subscription.rb +1039 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag.rb +3058 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_description.rb +774 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_resource.rb +356 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access.rb +401 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access_git.rb +291 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_configuration.rb +607 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user.rb +1086 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_group.rb +287 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_identities.rb +130 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_subscription.rb +312 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management.rb +100 -89
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue.rb +762 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +814 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +811 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +19 -6
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/additional_location.rb +26 -2
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_collection.rb +2 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +28 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +22 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +28 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +28 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +5 -4
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +5 -4
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +5 -4
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_release_collection.rb +2 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_revision_collection.rb +2 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +22 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +28 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_response.rb +4 -4
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_collection.rb +2 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_result_contract.rb +2 -2
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_content_format.rb +2 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_contract.rb +2 -1
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/schema_collection.rb +2 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_api.rb +33 -24
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management.rb +296 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api.rb +1144 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_diagnostic.rb +874 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_export.rb +147 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue.rb +762 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +814 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +811 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +357 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_operations.rb +222 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service.rb +1914 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation.rb +905 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation_policy.rb +639 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_policy.rb +589 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_product.rb +272 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_release.rb +893 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_revisions.rb +280 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_schema.rb +738 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_version_set.rb +864 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/authorization_server.rb +819 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/backend.rb +931 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/certificate.rb +730 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/delegation_settings.rb +416 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/diagnostic.rb +812 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/email_template.rb +896 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group.rb +839 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group_user.rb +657 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/identity_provider.rb +796 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/logger.rb +819 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/access_information_contract.rb +80 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +48 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/additional_location.rb +131 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +288 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +222 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +313 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +179 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_export_result.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +322 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +442 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +60 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +77 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +431 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +72 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +221 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +249 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +96 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +48 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_configuration.rb +85 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/content_format.rb +20 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +123 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/export_format.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_create_parameters.rb +88 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_update_parameters.rb +88 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration.rb +139 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +71 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_type.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +131 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +191 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +164 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_contract.rb +133 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation.rb +80 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource.rb +71 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/schema_contract.rb +87 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/sku_type.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_contract.rb +244 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +128 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +146 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_contract.rb +179 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_create_parameters.rb +154 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +83 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_update_parameters.rb +140 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/module_definition.rb +9 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/network_status.rb +254 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification.rb +469 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_email.rb +474 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_user.rb +495 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/open_id_connect_provider.rb +807 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/operation_operations.rb +316 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy.rb +526 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb +126 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product.rb +862 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_api.rb +654 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_group.rb +643 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_policy.rb +571 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_subscriptions.rb +312 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/property.rb +804 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +262 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_period_keys.rb +261 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/regions.rb +230 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/reports.rb +1690 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_in_settings.rb +416 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_up_settings.rb +416 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/subscription.rb +1070 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag.rb +3081 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_description.rb +787 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_resource.rb +356 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access.rb +401 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +291 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_configuration.rb +607 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user.rb +1099 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_group.rb +287 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_identities.rb +242 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_subscription.rb +312 -0
- data/lib/azure_mgmt_api_management.rb +4 -2
- data/lib/profiles/latest/modules/apimanagement_profile_module.rb +616 -558
- data/lib/version.rb +1 -1
- metadata +553 -4
@@ -0,0 +1,675 @@
|
|
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::V2017_03_01
|
7
|
+
#
|
8
|
+
# ApiManagement Client
|
9
|
+
#
|
10
|
+
class IdentityProvider
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the IdentityProvider 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 Identity Provider configured in the specified service
|
26
|
+
# instance.
|
27
|
+
#
|
28
|
+
# @param resource_group_name [String] The name of the resource group.
|
29
|
+
# @param service_name [String] The name of the API Management service.
|
30
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
31
|
+
# will be added to the HTTP request.
|
32
|
+
#
|
33
|
+
# @return [IdentityProviderList] operation results.
|
34
|
+
#
|
35
|
+
def list_by_service(resource_group_name, service_name, custom_headers:nil)
|
36
|
+
response = list_by_service_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
37
|
+
response.body unless response.nil?
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Lists a collection of Identity Provider configured in the specified service
|
42
|
+
# instance.
|
43
|
+
#
|
44
|
+
# @param resource_group_name [String] The name of the resource group.
|
45
|
+
# @param service_name [String] The name of the API Management service.
|
46
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
47
|
+
# will be added to the HTTP request.
|
48
|
+
#
|
49
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
50
|
+
#
|
51
|
+
def list_by_service_with_http_info(resource_group_name, service_name, custom_headers:nil)
|
52
|
+
list_by_service_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Lists a collection of Identity Provider configured in the specified service
|
57
|
+
# instance.
|
58
|
+
#
|
59
|
+
# @param resource_group_name [String] The name of the resource group.
|
60
|
+
# @param service_name [String] The name of the API Management service.
|
61
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
62
|
+
# to the HTTP request.
|
63
|
+
#
|
64
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
65
|
+
#
|
66
|
+
def list_by_service_async(resource_group_name, service_name, custom_headers:nil)
|
67
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
68
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
69
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
70
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
71
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
72
|
+
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?
|
73
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
74
|
+
|
75
|
+
|
76
|
+
request_headers = {}
|
77
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
78
|
+
|
79
|
+
# Set Headers
|
80
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
81
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
82
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders'
|
83
|
+
|
84
|
+
request_url = @base_url || @client.base_url
|
85
|
+
|
86
|
+
options = {
|
87
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
88
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'serviceName' => service_name},
|
89
|
+
query_params: {'api-version' => @client.api_version},
|
90
|
+
headers: request_headers.merge(custom_headers || {}),
|
91
|
+
base_url: request_url
|
92
|
+
}
|
93
|
+
promise = @client.make_request_async(:get, path_template, options)
|
94
|
+
|
95
|
+
promise = promise.then do |result|
|
96
|
+
http_response = result.response
|
97
|
+
status_code = http_response.status
|
98
|
+
response_content = http_response.body
|
99
|
+
unless status_code == 200
|
100
|
+
error_model = JSON.load(response_content)
|
101
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
102
|
+
end
|
103
|
+
|
104
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
105
|
+
# Deserialize Response
|
106
|
+
if status_code == 200
|
107
|
+
begin
|
108
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
109
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2017_03_01::Models::IdentityProviderList.mapper()
|
110
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
111
|
+
rescue Exception => e
|
112
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
result
|
117
|
+
end
|
118
|
+
|
119
|
+
promise.execute
|
120
|
+
end
|
121
|
+
|
122
|
+
#
|
123
|
+
# Gets the entity state (Etag) version of the identityProvider specified by its
|
124
|
+
# identifier.
|
125
|
+
#
|
126
|
+
# @param resource_group_name [String] The name of the resource group.
|
127
|
+
# @param service_name [String] The name of the API Management service.
|
128
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
129
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
130
|
+
# 'twitter', 'aad', 'aadB2C'
|
131
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
132
|
+
# will be added to the HTTP request.
|
133
|
+
#
|
134
|
+
#
|
135
|
+
def get_entity_tag(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
|
136
|
+
response = get_entity_tag_async(resource_group_name, service_name, identity_provider_name, custom_headers:custom_headers).value!
|
137
|
+
nil
|
138
|
+
end
|
139
|
+
|
140
|
+
#
|
141
|
+
# Gets the entity state (Etag) version of the identityProvider specified by its
|
142
|
+
# identifier.
|
143
|
+
#
|
144
|
+
# @param resource_group_name [String] The name of the resource group.
|
145
|
+
# @param service_name [String] The name of the API Management service.
|
146
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
147
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
148
|
+
# 'twitter', 'aad', 'aadB2C'
|
149
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
150
|
+
# will be added to the HTTP request.
|
151
|
+
#
|
152
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
153
|
+
#
|
154
|
+
def get_entity_tag_with_http_info(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
|
155
|
+
get_entity_tag_async(resource_group_name, service_name, identity_provider_name, custom_headers:custom_headers).value!
|
156
|
+
end
|
157
|
+
|
158
|
+
#
|
159
|
+
# Gets the entity state (Etag) version of the identityProvider specified by its
|
160
|
+
# identifier.
|
161
|
+
#
|
162
|
+
# @param resource_group_name [String] The name of the resource group.
|
163
|
+
# @param service_name [String] The name of the API Management service.
|
164
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
165
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
166
|
+
# 'twitter', 'aad', 'aadB2C'
|
167
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
168
|
+
# to the HTTP request.
|
169
|
+
#
|
170
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
171
|
+
#
|
172
|
+
def get_entity_tag_async(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
|
173
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
174
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
175
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
176
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
177
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
178
|
+
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?
|
179
|
+
fail ArgumentError, 'identity_provider_name is nil' if identity_provider_name.nil?
|
180
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
181
|
+
|
182
|
+
|
183
|
+
request_headers = {}
|
184
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
185
|
+
|
186
|
+
# Set Headers
|
187
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
188
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
189
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}'
|
190
|
+
|
191
|
+
request_url = @base_url || @client.base_url
|
192
|
+
|
193
|
+
options = {
|
194
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
195
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'serviceName' => service_name,'identityProviderName' => identity_provider_name},
|
196
|
+
query_params: {'api-version' => @client.api_version},
|
197
|
+
headers: request_headers.merge(custom_headers || {}),
|
198
|
+
base_url: request_url
|
199
|
+
}
|
200
|
+
promise = @client.make_request_async(:head, path_template, options)
|
201
|
+
|
202
|
+
promise = promise.then do |result|
|
203
|
+
http_response = result.response
|
204
|
+
status_code = http_response.status
|
205
|
+
response_content = http_response.body
|
206
|
+
unless status_code == 200
|
207
|
+
error_model = JSON.load(response_content)
|
208
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
209
|
+
end
|
210
|
+
|
211
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
212
|
+
|
213
|
+
result
|
214
|
+
end
|
215
|
+
|
216
|
+
promise.execute
|
217
|
+
end
|
218
|
+
|
219
|
+
#
|
220
|
+
# Gets the configuration details of the identity Provider configured in
|
221
|
+
# specified service instance.
|
222
|
+
#
|
223
|
+
# @param resource_group_name [String] The name of the resource group.
|
224
|
+
# @param service_name [String] The name of the API Management service.
|
225
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
226
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
227
|
+
# 'twitter', 'aad', 'aadB2C'
|
228
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
229
|
+
# will be added to the HTTP request.
|
230
|
+
#
|
231
|
+
# @return [IdentityProviderContract] operation results.
|
232
|
+
#
|
233
|
+
def get(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
|
234
|
+
response = get_async(resource_group_name, service_name, identity_provider_name, custom_headers:custom_headers).value!
|
235
|
+
response.body unless response.nil?
|
236
|
+
end
|
237
|
+
|
238
|
+
#
|
239
|
+
# Gets the configuration details of the identity Provider configured in
|
240
|
+
# specified service instance.
|
241
|
+
#
|
242
|
+
# @param resource_group_name [String] The name of the resource group.
|
243
|
+
# @param service_name [String] The name of the API Management service.
|
244
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
245
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
246
|
+
# 'twitter', 'aad', 'aadB2C'
|
247
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
248
|
+
# will be added to the HTTP request.
|
249
|
+
#
|
250
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
251
|
+
#
|
252
|
+
def get_with_http_info(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
|
253
|
+
get_async(resource_group_name, service_name, identity_provider_name, custom_headers:custom_headers).value!
|
254
|
+
end
|
255
|
+
|
256
|
+
#
|
257
|
+
# Gets the configuration details of the identity Provider configured in
|
258
|
+
# specified service instance.
|
259
|
+
#
|
260
|
+
# @param resource_group_name [String] The name of the resource group.
|
261
|
+
# @param service_name [String] The name of the API Management service.
|
262
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
263
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
264
|
+
# 'twitter', 'aad', 'aadB2C'
|
265
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
266
|
+
# to the HTTP request.
|
267
|
+
#
|
268
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
269
|
+
#
|
270
|
+
def get_async(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
|
271
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
272
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
273
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
274
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
275
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
276
|
+
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?
|
277
|
+
fail ArgumentError, 'identity_provider_name is nil' if identity_provider_name.nil?
|
278
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
279
|
+
|
280
|
+
|
281
|
+
request_headers = {}
|
282
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
283
|
+
|
284
|
+
# Set Headers
|
285
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
286
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
287
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}'
|
288
|
+
|
289
|
+
request_url = @base_url || @client.base_url
|
290
|
+
|
291
|
+
options = {
|
292
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
293
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'serviceName' => service_name,'identityProviderName' => identity_provider_name},
|
294
|
+
query_params: {'api-version' => @client.api_version},
|
295
|
+
headers: request_headers.merge(custom_headers || {}),
|
296
|
+
base_url: request_url
|
297
|
+
}
|
298
|
+
promise = @client.make_request_async(:get, path_template, options)
|
299
|
+
|
300
|
+
promise = promise.then do |result|
|
301
|
+
http_response = result.response
|
302
|
+
status_code = http_response.status
|
303
|
+
response_content = http_response.body
|
304
|
+
unless status_code == 200
|
305
|
+
error_model = JSON.load(response_content)
|
306
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
307
|
+
end
|
308
|
+
|
309
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
310
|
+
# Deserialize Response
|
311
|
+
if status_code == 200
|
312
|
+
begin
|
313
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
314
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2017_03_01::Models::IdentityProviderContract.mapper()
|
315
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
316
|
+
rescue Exception => e
|
317
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
result
|
322
|
+
end
|
323
|
+
|
324
|
+
promise.execute
|
325
|
+
end
|
326
|
+
|
327
|
+
#
|
328
|
+
# Creates or Updates the IdentityProvider configuration.
|
329
|
+
#
|
330
|
+
# @param resource_group_name [String] The name of the resource group.
|
331
|
+
# @param service_name [String] The name of the API Management service.
|
332
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
333
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
334
|
+
# 'twitter', 'aad', 'aadB2C'
|
335
|
+
# @param parameters [IdentityProviderContract] Create parameters.
|
336
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
337
|
+
# will be added to the HTTP request.
|
338
|
+
#
|
339
|
+
# @return [IdentityProviderContract] operation results.
|
340
|
+
#
|
341
|
+
def create_or_update(resource_group_name, service_name, identity_provider_name, parameters, custom_headers:nil)
|
342
|
+
response = create_or_update_async(resource_group_name, service_name, identity_provider_name, parameters, custom_headers:custom_headers).value!
|
343
|
+
response.body unless response.nil?
|
344
|
+
end
|
345
|
+
|
346
|
+
#
|
347
|
+
# Creates or Updates the IdentityProvider configuration.
|
348
|
+
#
|
349
|
+
# @param resource_group_name [String] The name of the resource group.
|
350
|
+
# @param service_name [String] The name of the API Management service.
|
351
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
352
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
353
|
+
# 'twitter', 'aad', 'aadB2C'
|
354
|
+
# @param parameters [IdentityProviderContract] Create parameters.
|
355
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
356
|
+
# will be added to the HTTP request.
|
357
|
+
#
|
358
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
359
|
+
#
|
360
|
+
def create_or_update_with_http_info(resource_group_name, service_name, identity_provider_name, parameters, custom_headers:nil)
|
361
|
+
create_or_update_async(resource_group_name, service_name, identity_provider_name, parameters, custom_headers:custom_headers).value!
|
362
|
+
end
|
363
|
+
|
364
|
+
#
|
365
|
+
# Creates or Updates the IdentityProvider configuration.
|
366
|
+
#
|
367
|
+
# @param resource_group_name [String] The name of the resource group.
|
368
|
+
# @param service_name [String] The name of the API Management service.
|
369
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
370
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
371
|
+
# 'twitter', 'aad', 'aadB2C'
|
372
|
+
# @param parameters [IdentityProviderContract] Create parameters.
|
373
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
374
|
+
# to the HTTP request.
|
375
|
+
#
|
376
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
377
|
+
#
|
378
|
+
def create_or_update_async(resource_group_name, service_name, identity_provider_name, parameters, custom_headers:nil)
|
379
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
380
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
381
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
382
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
383
|
+
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?
|
384
|
+
fail ArgumentError, 'identity_provider_name is nil' if identity_provider_name.nil?
|
385
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
386
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
387
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
388
|
+
|
389
|
+
|
390
|
+
request_headers = {}
|
391
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
392
|
+
|
393
|
+
# Set Headers
|
394
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
395
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
396
|
+
|
397
|
+
# Serialize Request
|
398
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2017_03_01::Models::IdentityProviderContract.mapper()
|
399
|
+
request_content = @client.serialize(request_mapper, parameters)
|
400
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
401
|
+
|
402
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}'
|
403
|
+
|
404
|
+
request_url = @base_url || @client.base_url
|
405
|
+
|
406
|
+
options = {
|
407
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
408
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'identityProviderName' => identity_provider_name,'subscriptionId' => @client.subscription_id},
|
409
|
+
query_params: {'api-version' => @client.api_version},
|
410
|
+
body: request_content,
|
411
|
+
headers: request_headers.merge(custom_headers || {}),
|
412
|
+
base_url: request_url
|
413
|
+
}
|
414
|
+
promise = @client.make_request_async(:put, path_template, options)
|
415
|
+
|
416
|
+
promise = promise.then do |result|
|
417
|
+
http_response = result.response
|
418
|
+
status_code = http_response.status
|
419
|
+
response_content = http_response.body
|
420
|
+
unless status_code == 201 || status_code == 200
|
421
|
+
error_model = JSON.load(response_content)
|
422
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
423
|
+
end
|
424
|
+
|
425
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
426
|
+
# Deserialize Response
|
427
|
+
if status_code == 201
|
428
|
+
begin
|
429
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
430
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2017_03_01::Models::IdentityProviderContract.mapper()
|
431
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
432
|
+
rescue Exception => e
|
433
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
434
|
+
end
|
435
|
+
end
|
436
|
+
# Deserialize Response
|
437
|
+
if status_code == 200
|
438
|
+
begin
|
439
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
440
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2017_03_01::Models::IdentityProviderContract.mapper()
|
441
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
442
|
+
rescue Exception => e
|
443
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
result
|
448
|
+
end
|
449
|
+
|
450
|
+
promise.execute
|
451
|
+
end
|
452
|
+
|
453
|
+
#
|
454
|
+
# Updates an existing IdentityProvider configuration.
|
455
|
+
#
|
456
|
+
# @param resource_group_name [String] The name of the resource group.
|
457
|
+
# @param service_name [String] The name of the API Management service.
|
458
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
459
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
460
|
+
# 'twitter', 'aad', 'aadB2C'
|
461
|
+
# @param parameters [IdentityProviderUpdateParameters] Update parameters.
|
462
|
+
# @param if_match [String] The entity state (Etag) version of the identity
|
463
|
+
# provider configuration to update. A value of "*" can be used for If-Match to
|
464
|
+
# unconditionally apply the operation.
|
465
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
466
|
+
# will be added to the HTTP request.
|
467
|
+
#
|
468
|
+
#
|
469
|
+
def update(resource_group_name, service_name, identity_provider_name, parameters, if_match, custom_headers:nil)
|
470
|
+
response = update_async(resource_group_name, service_name, identity_provider_name, parameters, if_match, custom_headers:custom_headers).value!
|
471
|
+
nil
|
472
|
+
end
|
473
|
+
|
474
|
+
#
|
475
|
+
# Updates an existing IdentityProvider configuration.
|
476
|
+
#
|
477
|
+
# @param resource_group_name [String] The name of the resource group.
|
478
|
+
# @param service_name [String] The name of the API Management service.
|
479
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
480
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
481
|
+
# 'twitter', 'aad', 'aadB2C'
|
482
|
+
# @param parameters [IdentityProviderUpdateParameters] Update parameters.
|
483
|
+
# @param if_match [String] The entity state (Etag) version of the identity
|
484
|
+
# provider configuration to update. A value of "*" can be used for If-Match to
|
485
|
+
# unconditionally apply the operation.
|
486
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
487
|
+
# will be added to the HTTP request.
|
488
|
+
#
|
489
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
490
|
+
#
|
491
|
+
def update_with_http_info(resource_group_name, service_name, identity_provider_name, parameters, if_match, custom_headers:nil)
|
492
|
+
update_async(resource_group_name, service_name, identity_provider_name, parameters, if_match, custom_headers:custom_headers).value!
|
493
|
+
end
|
494
|
+
|
495
|
+
#
|
496
|
+
# Updates an existing IdentityProvider configuration.
|
497
|
+
#
|
498
|
+
# @param resource_group_name [String] The name of the resource group.
|
499
|
+
# @param service_name [String] The name of the API Management service.
|
500
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
501
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
502
|
+
# 'twitter', 'aad', 'aadB2C'
|
503
|
+
# @param parameters [IdentityProviderUpdateParameters] Update parameters.
|
504
|
+
# @param if_match [String] The entity state (Etag) version of the identity
|
505
|
+
# provider configuration to update. A value of "*" can be used for If-Match to
|
506
|
+
# unconditionally apply the operation.
|
507
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
508
|
+
# to the HTTP request.
|
509
|
+
#
|
510
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
511
|
+
#
|
512
|
+
def update_async(resource_group_name, service_name, identity_provider_name, parameters, if_match, custom_headers:nil)
|
513
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
514
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
515
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
516
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
517
|
+
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?
|
518
|
+
fail ArgumentError, 'identity_provider_name is nil' if identity_provider_name.nil?
|
519
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
520
|
+
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
521
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
522
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
523
|
+
|
524
|
+
|
525
|
+
request_headers = {}
|
526
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
527
|
+
|
528
|
+
# Set Headers
|
529
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
530
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
531
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
532
|
+
|
533
|
+
# Serialize Request
|
534
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2017_03_01::Models::IdentityProviderUpdateParameters.mapper()
|
535
|
+
request_content = @client.serialize(request_mapper, parameters)
|
536
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
537
|
+
|
538
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}'
|
539
|
+
|
540
|
+
request_url = @base_url || @client.base_url
|
541
|
+
|
542
|
+
options = {
|
543
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
544
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'identityProviderName' => identity_provider_name,'subscriptionId' => @client.subscription_id},
|
545
|
+
query_params: {'api-version' => @client.api_version},
|
546
|
+
body: request_content,
|
547
|
+
headers: request_headers.merge(custom_headers || {}),
|
548
|
+
base_url: request_url
|
549
|
+
}
|
550
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
551
|
+
|
552
|
+
promise = promise.then do |result|
|
553
|
+
http_response = result.response
|
554
|
+
status_code = http_response.status
|
555
|
+
response_content = http_response.body
|
556
|
+
unless status_code == 204
|
557
|
+
error_model = JSON.load(response_content)
|
558
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
559
|
+
end
|
560
|
+
|
561
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
562
|
+
|
563
|
+
result
|
564
|
+
end
|
565
|
+
|
566
|
+
promise.execute
|
567
|
+
end
|
568
|
+
|
569
|
+
#
|
570
|
+
# Deletes the specified identity provider configuration.
|
571
|
+
#
|
572
|
+
# @param resource_group_name [String] The name of the resource group.
|
573
|
+
# @param service_name [String] The name of the API Management service.
|
574
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
575
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
576
|
+
# 'twitter', 'aad', 'aadB2C'
|
577
|
+
# @param if_match [String] The entity state (Etag) version of the backend to
|
578
|
+
# delete. A value of "*" can be used for If-Match to unconditionally apply the
|
579
|
+
# operation.
|
580
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
581
|
+
# will be added to the HTTP request.
|
582
|
+
#
|
583
|
+
#
|
584
|
+
def delete(resource_group_name, service_name, identity_provider_name, if_match, custom_headers:nil)
|
585
|
+
response = delete_async(resource_group_name, service_name, identity_provider_name, if_match, custom_headers:custom_headers).value!
|
586
|
+
nil
|
587
|
+
end
|
588
|
+
|
589
|
+
#
|
590
|
+
# Deletes the specified identity provider configuration.
|
591
|
+
#
|
592
|
+
# @param resource_group_name [String] The name of the resource group.
|
593
|
+
# @param service_name [String] The name of the API Management service.
|
594
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
595
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
596
|
+
# 'twitter', 'aad', 'aadB2C'
|
597
|
+
# @param if_match [String] The entity state (Etag) version of the backend to
|
598
|
+
# delete. A value of "*" can be used for If-Match to unconditionally apply the
|
599
|
+
# operation.
|
600
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
601
|
+
# will be added to the HTTP request.
|
602
|
+
#
|
603
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
604
|
+
#
|
605
|
+
def delete_with_http_info(resource_group_name, service_name, identity_provider_name, if_match, custom_headers:nil)
|
606
|
+
delete_async(resource_group_name, service_name, identity_provider_name, if_match, custom_headers:custom_headers).value!
|
607
|
+
end
|
608
|
+
|
609
|
+
#
|
610
|
+
# Deletes the specified identity provider configuration.
|
611
|
+
#
|
612
|
+
# @param resource_group_name [String] The name of the resource group.
|
613
|
+
# @param service_name [String] The name of the API Management service.
|
614
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
615
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
616
|
+
# 'twitter', 'aad', 'aadB2C'
|
617
|
+
# @param if_match [String] The entity state (Etag) version of the backend to
|
618
|
+
# delete. A value of "*" can be used for If-Match to unconditionally apply the
|
619
|
+
# operation.
|
620
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
621
|
+
# to the HTTP request.
|
622
|
+
#
|
623
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
624
|
+
#
|
625
|
+
def delete_async(resource_group_name, service_name, identity_provider_name, if_match, custom_headers:nil)
|
626
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
627
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
628
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
629
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
630
|
+
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?
|
631
|
+
fail ArgumentError, 'identity_provider_name is nil' if identity_provider_name.nil?
|
632
|
+
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
633
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
634
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
635
|
+
|
636
|
+
|
637
|
+
request_headers = {}
|
638
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
639
|
+
|
640
|
+
# Set Headers
|
641
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
642
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
643
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
644
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}'
|
645
|
+
|
646
|
+
request_url = @base_url || @client.base_url
|
647
|
+
|
648
|
+
options = {
|
649
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
650
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'identityProviderName' => identity_provider_name,'subscriptionId' => @client.subscription_id},
|
651
|
+
query_params: {'api-version' => @client.api_version},
|
652
|
+
headers: request_headers.merge(custom_headers || {}),
|
653
|
+
base_url: request_url
|
654
|
+
}
|
655
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
656
|
+
|
657
|
+
promise = promise.then do |result|
|
658
|
+
http_response = result.response
|
659
|
+
status_code = http_response.status
|
660
|
+
response_content = http_response.body
|
661
|
+
unless status_code == 204
|
662
|
+
error_model = JSON.load(response_content)
|
663
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
664
|
+
end
|
665
|
+
|
666
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
667
|
+
|
668
|
+
result
|
669
|
+
end
|
670
|
+
|
671
|
+
promise.execute
|
672
|
+
end
|
673
|
+
|
674
|
+
end
|
675
|
+
end
|