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,807 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
7
|
+
#
|
8
|
+
# ApiManagement Client
|
9
|
+
#
|
10
|
+
class OpenIdConnectProvider
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the OpenIdConnectProvider class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [ApiManagementClient] reference to the ApiManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Lists all OpenID Connect Providers.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param service_name [String] The name of the API Management service.
|
29
|
+
# @param filter [String] | Field | Supported operators | Supported functions
|
30
|
+
# |
|
31
|
+
# |-------|------------------------|---------------------------------------------|
|
32
|
+
# | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
33
|
+
# endswith |
|
34
|
+
# | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
35
|
+
# endswith |
|
36
|
+
# @param top [Integer] Number of records to return.
|
37
|
+
# @param skip [Integer] Number of records to skip.
|
38
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
39
|
+
# will be added to the HTTP request.
|
40
|
+
#
|
41
|
+
# @return [Array<OpenidConnectProviderContract>] operation results.
|
42
|
+
#
|
43
|
+
def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
44
|
+
first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
|
45
|
+
first_page.get_all_items
|
46
|
+
end
|
47
|
+
|
48
|
+
#
|
49
|
+
# Lists all OpenID Connect Providers.
|
50
|
+
#
|
51
|
+
# @param resource_group_name [String] The name of the resource group.
|
52
|
+
# @param service_name [String] The name of the API Management service.
|
53
|
+
# @param filter [String] | Field | Supported operators | Supported functions
|
54
|
+
# |
|
55
|
+
# |-------|------------------------|---------------------------------------------|
|
56
|
+
# | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
57
|
+
# endswith |
|
58
|
+
# | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
59
|
+
# endswith |
|
60
|
+
# @param top [Integer] Number of records to return.
|
61
|
+
# @param skip [Integer] Number of records to skip.
|
62
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
63
|
+
# will be added to the HTTP request.
|
64
|
+
#
|
65
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
66
|
+
#
|
67
|
+
def list_by_service_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
68
|
+
list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
69
|
+
end
|
70
|
+
|
71
|
+
#
|
72
|
+
# Lists all OpenID Connect Providers.
|
73
|
+
#
|
74
|
+
# @param resource_group_name [String] The name of the resource group.
|
75
|
+
# @param service_name [String] The name of the API Management service.
|
76
|
+
# @param filter [String] | Field | Supported operators | Supported functions
|
77
|
+
# |
|
78
|
+
# |-------|------------------------|---------------------------------------------|
|
79
|
+
# | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
80
|
+
# endswith |
|
81
|
+
# | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
82
|
+
# endswith |
|
83
|
+
# @param top [Integer] Number of records to return.
|
84
|
+
# @param skip [Integer] Number of records to skip.
|
85
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
86
|
+
# to the HTTP request.
|
87
|
+
#
|
88
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
89
|
+
#
|
90
|
+
def list_by_service_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
91
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
92
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
93
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
94
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
95
|
+
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?
|
96
|
+
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
97
|
+
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
98
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
99
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
100
|
+
|
101
|
+
|
102
|
+
request_headers = {}
|
103
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
104
|
+
|
105
|
+
# Set Headers
|
106
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
107
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
108
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders'
|
109
|
+
|
110
|
+
request_url = @base_url || @client.base_url
|
111
|
+
|
112
|
+
options = {
|
113
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
114
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
115
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
116
|
+
headers: request_headers.merge(custom_headers || {}),
|
117
|
+
base_url: request_url
|
118
|
+
}
|
119
|
+
promise = @client.make_request_async(:get, path_template, options)
|
120
|
+
|
121
|
+
promise = promise.then do |result|
|
122
|
+
http_response = result.response
|
123
|
+
status_code = http_response.status
|
124
|
+
response_content = http_response.body
|
125
|
+
unless status_code == 200
|
126
|
+
error_model = JSON.load(response_content)
|
127
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
128
|
+
end
|
129
|
+
|
130
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
131
|
+
# Deserialize Response
|
132
|
+
if status_code == 200
|
133
|
+
begin
|
134
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
135
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenIdConnectProviderCollection.mapper()
|
136
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
137
|
+
rescue Exception => e
|
138
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
142
|
+
result
|
143
|
+
end
|
144
|
+
|
145
|
+
promise.execute
|
146
|
+
end
|
147
|
+
|
148
|
+
#
|
149
|
+
# Gets the entity state (Etag) version of the openIdConnectProvider specified
|
150
|
+
# by its identifier.
|
151
|
+
#
|
152
|
+
# @param resource_group_name [String] The name of the resource group.
|
153
|
+
# @param service_name [String] The name of the API Management service.
|
154
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
155
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
156
|
+
# will be added to the HTTP request.
|
157
|
+
#
|
158
|
+
#
|
159
|
+
def get_entity_tag(resource_group_name, service_name, opid, custom_headers:nil)
|
160
|
+
response = get_entity_tag_async(resource_group_name, service_name, opid, custom_headers:custom_headers).value!
|
161
|
+
nil
|
162
|
+
end
|
163
|
+
|
164
|
+
#
|
165
|
+
# Gets the entity state (Etag) version of the openIdConnectProvider specified
|
166
|
+
# by its identifier.
|
167
|
+
#
|
168
|
+
# @param resource_group_name [String] The name of the resource group.
|
169
|
+
# @param service_name [String] The name of the API Management service.
|
170
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
171
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
172
|
+
# will be added to the HTTP request.
|
173
|
+
#
|
174
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
175
|
+
#
|
176
|
+
def get_entity_tag_with_http_info(resource_group_name, service_name, opid, custom_headers:nil)
|
177
|
+
get_entity_tag_async(resource_group_name, service_name, opid, custom_headers:custom_headers).value!
|
178
|
+
end
|
179
|
+
|
180
|
+
#
|
181
|
+
# Gets the entity state (Etag) version of the openIdConnectProvider specified
|
182
|
+
# by its identifier.
|
183
|
+
#
|
184
|
+
# @param resource_group_name [String] The name of the resource group.
|
185
|
+
# @param service_name [String] The name of the API Management service.
|
186
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
187
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
188
|
+
# to the HTTP request.
|
189
|
+
#
|
190
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
191
|
+
#
|
192
|
+
def get_entity_tag_async(resource_group_name, service_name, opid, custom_headers:nil)
|
193
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
194
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
195
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
196
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
197
|
+
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?
|
198
|
+
fail ArgumentError, 'opid is nil' if opid.nil?
|
199
|
+
fail ArgumentError, "'opid' should satisfy the constraint - 'MaxLength': '256'" if !opid.nil? && opid.length > 256
|
200
|
+
fail ArgumentError, "'opid' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !opid.nil? && opid.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
201
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
202
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
203
|
+
|
204
|
+
|
205
|
+
request_headers = {}
|
206
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
207
|
+
|
208
|
+
# Set Headers
|
209
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
210
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
211
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}'
|
212
|
+
|
213
|
+
request_url = @base_url || @client.base_url
|
214
|
+
|
215
|
+
options = {
|
216
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
217
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'opid' => opid,'subscriptionId' => @client.subscription_id},
|
218
|
+
query_params: {'api-version' => @client.api_version},
|
219
|
+
headers: request_headers.merge(custom_headers || {}),
|
220
|
+
base_url: request_url
|
221
|
+
}
|
222
|
+
promise = @client.make_request_async(:head, path_template, options)
|
223
|
+
|
224
|
+
promise = promise.then do |result|
|
225
|
+
http_response = result.response
|
226
|
+
status_code = http_response.status
|
227
|
+
response_content = http_response.body
|
228
|
+
unless status_code == 200
|
229
|
+
error_model = JSON.load(response_content)
|
230
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
231
|
+
end
|
232
|
+
|
233
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
234
|
+
|
235
|
+
result
|
236
|
+
end
|
237
|
+
|
238
|
+
promise.execute
|
239
|
+
end
|
240
|
+
|
241
|
+
#
|
242
|
+
# Gets specific OpenID Connect Provider.
|
243
|
+
#
|
244
|
+
# @param resource_group_name [String] The name of the resource group.
|
245
|
+
# @param service_name [String] The name of the API Management service.
|
246
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
247
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
248
|
+
# will be added to the HTTP request.
|
249
|
+
#
|
250
|
+
# @return [OpenidConnectProviderContract] operation results.
|
251
|
+
#
|
252
|
+
def get(resource_group_name, service_name, opid, custom_headers:nil)
|
253
|
+
response = get_async(resource_group_name, service_name, opid, custom_headers:custom_headers).value!
|
254
|
+
response.body unless response.nil?
|
255
|
+
end
|
256
|
+
|
257
|
+
#
|
258
|
+
# Gets specific OpenID Connect Provider.
|
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 opid [String] Identifier of the OpenID Connect Provider.
|
263
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
264
|
+
# will be added to the HTTP request.
|
265
|
+
#
|
266
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
267
|
+
#
|
268
|
+
def get_with_http_info(resource_group_name, service_name, opid, custom_headers:nil)
|
269
|
+
get_async(resource_group_name, service_name, opid, custom_headers:custom_headers).value!
|
270
|
+
end
|
271
|
+
|
272
|
+
#
|
273
|
+
# Gets specific OpenID Connect Provider.
|
274
|
+
#
|
275
|
+
# @param resource_group_name [String] The name of the resource group.
|
276
|
+
# @param service_name [String] The name of the API Management service.
|
277
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
278
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
279
|
+
# to the HTTP request.
|
280
|
+
#
|
281
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
282
|
+
#
|
283
|
+
def get_async(resource_group_name, service_name, opid, custom_headers:nil)
|
284
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
285
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
286
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
287
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
288
|
+
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?
|
289
|
+
fail ArgumentError, 'opid is nil' if opid.nil?
|
290
|
+
fail ArgumentError, "'opid' should satisfy the constraint - 'MaxLength': '256'" if !opid.nil? && opid.length > 256
|
291
|
+
fail ArgumentError, "'opid' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !opid.nil? && opid.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
292
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
293
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
294
|
+
|
295
|
+
|
296
|
+
request_headers = {}
|
297
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
298
|
+
|
299
|
+
# Set Headers
|
300
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
301
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
302
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}'
|
303
|
+
|
304
|
+
request_url = @base_url || @client.base_url
|
305
|
+
|
306
|
+
options = {
|
307
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
308
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'opid' => opid,'subscriptionId' => @client.subscription_id},
|
309
|
+
query_params: {'api-version' => @client.api_version},
|
310
|
+
headers: request_headers.merge(custom_headers || {}),
|
311
|
+
base_url: request_url
|
312
|
+
}
|
313
|
+
promise = @client.make_request_async(:get, path_template, options)
|
314
|
+
|
315
|
+
promise = promise.then do |result|
|
316
|
+
http_response = result.response
|
317
|
+
status_code = http_response.status
|
318
|
+
response_content = http_response.body
|
319
|
+
unless status_code == 200
|
320
|
+
error_model = JSON.load(response_content)
|
321
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
322
|
+
end
|
323
|
+
|
324
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
325
|
+
# Deserialize Response
|
326
|
+
if status_code == 200
|
327
|
+
begin
|
328
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
329
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderContract.mapper()
|
330
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
331
|
+
rescue Exception => e
|
332
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
result
|
337
|
+
end
|
338
|
+
|
339
|
+
promise.execute
|
340
|
+
end
|
341
|
+
|
342
|
+
#
|
343
|
+
# Creates or updates the OpenID Connect Provider.
|
344
|
+
#
|
345
|
+
# @param resource_group_name [String] The name of the resource group.
|
346
|
+
# @param service_name [String] The name of the API Management service.
|
347
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
348
|
+
# @param parameters [OpenidConnectProviderContract] Create parameters.
|
349
|
+
# @param if_match [String] ETag of the Entity. Not required when creating an
|
350
|
+
# entity, but required when updating an entity.
|
351
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
352
|
+
# will be added to the HTTP request.
|
353
|
+
#
|
354
|
+
# @return [OpenidConnectProviderContract] operation results.
|
355
|
+
#
|
356
|
+
def create_or_update(resource_group_name, service_name, opid, parameters, if_match:nil, custom_headers:nil)
|
357
|
+
response = create_or_update_async(resource_group_name, service_name, opid, parameters, if_match:if_match, custom_headers:custom_headers).value!
|
358
|
+
response.body unless response.nil?
|
359
|
+
end
|
360
|
+
|
361
|
+
#
|
362
|
+
# Creates or updates the OpenID Connect Provider.
|
363
|
+
#
|
364
|
+
# @param resource_group_name [String] The name of the resource group.
|
365
|
+
# @param service_name [String] The name of the API Management service.
|
366
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
367
|
+
# @param parameters [OpenidConnectProviderContract] Create parameters.
|
368
|
+
# @param if_match [String] ETag of the Entity. Not required when creating an
|
369
|
+
# entity, but required when updating an entity.
|
370
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
371
|
+
# will be added to the HTTP request.
|
372
|
+
#
|
373
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
374
|
+
#
|
375
|
+
def create_or_update_with_http_info(resource_group_name, service_name, opid, parameters, if_match:nil, custom_headers:nil)
|
376
|
+
create_or_update_async(resource_group_name, service_name, opid, parameters, if_match:if_match, custom_headers:custom_headers).value!
|
377
|
+
end
|
378
|
+
|
379
|
+
#
|
380
|
+
# Creates or updates the OpenID Connect Provider.
|
381
|
+
#
|
382
|
+
# @param resource_group_name [String] The name of the resource group.
|
383
|
+
# @param service_name [String] The name of the API Management service.
|
384
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
385
|
+
# @param parameters [OpenidConnectProviderContract] Create parameters.
|
386
|
+
# @param if_match [String] ETag of the Entity. Not required when creating an
|
387
|
+
# entity, but required when updating an entity.
|
388
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
389
|
+
# to the HTTP request.
|
390
|
+
#
|
391
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
392
|
+
#
|
393
|
+
def create_or_update_async(resource_group_name, service_name, opid, parameters, if_match:nil, custom_headers:nil)
|
394
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
395
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
396
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
397
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
398
|
+
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?
|
399
|
+
fail ArgumentError, 'opid is nil' if opid.nil?
|
400
|
+
fail ArgumentError, "'opid' should satisfy the constraint - 'MaxLength': '256'" if !opid.nil? && opid.length > 256
|
401
|
+
fail ArgumentError, "'opid' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !opid.nil? && opid.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
402
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
403
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
404
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
405
|
+
|
406
|
+
|
407
|
+
request_headers = {}
|
408
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
409
|
+
|
410
|
+
# Set Headers
|
411
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
412
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
413
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
414
|
+
|
415
|
+
# Serialize Request
|
416
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderContract.mapper()
|
417
|
+
request_content = @client.serialize(request_mapper, parameters)
|
418
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
419
|
+
|
420
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}'
|
421
|
+
|
422
|
+
request_url = @base_url || @client.base_url
|
423
|
+
|
424
|
+
options = {
|
425
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
426
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'opid' => opid,'subscriptionId' => @client.subscription_id},
|
427
|
+
query_params: {'api-version' => @client.api_version},
|
428
|
+
body: request_content,
|
429
|
+
headers: request_headers.merge(custom_headers || {}),
|
430
|
+
base_url: request_url
|
431
|
+
}
|
432
|
+
promise = @client.make_request_async(:put, path_template, options)
|
433
|
+
|
434
|
+
promise = promise.then do |result|
|
435
|
+
http_response = result.response
|
436
|
+
status_code = http_response.status
|
437
|
+
response_content = http_response.body
|
438
|
+
unless status_code == 201 || status_code == 200
|
439
|
+
error_model = JSON.load(response_content)
|
440
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
441
|
+
end
|
442
|
+
|
443
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
444
|
+
# Deserialize Response
|
445
|
+
if status_code == 201
|
446
|
+
begin
|
447
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
448
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderContract.mapper()
|
449
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
450
|
+
rescue Exception => e
|
451
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
452
|
+
end
|
453
|
+
end
|
454
|
+
# Deserialize Response
|
455
|
+
if status_code == 200
|
456
|
+
begin
|
457
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
458
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderContract.mapper()
|
459
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
460
|
+
rescue Exception => e
|
461
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
465
|
+
result
|
466
|
+
end
|
467
|
+
|
468
|
+
promise.execute
|
469
|
+
end
|
470
|
+
|
471
|
+
#
|
472
|
+
# Updates the specific OpenID Connect Provider.
|
473
|
+
#
|
474
|
+
# @param resource_group_name [String] The name of the resource group.
|
475
|
+
# @param service_name [String] The name of the API Management service.
|
476
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
477
|
+
# @param parameters [OpenidConnectProviderUpdateContract] Update parameters.
|
478
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
479
|
+
# entity state from the header response of the GET request or it should be *
|
480
|
+
# for unconditional update.
|
481
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
482
|
+
# will be added to the HTTP request.
|
483
|
+
#
|
484
|
+
#
|
485
|
+
def update(resource_group_name, service_name, opid, parameters, if_match, custom_headers:nil)
|
486
|
+
response = update_async(resource_group_name, service_name, opid, parameters, if_match, custom_headers:custom_headers).value!
|
487
|
+
nil
|
488
|
+
end
|
489
|
+
|
490
|
+
#
|
491
|
+
# Updates the specific OpenID Connect Provider.
|
492
|
+
#
|
493
|
+
# @param resource_group_name [String] The name of the resource group.
|
494
|
+
# @param service_name [String] The name of the API Management service.
|
495
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
496
|
+
# @param parameters [OpenidConnectProviderUpdateContract] Update parameters.
|
497
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
498
|
+
# entity state from the header response of the GET request or it should be *
|
499
|
+
# for unconditional update.
|
500
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
501
|
+
# will be added to the HTTP request.
|
502
|
+
#
|
503
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
504
|
+
#
|
505
|
+
def update_with_http_info(resource_group_name, service_name, opid, parameters, if_match, custom_headers:nil)
|
506
|
+
update_async(resource_group_name, service_name, opid, parameters, if_match, custom_headers:custom_headers).value!
|
507
|
+
end
|
508
|
+
|
509
|
+
#
|
510
|
+
# Updates the specific OpenID Connect Provider.
|
511
|
+
#
|
512
|
+
# @param resource_group_name [String] The name of the resource group.
|
513
|
+
# @param service_name [String] The name of the API Management service.
|
514
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
515
|
+
# @param parameters [OpenidConnectProviderUpdateContract] Update parameters.
|
516
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
517
|
+
# entity state from the header response of the GET request or it should be *
|
518
|
+
# for unconditional update.
|
519
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
520
|
+
# to the HTTP request.
|
521
|
+
#
|
522
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
523
|
+
#
|
524
|
+
def update_async(resource_group_name, service_name, opid, parameters, if_match, custom_headers:nil)
|
525
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
526
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
527
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
528
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
529
|
+
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?
|
530
|
+
fail ArgumentError, 'opid is nil' if opid.nil?
|
531
|
+
fail ArgumentError, "'opid' should satisfy the constraint - 'MaxLength': '256'" if !opid.nil? && opid.length > 256
|
532
|
+
fail ArgumentError, "'opid' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !opid.nil? && opid.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
533
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
534
|
+
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
535
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
536
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
537
|
+
|
538
|
+
|
539
|
+
request_headers = {}
|
540
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
541
|
+
|
542
|
+
# Set Headers
|
543
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
544
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
545
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
546
|
+
|
547
|
+
# Serialize Request
|
548
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenidConnectProviderUpdateContract.mapper()
|
549
|
+
request_content = @client.serialize(request_mapper, parameters)
|
550
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
551
|
+
|
552
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}'
|
553
|
+
|
554
|
+
request_url = @base_url || @client.base_url
|
555
|
+
|
556
|
+
options = {
|
557
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
558
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'opid' => opid,'subscriptionId' => @client.subscription_id},
|
559
|
+
query_params: {'api-version' => @client.api_version},
|
560
|
+
body: request_content,
|
561
|
+
headers: request_headers.merge(custom_headers || {}),
|
562
|
+
base_url: request_url
|
563
|
+
}
|
564
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
565
|
+
|
566
|
+
promise = promise.then do |result|
|
567
|
+
http_response = result.response
|
568
|
+
status_code = http_response.status
|
569
|
+
response_content = http_response.body
|
570
|
+
unless status_code == 204
|
571
|
+
error_model = JSON.load(response_content)
|
572
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
573
|
+
end
|
574
|
+
|
575
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
576
|
+
|
577
|
+
result
|
578
|
+
end
|
579
|
+
|
580
|
+
promise.execute
|
581
|
+
end
|
582
|
+
|
583
|
+
#
|
584
|
+
# Deletes specific OpenID Connect Provider of the API Management service
|
585
|
+
# instance.
|
586
|
+
#
|
587
|
+
# @param resource_group_name [String] The name of the resource group.
|
588
|
+
# @param service_name [String] The name of the API Management service.
|
589
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
590
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
591
|
+
# entity state from the header response of the GET request or it should be *
|
592
|
+
# for unconditional update.
|
593
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
594
|
+
# will be added to the HTTP request.
|
595
|
+
#
|
596
|
+
#
|
597
|
+
def delete(resource_group_name, service_name, opid, if_match, custom_headers:nil)
|
598
|
+
response = delete_async(resource_group_name, service_name, opid, if_match, custom_headers:custom_headers).value!
|
599
|
+
nil
|
600
|
+
end
|
601
|
+
|
602
|
+
#
|
603
|
+
# Deletes specific OpenID Connect Provider of the API Management service
|
604
|
+
# instance.
|
605
|
+
#
|
606
|
+
# @param resource_group_name [String] The name of the resource group.
|
607
|
+
# @param service_name [String] The name of the API Management service.
|
608
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
609
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
610
|
+
# entity state from the header response of the GET request or it should be *
|
611
|
+
# for unconditional update.
|
612
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
613
|
+
# will be added to the HTTP request.
|
614
|
+
#
|
615
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
616
|
+
#
|
617
|
+
def delete_with_http_info(resource_group_name, service_name, opid, if_match, custom_headers:nil)
|
618
|
+
delete_async(resource_group_name, service_name, opid, if_match, custom_headers:custom_headers).value!
|
619
|
+
end
|
620
|
+
|
621
|
+
#
|
622
|
+
# Deletes specific OpenID Connect Provider of the API Management service
|
623
|
+
# instance.
|
624
|
+
#
|
625
|
+
# @param resource_group_name [String] The name of the resource group.
|
626
|
+
# @param service_name [String] The name of the API Management service.
|
627
|
+
# @param opid [String] Identifier of the OpenID Connect Provider.
|
628
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
629
|
+
# entity state from the header response of the GET request or it should be *
|
630
|
+
# for unconditional update.
|
631
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
632
|
+
# to the HTTP request.
|
633
|
+
#
|
634
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
635
|
+
#
|
636
|
+
def delete_async(resource_group_name, service_name, opid, if_match, custom_headers:nil)
|
637
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
638
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
639
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
640
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
641
|
+
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?
|
642
|
+
fail ArgumentError, 'opid is nil' if opid.nil?
|
643
|
+
fail ArgumentError, "'opid' should satisfy the constraint - 'MaxLength': '256'" if !opid.nil? && opid.length > 256
|
644
|
+
fail ArgumentError, "'opid' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !opid.nil? && opid.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
645
|
+
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
646
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
647
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
648
|
+
|
649
|
+
|
650
|
+
request_headers = {}
|
651
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
652
|
+
|
653
|
+
# Set Headers
|
654
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
655
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
656
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
657
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}'
|
658
|
+
|
659
|
+
request_url = @base_url || @client.base_url
|
660
|
+
|
661
|
+
options = {
|
662
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
663
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'opid' => opid,'subscriptionId' => @client.subscription_id},
|
664
|
+
query_params: {'api-version' => @client.api_version},
|
665
|
+
headers: request_headers.merge(custom_headers || {}),
|
666
|
+
base_url: request_url
|
667
|
+
}
|
668
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
669
|
+
|
670
|
+
promise = promise.then do |result|
|
671
|
+
http_response = result.response
|
672
|
+
status_code = http_response.status
|
673
|
+
response_content = http_response.body
|
674
|
+
unless status_code == 200 || status_code == 204
|
675
|
+
error_model = JSON.load(response_content)
|
676
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
677
|
+
end
|
678
|
+
|
679
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
680
|
+
|
681
|
+
result
|
682
|
+
end
|
683
|
+
|
684
|
+
promise.execute
|
685
|
+
end
|
686
|
+
|
687
|
+
#
|
688
|
+
# Lists all OpenID Connect Providers.
|
689
|
+
#
|
690
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
691
|
+
# to List operation.
|
692
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
693
|
+
# will be added to the HTTP request.
|
694
|
+
#
|
695
|
+
# @return [OpenIdConnectProviderCollection] operation results.
|
696
|
+
#
|
697
|
+
def list_by_service_next(next_page_link, custom_headers:nil)
|
698
|
+
response = list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
|
699
|
+
response.body unless response.nil?
|
700
|
+
end
|
701
|
+
|
702
|
+
#
|
703
|
+
# Lists all OpenID Connect Providers.
|
704
|
+
#
|
705
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
706
|
+
# to List operation.
|
707
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
708
|
+
# will be added to the HTTP request.
|
709
|
+
#
|
710
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
711
|
+
#
|
712
|
+
def list_by_service_next_with_http_info(next_page_link, custom_headers:nil)
|
713
|
+
list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
|
714
|
+
end
|
715
|
+
|
716
|
+
#
|
717
|
+
# Lists all OpenID Connect Providers.
|
718
|
+
#
|
719
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
720
|
+
# to List operation.
|
721
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
722
|
+
# to the HTTP request.
|
723
|
+
#
|
724
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
725
|
+
#
|
726
|
+
def list_by_service_next_async(next_page_link, custom_headers:nil)
|
727
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
728
|
+
|
729
|
+
|
730
|
+
request_headers = {}
|
731
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
732
|
+
|
733
|
+
# Set Headers
|
734
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
735
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
736
|
+
path_template = '{nextLink}'
|
737
|
+
|
738
|
+
request_url = @base_url || @client.base_url
|
739
|
+
|
740
|
+
options = {
|
741
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
742
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
743
|
+
headers: request_headers.merge(custom_headers || {}),
|
744
|
+
base_url: request_url
|
745
|
+
}
|
746
|
+
promise = @client.make_request_async(:get, path_template, options)
|
747
|
+
|
748
|
+
promise = promise.then do |result|
|
749
|
+
http_response = result.response
|
750
|
+
status_code = http_response.status
|
751
|
+
response_content = http_response.body
|
752
|
+
unless status_code == 200
|
753
|
+
error_model = JSON.load(response_content)
|
754
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
755
|
+
end
|
756
|
+
|
757
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
758
|
+
# Deserialize Response
|
759
|
+
if status_code == 200
|
760
|
+
begin
|
761
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
762
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::OpenIdConnectProviderCollection.mapper()
|
763
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
764
|
+
rescue Exception => e
|
765
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
result
|
770
|
+
end
|
771
|
+
|
772
|
+
promise.execute
|
773
|
+
end
|
774
|
+
|
775
|
+
#
|
776
|
+
# Lists all OpenID Connect Providers.
|
777
|
+
#
|
778
|
+
# @param resource_group_name [String] The name of the resource group.
|
779
|
+
# @param service_name [String] The name of the API Management service.
|
780
|
+
# @param filter [String] | Field | Supported operators | Supported functions
|
781
|
+
# |
|
782
|
+
# |-------|------------------------|---------------------------------------------|
|
783
|
+
# | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
784
|
+
# endswith |
|
785
|
+
# | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
786
|
+
# endswith |
|
787
|
+
# @param top [Integer] Number of records to return.
|
788
|
+
# @param skip [Integer] Number of records to skip.
|
789
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
790
|
+
# will be added to the HTTP request.
|
791
|
+
#
|
792
|
+
# @return [OpenIdConnectProviderCollection] which provide lazy access to pages
|
793
|
+
# of the response.
|
794
|
+
#
|
795
|
+
def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
796
|
+
response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
797
|
+
unless response.nil?
|
798
|
+
page = response.body
|
799
|
+
page.next_method = Proc.new do |next_page_link|
|
800
|
+
list_by_service_next_async(next_page_link, custom_headers:custom_headers)
|
801
|
+
end
|
802
|
+
page
|
803
|
+
end
|
804
|
+
end
|
805
|
+
|
806
|
+
end
|
807
|
+
end
|