azure_mgmt_api_management 0.18.1 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_services.rb +30 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_operations.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_products.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/apis.rb +14 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/authorization_servers.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/backends.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/certificates.rb +10 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/group_users.rb +8 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/groups.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/identity_providers.rb +10 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/loggers.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_base_parameters.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/property_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/report_record_contract.rb +2 -2
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_collection.rb +2 -2
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/open_id_connect_providers.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/product_apis.rb +8 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/product_groups.rb +8 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/products.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/property.rb +15 -3
- data/lib/2016-07-07/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/regions.rb +2 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/reports.rb +8 -4
- data/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb +19 -3
- data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_configuration.rb +6 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_configuration_sync_state.rb +2 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/user_groups.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/user_identities.rb +2 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/user_subscriptions.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/users.rb +14 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_export.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_services.rb +32 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_operations.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_operations_policy.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_policy.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_products.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/apis.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/authorization_servers.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/backends.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/certificates.rb +10 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/group_users.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/groups.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/identity_providers.rb +10 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/loggers.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/property_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/network_status.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/open_id_connect_providers.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/product_apis.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/product_groups.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/product_policy.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/products.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/properties.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/property.rb +11 -3
- data/lib/2016-10-10/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/regions.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/reports.rb +8 -4
- data/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb +19 -3
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_configuration.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_configuration_sync_state.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_policy.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/user_groups.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/user_identities.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/user_subscriptions.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/users.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +20 -10
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_export.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_attachment.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_comment.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +6 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachments.rb +11 -7
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comment.rb +6 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comments.rb +11 -7
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issues.rb +11 -7
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_service.rb +41 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation_policy.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_policy.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_product.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_release.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_revisions.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_schema.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_version_set.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/authorization_server.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/backend.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/certificate.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/delegation_settings.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +20 -10
- data/lib/2017-03-01/generated/azure_mgmt_api_management/email_template.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/group.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/group_user.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/identity_provider.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/logger.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_sampling_contract.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/notification_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/property_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/schema_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/network_status.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/operation_operations.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/policy.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_api.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_group.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_policy.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/property.rb +17 -3
- data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/regions.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/reports.rb +41 -11
- data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_in_settings.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_up_settings.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/subscription.rb +21 -3
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag.rb +50 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_description.rb +15 -3
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_resource.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_group.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_identities.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_subscription.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management.rb +303 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api.rb +1162 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +888 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +659 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_export.rb +149 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb +901 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +826 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +823 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb +369 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +226 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service.rb +1944 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation.rb +919 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +649 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_policy.rb +599 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_product.rb +276 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_release.rb +907 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_revisions.rb +284 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_schema.rb +750 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_version_set.rb +878 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/authorization_server.rb +833 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/backend.rb +947 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/certificate.rb +742 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +424 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic.rb +826 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +624 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/email_template.rb +910 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/group.rb +853 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/group_user.rb +667 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb +810 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/logger.rb +833 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +80 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +48 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/additional_location.rb +131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_contract.rb +288 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +222 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +313 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +179 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +322 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +442 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +60 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +77 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +431 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +72 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +221 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +249 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +96 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +75 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/content_format.rb +20 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/current_user_identity.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +74 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/export_format.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +88 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +88 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +138 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +71 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +191 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +164 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_contract.rb +121 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +85 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/schema_contract.rb +87 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/sku_type.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +244 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +128 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +146 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +153 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/network_status.rb +258 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification.rb +477 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +482 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +503 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +821 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/operation_operations.rb +320 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/policy.rb +536 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/policy_snippets.rb +128 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product.rb +876 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_api.rb +664 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_group.rb +653 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_policy.rb +581 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +316 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb +818 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +266 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +265 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/regions.rb +234 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb +1720 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +424 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +424 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb +1088 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag.rb +3131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb +799 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_resource.rb +360 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access.rb +409 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +297 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +615 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user.rb +1214 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_group.rb +291 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_identities.rb +246 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_subscription.rb +316 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management.rb +161 -144
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api.rb +296 -207
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_diagnostic.rb +40 -18
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_export.rb +5 -3
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue.rb +214 -62
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +62 -45
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +62 -45
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +41 -25
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service.rb +139 -56
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation.rb +75 -29
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation_policy.rb +16 -6
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_policy.rb +10 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_product.rb +33 -21
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_release.rb +83 -58
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_revisions.rb +9 -5
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_schema.rb +74 -18
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_version_set.rb +60 -94
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/authorization_server.rb +53 -35
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/backend.rb +154 -130
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/cache.rb +809 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/certificate.rb +60 -48
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/delegation_settings.rb +24 -9
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/diagnostic.rb +34 -12
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/email_template.rb +48 -10
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group.rb +66 -52
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group_user.rb +126 -128
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/identity_provider.rb +20 -6
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/issue.rb +410 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/logger.rb +127 -94
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +8 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +13 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_release_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_revision_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +8 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +27 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_configuration.rb +1 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/content_format.rb +3 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/current_user_identity.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +15 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/export_format.rb +1 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract_properties.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_create_parameters.rb +3 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_update_parameters.rb +3 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_list.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +27 -27
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/notification_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/property_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/region_list_result.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/schema_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/sku_type.rb +1 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_contract.rb +22 -12
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +21 -10
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +20 -8
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_description_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +1 -12
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_contract.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_create_parameters.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_identity_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_update_parameters.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/network_status.rb +4 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification.rb +13 -5
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_email.rb +10 -4
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_user.rb +52 -46
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/open_id_connect_provider.rb +55 -37
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/operation_operations.rb +76 -64
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy.rb +29 -18
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb +3 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product.rb +366 -69
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_api.rb +64 -60
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_group.rb +54 -58
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_policy.rb +29 -19
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_subscriptions.rb +86 -62
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/property.rb +65 -43
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +6 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_period_keys.rb +6 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/region.rb +234 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/reports.rb +41 -11
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_in_settings.rb +24 -9
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_up_settings.rb +24 -9
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/subscription.rb +115 -77
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag.rb +715 -716
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_description.rb +50 -34
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_resource.rb +106 -114
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access.rb +105 -10
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user.rb +192 -174
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_confirmation_password.rb +121 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_group.rb +57 -49
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_identities.rb +28 -24
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_subscription.rb +93 -77
- data/lib/2019-01-01/generated/azure_mgmt_api_management.rb +313 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api.rb +1221 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +886 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_export.rb +149 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue.rb +896 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +818 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +815 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_client.rb +373 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +226 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service.rb +1691 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation.rb +930 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +650 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_policy.rb +605 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_product.rb +275 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_release.rb +904 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_revision.rb +275 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_schema.rb +789 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_tag_description.rb +795 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_version_set.rb +822 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/authorization_server.rb +829 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/backend.rb +941 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/cache.rb +809 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/certificate.rb +730 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +431 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/diagnostic.rb +830 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/email_template.rb +941 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/group.rb +836 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/group_user.rb +636 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/identity_provider.rb +810 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/issue.rb +390 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/logger.rb +840 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +79 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/additional_location.rb +131 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_contract.rb +310 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +240 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +335 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +190 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb +72 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_export_result_value.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +361 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +481 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +470 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +228 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +260 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +107 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +75 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/content_format.rb +23 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +136 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/export_format.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/export_result_format.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +89 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +89 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +137 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb +19 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +143 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +203 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +176 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_contract.rb +133 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_export_format.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_contract.rb +90 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_create_or_update_contract.rb +91 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sku_type.rb +19 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +254 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +139 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +158 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +153 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/network_status.rb +258 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/notification.rb +477 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +482 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +500 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +817 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/operation_operations.rb +308 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/policy.rb +543 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/policy_snippet.rb +128 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product.rb +1126 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_api.rb +642 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_group.rb +620 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_policy.rb +582 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +307 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/property.rb +814 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +266 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +265 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/region.rb +234 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/reports.rb +2129 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +431 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +431 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/subscription.rb +1080 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tag.rb +3038 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tag_resource.rb +320 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access.rb +496 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +297 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +615 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user.rb +1090 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +120 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_group.rb +282 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_identities.rb +245 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_subscription.rb +303 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management.rb +338 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api.rb +1221 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_diagnostic.rb +886 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_export.rb +149 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_issue.rb +896 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +818 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_issue_comment.rb +815 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_client.rb +385 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_operations.rb +226 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_service.rb +1691 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_operation.rb +930 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_operation_policy.rb +650 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_policy.rb +605 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_product.rb +275 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_release.rb +904 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_revision.rb +275 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_schema.rb +844 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_tag_description.rb +795 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_version_set.rb +822 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/authorization_server.rb +933 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/backend.rb +941 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/cache.rb +809 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/certificate.rb +730 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/delegation_settings.rb +528 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/diagnostic.rb +830 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/email_template.rb +941 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway.rb +1134 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway_api.rb +600 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway_hostname_configuration.rb +720 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/group.rb +836 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/group_user.rb +636 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/identity_provider.rb +917 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/issue.rb +390 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/logger.rb +840 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +81 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/additional_location.rb +145 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_contract.rb +310 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +240 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +336 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +190 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_export_result.rb +72 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_export_result_value.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +404 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +524 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +513 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +228 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +260 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_constraint.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +107 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/apim_identity_type.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/app_type.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/association_contract.rb +75 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +310 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +199 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +310 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/client_secret_contract.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/content_format.rb +24 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +160 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/export_format.rb +19 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/export_result_format.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_contract.rb +88 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_hostname_configuration_collection.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_hostname_configuration_contract.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_key_regeneration_request_contract.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_keys_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_token_contract.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_token_request_contract.rb +64 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +89 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +89 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +137 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/hostname_type.rb +19 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/http_correlation_protocol.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +155 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +216 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_create_contract.rb +216 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +188 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/logger_contract.rb +133 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_contract.rb +132 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_create_contract.rb +132 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_entity_base_parameters.rb +70 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_update_parameters.rb +103 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_description_collection.rb +67 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_description_contract.rb +86 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_export_format.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_setting_validation_key_contract.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/property_value_contract.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/provisioning_state.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_location_data_contract.rb +93 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/schema_contract.rb +103 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sku_type.rb +19 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +258 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +139 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_keys_contract.rb +65 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +158 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +125 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +166 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_properties.rb +58 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/verbosity.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/named_value.rb +1030 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/network_status.rb +258 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/notification.rb +477 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +482 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +500 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +920 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/operation_operations.rb +308 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/policy.rb +543 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/policy_description.rb +128 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/product.rb +1126 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/product_api.rb +642 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/product_group.rb +620 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/product_policy.rb +582 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/product_subscriptions.rb +307 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +266 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +265 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/region.rb +234 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/reports.rb +2129 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/sign_in_settings.rb +431 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/sign_up_settings.rb +431 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/subscription.rb +1186 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/tag.rb +3038 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/tag_resource.rb +320 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_access.rb +594 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_access_git.rb +395 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_configuration.rb +615 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/user.rb +1090 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +120 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/user_group.rb +282 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/user_identities.rb +245 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/user_subscription.rb +303 -0
- data/lib/azure_mgmt_api_management.rb +4 -2
- data/lib/profiles/latest/modules/apimanagement_profile_module.rb +806 -652
- data/lib/version.rb +1 -1
- metadata +905 -274
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management.rb +0 -292
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api.rb +0 -1144
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_diagnostic.rb +0 -874
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +0 -649
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_export.rb +0 -147
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue.rb +0 -762
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +0 -814
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +0 -811
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +0 -365
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_operations.rb +0 -222
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_service.rb +0 -1914
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_operation.rb +0 -905
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_operation_policy.rb +0 -639
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_policy.rb +0 -589
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_product.rb +0 -272
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_release.rb +0 -893
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_revisions.rb +0 -280
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_schema.rb +0 -738
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_version_set.rb +0 -864
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/authorization_server.rb +0 -819
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/backend.rb +0 -931
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/certificate.rb +0 -730
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/delegation_settings.rb +0 -416
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/diagnostic.rb +0 -812
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/diagnostic_logger.rb +0 -614
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/email_template.rb +0 -896
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/group.rb +0 -839
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/group_user.rb +0 -657
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/identity_provider.rb +0 -796
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/logger.rb +0 -819
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/access_information_contract.rb +0 -80
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +0 -48
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/additional_location.rb +0 -131
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +0 -288
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +0 -222
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +0 -313
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +0 -179
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_export_result.rb +0 -47
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +0 -49
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +0 -84
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +0 -322
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +0 -47
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +0 -47
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +0 -73
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +0 -81
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +0 -442
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +0 -60
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +0 -77
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +0 -431
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +0 -72
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_release_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_release_contract.rb +0 -110
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_revision_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_revision_contract.rb +0 -145
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +0 -88
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +0 -221
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_type.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +0 -249
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +0 -133
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +0 -96
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +0 -78
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +0 -106
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/apim_resource.rb +0 -91
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/async_operation_status.rb +0 -18
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +0 -48
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_method.rb +0 -22
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +0 -309
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +0 -211
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +0 -309
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +0 -65
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +0 -131
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_contract.rb +0 -185
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +0 -124
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_properties.rb +0 -48
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_protocol.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +0 -74
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +0 -74
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +0 -119
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +0 -63
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +0 -158
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_configuration.rb +0 -85
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_contract.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +0 -58
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_information.rb +0 -70
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/client_authentication_method.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/confirmation.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +0 -107
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +0 -17
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/content_format.rb +0 -20
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +0 -59
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +0 -74
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/email_template_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/email_template_contract.rb +0 -147
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +0 -83
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +0 -107
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_field_contract.rb +0 -68
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_response.rb +0 -79
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_response_body.rb +0 -79
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/export_format.rb +0 -17
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +0 -46
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/grant_type.rb +0 -18
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_contract.rb +0 -131
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_contract_properties.rb +0 -104
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_create_parameters.rb +0 -88
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_type.rb +0 -17
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_update_parameters.rb +0 -88
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration.rb +0 -139
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +0 -71
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/hostname_type.rb +0 -18
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +0 -131
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +0 -191
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_list.rb +0 -99
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_type.rb +0 -20
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +0 -164
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +0 -97
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +0 -96
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +0 -130
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/key_type.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/logger_collection.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/logger_contract.rb +0 -121
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/logger_type.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/logger_update_contract.rb +0 -89
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/name_availability_reason.rb +0 -17
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/network_status_contract.rb +0 -75
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +0 -61
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/notification_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/notification_contract.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/notification_name.rb +0 -21
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +0 -122
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +0 -95
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation.rb +0 -80
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_contract.rb +0 -185
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_display.rb +0 -80
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +0 -114
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_list_result.rb +0 -101
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_result_contract.rb +0 -134
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +0 -69
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +0 -134
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_update_contract.rb +0 -158
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/parameter_contract.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_collection.rb +0 -66
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_content_format.rb +0 -18
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_contract.rb +0 -87
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +0 -19
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +0 -83
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +0 -55
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +0 -111
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +0 -73
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +0 -86
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_contract.rb +0 -167
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +0 -125
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_state.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +0 -115
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_update_parameters.rb +0 -140
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_contract.rb +0 -130
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +0 -70
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_update_parameters.rb +0 -103
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/protocol.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +0 -77
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +0 -104
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +0 -66
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +0 -73
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +0 -66
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +0 -73
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +0 -73
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/region_contract.rb +0 -69
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/region_list_result.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +0 -46
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/report_collection.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb +0 -338
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/representation_contract.rb +0 -106
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/request_contract.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/request_report_collection.rb +0 -66
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +0 -245
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/resource.rb +0 -80
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/response_contract.rb +0 -99
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +0 -60
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/schema_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/schema_contract.rb +0 -87
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/sku_type.rb +0 -18
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/soap_api_type.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/state.rb +0 -19
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_contract.rb +0 -244
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +0 -128
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_state.rb +0 -20
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +0 -146
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +0 -47
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_contract.rb +0 -77
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +0 -50
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_description_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_description_contract.rb +0 -114
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +0 -72
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +0 -86
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +0 -61
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/template_name.rb +0 -28
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +0 -121
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +0 -68
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_contract.rb +0 -179
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_create_parameters.rb +0 -154
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +0 -83
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_identity_collection.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_identity_contract.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_state.rb +0 -18
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_token_parameters.rb +0 -64
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_token_result.rb +0 -46
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_update_parameters.rb +0 -140
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/versioning_scheme.rb +0 -17
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +0 -76
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/virtual_network_type.rb +0 -17
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/x509certificate_name.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/module_definition.rb +0 -9
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/network_status.rb +0 -254
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/notification.rb +0 -469
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/notification_recipient_email.rb +0 -474
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/notification_recipient_user.rb +0 -495
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/open_id_connect_provider.rb +0 -807
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/operation_operations.rb +0 -316
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/policy.rb +0 -526
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb +0 -126
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product.rb +0 -862
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_api.rb +0 -654
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_group.rb +0 -643
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_policy.rb +0 -571
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_subscriptions.rb +0 -312
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/property.rb +0 -804
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +0 -262
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/quota_by_period_keys.rb +0 -261
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/regions.rb +0 -230
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/reports.rb +0 -1690
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/sign_in_settings.rb +0 -416
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/sign_up_settings.rb +0 -416
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/subscription.rb +0 -1070
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tag.rb +0 -3081
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tag_description.rb +0 -787
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tag_resource.rb +0 -356
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access.rb +0 -401
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +0 -291
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tenant_configuration.rb +0 -607
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/user.rb +0 -1099
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/user_group.rb +0 -287
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/user_identities.rb +0 -242
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/user_subscription.rb +0 -312
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/regions.rb +0 -230
@@ -0,0 +1,1944 @@
|
|
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_01_01
|
7
|
+
#
|
8
|
+
# ApiManagement Client
|
9
|
+
#
|
10
|
+
class ApiManagementService
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the ApiManagementService 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
|
+
# Restores a backup of an API Management service created using the
|
26
|
+
# ApiManagementService_Backup operation on the current service. This is a long
|
27
|
+
# running operation and could take several minutes to complete.
|
28
|
+
#
|
29
|
+
# @param resource_group_name [String] The name of the resource group.
|
30
|
+
# @param service_name [String] The name of the API Management service.
|
31
|
+
# @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
|
32
|
+
# supplied to the Restore API Management service from backup operation.
|
33
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
34
|
+
# will be added to the HTTP request.
|
35
|
+
#
|
36
|
+
# @return [ApiManagementServiceResource] operation results.
|
37
|
+
#
|
38
|
+
def restore(resource_group_name, service_name, parameters, custom_headers:nil)
|
39
|
+
response = restore_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
40
|
+
response.body unless response.nil?
|
41
|
+
end
|
42
|
+
|
43
|
+
#
|
44
|
+
# @param resource_group_name [String] The name of the resource group.
|
45
|
+
# @param service_name [String] The name of the API Management service.
|
46
|
+
# @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
|
47
|
+
# supplied to the Restore API Management service from backup operation.
|
48
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
|
+
# will be added to the HTTP request.
|
50
|
+
#
|
51
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
52
|
+
# response.
|
53
|
+
#
|
54
|
+
def restore_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
55
|
+
# Send request
|
56
|
+
promise = begin_restore_async(resource_group_name, service_name, parameters, custom_headers:custom_headers)
|
57
|
+
|
58
|
+
promise = promise.then do |response|
|
59
|
+
# Defining deserialization method.
|
60
|
+
deserialize_method = lambda do |parsed_response|
|
61
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
62
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
63
|
+
end
|
64
|
+
|
65
|
+
# Waiting for response.
|
66
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
67
|
+
end
|
68
|
+
|
69
|
+
promise
|
70
|
+
end
|
71
|
+
|
72
|
+
#
|
73
|
+
# Creates a backup of the API Management service to the given Azure Storage
|
74
|
+
# Account. This is long running operation and could take several minutes to
|
75
|
+
# complete.
|
76
|
+
#
|
77
|
+
# @param resource_group_name [String] The name of the resource group.
|
78
|
+
# @param service_name [String] The name of the API Management service.
|
79
|
+
# @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
|
80
|
+
# supplied to the ApiManagementService_Backup operation.
|
81
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
82
|
+
# will be added to the HTTP request.
|
83
|
+
#
|
84
|
+
# @return [ApiManagementServiceResource] operation results.
|
85
|
+
#
|
86
|
+
def backup(resource_group_name, service_name, parameters, custom_headers:nil)
|
87
|
+
response = backup_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
88
|
+
response.body unless response.nil?
|
89
|
+
end
|
90
|
+
|
91
|
+
#
|
92
|
+
# @param resource_group_name [String] The name of the resource group.
|
93
|
+
# @param service_name [String] The name of the API Management service.
|
94
|
+
# @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
|
95
|
+
# supplied to the ApiManagementService_Backup operation.
|
96
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
97
|
+
# will be added to the HTTP request.
|
98
|
+
#
|
99
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
100
|
+
# response.
|
101
|
+
#
|
102
|
+
def backup_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
103
|
+
# Send request
|
104
|
+
promise = begin_backup_async(resource_group_name, service_name, parameters, custom_headers:custom_headers)
|
105
|
+
|
106
|
+
promise = promise.then do |response|
|
107
|
+
# Defining deserialization method.
|
108
|
+
deserialize_method = lambda do |parsed_response|
|
109
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
110
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
111
|
+
end
|
112
|
+
|
113
|
+
# Waiting for response.
|
114
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
115
|
+
end
|
116
|
+
|
117
|
+
promise
|
118
|
+
end
|
119
|
+
|
120
|
+
#
|
121
|
+
# Creates or updates an API Management service. This is long running operation
|
122
|
+
# and could take several minutes to complete.
|
123
|
+
#
|
124
|
+
# @param resource_group_name [String] The name of the resource group.
|
125
|
+
# @param service_name [String] The name of the API Management service.
|
126
|
+
# @param parameters [ApiManagementServiceResource] Parameters supplied to the
|
127
|
+
# CreateOrUpdate API Management service operation.
|
128
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
129
|
+
# will be added to the HTTP request.
|
130
|
+
#
|
131
|
+
# @return [ApiManagementServiceResource] operation results.
|
132
|
+
#
|
133
|
+
def create_or_update(resource_group_name, service_name, parameters, custom_headers:nil)
|
134
|
+
response = create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
135
|
+
response.body unless response.nil?
|
136
|
+
end
|
137
|
+
|
138
|
+
#
|
139
|
+
# @param resource_group_name [String] The name of the resource group.
|
140
|
+
# @param service_name [String] The name of the API Management service.
|
141
|
+
# @param parameters [ApiManagementServiceResource] Parameters supplied to the
|
142
|
+
# CreateOrUpdate API Management service operation.
|
143
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
144
|
+
# will be added to the HTTP request.
|
145
|
+
#
|
146
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
147
|
+
# response.
|
148
|
+
#
|
149
|
+
def create_or_update_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
150
|
+
# Send request
|
151
|
+
promise = begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers)
|
152
|
+
|
153
|
+
promise = promise.then do |response|
|
154
|
+
# Defining deserialization method.
|
155
|
+
deserialize_method = lambda do |parsed_response|
|
156
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
157
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
158
|
+
end
|
159
|
+
|
160
|
+
# Waiting for response.
|
161
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
162
|
+
end
|
163
|
+
|
164
|
+
promise
|
165
|
+
end
|
166
|
+
|
167
|
+
#
|
168
|
+
# Updates an existing API Management service.
|
169
|
+
#
|
170
|
+
# @param resource_group_name [String] The name of the resource group.
|
171
|
+
# @param service_name [String] The name of the API Management service.
|
172
|
+
# @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
|
173
|
+
# to the CreateOrUpdate API Management service operation.
|
174
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
175
|
+
# will be added to the HTTP request.
|
176
|
+
#
|
177
|
+
# @return [ApiManagementServiceResource] operation results.
|
178
|
+
#
|
179
|
+
def update(resource_group_name, service_name, parameters, custom_headers:nil)
|
180
|
+
response = update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
181
|
+
response.body unless response.nil?
|
182
|
+
end
|
183
|
+
|
184
|
+
#
|
185
|
+
# @param resource_group_name [String] The name of the resource group.
|
186
|
+
# @param service_name [String] The name of the API Management service.
|
187
|
+
# @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
|
188
|
+
# to the CreateOrUpdate API Management service operation.
|
189
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
190
|
+
# will be added to the HTTP request.
|
191
|
+
#
|
192
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
193
|
+
# response.
|
194
|
+
#
|
195
|
+
def update_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
196
|
+
# Send request
|
197
|
+
promise = begin_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers)
|
198
|
+
|
199
|
+
promise = promise.then do |response|
|
200
|
+
# Defining deserialization method.
|
201
|
+
deserialize_method = lambda do |parsed_response|
|
202
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
203
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
204
|
+
end
|
205
|
+
|
206
|
+
# Waiting for response.
|
207
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
208
|
+
end
|
209
|
+
|
210
|
+
promise
|
211
|
+
end
|
212
|
+
|
213
|
+
#
|
214
|
+
# Gets an API Management service resource description.
|
215
|
+
#
|
216
|
+
# @param resource_group_name [String] The name of the resource group.
|
217
|
+
# @param service_name [String] The name of the API Management service.
|
218
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
219
|
+
# will be added to the HTTP request.
|
220
|
+
#
|
221
|
+
# @return [ApiManagementServiceResource] operation results.
|
222
|
+
#
|
223
|
+
def get(resource_group_name, service_name, custom_headers:nil)
|
224
|
+
response = get_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
225
|
+
response.body unless response.nil?
|
226
|
+
end
|
227
|
+
|
228
|
+
#
|
229
|
+
# Gets an API Management service resource description.
|
230
|
+
#
|
231
|
+
# @param resource_group_name [String] The name of the resource group.
|
232
|
+
# @param service_name [String] The name of the API Management service.
|
233
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
234
|
+
# will be added to the HTTP request.
|
235
|
+
#
|
236
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
237
|
+
#
|
238
|
+
def get_with_http_info(resource_group_name, service_name, custom_headers:nil)
|
239
|
+
get_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
240
|
+
end
|
241
|
+
|
242
|
+
#
|
243
|
+
# Gets an API Management service resource description.
|
244
|
+
#
|
245
|
+
# @param resource_group_name [String] The name of the resource group.
|
246
|
+
# @param service_name [String] The name of the API Management service.
|
247
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
248
|
+
# to the HTTP request.
|
249
|
+
#
|
250
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
251
|
+
#
|
252
|
+
def get_async(resource_group_name, service_name, custom_headers:nil)
|
253
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
254
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
255
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
256
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
257
|
+
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?
|
258
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
259
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
260
|
+
|
261
|
+
|
262
|
+
request_headers = {}
|
263
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
264
|
+
|
265
|
+
# Set Headers
|
266
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
267
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
268
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
|
269
|
+
|
270
|
+
request_url = @base_url || @client.base_url
|
271
|
+
|
272
|
+
options = {
|
273
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
274
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
275
|
+
query_params: {'api-version' => @client.api_version},
|
276
|
+
headers: request_headers.merge(custom_headers || {}),
|
277
|
+
base_url: request_url
|
278
|
+
}
|
279
|
+
promise = @client.make_request_async(:get, path_template, options)
|
280
|
+
|
281
|
+
promise = promise.then do |result|
|
282
|
+
http_response = result.response
|
283
|
+
status_code = http_response.status
|
284
|
+
response_content = http_response.body
|
285
|
+
unless status_code == 200
|
286
|
+
error_model = JSON.load(response_content)
|
287
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
288
|
+
end
|
289
|
+
|
290
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
291
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
292
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
293
|
+
# Deserialize Response
|
294
|
+
if status_code == 200
|
295
|
+
begin
|
296
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
297
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
298
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
299
|
+
rescue Exception => e
|
300
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
304
|
+
result
|
305
|
+
end
|
306
|
+
|
307
|
+
promise.execute
|
308
|
+
end
|
309
|
+
|
310
|
+
#
|
311
|
+
# Deletes an existing API Management service.
|
312
|
+
#
|
313
|
+
# @param resource_group_name [String] The name of the resource group.
|
314
|
+
# @param service_name [String] The name of the API Management service.
|
315
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
316
|
+
# will be added to the HTTP request.
|
317
|
+
#
|
318
|
+
#
|
319
|
+
def delete(resource_group_name, service_name, custom_headers:nil)
|
320
|
+
response = delete_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
321
|
+
nil
|
322
|
+
end
|
323
|
+
|
324
|
+
#
|
325
|
+
# Deletes an existing API Management service.
|
326
|
+
#
|
327
|
+
# @param resource_group_name [String] The name of the resource group.
|
328
|
+
# @param service_name [String] The name of the API Management service.
|
329
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
330
|
+
# will be added to the HTTP request.
|
331
|
+
#
|
332
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
333
|
+
#
|
334
|
+
def delete_with_http_info(resource_group_name, service_name, custom_headers:nil)
|
335
|
+
delete_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
336
|
+
end
|
337
|
+
|
338
|
+
#
|
339
|
+
# Deletes an existing API Management service.
|
340
|
+
#
|
341
|
+
# @param resource_group_name [String] The name of the resource group.
|
342
|
+
# @param service_name [String] The name of the API Management service.
|
343
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
344
|
+
# to the HTTP request.
|
345
|
+
#
|
346
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
347
|
+
#
|
348
|
+
def delete_async(resource_group_name, service_name, custom_headers:nil)
|
349
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
350
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
351
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
352
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
353
|
+
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?
|
354
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
355
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
356
|
+
|
357
|
+
|
358
|
+
request_headers = {}
|
359
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
360
|
+
|
361
|
+
# Set Headers
|
362
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
363
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
364
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
|
365
|
+
|
366
|
+
request_url = @base_url || @client.base_url
|
367
|
+
|
368
|
+
options = {
|
369
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
370
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
371
|
+
query_params: {'api-version' => @client.api_version},
|
372
|
+
headers: request_headers.merge(custom_headers || {}),
|
373
|
+
base_url: request_url
|
374
|
+
}
|
375
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
376
|
+
|
377
|
+
promise = promise.then do |result|
|
378
|
+
http_response = result.response
|
379
|
+
status_code = http_response.status
|
380
|
+
response_content = http_response.body
|
381
|
+
unless status_code == 200 || status_code == 204
|
382
|
+
error_model = JSON.load(response_content)
|
383
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
384
|
+
end
|
385
|
+
|
386
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
387
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
388
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
389
|
+
|
390
|
+
result
|
391
|
+
end
|
392
|
+
|
393
|
+
promise.execute
|
394
|
+
end
|
395
|
+
|
396
|
+
#
|
397
|
+
# List all API Management services within a resource group.
|
398
|
+
#
|
399
|
+
# @param resource_group_name [String] The name of the resource group.
|
400
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
401
|
+
# will be added to the HTTP request.
|
402
|
+
#
|
403
|
+
# @return [Array<ApiManagementServiceResource>] operation results.
|
404
|
+
#
|
405
|
+
def list_by_resource_group(resource_group_name, custom_headers:nil)
|
406
|
+
first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers)
|
407
|
+
first_page.get_all_items
|
408
|
+
end
|
409
|
+
|
410
|
+
#
|
411
|
+
# List all API Management services within a resource group.
|
412
|
+
#
|
413
|
+
# @param resource_group_name [String] The name of the resource group.
|
414
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
415
|
+
# will be added to the HTTP request.
|
416
|
+
#
|
417
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
418
|
+
#
|
419
|
+
def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil)
|
420
|
+
list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
421
|
+
end
|
422
|
+
|
423
|
+
#
|
424
|
+
# List all API Management services within a resource group.
|
425
|
+
#
|
426
|
+
# @param resource_group_name [String] The name of the resource group.
|
427
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
428
|
+
# to the HTTP request.
|
429
|
+
#
|
430
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
431
|
+
#
|
432
|
+
def list_by_resource_group_async(resource_group_name, custom_headers:nil)
|
433
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
434
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
435
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
436
|
+
|
437
|
+
|
438
|
+
request_headers = {}
|
439
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
440
|
+
|
441
|
+
# Set Headers
|
442
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
443
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
444
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service'
|
445
|
+
|
446
|
+
request_url = @base_url || @client.base_url
|
447
|
+
|
448
|
+
options = {
|
449
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
450
|
+
path_params: {'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
|
451
|
+
query_params: {'api-version' => @client.api_version},
|
452
|
+
headers: request_headers.merge(custom_headers || {}),
|
453
|
+
base_url: request_url
|
454
|
+
}
|
455
|
+
promise = @client.make_request_async(:get, path_template, options)
|
456
|
+
|
457
|
+
promise = promise.then do |result|
|
458
|
+
http_response = result.response
|
459
|
+
status_code = http_response.status
|
460
|
+
response_content = http_response.body
|
461
|
+
unless status_code == 200
|
462
|
+
error_model = JSON.load(response_content)
|
463
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
464
|
+
end
|
465
|
+
|
466
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
467
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
468
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
469
|
+
# Deserialize Response
|
470
|
+
if status_code == 200
|
471
|
+
begin
|
472
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
473
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceListResult.mapper()
|
474
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
475
|
+
rescue Exception => e
|
476
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
result
|
481
|
+
end
|
482
|
+
|
483
|
+
promise.execute
|
484
|
+
end
|
485
|
+
|
486
|
+
#
|
487
|
+
# Lists all API Management services within an Azure subscription.
|
488
|
+
#
|
489
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
490
|
+
# will be added to the HTTP request.
|
491
|
+
#
|
492
|
+
# @return [Array<ApiManagementServiceResource>] operation results.
|
493
|
+
#
|
494
|
+
def list(custom_headers:nil)
|
495
|
+
first_page = list_as_lazy(custom_headers:custom_headers)
|
496
|
+
first_page.get_all_items
|
497
|
+
end
|
498
|
+
|
499
|
+
#
|
500
|
+
# Lists all API Management services within an Azure subscription.
|
501
|
+
#
|
502
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
503
|
+
# will be added to the HTTP request.
|
504
|
+
#
|
505
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
506
|
+
#
|
507
|
+
def list_with_http_info(custom_headers:nil)
|
508
|
+
list_async(custom_headers:custom_headers).value!
|
509
|
+
end
|
510
|
+
|
511
|
+
#
|
512
|
+
# Lists all API Management services within an Azure subscription.
|
513
|
+
#
|
514
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
515
|
+
# to the HTTP request.
|
516
|
+
#
|
517
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
518
|
+
#
|
519
|
+
def list_async(custom_headers:nil)
|
520
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
521
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
522
|
+
|
523
|
+
|
524
|
+
request_headers = {}
|
525
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
526
|
+
|
527
|
+
# Set Headers
|
528
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
529
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
530
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/service'
|
531
|
+
|
532
|
+
request_url = @base_url || @client.base_url
|
533
|
+
|
534
|
+
options = {
|
535
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
536
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
537
|
+
query_params: {'api-version' => @client.api_version},
|
538
|
+
headers: request_headers.merge(custom_headers || {}),
|
539
|
+
base_url: request_url
|
540
|
+
}
|
541
|
+
promise = @client.make_request_async(:get, path_template, options)
|
542
|
+
|
543
|
+
promise = promise.then do |result|
|
544
|
+
http_response = result.response
|
545
|
+
status_code = http_response.status
|
546
|
+
response_content = http_response.body
|
547
|
+
unless status_code == 200
|
548
|
+
error_model = JSON.load(response_content)
|
549
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
550
|
+
end
|
551
|
+
|
552
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
553
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
554
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
555
|
+
# Deserialize Response
|
556
|
+
if status_code == 200
|
557
|
+
begin
|
558
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
559
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceListResult.mapper()
|
560
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
561
|
+
rescue Exception => e
|
562
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
566
|
+
result
|
567
|
+
end
|
568
|
+
|
569
|
+
promise.execute
|
570
|
+
end
|
571
|
+
|
572
|
+
#
|
573
|
+
# Gets the Single-Sign-On token for the API Management Service which is valid
|
574
|
+
# for 5 Minutes.
|
575
|
+
#
|
576
|
+
# @param resource_group_name [String] The name of the resource group.
|
577
|
+
# @param service_name [String] The name of the API Management service.
|
578
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
579
|
+
# will be added to the HTTP request.
|
580
|
+
#
|
581
|
+
# @return [ApiManagementServiceGetSsoTokenResult] operation results.
|
582
|
+
#
|
583
|
+
def get_sso_token(resource_group_name, service_name, custom_headers:nil)
|
584
|
+
response = get_sso_token_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
585
|
+
response.body unless response.nil?
|
586
|
+
end
|
587
|
+
|
588
|
+
#
|
589
|
+
# Gets the Single-Sign-On token for the API Management Service which is valid
|
590
|
+
# for 5 Minutes.
|
591
|
+
#
|
592
|
+
# @param resource_group_name [String] The name of the resource group.
|
593
|
+
# @param service_name [String] The name of the API Management service.
|
594
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
595
|
+
# will be added to the HTTP request.
|
596
|
+
#
|
597
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
598
|
+
#
|
599
|
+
def get_sso_token_with_http_info(resource_group_name, service_name, custom_headers:nil)
|
600
|
+
get_sso_token_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
601
|
+
end
|
602
|
+
|
603
|
+
#
|
604
|
+
# Gets the Single-Sign-On token for the API Management Service which is valid
|
605
|
+
# for 5 Minutes.
|
606
|
+
#
|
607
|
+
# @param resource_group_name [String] The name of the resource group.
|
608
|
+
# @param service_name [String] The name of the API Management service.
|
609
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
610
|
+
# to the HTTP request.
|
611
|
+
#
|
612
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
613
|
+
#
|
614
|
+
def get_sso_token_async(resource_group_name, service_name, custom_headers:nil)
|
615
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
616
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
617
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
618
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
619
|
+
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?
|
620
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
621
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
622
|
+
|
623
|
+
|
624
|
+
request_headers = {}
|
625
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
626
|
+
|
627
|
+
# Set Headers
|
628
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
629
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
630
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/getssotoken'
|
631
|
+
|
632
|
+
request_url = @base_url || @client.base_url
|
633
|
+
|
634
|
+
options = {
|
635
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
636
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
637
|
+
query_params: {'api-version' => @client.api_version},
|
638
|
+
headers: request_headers.merge(custom_headers || {}),
|
639
|
+
base_url: request_url
|
640
|
+
}
|
641
|
+
promise = @client.make_request_async(:post, path_template, options)
|
642
|
+
|
643
|
+
promise = promise.then do |result|
|
644
|
+
http_response = result.response
|
645
|
+
status_code = http_response.status
|
646
|
+
response_content = http_response.body
|
647
|
+
unless status_code == 200
|
648
|
+
error_model = JSON.load(response_content)
|
649
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
650
|
+
end
|
651
|
+
|
652
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
653
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
654
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
655
|
+
# Deserialize Response
|
656
|
+
if status_code == 200
|
657
|
+
begin
|
658
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
659
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceGetSsoTokenResult.mapper()
|
660
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
661
|
+
rescue Exception => e
|
662
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
666
|
+
result
|
667
|
+
end
|
668
|
+
|
669
|
+
promise.execute
|
670
|
+
end
|
671
|
+
|
672
|
+
#
|
673
|
+
# Checks availability and correctness of a name for an API Management service.
|
674
|
+
#
|
675
|
+
# @param parameters [ApiManagementServiceCheckNameAvailabilityParameters]
|
676
|
+
# Parameters supplied to the CheckNameAvailability operation.
|
677
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
678
|
+
# will be added to the HTTP request.
|
679
|
+
#
|
680
|
+
# @return [ApiManagementServiceNameAvailabilityResult] operation results.
|
681
|
+
#
|
682
|
+
def check_name_availability(parameters, custom_headers:nil)
|
683
|
+
response = check_name_availability_async(parameters, custom_headers:custom_headers).value!
|
684
|
+
response.body unless response.nil?
|
685
|
+
end
|
686
|
+
|
687
|
+
#
|
688
|
+
# Checks availability and correctness of a name for an API Management service.
|
689
|
+
#
|
690
|
+
# @param parameters [ApiManagementServiceCheckNameAvailabilityParameters]
|
691
|
+
# Parameters supplied to the CheckNameAvailability 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 [MsRestAzure::AzureOperationResponse] HTTP response information.
|
696
|
+
#
|
697
|
+
def check_name_availability_with_http_info(parameters, custom_headers:nil)
|
698
|
+
check_name_availability_async(parameters, custom_headers:custom_headers).value!
|
699
|
+
end
|
700
|
+
|
701
|
+
#
|
702
|
+
# Checks availability and correctness of a name for an API Management service.
|
703
|
+
#
|
704
|
+
# @param parameters [ApiManagementServiceCheckNameAvailabilityParameters]
|
705
|
+
# Parameters supplied to the CheckNameAvailability operation.
|
706
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
707
|
+
# to the HTTP request.
|
708
|
+
#
|
709
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
710
|
+
#
|
711
|
+
def check_name_availability_async(parameters, custom_headers:nil)
|
712
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
713
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
714
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
715
|
+
|
716
|
+
|
717
|
+
request_headers = {}
|
718
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
719
|
+
|
720
|
+
# Set Headers
|
721
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
722
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
723
|
+
|
724
|
+
# Serialize Request
|
725
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceCheckNameAvailabilityParameters.mapper()
|
726
|
+
request_content = @client.serialize(request_mapper, parameters)
|
727
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
728
|
+
|
729
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.ApiManagement/checkNameAvailability'
|
730
|
+
|
731
|
+
request_url = @base_url || @client.base_url
|
732
|
+
|
733
|
+
options = {
|
734
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
735
|
+
path_params: {'subscriptionId' => @client.subscription_id},
|
736
|
+
query_params: {'api-version' => @client.api_version},
|
737
|
+
body: request_content,
|
738
|
+
headers: request_headers.merge(custom_headers || {}),
|
739
|
+
base_url: request_url
|
740
|
+
}
|
741
|
+
promise = @client.make_request_async(:post, path_template, options)
|
742
|
+
|
743
|
+
promise = promise.then do |result|
|
744
|
+
http_response = result.response
|
745
|
+
status_code = http_response.status
|
746
|
+
response_content = http_response.body
|
747
|
+
unless status_code == 200
|
748
|
+
error_model = JSON.load(response_content)
|
749
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
750
|
+
end
|
751
|
+
|
752
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
753
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
754
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
755
|
+
# Deserialize Response
|
756
|
+
if status_code == 200
|
757
|
+
begin
|
758
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
759
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceNameAvailabilityResult.mapper()
|
760
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
761
|
+
rescue Exception => e
|
762
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
763
|
+
end
|
764
|
+
end
|
765
|
+
|
766
|
+
result
|
767
|
+
end
|
768
|
+
|
769
|
+
promise.execute
|
770
|
+
end
|
771
|
+
|
772
|
+
#
|
773
|
+
# Updates the Microsoft.ApiManagement resource running in the Virtual network
|
774
|
+
# to pick the updated network settings.
|
775
|
+
#
|
776
|
+
# @param resource_group_name [String] The name of the resource group.
|
777
|
+
# @param service_name [String] The name of the API Management service.
|
778
|
+
# @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
|
779
|
+
# Parameters supplied to the Apply Network Configuration operation. If the
|
780
|
+
# parameters are empty, all the regions in which the Api Management service is
|
781
|
+
# deployed will be updated sequentially without incurring downtime in the
|
782
|
+
# region.
|
783
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
784
|
+
# will be added to the HTTP request.
|
785
|
+
#
|
786
|
+
# @return [ApiManagementServiceResource] operation results.
|
787
|
+
#
|
788
|
+
def apply_network_configuration_updates(resource_group_name, service_name, parameters:nil, custom_headers:nil)
|
789
|
+
response = apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers).value!
|
790
|
+
response.body unless response.nil?
|
791
|
+
end
|
792
|
+
|
793
|
+
#
|
794
|
+
# @param resource_group_name [String] The name of the resource group.
|
795
|
+
# @param service_name [String] The name of the API Management service.
|
796
|
+
# @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
|
797
|
+
# Parameters supplied to the Apply Network Configuration operation. If the
|
798
|
+
# parameters are empty, all the regions in which the Api Management service is
|
799
|
+
# deployed will be updated sequentially without incurring downtime in the
|
800
|
+
# region.
|
801
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
802
|
+
# will be added to the HTTP request.
|
803
|
+
#
|
804
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
805
|
+
# response.
|
806
|
+
#
|
807
|
+
def apply_network_configuration_updates_async(resource_group_name, service_name, parameters:nil, custom_headers:nil)
|
808
|
+
# Send request
|
809
|
+
promise = begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers)
|
810
|
+
|
811
|
+
promise = promise.then do |response|
|
812
|
+
# Defining deserialization method.
|
813
|
+
deserialize_method = lambda do |parsed_response|
|
814
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
815
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
816
|
+
end
|
817
|
+
|
818
|
+
# Waiting for response.
|
819
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
820
|
+
end
|
821
|
+
|
822
|
+
promise
|
823
|
+
end
|
824
|
+
|
825
|
+
#
|
826
|
+
# Upload Custom Domain SSL certificate for an API Management service. This
|
827
|
+
# operation will be deprecated in future releases.
|
828
|
+
#
|
829
|
+
# @param resource_group_name [String] The name of the resource group.
|
830
|
+
# @param service_name [String] The name of the API Management service.
|
831
|
+
# @param parameters [ApiManagementServiceUploadCertificateParameters]
|
832
|
+
# Parameters supplied to the Upload SSL certificate for an API Management
|
833
|
+
# service operation.
|
834
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
835
|
+
# will be added to the HTTP request.
|
836
|
+
#
|
837
|
+
# @return [CertificateInformation] operation results.
|
838
|
+
#
|
839
|
+
def upload_certificate(resource_group_name, service_name, parameters, custom_headers:nil)
|
840
|
+
response = upload_certificate_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
841
|
+
response.body unless response.nil?
|
842
|
+
end
|
843
|
+
|
844
|
+
#
|
845
|
+
# Upload Custom Domain SSL certificate for an API Management service. This
|
846
|
+
# operation will be deprecated in future releases.
|
847
|
+
#
|
848
|
+
# @param resource_group_name [String] The name of the resource group.
|
849
|
+
# @param service_name [String] The name of the API Management service.
|
850
|
+
# @param parameters [ApiManagementServiceUploadCertificateParameters]
|
851
|
+
# Parameters supplied to the Upload SSL certificate for an API Management
|
852
|
+
# service operation.
|
853
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
854
|
+
# will be added to the HTTP request.
|
855
|
+
#
|
856
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
857
|
+
#
|
858
|
+
def upload_certificate_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
|
859
|
+
upload_certificate_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
860
|
+
end
|
861
|
+
|
862
|
+
#
|
863
|
+
# Upload Custom Domain SSL certificate for an API Management service. This
|
864
|
+
# operation will be deprecated in future releases.
|
865
|
+
#
|
866
|
+
# @param resource_group_name [String] The name of the resource group.
|
867
|
+
# @param service_name [String] The name of the API Management service.
|
868
|
+
# @param parameters [ApiManagementServiceUploadCertificateParameters]
|
869
|
+
# Parameters supplied to the Upload SSL certificate for an API Management
|
870
|
+
# service operation.
|
871
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
872
|
+
# to the HTTP request.
|
873
|
+
#
|
874
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
875
|
+
#
|
876
|
+
def upload_certificate_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
877
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
878
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
879
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
880
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
881
|
+
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?
|
882
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
883
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
884
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
885
|
+
|
886
|
+
|
887
|
+
request_headers = {}
|
888
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
889
|
+
|
890
|
+
# Set Headers
|
891
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
892
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
893
|
+
|
894
|
+
# Serialize Request
|
895
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceUploadCertificateParameters.mapper()
|
896
|
+
request_content = @client.serialize(request_mapper, parameters)
|
897
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
898
|
+
|
899
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatecertificate'
|
900
|
+
|
901
|
+
request_url = @base_url || @client.base_url
|
902
|
+
|
903
|
+
options = {
|
904
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
905
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
906
|
+
query_params: {'api-version' => @client.api_version},
|
907
|
+
body: request_content,
|
908
|
+
headers: request_headers.merge(custom_headers || {}),
|
909
|
+
base_url: request_url
|
910
|
+
}
|
911
|
+
promise = @client.make_request_async(:post, path_template, options)
|
912
|
+
|
913
|
+
promise = promise.then do |result|
|
914
|
+
http_response = result.response
|
915
|
+
status_code = http_response.status
|
916
|
+
response_content = http_response.body
|
917
|
+
unless status_code == 200
|
918
|
+
error_model = JSON.load(response_content)
|
919
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
920
|
+
end
|
921
|
+
|
922
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
923
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
924
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
925
|
+
# Deserialize Response
|
926
|
+
if status_code == 200
|
927
|
+
begin
|
928
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
929
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::CertificateInformation.mapper()
|
930
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
931
|
+
rescue Exception => e
|
932
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
933
|
+
end
|
934
|
+
end
|
935
|
+
|
936
|
+
result
|
937
|
+
end
|
938
|
+
|
939
|
+
promise.execute
|
940
|
+
end
|
941
|
+
|
942
|
+
#
|
943
|
+
# Creates, updates, or deletes the custom hostnames for an API Management
|
944
|
+
# service. The custom hostname can be applied to the Proxy and Portal endpoint.
|
945
|
+
# This is a long running operation and could take several minutes to complete.
|
946
|
+
# This operation will be deprecated in the next version update.
|
947
|
+
#
|
948
|
+
# @param resource_group_name [String] The name of the resource group.
|
949
|
+
# @param service_name [String] The name of the API Management service.
|
950
|
+
# @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
|
951
|
+
# supplied to the UpdateHostname operation.
|
952
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
953
|
+
# will be added to the HTTP request.
|
954
|
+
#
|
955
|
+
# @return [ApiManagementServiceResource] operation results.
|
956
|
+
#
|
957
|
+
def update_hostname(resource_group_name, service_name, parameters, custom_headers:nil)
|
958
|
+
response = update_hostname_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
959
|
+
response.body unless response.nil?
|
960
|
+
end
|
961
|
+
|
962
|
+
#
|
963
|
+
# @param resource_group_name [String] The name of the resource group.
|
964
|
+
# @param service_name [String] The name of the API Management service.
|
965
|
+
# @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
|
966
|
+
# supplied to the UpdateHostname operation.
|
967
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
968
|
+
# will be added to the HTTP request.
|
969
|
+
#
|
970
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
971
|
+
# response.
|
972
|
+
#
|
973
|
+
def update_hostname_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
974
|
+
# Send request
|
975
|
+
promise = begin_update_hostname_async(resource_group_name, service_name, parameters, custom_headers:custom_headers)
|
976
|
+
|
977
|
+
promise = promise.then do |response|
|
978
|
+
# Defining deserialization method.
|
979
|
+
deserialize_method = lambda do |parsed_response|
|
980
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
981
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
982
|
+
end
|
983
|
+
|
984
|
+
# Waiting for response.
|
985
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
986
|
+
end
|
987
|
+
|
988
|
+
promise
|
989
|
+
end
|
990
|
+
|
991
|
+
#
|
992
|
+
# Restores a backup of an API Management service created using the
|
993
|
+
# ApiManagementService_Backup operation on the current service. This is a long
|
994
|
+
# running operation and could take several minutes to complete.
|
995
|
+
#
|
996
|
+
# @param resource_group_name [String] The name of the resource group.
|
997
|
+
# @param service_name [String] The name of the API Management service.
|
998
|
+
# @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
|
999
|
+
# supplied to the Restore API Management service from backup operation.
|
1000
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1001
|
+
# will be added to the HTTP request.
|
1002
|
+
#
|
1003
|
+
# @return [ApiManagementServiceResource] operation results.
|
1004
|
+
#
|
1005
|
+
def begin_restore(resource_group_name, service_name, parameters, custom_headers:nil)
|
1006
|
+
response = begin_restore_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
1007
|
+
response.body unless response.nil?
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
#
|
1011
|
+
# Restores a backup of an API Management service created using the
|
1012
|
+
# ApiManagementService_Backup operation on the current service. This is a long
|
1013
|
+
# running operation and could take several minutes to complete.
|
1014
|
+
#
|
1015
|
+
# @param resource_group_name [String] The name of the resource group.
|
1016
|
+
# @param service_name [String] The name of the API Management service.
|
1017
|
+
# @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
|
1018
|
+
# supplied to the Restore API Management service from backup operation.
|
1019
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1020
|
+
# will be added to the HTTP request.
|
1021
|
+
#
|
1022
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1023
|
+
#
|
1024
|
+
def begin_restore_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
|
1025
|
+
begin_restore_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
1026
|
+
end
|
1027
|
+
|
1028
|
+
#
|
1029
|
+
# Restores a backup of an API Management service created using the
|
1030
|
+
# ApiManagementService_Backup operation on the current service. This is a long
|
1031
|
+
# running operation and could take several minutes to complete.
|
1032
|
+
#
|
1033
|
+
# @param resource_group_name [String] The name of the resource group.
|
1034
|
+
# @param service_name [String] The name of the API Management service.
|
1035
|
+
# @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
|
1036
|
+
# supplied to the Restore API Management service from backup operation.
|
1037
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1038
|
+
# to the HTTP request.
|
1039
|
+
#
|
1040
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1041
|
+
#
|
1042
|
+
def begin_restore_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
1043
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1044
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1045
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
1046
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
1047
|
+
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?
|
1048
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1049
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1050
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1051
|
+
|
1052
|
+
|
1053
|
+
request_headers = {}
|
1054
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1055
|
+
|
1056
|
+
# Set Headers
|
1057
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1058
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1059
|
+
|
1060
|
+
# Serialize Request
|
1061
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceBackupRestoreParameters.mapper()
|
1062
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1063
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1064
|
+
|
1065
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/restore'
|
1066
|
+
|
1067
|
+
request_url = @base_url || @client.base_url
|
1068
|
+
|
1069
|
+
options = {
|
1070
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1071
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
1072
|
+
query_params: {'api-version' => @client.api_version},
|
1073
|
+
body: request_content,
|
1074
|
+
headers: request_headers.merge(custom_headers || {}),
|
1075
|
+
base_url: request_url
|
1076
|
+
}
|
1077
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1078
|
+
|
1079
|
+
promise = promise.then do |result|
|
1080
|
+
http_response = result.response
|
1081
|
+
status_code = http_response.status
|
1082
|
+
response_content = http_response.body
|
1083
|
+
unless status_code == 200 || status_code == 202
|
1084
|
+
error_model = JSON.load(response_content)
|
1085
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1089
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1090
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1091
|
+
# Deserialize Response
|
1092
|
+
if status_code == 200
|
1093
|
+
begin
|
1094
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1095
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
1096
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1097
|
+
rescue Exception => e
|
1098
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1099
|
+
end
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
result
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
promise.execute
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
#
|
1109
|
+
# Creates a backup of the API Management service to the given Azure Storage
|
1110
|
+
# Account. This is long running operation and could take several minutes to
|
1111
|
+
# complete.
|
1112
|
+
#
|
1113
|
+
# @param resource_group_name [String] The name of the resource group.
|
1114
|
+
# @param service_name [String] The name of the API Management service.
|
1115
|
+
# @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
|
1116
|
+
# supplied to the ApiManagementService_Backup operation.
|
1117
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1118
|
+
# will be added to the HTTP request.
|
1119
|
+
#
|
1120
|
+
# @return [ApiManagementServiceResource] operation results.
|
1121
|
+
#
|
1122
|
+
def begin_backup(resource_group_name, service_name, parameters, custom_headers:nil)
|
1123
|
+
response = begin_backup_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
1124
|
+
response.body unless response.nil?
|
1125
|
+
end
|
1126
|
+
|
1127
|
+
#
|
1128
|
+
# Creates a backup of the API Management service to the given Azure Storage
|
1129
|
+
# Account. This is long running operation and could take several minutes to
|
1130
|
+
# complete.
|
1131
|
+
#
|
1132
|
+
# @param resource_group_name [String] The name of the resource group.
|
1133
|
+
# @param service_name [String] The name of the API Management service.
|
1134
|
+
# @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
|
1135
|
+
# supplied to the ApiManagementService_Backup operation.
|
1136
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1137
|
+
# will be added to the HTTP request.
|
1138
|
+
#
|
1139
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1140
|
+
#
|
1141
|
+
def begin_backup_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
|
1142
|
+
begin_backup_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
1143
|
+
end
|
1144
|
+
|
1145
|
+
#
|
1146
|
+
# Creates a backup of the API Management service to the given Azure Storage
|
1147
|
+
# Account. This is long running operation and could take several minutes to
|
1148
|
+
# complete.
|
1149
|
+
#
|
1150
|
+
# @param resource_group_name [String] The name of the resource group.
|
1151
|
+
# @param service_name [String] The name of the API Management service.
|
1152
|
+
# @param parameters [ApiManagementServiceBackupRestoreParameters] Parameters
|
1153
|
+
# supplied to the ApiManagementService_Backup operation.
|
1154
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1155
|
+
# to the HTTP request.
|
1156
|
+
#
|
1157
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1158
|
+
#
|
1159
|
+
def begin_backup_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
1160
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1161
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1162
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
1163
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
1164
|
+
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?
|
1165
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1166
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1167
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1168
|
+
|
1169
|
+
|
1170
|
+
request_headers = {}
|
1171
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1172
|
+
|
1173
|
+
# Set Headers
|
1174
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1175
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1176
|
+
|
1177
|
+
# Serialize Request
|
1178
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceBackupRestoreParameters.mapper()
|
1179
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1180
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1181
|
+
|
1182
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backup'
|
1183
|
+
|
1184
|
+
request_url = @base_url || @client.base_url
|
1185
|
+
|
1186
|
+
options = {
|
1187
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1188
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
1189
|
+
query_params: {'api-version' => @client.api_version},
|
1190
|
+
body: request_content,
|
1191
|
+
headers: request_headers.merge(custom_headers || {}),
|
1192
|
+
base_url: request_url
|
1193
|
+
}
|
1194
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1195
|
+
|
1196
|
+
promise = promise.then do |result|
|
1197
|
+
http_response = result.response
|
1198
|
+
status_code = http_response.status
|
1199
|
+
response_content = http_response.body
|
1200
|
+
unless status_code == 200 || status_code == 202
|
1201
|
+
error_model = JSON.load(response_content)
|
1202
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1203
|
+
end
|
1204
|
+
|
1205
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1206
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1207
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1208
|
+
# Deserialize Response
|
1209
|
+
if status_code == 200
|
1210
|
+
begin
|
1211
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1212
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
1213
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1214
|
+
rescue Exception => e
|
1215
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1216
|
+
end
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
result
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
promise.execute
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
#
|
1226
|
+
# Creates or updates an API Management service. This is long running operation
|
1227
|
+
# and could take several minutes to complete.
|
1228
|
+
#
|
1229
|
+
# @param resource_group_name [String] The name of the resource group.
|
1230
|
+
# @param service_name [String] The name of the API Management service.
|
1231
|
+
# @param parameters [ApiManagementServiceResource] Parameters supplied to the
|
1232
|
+
# CreateOrUpdate API Management service operation.
|
1233
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1234
|
+
# will be added to the HTTP request.
|
1235
|
+
#
|
1236
|
+
# @return [ApiManagementServiceResource] operation results.
|
1237
|
+
#
|
1238
|
+
def begin_create_or_update(resource_group_name, service_name, parameters, custom_headers:nil)
|
1239
|
+
response = begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
1240
|
+
response.body unless response.nil?
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
#
|
1244
|
+
# Creates or updates an API Management service. This is long running operation
|
1245
|
+
# and could take several minutes to complete.
|
1246
|
+
#
|
1247
|
+
# @param resource_group_name [String] The name of the resource group.
|
1248
|
+
# @param service_name [String] The name of the API Management service.
|
1249
|
+
# @param parameters [ApiManagementServiceResource] Parameters supplied to the
|
1250
|
+
# CreateOrUpdate API Management service operation.
|
1251
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1252
|
+
# will be added to the HTTP request.
|
1253
|
+
#
|
1254
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1255
|
+
#
|
1256
|
+
def begin_create_or_update_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
|
1257
|
+
begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
#
|
1261
|
+
# Creates or updates an API Management service. This is long running operation
|
1262
|
+
# and could take several minutes to complete.
|
1263
|
+
#
|
1264
|
+
# @param resource_group_name [String] The name of the resource group.
|
1265
|
+
# @param service_name [String] The name of the API Management service.
|
1266
|
+
# @param parameters [ApiManagementServiceResource] Parameters supplied to the
|
1267
|
+
# CreateOrUpdate API Management service operation.
|
1268
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1269
|
+
# to the HTTP request.
|
1270
|
+
#
|
1271
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1272
|
+
#
|
1273
|
+
def begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
1274
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1275
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1276
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
1277
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
1278
|
+
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?
|
1279
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1280
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1281
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1282
|
+
|
1283
|
+
|
1284
|
+
request_headers = {}
|
1285
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1286
|
+
|
1287
|
+
# Set Headers
|
1288
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1289
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1290
|
+
|
1291
|
+
# Serialize Request
|
1292
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
1293
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1294
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1295
|
+
|
1296
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
|
1297
|
+
|
1298
|
+
request_url = @base_url || @client.base_url
|
1299
|
+
|
1300
|
+
options = {
|
1301
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1302
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
1303
|
+
query_params: {'api-version' => @client.api_version},
|
1304
|
+
body: request_content,
|
1305
|
+
headers: request_headers.merge(custom_headers || {}),
|
1306
|
+
base_url: request_url
|
1307
|
+
}
|
1308
|
+
promise = @client.make_request_async(:put, path_template, options)
|
1309
|
+
|
1310
|
+
promise = promise.then do |result|
|
1311
|
+
http_response = result.response
|
1312
|
+
status_code = http_response.status
|
1313
|
+
response_content = http_response.body
|
1314
|
+
unless status_code == 200 || status_code == 201 || status_code == 202
|
1315
|
+
error_model = JSON.load(response_content)
|
1316
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1317
|
+
end
|
1318
|
+
|
1319
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1320
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1321
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1322
|
+
# Deserialize Response
|
1323
|
+
if status_code == 200
|
1324
|
+
begin
|
1325
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1326
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
1327
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1328
|
+
rescue Exception => e
|
1329
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1330
|
+
end
|
1331
|
+
end
|
1332
|
+
# Deserialize Response
|
1333
|
+
if status_code == 201
|
1334
|
+
begin
|
1335
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1336
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
1337
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1338
|
+
rescue Exception => e
|
1339
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1340
|
+
end
|
1341
|
+
end
|
1342
|
+
# Deserialize Response
|
1343
|
+
if status_code == 202
|
1344
|
+
begin
|
1345
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1346
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
1347
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1348
|
+
rescue Exception => e
|
1349
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1350
|
+
end
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
result
|
1354
|
+
end
|
1355
|
+
|
1356
|
+
promise.execute
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
#
|
1360
|
+
# Updates an existing API Management service.
|
1361
|
+
#
|
1362
|
+
# @param resource_group_name [String] The name of the resource group.
|
1363
|
+
# @param service_name [String] The name of the API Management service.
|
1364
|
+
# @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
|
1365
|
+
# to the CreateOrUpdate API Management service operation.
|
1366
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1367
|
+
# will be added to the HTTP request.
|
1368
|
+
#
|
1369
|
+
# @return [ApiManagementServiceResource] operation results.
|
1370
|
+
#
|
1371
|
+
def begin_update(resource_group_name, service_name, parameters, custom_headers:nil)
|
1372
|
+
response = begin_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
1373
|
+
response.body unless response.nil?
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
#
|
1377
|
+
# Updates an existing API Management service.
|
1378
|
+
#
|
1379
|
+
# @param resource_group_name [String] The name of the resource group.
|
1380
|
+
# @param service_name [String] The name of the API Management service.
|
1381
|
+
# @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
|
1382
|
+
# to the CreateOrUpdate API Management service operation.
|
1383
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1384
|
+
# will be added to the HTTP request.
|
1385
|
+
#
|
1386
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1387
|
+
#
|
1388
|
+
def begin_update_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
|
1389
|
+
begin_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
1390
|
+
end
|
1391
|
+
|
1392
|
+
#
|
1393
|
+
# Updates an existing API Management service.
|
1394
|
+
#
|
1395
|
+
# @param resource_group_name [String] The name of the resource group.
|
1396
|
+
# @param service_name [String] The name of the API Management service.
|
1397
|
+
# @param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
|
1398
|
+
# to the CreateOrUpdate API Management service operation.
|
1399
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1400
|
+
# to the HTTP request.
|
1401
|
+
#
|
1402
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1403
|
+
#
|
1404
|
+
def begin_update_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
1405
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1406
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1407
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
1408
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
1409
|
+
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?
|
1410
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1411
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1412
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1413
|
+
|
1414
|
+
|
1415
|
+
request_headers = {}
|
1416
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1417
|
+
|
1418
|
+
# Set Headers
|
1419
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1420
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1421
|
+
|
1422
|
+
# Serialize Request
|
1423
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceUpdateParameters.mapper()
|
1424
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1425
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1426
|
+
|
1427
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
|
1428
|
+
|
1429
|
+
request_url = @base_url || @client.base_url
|
1430
|
+
|
1431
|
+
options = {
|
1432
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1433
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
1434
|
+
query_params: {'api-version' => @client.api_version},
|
1435
|
+
body: request_content,
|
1436
|
+
headers: request_headers.merge(custom_headers || {}),
|
1437
|
+
base_url: request_url
|
1438
|
+
}
|
1439
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
1440
|
+
|
1441
|
+
promise = promise.then do |result|
|
1442
|
+
http_response = result.response
|
1443
|
+
status_code = http_response.status
|
1444
|
+
response_content = http_response.body
|
1445
|
+
unless status_code == 200 || status_code == 202
|
1446
|
+
error_model = JSON.load(response_content)
|
1447
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1448
|
+
end
|
1449
|
+
|
1450
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1451
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1452
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1453
|
+
# Deserialize Response
|
1454
|
+
if status_code == 200
|
1455
|
+
begin
|
1456
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1457
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
1458
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1459
|
+
rescue Exception => e
|
1460
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1461
|
+
end
|
1462
|
+
end
|
1463
|
+
|
1464
|
+
result
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
promise.execute
|
1468
|
+
end
|
1469
|
+
|
1470
|
+
#
|
1471
|
+
# Updates the Microsoft.ApiManagement resource running in the Virtual network
|
1472
|
+
# to pick the updated network settings.
|
1473
|
+
#
|
1474
|
+
# @param resource_group_name [String] The name of the resource group.
|
1475
|
+
# @param service_name [String] The name of the API Management service.
|
1476
|
+
# @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
|
1477
|
+
# Parameters supplied to the Apply Network Configuration operation. If the
|
1478
|
+
# parameters are empty, all the regions in which the Api Management service is
|
1479
|
+
# deployed will be updated sequentially without incurring downtime in the
|
1480
|
+
# region.
|
1481
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1482
|
+
# will be added to the HTTP request.
|
1483
|
+
#
|
1484
|
+
# @return [ApiManagementServiceResource] operation results.
|
1485
|
+
#
|
1486
|
+
def begin_apply_network_configuration_updates(resource_group_name, service_name, parameters:nil, custom_headers:nil)
|
1487
|
+
response = begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers).value!
|
1488
|
+
response.body unless response.nil?
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
#
|
1492
|
+
# Updates the Microsoft.ApiManagement resource running in the Virtual network
|
1493
|
+
# to pick the updated network settings.
|
1494
|
+
#
|
1495
|
+
# @param resource_group_name [String] The name of the resource group.
|
1496
|
+
# @param service_name [String] The name of the API Management service.
|
1497
|
+
# @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
|
1498
|
+
# Parameters supplied to the Apply Network Configuration operation. If the
|
1499
|
+
# parameters are empty, all the regions in which the Api Management service is
|
1500
|
+
# deployed will be updated sequentially without incurring downtime in the
|
1501
|
+
# region.
|
1502
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1503
|
+
# will be added to the HTTP request.
|
1504
|
+
#
|
1505
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1506
|
+
#
|
1507
|
+
def begin_apply_network_configuration_updates_with_http_info(resource_group_name, service_name, parameters:nil, custom_headers:nil)
|
1508
|
+
begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers).value!
|
1509
|
+
end
|
1510
|
+
|
1511
|
+
#
|
1512
|
+
# Updates the Microsoft.ApiManagement resource running in the Virtual network
|
1513
|
+
# to pick the updated network settings.
|
1514
|
+
#
|
1515
|
+
# @param resource_group_name [String] The name of the resource group.
|
1516
|
+
# @param service_name [String] The name of the API Management service.
|
1517
|
+
# @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
|
1518
|
+
# Parameters supplied to the Apply Network Configuration operation. If the
|
1519
|
+
# parameters are empty, all the regions in which the Api Management service is
|
1520
|
+
# deployed will be updated sequentially without incurring downtime in the
|
1521
|
+
# region.
|
1522
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1523
|
+
# to the HTTP request.
|
1524
|
+
#
|
1525
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1526
|
+
#
|
1527
|
+
def begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:nil, custom_headers:nil)
|
1528
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1529
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1530
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
1531
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
1532
|
+
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?
|
1533
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1534
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1535
|
+
|
1536
|
+
|
1537
|
+
request_headers = {}
|
1538
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1539
|
+
|
1540
|
+
# Set Headers
|
1541
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1542
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1543
|
+
|
1544
|
+
# Serialize Request
|
1545
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceApplyNetworkConfigurationParameters.mapper()
|
1546
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1547
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1548
|
+
|
1549
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/applynetworkconfigurationupdates'
|
1550
|
+
|
1551
|
+
request_url = @base_url || @client.base_url
|
1552
|
+
|
1553
|
+
options = {
|
1554
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1555
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
1556
|
+
query_params: {'api-version' => @client.api_version},
|
1557
|
+
body: request_content,
|
1558
|
+
headers: request_headers.merge(custom_headers || {}),
|
1559
|
+
base_url: request_url
|
1560
|
+
}
|
1561
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1562
|
+
|
1563
|
+
promise = promise.then do |result|
|
1564
|
+
http_response = result.response
|
1565
|
+
status_code = http_response.status
|
1566
|
+
response_content = http_response.body
|
1567
|
+
unless status_code == 202 || status_code == 200
|
1568
|
+
error_model = JSON.load(response_content)
|
1569
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1570
|
+
end
|
1571
|
+
|
1572
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1573
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1574
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1575
|
+
# Deserialize Response
|
1576
|
+
if status_code == 200
|
1577
|
+
begin
|
1578
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1579
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
1580
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1581
|
+
rescue Exception => e
|
1582
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1583
|
+
end
|
1584
|
+
end
|
1585
|
+
|
1586
|
+
result
|
1587
|
+
end
|
1588
|
+
|
1589
|
+
promise.execute
|
1590
|
+
end
|
1591
|
+
|
1592
|
+
#
|
1593
|
+
# Creates, updates, or deletes the custom hostnames for an API Management
|
1594
|
+
# service. The custom hostname can be applied to the Proxy and Portal endpoint.
|
1595
|
+
# This is a long running operation and could take several minutes to complete.
|
1596
|
+
# This operation will be deprecated in the next version update.
|
1597
|
+
#
|
1598
|
+
# @param resource_group_name [String] The name of the resource group.
|
1599
|
+
# @param service_name [String] The name of the API Management service.
|
1600
|
+
# @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
|
1601
|
+
# supplied to the UpdateHostname operation.
|
1602
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1603
|
+
# will be added to the HTTP request.
|
1604
|
+
#
|
1605
|
+
# @return [ApiManagementServiceResource] operation results.
|
1606
|
+
#
|
1607
|
+
def begin_update_hostname(resource_group_name, service_name, parameters, custom_headers:nil)
|
1608
|
+
response = begin_update_hostname_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
1609
|
+
response.body unless response.nil?
|
1610
|
+
end
|
1611
|
+
|
1612
|
+
#
|
1613
|
+
# Creates, updates, or deletes the custom hostnames for an API Management
|
1614
|
+
# service. The custom hostname can be applied to the Proxy and Portal endpoint.
|
1615
|
+
# This is a long running operation and could take several minutes to complete.
|
1616
|
+
# This operation will be deprecated in the next version update.
|
1617
|
+
#
|
1618
|
+
# @param resource_group_name [String] The name of the resource group.
|
1619
|
+
# @param service_name [String] The name of the API Management service.
|
1620
|
+
# @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
|
1621
|
+
# supplied to the UpdateHostname operation.
|
1622
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1623
|
+
# will be added to the HTTP request.
|
1624
|
+
#
|
1625
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1626
|
+
#
|
1627
|
+
def begin_update_hostname_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
|
1628
|
+
begin_update_hostname_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
1629
|
+
end
|
1630
|
+
|
1631
|
+
#
|
1632
|
+
# Creates, updates, or deletes the custom hostnames for an API Management
|
1633
|
+
# service. The custom hostname can be applied to the Proxy and Portal endpoint.
|
1634
|
+
# This is a long running operation and could take several minutes to complete.
|
1635
|
+
# This operation will be deprecated in the next version update.
|
1636
|
+
#
|
1637
|
+
# @param resource_group_name [String] The name of the resource group.
|
1638
|
+
# @param service_name [String] The name of the API Management service.
|
1639
|
+
# @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
|
1640
|
+
# supplied to the UpdateHostname operation.
|
1641
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1642
|
+
# to the HTTP request.
|
1643
|
+
#
|
1644
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1645
|
+
#
|
1646
|
+
def begin_update_hostname_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
1647
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1648
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1649
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
1650
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
1651
|
+
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?
|
1652
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1653
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1654
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1655
|
+
|
1656
|
+
|
1657
|
+
request_headers = {}
|
1658
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1659
|
+
|
1660
|
+
# Set Headers
|
1661
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1662
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1663
|
+
|
1664
|
+
# Serialize Request
|
1665
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceUpdateHostnameParameters.mapper()
|
1666
|
+
request_content = @client.serialize(request_mapper, parameters)
|
1667
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1668
|
+
|
1669
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatehostname'
|
1670
|
+
|
1671
|
+
request_url = @base_url || @client.base_url
|
1672
|
+
|
1673
|
+
options = {
|
1674
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1675
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
1676
|
+
query_params: {'api-version' => @client.api_version},
|
1677
|
+
body: request_content,
|
1678
|
+
headers: request_headers.merge(custom_headers || {}),
|
1679
|
+
base_url: request_url
|
1680
|
+
}
|
1681
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1682
|
+
|
1683
|
+
promise = promise.then do |result|
|
1684
|
+
http_response = result.response
|
1685
|
+
status_code = http_response.status
|
1686
|
+
response_content = http_response.body
|
1687
|
+
unless status_code == 200 || status_code == 202
|
1688
|
+
error_model = JSON.load(response_content)
|
1689
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1693
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1694
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1695
|
+
# Deserialize Response
|
1696
|
+
if status_code == 200
|
1697
|
+
begin
|
1698
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1699
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
1700
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1701
|
+
rescue Exception => e
|
1702
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1703
|
+
end
|
1704
|
+
end
|
1705
|
+
# Deserialize Response
|
1706
|
+
if status_code == 202
|
1707
|
+
begin
|
1708
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1709
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceResource.mapper()
|
1710
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1711
|
+
rescue Exception => e
|
1712
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1713
|
+
end
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
result
|
1717
|
+
end
|
1718
|
+
|
1719
|
+
promise.execute
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
#
|
1723
|
+
# List all API Management services within a resource group.
|
1724
|
+
#
|
1725
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1726
|
+
# to List operation.
|
1727
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1728
|
+
# will be added to the HTTP request.
|
1729
|
+
#
|
1730
|
+
# @return [ApiManagementServiceListResult] operation results.
|
1731
|
+
#
|
1732
|
+
def list_by_resource_group_next(next_page_link, custom_headers:nil)
|
1733
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
1734
|
+
response.body unless response.nil?
|
1735
|
+
end
|
1736
|
+
|
1737
|
+
#
|
1738
|
+
# List all API Management services within a resource group.
|
1739
|
+
#
|
1740
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1741
|
+
# to List operation.
|
1742
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1743
|
+
# will be added to the HTTP request.
|
1744
|
+
#
|
1745
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1746
|
+
#
|
1747
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
|
1748
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
#
|
1752
|
+
# List all API Management services within a resource group.
|
1753
|
+
#
|
1754
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1755
|
+
# to List operation.
|
1756
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1757
|
+
# to the HTTP request.
|
1758
|
+
#
|
1759
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1760
|
+
#
|
1761
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
|
1762
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1763
|
+
|
1764
|
+
|
1765
|
+
request_headers = {}
|
1766
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1767
|
+
|
1768
|
+
# Set Headers
|
1769
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1770
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1771
|
+
path_template = '{nextLink}'
|
1772
|
+
|
1773
|
+
request_url = @base_url || @client.base_url
|
1774
|
+
|
1775
|
+
options = {
|
1776
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1777
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
1778
|
+
headers: request_headers.merge(custom_headers || {}),
|
1779
|
+
base_url: request_url
|
1780
|
+
}
|
1781
|
+
promise = @client.make_request_async(:get, path_template, options)
|
1782
|
+
|
1783
|
+
promise = promise.then do |result|
|
1784
|
+
http_response = result.response
|
1785
|
+
status_code = http_response.status
|
1786
|
+
response_content = http_response.body
|
1787
|
+
unless status_code == 200
|
1788
|
+
error_model = JSON.load(response_content)
|
1789
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1790
|
+
end
|
1791
|
+
|
1792
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1793
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1794
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1795
|
+
# Deserialize Response
|
1796
|
+
if status_code == 200
|
1797
|
+
begin
|
1798
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1799
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceListResult.mapper()
|
1800
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1801
|
+
rescue Exception => e
|
1802
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1803
|
+
end
|
1804
|
+
end
|
1805
|
+
|
1806
|
+
result
|
1807
|
+
end
|
1808
|
+
|
1809
|
+
promise.execute
|
1810
|
+
end
|
1811
|
+
|
1812
|
+
#
|
1813
|
+
# Lists all API Management services within an Azure subscription.
|
1814
|
+
#
|
1815
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1816
|
+
# to List operation.
|
1817
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1818
|
+
# will be added to the HTTP request.
|
1819
|
+
#
|
1820
|
+
# @return [ApiManagementServiceListResult] operation results.
|
1821
|
+
#
|
1822
|
+
def list_next(next_page_link, custom_headers:nil)
|
1823
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
1824
|
+
response.body unless response.nil?
|
1825
|
+
end
|
1826
|
+
|
1827
|
+
#
|
1828
|
+
# Lists all API Management services within an Azure subscription.
|
1829
|
+
#
|
1830
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1831
|
+
# to List operation.
|
1832
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1833
|
+
# will be added to the HTTP request.
|
1834
|
+
#
|
1835
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1836
|
+
#
|
1837
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
1838
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
1839
|
+
end
|
1840
|
+
|
1841
|
+
#
|
1842
|
+
# Lists all API Management services within an Azure subscription.
|
1843
|
+
#
|
1844
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1845
|
+
# to List operation.
|
1846
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1847
|
+
# to the HTTP request.
|
1848
|
+
#
|
1849
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1850
|
+
#
|
1851
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
1852
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1853
|
+
|
1854
|
+
|
1855
|
+
request_headers = {}
|
1856
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1857
|
+
|
1858
|
+
# Set Headers
|
1859
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1860
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1861
|
+
path_template = '{nextLink}'
|
1862
|
+
|
1863
|
+
request_url = @base_url || @client.base_url
|
1864
|
+
|
1865
|
+
options = {
|
1866
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1867
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
1868
|
+
headers: request_headers.merge(custom_headers || {}),
|
1869
|
+
base_url: request_url
|
1870
|
+
}
|
1871
|
+
promise = @client.make_request_async(:get, path_template, options)
|
1872
|
+
|
1873
|
+
promise = promise.then do |result|
|
1874
|
+
http_response = result.response
|
1875
|
+
status_code = http_response.status
|
1876
|
+
response_content = http_response.body
|
1877
|
+
unless status_code == 200
|
1878
|
+
error_model = JSON.load(response_content)
|
1879
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
1880
|
+
end
|
1881
|
+
|
1882
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1883
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1884
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1885
|
+
# Deserialize Response
|
1886
|
+
if status_code == 200
|
1887
|
+
begin
|
1888
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1889
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01::Models::ApiManagementServiceListResult.mapper()
|
1890
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1891
|
+
rescue Exception => e
|
1892
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1893
|
+
end
|
1894
|
+
end
|
1895
|
+
|
1896
|
+
result
|
1897
|
+
end
|
1898
|
+
|
1899
|
+
promise.execute
|
1900
|
+
end
|
1901
|
+
|
1902
|
+
#
|
1903
|
+
# List all API Management services within a resource group.
|
1904
|
+
#
|
1905
|
+
# @param resource_group_name [String] The name of the resource group.
|
1906
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1907
|
+
# will be added to the HTTP request.
|
1908
|
+
#
|
1909
|
+
# @return [ApiManagementServiceListResult] which provide lazy access to pages
|
1910
|
+
# of the response.
|
1911
|
+
#
|
1912
|
+
def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil)
|
1913
|
+
response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
|
1914
|
+
unless response.nil?
|
1915
|
+
page = response.body
|
1916
|
+
page.next_method = Proc.new do |next_page_link|
|
1917
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
|
1918
|
+
end
|
1919
|
+
page
|
1920
|
+
end
|
1921
|
+
end
|
1922
|
+
|
1923
|
+
#
|
1924
|
+
# Lists all API Management services within an Azure subscription.
|
1925
|
+
#
|
1926
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1927
|
+
# will be added to the HTTP request.
|
1928
|
+
#
|
1929
|
+
# @return [ApiManagementServiceListResult] which provide lazy access to pages
|
1930
|
+
# of the response.
|
1931
|
+
#
|
1932
|
+
def list_as_lazy(custom_headers:nil)
|
1933
|
+
response = list_async(custom_headers:custom_headers).value!
|
1934
|
+
unless response.nil?
|
1935
|
+
page = response.body
|
1936
|
+
page.next_method = Proc.new do |next_page_link|
|
1937
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
1938
|
+
end
|
1939
|
+
page
|
1940
|
+
end
|
1941
|
+
end
|
1942
|
+
|
1943
|
+
end
|
1944
|
+
end
|