azure_mgmt_api_management 0.18.4 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_client.rb +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/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 +12 -0
- 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 +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb +16 -0
- 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/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 +8 -0
- 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 +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb +16 -0
- 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 +10 -0
- 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 +4 -0
- 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 +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issues.rb +4 -0
- 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 +30 -0
- 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 +10 -0
- 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/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 +14 -0
- 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 +30 -0
- 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 +18 -0
- 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 +12 -0
- 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/api.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_export.rb +2 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +12 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +12 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service.rb +30 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_policy.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_product.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_release.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_revisions.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_schema.rb +12 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_version_set.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/authorization_server.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/backend.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/certificate.rb +12 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/email_template.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/group.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/group_user.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/logger.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/network_status.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/operation_operations.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/policy.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_api.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_group.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_policy.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/regions.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb +30 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag.rb +50 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb +12 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_resource.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user.rb +20 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_group.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_identities.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_subscription.rb +4 -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_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_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_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/authentication_settings_contract.rb +27 -0
- 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_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_contract.rb +15 -2
- 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_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_update_parameters.rb +12 -0
- 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/open_id_authentication_settings_contract.rb +66 -0
- 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/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/sku_type.rb +1 -0
- 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_resource_collection.rb +0 -11
- 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_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/{regions.rb → region.rb} +8 -4
- 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/api_management_client.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management.rb +338 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api.rb +303 -226
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_diagnostic.rb +50 -38
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_export.rb +7 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_issue.rb +215 -81
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_issue_attachment.rb +68 -64
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_issue_comment.rb +68 -64
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_management_client.rb +69 -49
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_management_operations.rb +7 -3
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_management_service.rb +120 -343
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_operation.rb +74 -49
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_operation_policy.rb +29 -18
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_policy.rb +28 -12
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_product.rb +27 -24
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_release.rb +90 -79
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/api_revisions.rb → 2019-12-01/generated/azure_mgmt_api_management/api_revision.rb} +46 -51
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_schema.rb +183 -77
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/tag_description.rb → 2019-12-01/generated/azure_mgmt_api_management/api_tag_description.rb} +132 -124
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_version_set.rb +66 -108
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/authorization_server.rb +157 -43
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/backend.rb +149 -139
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/property.rb → 2019-12-01/generated/azure_mgmt_api_management/cache.rb} +153 -148
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/certificate.rb +55 -55
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/delegation_settings.rb +126 -14
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/diagnostic.rb +50 -32
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/email_template.rb +68 -23
- data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway.rb +1134 -0
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/diagnostic_logger.rb → 2019-12-01/generated/azure_mgmt_api_management/gateway_api.rb} +141 -155
- data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway_hostname_configuration.rb +720 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/group.rb +61 -64
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/group_user.rb +112 -133
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/identity_provider.rb +138 -17
- data/lib/2019-12-01/generated/azure_mgmt_api_management/issue.rb +390 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/logger.rb +123 -102
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/access_information_contract.rb +6 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +4 -6
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/additional_location.rb +15 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_contract.rb +28 -6
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_contract_properties.rb +23 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +35 -12
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +13 -2
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb → 2019-12-01/generated/azure_mgmt_api_management/models/api_export_result.rb} +23 -25
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/api_export_result.rb → 2019-12-01/generated/azure_mgmt_api_management/models/api_export_result_value.rb} +6 -6
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +88 -6
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +31 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +88 -6
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +4 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +88 -6
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_release_collection.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_release_contract.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_revision_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_revision_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +9 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_update_contract.rb +13 -2
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_constraint.rb +47 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +12 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/apim_identity_type.rb +18 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/apim_resource.rb +1 -1
- 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/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/async_operation_status.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +14 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_method.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +14 -13
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +1 -13
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +14 -13
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_protocol.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +1 -1
- 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/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_configuration.rb +2 -3
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_information.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/client_authentication_method.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/client_secret_contract.rb +47 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/confirmation.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/content_format.rb +5 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +4 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +160 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/error_field_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/error_response.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/error_response_body.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/export_format.rb +3 -1
- 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/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/grant_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_contract.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_contract_properties.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_create_parameters.rb +4 -3
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_update_parameters.rb +4 -3
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/hostname_configuration.rb +3 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/hostname_type.rb +2 -1
- 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/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +25 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +28 -3
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_create_contract.rb +216 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_list.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +25 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_contract.rb +28 -28
- 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/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/key_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_contract.rb +13 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_update_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/name_availability_reason.rb +1 -1
- 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/{2018-01-01-preview/generated/azure_mgmt_api_management/models/property_contract.rb → 2019-12-01/generated/azure_mgmt_api_management/models/named_value_create_contract.rb} +13 -11
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb → 2019-12-01/generated/azure_mgmt_api_management/models/named_value_entity_base_parameters.rb} +7 -7
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/property_update_parameters.rb → 2019-12-01/generated/azure_mgmt_api_management/models/named_value_update_parameters.rb} +11 -11
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/network_status_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/notification_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/notification_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/notification_name.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_display.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_result_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_update_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/parameter_contract.rb +2 -2
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_content_format.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_contract.rb +8 -8
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_description_collection.rb +67 -0
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb → 2019-12-01/generated/azure_mgmt_api_management/models/policy_description_contract.rb} +22 -19
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_export_format.rb +16 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_setting_validation_key_contract.rb +47 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_contract.rb +4 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +4 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_state.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_update_parameters.rb +4 -4
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/property_value_contract.rb +46 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/protocol.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/provisioning_state.rb +15 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/region_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/region_list_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/report_record_contract.rb +4 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/representation_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/request_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/request_report_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/resource.rb +1 -1
- 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/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/response_contract.rb +1 -1
- 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/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +4 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/schema_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/schema_contract.rb +19 -3
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/sku_type.rb +2 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/soap_api_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/state.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_contract.rb +31 -17
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +22 -11
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_keys_contract.rb +65 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_state.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +21 -9
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_description_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_description_contract.rb +12 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +1 -12
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/template_name.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_contract.rb +1 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_create_parameters.rb +14 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +1 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_identity_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_identity_contract.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_properties.rb +58 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_state.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_token_parameters.rb +4 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_token_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_update_parameters.rb +1 -2
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/verbosity.rb +17 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/versioning_scheme.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/virtual_network_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/x509certificate_name.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/module_definition.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/named_value.rb +1030 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/network_status.rb +6 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/notification.rb +18 -10
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/notification_recipient_email.rb +12 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/notification_recipient_user.rb +51 -46
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/open_id_connect_provider.rb +158 -45
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/operation_operations.rb +63 -71
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/policy.rb +47 -30
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb → 2019-12-01/generated/azure_mgmt_api_management/policy_description.rb} +12 -10
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product.rb +345 -81
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_api.rb +61 -73
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_group.rb +44 -67
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_policy.rb +42 -31
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_subscriptions.rb +60 -65
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +9 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/quota_by_period_keys.rb +9 -5
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/regions.rb → 2019-12-01/generated/azure_mgmt_api_management/region.rb} +11 -7
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/reports.rb +548 -109
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/sign_in_settings.rb +29 -14
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/sign_up_settings.rb +29 -14
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/subscription.rb +201 -85
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/tag.rb +718 -761
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/tag_resource.rb +85 -121
- data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_access.rb +594 -0
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access.rb → 2019-12-01/generated/azure_mgmt_api_management/tenant_access_git.rb} +60 -66
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/tenant_configuration.rb +22 -14
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user.rb +176 -185
- data/lib/2019-12-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +120 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user_group.rb +51 -56
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user_identities.rb +30 -27
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user_subscription.rb +71 -80
- data/lib/azure_mgmt_api_management.rb +6 -0
- data/lib/profiles/latest/modules/apimanagement_profile_module.rb +735 -641
- data/lib/version.rb +1 -1
- metadata +334 -271
- 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_diagnostic_logger.rb +0 -649
- 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_upload_certificate_parameters.rb +0 -72
- 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/policy_snippets_collection.rb +0 -55
- 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/tenant_access_git.rb +0 -291
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::ApiManagement::Mgmt::
|
6
|
+
module Azure::ApiManagement::Mgmt::V2019_12_01
|
7
7
|
#
|
8
8
|
# ApiManagement Client
|
9
9
|
#
|
@@ -82,7 +82,6 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
82
82
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
83
83
|
#
|
84
84
|
def get_async(resource_group_name, service_name, quota_counter_key, quota_period_key, custom_headers:nil)
|
85
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
86
85
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
87
86
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
88
87
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
@@ -91,6 +90,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
91
90
|
fail ArgumentError, 'quota_counter_key is nil' if quota_counter_key.nil?
|
92
91
|
fail ArgumentError, 'quota_period_key is nil' if quota_period_key.nil?
|
93
92
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
93
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
94
94
|
|
95
95
|
|
96
96
|
request_headers = {}
|
@@ -105,7 +105,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
105
105
|
|
106
106
|
options = {
|
107
107
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
108
|
-
path_params: {'
|
108
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'quotaCounterKey' => quota_counter_key,'quotaPeriodKey' => quota_period_key,'subscriptionId' => @client.subscription_id},
|
109
109
|
query_params: {'api-version' => @client.api_version},
|
110
110
|
headers: request_headers.merge(custom_headers || {}),
|
111
111
|
base_url: request_url
|
@@ -122,11 +122,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
122
122
|
end
|
123
123
|
|
124
124
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
125
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
126
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
125
127
|
# Deserialize Response
|
126
128
|
if status_code == 200
|
127
129
|
begin
|
128
130
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
129
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
131
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::QuotaCounterContract.mapper()
|
130
132
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
131
133
|
rescue Exception => e
|
132
134
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -222,7 +224,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
222
224
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
223
225
|
|
224
226
|
# Serialize Request
|
225
|
-
request_mapper = Azure::ApiManagement::Mgmt::
|
227
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::QuotaCounterValueContractProperties.mapper()
|
226
228
|
request_content = @client.serialize(request_mapper, parameters)
|
227
229
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
228
230
|
|
@@ -250,6 +252,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
250
252
|
end
|
251
253
|
|
252
254
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
255
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
256
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
253
257
|
|
254
258
|
result
|
255
259
|
end
|
@@ -3,15 +3,15 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::ApiManagement::Mgmt::
|
6
|
+
module Azure::ApiManagement::Mgmt::V2019_12_01
|
7
7
|
#
|
8
8
|
# ApiManagement Client
|
9
9
|
#
|
10
|
-
class
|
10
|
+
class Region
|
11
11
|
include MsRestAzure
|
12
12
|
|
13
13
|
#
|
14
|
-
# Creates and initializes a new instance of the
|
14
|
+
# Creates and initializes a new instance of the Region class.
|
15
15
|
# @param client service class for accessing basic functionality.
|
16
16
|
#
|
17
17
|
def initialize(client)
|
@@ -95,15 +95,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
95
95
|
response_content = http_response.body
|
96
96
|
unless status_code == 200
|
97
97
|
error_model = JSON.load(response_content)
|
98
|
-
fail
|
98
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
99
99
|
end
|
100
100
|
|
101
101
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
102
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
103
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
102
104
|
# Deserialize Response
|
103
105
|
if status_code == 200
|
104
106
|
begin
|
105
107
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
106
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
108
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::RegionListResult.mapper()
|
107
109
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
108
110
|
rescue Exception => e
|
109
111
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -183,15 +185,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
183
185
|
response_content = http_response.body
|
184
186
|
unless status_code == 200
|
185
187
|
error_model = JSON.load(response_content)
|
186
|
-
fail
|
188
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
187
189
|
end
|
188
190
|
|
189
191
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
192
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
193
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
190
194
|
# Deserialize Response
|
191
195
|
if status_code == 200
|
192
196
|
begin
|
193
197
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
194
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
198
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::RegionListResult.mapper()
|
195
199
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
196
200
|
rescue Exception => e
|
197
201
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::ApiManagement::Mgmt::
|
6
|
+
module Azure::ApiManagement::Mgmt::V2019_12_01
|
7
7
|
#
|
8
8
|
# ApiManagement Client
|
9
9
|
#
|
@@ -29,13 +29,14 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
29
29
|
# @param filter [String] The filter to apply on the operation.
|
30
30
|
# @param top [Integer] Number of records to return.
|
31
31
|
# @param skip [Integer] Number of records to skip.
|
32
|
+
# @param orderby [String] OData order by query option.
|
32
33
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
33
34
|
# will be added to the HTTP request.
|
34
35
|
#
|
35
36
|
# @return [Array<ReportRecordContract>] operation results.
|
36
37
|
#
|
37
|
-
def list_by_api(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
38
|
-
first_page = list_by_api_as_lazy(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers)
|
38
|
+
def list_by_api(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
39
|
+
first_page = list_by_api_as_lazy(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers)
|
39
40
|
first_page.get_all_items
|
40
41
|
end
|
41
42
|
|
@@ -47,13 +48,14 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
47
48
|
# @param filter [String] The filter to apply on the operation.
|
48
49
|
# @param top [Integer] Number of records to return.
|
49
50
|
# @param skip [Integer] Number of records to skip.
|
51
|
+
# @param orderby [String] OData order by query option.
|
50
52
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
51
53
|
# will be added to the HTTP request.
|
52
54
|
#
|
53
55
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
54
56
|
#
|
55
|
-
def list_by_api_with_http_info(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
56
|
-
list_by_api_async(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
57
|
+
def list_by_api_with_http_info(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
58
|
+
list_by_api_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
|
57
59
|
end
|
58
60
|
|
59
61
|
#
|
@@ -64,12 +66,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
64
66
|
# @param filter [String] The filter to apply on the operation.
|
65
67
|
# @param top [Integer] Number of records to return.
|
66
68
|
# @param skip [Integer] Number of records to skip.
|
69
|
+
# @param orderby [String] OData order by query option.
|
67
70
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
68
71
|
# to the HTTP request.
|
69
72
|
#
|
70
73
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
71
74
|
#
|
72
|
-
def list_by_api_async(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
75
|
+
def list_by_api_async(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
73
76
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
74
77
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
75
78
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
@@ -95,7 +98,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
95
98
|
options = {
|
96
99
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
97
100
|
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
98
|
-
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
101
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'$orderby' => orderby,'api-version' => @client.api_version},
|
99
102
|
headers: request_headers.merge(custom_headers || {}),
|
100
103
|
base_url: request_url
|
101
104
|
}
|
@@ -111,11 +114,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
111
114
|
end
|
112
115
|
|
113
116
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
117
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
118
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
114
119
|
# Deserialize Response
|
115
120
|
if status_code == 200
|
116
121
|
begin
|
117
122
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
118
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
123
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
119
124
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
120
125
|
rescue Exception => e
|
121
126
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -133,16 +138,33 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
133
138
|
#
|
134
139
|
# @param resource_group_name [String] The name of the resource group.
|
135
140
|
# @param service_name [String] The name of the API Management service.
|
136
|
-
# @param filter [String]
|
141
|
+
# @param filter [String] | Field | Usage | Supported
|
142
|
+
# operators | Supported functions
|
143
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
144
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
145
|
+
# | | </br>| userId | select, filter | eq | | </br>| apiRegion | filter
|
146
|
+
# | eq | | </br>| productId | filter | eq | | </br>| subscriptionId |
|
147
|
+
# filter | eq | | </br>| apiId | filter | eq | | </br>| operationId |
|
148
|
+
# filter | eq | | </br>| callCountSuccess | select, orderBy | | |
|
149
|
+
# </br>| callCountBlocked | select, orderBy | | | </br>|
|
150
|
+
# callCountFailed | select, orderBy | | | </br>| callCountOther |
|
151
|
+
# select, orderBy | | | </br>| callCountTotal | select, orderBy | |
|
152
|
+
# | </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
|
153
|
+
# select | | | </br>| cacheMissCount | select | | | </br>|
|
154
|
+
# apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
|
155
|
+
# | </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
|
156
|
+
# | | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
|
157
|
+
# select | | | </br>
|
137
158
|
# @param top [Integer] Number of records to return.
|
138
159
|
# @param skip [Integer] Number of records to skip.
|
160
|
+
# @param orderby [String] OData order by query option.
|
139
161
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
140
162
|
# will be added to the HTTP request.
|
141
163
|
#
|
142
164
|
# @return [Array<ReportRecordContract>] operation results.
|
143
165
|
#
|
144
|
-
def list_by_user(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
145
|
-
first_page = list_by_user_as_lazy(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers)
|
166
|
+
def list_by_user(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
167
|
+
first_page = list_by_user_as_lazy(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers)
|
146
168
|
first_page.get_all_items
|
147
169
|
end
|
148
170
|
|
@@ -151,16 +173,33 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
151
173
|
#
|
152
174
|
# @param resource_group_name [String] The name of the resource group.
|
153
175
|
# @param service_name [String] The name of the API Management service.
|
154
|
-
# @param filter [String]
|
176
|
+
# @param filter [String] | Field | Usage | Supported
|
177
|
+
# operators | Supported functions
|
178
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
179
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
180
|
+
# | | </br>| userId | select, filter | eq | | </br>| apiRegion | filter
|
181
|
+
# | eq | | </br>| productId | filter | eq | | </br>| subscriptionId |
|
182
|
+
# filter | eq | | </br>| apiId | filter | eq | | </br>| operationId |
|
183
|
+
# filter | eq | | </br>| callCountSuccess | select, orderBy | | |
|
184
|
+
# </br>| callCountBlocked | select, orderBy | | | </br>|
|
185
|
+
# callCountFailed | select, orderBy | | | </br>| callCountOther |
|
186
|
+
# select, orderBy | | | </br>| callCountTotal | select, orderBy | |
|
187
|
+
# | </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
|
188
|
+
# select | | | </br>| cacheMissCount | select | | | </br>|
|
189
|
+
# apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
|
190
|
+
# | </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
|
191
|
+
# | | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
|
192
|
+
# select | | | </br>
|
155
193
|
# @param top [Integer] Number of records to return.
|
156
194
|
# @param skip [Integer] Number of records to skip.
|
195
|
+
# @param orderby [String] OData order by query option.
|
157
196
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
158
197
|
# will be added to the HTTP request.
|
159
198
|
#
|
160
199
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
161
200
|
#
|
162
|
-
def list_by_user_with_http_info(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
163
|
-
list_by_user_async(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
201
|
+
def list_by_user_with_http_info(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
202
|
+
list_by_user_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
|
164
203
|
end
|
165
204
|
|
166
205
|
#
|
@@ -168,15 +207,32 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
168
207
|
#
|
169
208
|
# @param resource_group_name [String] The name of the resource group.
|
170
209
|
# @param service_name [String] The name of the API Management service.
|
171
|
-
# @param filter [String]
|
210
|
+
# @param filter [String] | Field | Usage | Supported
|
211
|
+
# operators | Supported functions
|
212
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
213
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
214
|
+
# | | </br>| userId | select, filter | eq | | </br>| apiRegion | filter
|
215
|
+
# | eq | | </br>| productId | filter | eq | | </br>| subscriptionId |
|
216
|
+
# filter | eq | | </br>| apiId | filter | eq | | </br>| operationId |
|
217
|
+
# filter | eq | | </br>| callCountSuccess | select, orderBy | | |
|
218
|
+
# </br>| callCountBlocked | select, orderBy | | | </br>|
|
219
|
+
# callCountFailed | select, orderBy | | | </br>| callCountOther |
|
220
|
+
# select, orderBy | | | </br>| callCountTotal | select, orderBy | |
|
221
|
+
# | </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
|
222
|
+
# select | | | </br>| cacheMissCount | select | | | </br>|
|
223
|
+
# apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
|
224
|
+
# | </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
|
225
|
+
# | | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
|
226
|
+
# select | | | </br>
|
172
227
|
# @param top [Integer] Number of records to return.
|
173
228
|
# @param skip [Integer] Number of records to skip.
|
229
|
+
# @param orderby [String] OData order by query option.
|
174
230
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
175
231
|
# to the HTTP request.
|
176
232
|
#
|
177
233
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
178
234
|
#
|
179
|
-
def list_by_user_async(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
235
|
+
def list_by_user_async(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
180
236
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
181
237
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
182
238
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
@@ -202,7 +258,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
202
258
|
options = {
|
203
259
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
204
260
|
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
205
|
-
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
261
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'$orderby' => orderby,'api-version' => @client.api_version},
|
206
262
|
headers: request_headers.merge(custom_headers || {}),
|
207
263
|
base_url: request_url
|
208
264
|
}
|
@@ -218,11 +274,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
218
274
|
end
|
219
275
|
|
220
276
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
277
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
278
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
221
279
|
# Deserialize Response
|
222
280
|
if status_code == 200
|
223
281
|
begin
|
224
282
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
225
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
283
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
226
284
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
227
285
|
rescue Exception => e
|
228
286
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -240,16 +298,33 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
240
298
|
#
|
241
299
|
# @param resource_group_name [String] The name of the resource group.
|
242
300
|
# @param service_name [String] The name of the API Management service.
|
243
|
-
# @param filter [String]
|
301
|
+
# @param filter [String] | Field | Usage | Supported
|
302
|
+
# operators | Supported functions
|
303
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
304
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
305
|
+
# | | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq |
|
306
|
+
# | </br>| productId | filter | eq | | </br>| subscriptionId | filter | eq
|
307
|
+
# | | </br>| apiId | filter | eq | | </br>| operationId | select,
|
308
|
+
# filter | eq | | </br>| callCountSuccess | select, orderBy | | |
|
309
|
+
# </br>| callCountBlocked | select, orderBy | | | </br>|
|
310
|
+
# callCountFailed | select, orderBy | | | </br>| callCountOther |
|
311
|
+
# select, orderBy | | | </br>| callCountTotal | select, orderBy | |
|
312
|
+
# | </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
|
313
|
+
# select | | | </br>| cacheMissCount | select | | | </br>|
|
314
|
+
# apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
|
315
|
+
# | </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
|
316
|
+
# | | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
|
317
|
+
# select | | | </br>
|
244
318
|
# @param top [Integer] Number of records to return.
|
245
319
|
# @param skip [Integer] Number of records to skip.
|
320
|
+
# @param orderby [String] OData order by query option.
|
246
321
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
247
322
|
# will be added to the HTTP request.
|
248
323
|
#
|
249
324
|
# @return [Array<ReportRecordContract>] operation results.
|
250
325
|
#
|
251
|
-
def list_by_operation(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
252
|
-
first_page = list_by_operation_as_lazy(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers)
|
326
|
+
def list_by_operation(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
327
|
+
first_page = list_by_operation_as_lazy(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers)
|
253
328
|
first_page.get_all_items
|
254
329
|
end
|
255
330
|
|
@@ -258,16 +333,33 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
258
333
|
#
|
259
334
|
# @param resource_group_name [String] The name of the resource group.
|
260
335
|
# @param service_name [String] The name of the API Management service.
|
261
|
-
# @param filter [String]
|
336
|
+
# @param filter [String] | Field | Usage | Supported
|
337
|
+
# operators | Supported functions
|
338
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
339
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
340
|
+
# | | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq |
|
341
|
+
# | </br>| productId | filter | eq | | </br>| subscriptionId | filter | eq
|
342
|
+
# | | </br>| apiId | filter | eq | | </br>| operationId | select,
|
343
|
+
# filter | eq | | </br>| callCountSuccess | select, orderBy | | |
|
344
|
+
# </br>| callCountBlocked | select, orderBy | | | </br>|
|
345
|
+
# callCountFailed | select, orderBy | | | </br>| callCountOther |
|
346
|
+
# select, orderBy | | | </br>| callCountTotal | select, orderBy | |
|
347
|
+
# | </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
|
348
|
+
# select | | | </br>| cacheMissCount | select | | | </br>|
|
349
|
+
# apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
|
350
|
+
# | </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
|
351
|
+
# | | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
|
352
|
+
# select | | | </br>
|
262
353
|
# @param top [Integer] Number of records to return.
|
263
354
|
# @param skip [Integer] Number of records to skip.
|
355
|
+
# @param orderby [String] OData order by query option.
|
264
356
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
265
357
|
# will be added to the HTTP request.
|
266
358
|
#
|
267
359
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
268
360
|
#
|
269
|
-
def list_by_operation_with_http_info(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
270
|
-
list_by_operation_async(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
361
|
+
def list_by_operation_with_http_info(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
362
|
+
list_by_operation_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
|
271
363
|
end
|
272
364
|
|
273
365
|
#
|
@@ -275,15 +367,32 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
275
367
|
#
|
276
368
|
# @param resource_group_name [String] The name of the resource group.
|
277
369
|
# @param service_name [String] The name of the API Management service.
|
278
|
-
# @param filter [String]
|
370
|
+
# @param filter [String] | Field | Usage | Supported
|
371
|
+
# operators | Supported functions
|
372
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
373
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
374
|
+
# | | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq |
|
375
|
+
# | </br>| productId | filter | eq | | </br>| subscriptionId | filter | eq
|
376
|
+
# | | </br>| apiId | filter | eq | | </br>| operationId | select,
|
377
|
+
# filter | eq | | </br>| callCountSuccess | select, orderBy | | |
|
378
|
+
# </br>| callCountBlocked | select, orderBy | | | </br>|
|
379
|
+
# callCountFailed | select, orderBy | | | </br>| callCountOther |
|
380
|
+
# select, orderBy | | | </br>| callCountTotal | select, orderBy | |
|
381
|
+
# | </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
|
382
|
+
# select | | | </br>| cacheMissCount | select | | | </br>|
|
383
|
+
# apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
|
384
|
+
# | </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
|
385
|
+
# | | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
|
386
|
+
# select | | | </br>
|
279
387
|
# @param top [Integer] Number of records to return.
|
280
388
|
# @param skip [Integer] Number of records to skip.
|
389
|
+
# @param orderby [String] OData order by query option.
|
281
390
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
282
391
|
# to the HTTP request.
|
283
392
|
#
|
284
393
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
285
394
|
#
|
286
|
-
def list_by_operation_async(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
395
|
+
def list_by_operation_async(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
287
396
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
288
397
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
289
398
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
@@ -309,7 +418,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
309
418
|
options = {
|
310
419
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
311
420
|
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
312
|
-
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
421
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'$orderby' => orderby,'api-version' => @client.api_version},
|
313
422
|
headers: request_headers.merge(custom_headers || {}),
|
314
423
|
base_url: request_url
|
315
424
|
}
|
@@ -325,11 +434,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
325
434
|
end
|
326
435
|
|
327
436
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
437
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
438
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
328
439
|
# Deserialize Response
|
329
440
|
if status_code == 200
|
330
441
|
begin
|
331
442
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
332
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
443
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
333
444
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
334
445
|
rescue Exception => e
|
335
446
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -347,16 +458,32 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
347
458
|
#
|
348
459
|
# @param resource_group_name [String] The name of the resource group.
|
349
460
|
# @param service_name [String] The name of the API Management service.
|
350
|
-
# @param filter [String]
|
461
|
+
# @param filter [String] | Field | Usage | Supported
|
462
|
+
# operators | Supported functions
|
463
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
464
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
465
|
+
# | | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq |
|
466
|
+
# | </br>| productId | select, filter | eq | | </br>| subscriptionId |
|
467
|
+
# filter | eq | | </br>| callCountSuccess | select, orderBy | | |
|
468
|
+
# </br>| callCountBlocked | select, orderBy | | | </br>|
|
469
|
+
# callCountFailed | select, orderBy | | | </br>| callCountOther |
|
470
|
+
# select, orderBy | | | </br>| callCountTotal | select, orderBy | |
|
471
|
+
# | </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
|
472
|
+
# select | | | </br>| cacheMissCount | select | | | </br>|
|
473
|
+
# apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
|
474
|
+
# | </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
|
475
|
+
# | | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
|
476
|
+
# select | | | </br>
|
351
477
|
# @param top [Integer] Number of records to return.
|
352
478
|
# @param skip [Integer] Number of records to skip.
|
479
|
+
# @param orderby [String] OData order by query option.
|
353
480
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
354
481
|
# will be added to the HTTP request.
|
355
482
|
#
|
356
483
|
# @return [Array<ReportRecordContract>] operation results.
|
357
484
|
#
|
358
|
-
def list_by_product(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
359
|
-
first_page = list_by_product_as_lazy(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers)
|
485
|
+
def list_by_product(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
486
|
+
first_page = list_by_product_as_lazy(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers)
|
360
487
|
first_page.get_all_items
|
361
488
|
end
|
362
489
|
|
@@ -365,16 +492,32 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
365
492
|
#
|
366
493
|
# @param resource_group_name [String] The name of the resource group.
|
367
494
|
# @param service_name [String] The name of the API Management service.
|
368
|
-
# @param filter [String]
|
495
|
+
# @param filter [String] | Field | Usage | Supported
|
496
|
+
# operators | Supported functions
|
497
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
498
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
499
|
+
# | | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq |
|
500
|
+
# | </br>| productId | select, filter | eq | | </br>| subscriptionId |
|
501
|
+
# filter | eq | | </br>| callCountSuccess | select, orderBy | | |
|
502
|
+
# </br>| callCountBlocked | select, orderBy | | | </br>|
|
503
|
+
# callCountFailed | select, orderBy | | | </br>| callCountOther |
|
504
|
+
# select, orderBy | | | </br>| callCountTotal | select, orderBy | |
|
505
|
+
# | </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
|
506
|
+
# select | | | </br>| cacheMissCount | select | | | </br>|
|
507
|
+
# apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
|
508
|
+
# | </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
|
509
|
+
# | | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
|
510
|
+
# select | | | </br>
|
369
511
|
# @param top [Integer] Number of records to return.
|
370
512
|
# @param skip [Integer] Number of records to skip.
|
513
|
+
# @param orderby [String] OData order by query option.
|
371
514
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
372
515
|
# will be added to the HTTP request.
|
373
516
|
#
|
374
517
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
375
518
|
#
|
376
|
-
def list_by_product_with_http_info(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
377
|
-
list_by_product_async(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
519
|
+
def list_by_product_with_http_info(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
520
|
+
list_by_product_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
|
378
521
|
end
|
379
522
|
|
380
523
|
#
|
@@ -382,15 +525,31 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
382
525
|
#
|
383
526
|
# @param resource_group_name [String] The name of the resource group.
|
384
527
|
# @param service_name [String] The name of the API Management service.
|
385
|
-
# @param filter [String]
|
528
|
+
# @param filter [String] | Field | Usage | Supported
|
529
|
+
# operators | Supported functions
|
530
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
531
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
532
|
+
# | | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq |
|
533
|
+
# | </br>| productId | select, filter | eq | | </br>| subscriptionId |
|
534
|
+
# filter | eq | | </br>| callCountSuccess | select, orderBy | | |
|
535
|
+
# </br>| callCountBlocked | select, orderBy | | | </br>|
|
536
|
+
# callCountFailed | select, orderBy | | | </br>| callCountOther |
|
537
|
+
# select, orderBy | | | </br>| callCountTotal | select, orderBy | |
|
538
|
+
# | </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
|
539
|
+
# select | | | </br>| cacheMissCount | select | | | </br>|
|
540
|
+
# apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
|
541
|
+
# | </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
|
542
|
+
# | | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
|
543
|
+
# select | | | </br>
|
386
544
|
# @param top [Integer] Number of records to return.
|
387
545
|
# @param skip [Integer] Number of records to skip.
|
546
|
+
# @param orderby [String] OData order by query option.
|
388
547
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
389
548
|
# to the HTTP request.
|
390
549
|
#
|
391
550
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
392
551
|
#
|
393
|
-
def list_by_product_async(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
552
|
+
def list_by_product_async(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
394
553
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
395
554
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
396
555
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
@@ -416,7 +575,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
416
575
|
options = {
|
417
576
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
418
577
|
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
419
|
-
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
578
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'$orderby' => orderby,'api-version' => @client.api_version},
|
420
579
|
headers: request_headers.merge(custom_headers || {}),
|
421
580
|
base_url: request_url
|
422
581
|
}
|
@@ -432,11 +591,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
432
591
|
end
|
433
592
|
|
434
593
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
594
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
595
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
435
596
|
# Deserialize Response
|
436
597
|
if status_code == 200
|
437
598
|
begin
|
438
599
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
439
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
600
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
440
601
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
441
602
|
rescue Exception => e
|
442
603
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -450,11 +611,26 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
450
611
|
end
|
451
612
|
|
452
613
|
#
|
453
|
-
# Lists report records by
|
614
|
+
# Lists report records by geography.
|
454
615
|
#
|
455
616
|
# @param resource_group_name [String] The name of the resource group.
|
456
617
|
# @param service_name [String] The name of the API Management service.
|
457
|
-
# @param filter [String]
|
618
|
+
# @param filter [String] | Field | Usage | Supported
|
619
|
+
# operators | Supported functions
|
620
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
621
|
+
# timestamp | filter | ge, le | | </br>| country | select | | |
|
622
|
+
# </br>| region | select | | | </br>| zip | select | | | </br>|
|
623
|
+
# apiRegion | filter | eq | | </br>| userId | filter | eq | | </br>|
|
624
|
+
# productId | filter | eq | | </br>| subscriptionId | filter | eq | |
|
625
|
+
# </br>| apiId | filter | eq | | </br>| operationId | filter | eq | |
|
626
|
+
# </br>| callCountSuccess | select | | | </br>| callCountBlocked |
|
627
|
+
# select | | | </br>| callCountFailed | select | | | </br>|
|
628
|
+
# callCountOther | select | | | </br>| bandwidth | select, orderBy |
|
629
|
+
# | | </br>| cacheHitsCount | select | | | </br>| cacheMissCount |
|
630
|
+
# select | | | </br>| apiTimeAvg | select | | | </br>|
|
631
|
+
# apiTimeMin | select | | | </br>| apiTimeMax | select | | |
|
632
|
+
# </br>| serviceTimeAvg | select | | | </br>| serviceTimeMin | select |
|
633
|
+
# | | </br>| serviceTimeMax | select | | | </br>
|
458
634
|
# @param top [Integer] Number of records to return.
|
459
635
|
# @param skip [Integer] Number of records to skip.
|
460
636
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -462,17 +638,32 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
462
638
|
#
|
463
639
|
# @return [Array<ReportRecordContract>] operation results.
|
464
640
|
#
|
465
|
-
def list_by_geo(resource_group_name, service_name, filter
|
466
|
-
first_page = list_by_geo_as_lazy(resource_group_name, service_name, filter
|
641
|
+
def list_by_geo(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
642
|
+
first_page = list_by_geo_as_lazy(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers)
|
467
643
|
first_page.get_all_items
|
468
644
|
end
|
469
645
|
|
470
646
|
#
|
471
|
-
# Lists report records by
|
647
|
+
# Lists report records by geography.
|
472
648
|
#
|
473
649
|
# @param resource_group_name [String] The name of the resource group.
|
474
650
|
# @param service_name [String] The name of the API Management service.
|
475
|
-
# @param filter [String]
|
651
|
+
# @param filter [String] | Field | Usage | Supported
|
652
|
+
# operators | Supported functions
|
653
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
654
|
+
# timestamp | filter | ge, le | | </br>| country | select | | |
|
655
|
+
# </br>| region | select | | | </br>| zip | select | | | </br>|
|
656
|
+
# apiRegion | filter | eq | | </br>| userId | filter | eq | | </br>|
|
657
|
+
# productId | filter | eq | | </br>| subscriptionId | filter | eq | |
|
658
|
+
# </br>| apiId | filter | eq | | </br>| operationId | filter | eq | |
|
659
|
+
# </br>| callCountSuccess | select | | | </br>| callCountBlocked |
|
660
|
+
# select | | | </br>| callCountFailed | select | | | </br>|
|
661
|
+
# callCountOther | select | | | </br>| bandwidth | select, orderBy |
|
662
|
+
# | | </br>| cacheHitsCount | select | | | </br>| cacheMissCount |
|
663
|
+
# select | | | </br>| apiTimeAvg | select | | | </br>|
|
664
|
+
# apiTimeMin | select | | | </br>| apiTimeMax | select | | |
|
665
|
+
# </br>| serviceTimeAvg | select | | | </br>| serviceTimeMin | select |
|
666
|
+
# | | </br>| serviceTimeMax | select | | | </br>
|
476
667
|
# @param top [Integer] Number of records to return.
|
477
668
|
# @param skip [Integer] Number of records to skip.
|
478
669
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -480,16 +671,31 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
480
671
|
#
|
481
672
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
482
673
|
#
|
483
|
-
def list_by_geo_with_http_info(resource_group_name, service_name, filter
|
484
|
-
list_by_geo_async(resource_group_name, service_name, filter
|
674
|
+
def list_by_geo_with_http_info(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
675
|
+
list_by_geo_async(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
485
676
|
end
|
486
677
|
|
487
678
|
#
|
488
|
-
# Lists report records by
|
679
|
+
# Lists report records by geography.
|
489
680
|
#
|
490
681
|
# @param resource_group_name [String] The name of the resource group.
|
491
682
|
# @param service_name [String] The name of the API Management service.
|
492
|
-
# @param filter [String]
|
683
|
+
# @param filter [String] | Field | Usage | Supported
|
684
|
+
# operators | Supported functions
|
685
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
686
|
+
# timestamp | filter | ge, le | | </br>| country | select | | |
|
687
|
+
# </br>| region | select | | | </br>| zip | select | | | </br>|
|
688
|
+
# apiRegion | filter | eq | | </br>| userId | filter | eq | | </br>|
|
689
|
+
# productId | filter | eq | | </br>| subscriptionId | filter | eq | |
|
690
|
+
# </br>| apiId | filter | eq | | </br>| operationId | filter | eq | |
|
691
|
+
# </br>| callCountSuccess | select | | | </br>| callCountBlocked |
|
692
|
+
# select | | | </br>| callCountFailed | select | | | </br>|
|
693
|
+
# callCountOther | select | | | </br>| bandwidth | select, orderBy |
|
694
|
+
# | | </br>| cacheHitsCount | select | | | </br>| cacheMissCount |
|
695
|
+
# select | | | </br>| apiTimeAvg | select | | | </br>|
|
696
|
+
# apiTimeMin | select | | | </br>| apiTimeMax | select | | |
|
697
|
+
# </br>| serviceTimeAvg | select | | | </br>| serviceTimeMin | select |
|
698
|
+
# | | </br>| serviceTimeMax | select | | | </br>
|
493
699
|
# @param top [Integer] Number of records to return.
|
494
700
|
# @param skip [Integer] Number of records to skip.
|
495
701
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -497,12 +703,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
497
703
|
#
|
498
704
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
499
705
|
#
|
500
|
-
def list_by_geo_async(resource_group_name, service_name, filter
|
706
|
+
def list_by_geo_async(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
501
707
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
502
708
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
503
709
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
504
710
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
505
711
|
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?
|
712
|
+
fail ArgumentError, 'filter is nil' if filter.nil?
|
506
713
|
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
507
714
|
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
508
715
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -538,11 +745,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
538
745
|
end
|
539
746
|
|
540
747
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
748
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
749
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
541
750
|
# Deserialize Response
|
542
751
|
if status_code == 200
|
543
752
|
begin
|
544
753
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
545
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
754
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
546
755
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
547
756
|
rescue Exception => e
|
548
757
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -560,16 +769,32 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
560
769
|
#
|
561
770
|
# @param resource_group_name [String] The name of the resource group.
|
562
771
|
# @param service_name [String] The name of the API Management service.
|
563
|
-
# @param filter [String]
|
772
|
+
# @param filter [String] | Field | Usage | Supported
|
773
|
+
# operators | Supported functions
|
774
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
775
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
776
|
+
# | | </br>| apiRegion | filter | eq | | </br>| userId | select, filter
|
777
|
+
# | eq | | </br>| productId | select, filter | eq | | </br>|
|
778
|
+
# subscriptionId | select, filter | eq | | </br>| callCountSuccess |
|
779
|
+
# select, orderBy | | | </br>| callCountBlocked | select, orderBy |
|
780
|
+
# | | </br>| callCountFailed | select, orderBy | | | </br>|
|
781
|
+
# callCountOther | select, orderBy | | | </br>| callCountTotal |
|
782
|
+
# select, orderBy | | | </br>| bandwidth | select, orderBy | |
|
783
|
+
# | </br>| cacheHitsCount | select | | | </br>| cacheMissCount | select
|
784
|
+
# | | | </br>| apiTimeAvg | select, orderBy | | | </br>|
|
785
|
+
# apiTimeMin | select | | | </br>| apiTimeMax | select | | |
|
786
|
+
# </br>| serviceTimeAvg | select | | | </br>| serviceTimeMin | select |
|
787
|
+
# | | </br>| serviceTimeMax | select | | | </br>
|
564
788
|
# @param top [Integer] Number of records to return.
|
565
789
|
# @param skip [Integer] Number of records to skip.
|
790
|
+
# @param orderby [String] OData order by query option.
|
566
791
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
567
792
|
# will be added to the HTTP request.
|
568
793
|
#
|
569
794
|
# @return [Array<ReportRecordContract>] operation results.
|
570
795
|
#
|
571
|
-
def list_by_subscription(resource_group_name, service_name, filter
|
572
|
-
first_page = list_by_subscription_as_lazy(resource_group_name, service_name, filter
|
796
|
+
def list_by_subscription(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
797
|
+
first_page = list_by_subscription_as_lazy(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers)
|
573
798
|
first_page.get_all_items
|
574
799
|
end
|
575
800
|
|
@@ -578,16 +803,32 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
578
803
|
#
|
579
804
|
# @param resource_group_name [String] The name of the resource group.
|
580
805
|
# @param service_name [String] The name of the API Management service.
|
581
|
-
# @param filter [String]
|
806
|
+
# @param filter [String] | Field | Usage | Supported
|
807
|
+
# operators | Supported functions
|
808
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
809
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
810
|
+
# | | </br>| apiRegion | filter | eq | | </br>| userId | select, filter
|
811
|
+
# | eq | | </br>| productId | select, filter | eq | | </br>|
|
812
|
+
# subscriptionId | select, filter | eq | | </br>| callCountSuccess |
|
813
|
+
# select, orderBy | | | </br>| callCountBlocked | select, orderBy |
|
814
|
+
# | | </br>| callCountFailed | select, orderBy | | | </br>|
|
815
|
+
# callCountOther | select, orderBy | | | </br>| callCountTotal |
|
816
|
+
# select, orderBy | | | </br>| bandwidth | select, orderBy | |
|
817
|
+
# | </br>| cacheHitsCount | select | | | </br>| cacheMissCount | select
|
818
|
+
# | | | </br>| apiTimeAvg | select, orderBy | | | </br>|
|
819
|
+
# apiTimeMin | select | | | </br>| apiTimeMax | select | | |
|
820
|
+
# </br>| serviceTimeAvg | select | | | </br>| serviceTimeMin | select |
|
821
|
+
# | | </br>| serviceTimeMax | select | | | </br>
|
582
822
|
# @param top [Integer] Number of records to return.
|
583
823
|
# @param skip [Integer] Number of records to skip.
|
824
|
+
# @param orderby [String] OData order by query option.
|
584
825
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
585
826
|
# will be added to the HTTP request.
|
586
827
|
#
|
587
828
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
588
829
|
#
|
589
|
-
def list_by_subscription_with_http_info(resource_group_name, service_name, filter
|
590
|
-
list_by_subscription_async(resource_group_name, service_name, filter
|
830
|
+
def list_by_subscription_with_http_info(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
831
|
+
list_by_subscription_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
|
591
832
|
end
|
592
833
|
|
593
834
|
#
|
@@ -595,20 +836,37 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
595
836
|
#
|
596
837
|
# @param resource_group_name [String] The name of the resource group.
|
597
838
|
# @param service_name [String] The name of the API Management service.
|
598
|
-
# @param filter [String]
|
839
|
+
# @param filter [String] | Field | Usage | Supported
|
840
|
+
# operators | Supported functions
|
841
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
842
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
843
|
+
# | | </br>| apiRegion | filter | eq | | </br>| userId | select, filter
|
844
|
+
# | eq | | </br>| productId | select, filter | eq | | </br>|
|
845
|
+
# subscriptionId | select, filter | eq | | </br>| callCountSuccess |
|
846
|
+
# select, orderBy | | | </br>| callCountBlocked | select, orderBy |
|
847
|
+
# | | </br>| callCountFailed | select, orderBy | | | </br>|
|
848
|
+
# callCountOther | select, orderBy | | | </br>| callCountTotal |
|
849
|
+
# select, orderBy | | | </br>| bandwidth | select, orderBy | |
|
850
|
+
# | </br>| cacheHitsCount | select | | | </br>| cacheMissCount | select
|
851
|
+
# | | | </br>| apiTimeAvg | select, orderBy | | | </br>|
|
852
|
+
# apiTimeMin | select | | | </br>| apiTimeMax | select | | |
|
853
|
+
# </br>| serviceTimeAvg | select | | | </br>| serviceTimeMin | select |
|
854
|
+
# | | </br>| serviceTimeMax | select | | | </br>
|
599
855
|
# @param top [Integer] Number of records to return.
|
600
856
|
# @param skip [Integer] Number of records to skip.
|
857
|
+
# @param orderby [String] OData order by query option.
|
601
858
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
602
859
|
# to the HTTP request.
|
603
860
|
#
|
604
861
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
605
862
|
#
|
606
|
-
def list_by_subscription_async(resource_group_name, service_name, filter
|
863
|
+
def list_by_subscription_async(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
607
864
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
608
865
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
609
866
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
610
867
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
611
868
|
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?
|
869
|
+
fail ArgumentError, 'filter is nil' if filter.nil?
|
612
870
|
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
613
871
|
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
614
872
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -628,7 +886,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
628
886
|
options = {
|
629
887
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
630
888
|
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
631
|
-
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
889
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'$orderby' => orderby,'api-version' => @client.api_version},
|
632
890
|
headers: request_headers.merge(custom_headers || {}),
|
633
891
|
base_url: request_url
|
634
892
|
}
|
@@ -644,11 +902,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
644
902
|
end
|
645
903
|
|
646
904
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
905
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
906
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
647
907
|
# Deserialize Response
|
648
908
|
if status_code == 200
|
649
909
|
begin
|
650
910
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
651
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
911
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
652
912
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
653
913
|
rescue Exception => e
|
654
914
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -666,21 +926,36 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
666
926
|
#
|
667
927
|
# @param resource_group_name [String] The name of the resource group.
|
668
928
|
# @param service_name [String] The name of the API Management service.
|
929
|
+
# @param filter [String] | Field | Usage | Supported
|
930
|
+
# operators | Supported functions
|
931
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
932
|
+
# timestamp | filter, select | ge, le | | </br>| interval | select | |
|
933
|
+
# | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq | |
|
934
|
+
# </br>| productId | filter | eq | | </br>| subscriptionId | filter | eq |
|
935
|
+
# | </br>| apiId | filter | eq | | </br>| operationId | filter | eq | |
|
936
|
+
# </br>| callCountSuccess | select | | | </br>| callCountBlocked |
|
937
|
+
# select | | | </br>| callCountFailed | select | | | </br>|
|
938
|
+
# callCountOther | select | | | </br>| bandwidth | select, orderBy |
|
939
|
+
# | | </br>| cacheHitsCount | select | | | </br>| cacheMissCount |
|
940
|
+
# select | | | </br>| apiTimeAvg | select | | | </br>|
|
941
|
+
# apiTimeMin | select | | | </br>| apiTimeMax | select | | |
|
942
|
+
# </br>| serviceTimeAvg | select | | | </br>| serviceTimeMin | select |
|
943
|
+
# | | </br>| serviceTimeMax | select | | | </br>
|
669
944
|
# @param interval [Duration] By time interval. Interval must be multiple of 15
|
670
945
|
# minutes and may not be zero. The value should be in ISO 8601 format
|
671
946
|
# (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to
|
672
947
|
# convert TimeSpan to a valid interval string: XmlConvert.ToString(new
|
673
|
-
# TimeSpan(hours, minutes,
|
674
|
-
# @param filter [String] The filter to apply on the operation.
|
948
|
+
# TimeSpan(hours, minutes, seconds)).
|
675
949
|
# @param top [Integer] Number of records to return.
|
676
950
|
# @param skip [Integer] Number of records to skip.
|
951
|
+
# @param orderby [String] OData order by query option.
|
677
952
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
678
953
|
# will be added to the HTTP request.
|
679
954
|
#
|
680
955
|
# @return [Array<ReportRecordContract>] operation results.
|
681
956
|
#
|
682
|
-
def list_by_time(resource_group_name, service_name, interval,
|
683
|
-
first_page = list_by_time_as_lazy(resource_group_name, service_name,
|
957
|
+
def list_by_time(resource_group_name, service_name, filter, interval, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
958
|
+
first_page = list_by_time_as_lazy(resource_group_name, service_name, filter, interval, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers)
|
684
959
|
first_page.get_all_items
|
685
960
|
end
|
686
961
|
|
@@ -689,21 +964,36 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
689
964
|
#
|
690
965
|
# @param resource_group_name [String] The name of the resource group.
|
691
966
|
# @param service_name [String] The name of the API Management service.
|
967
|
+
# @param filter [String] | Field | Usage | Supported
|
968
|
+
# operators | Supported functions
|
969
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
970
|
+
# timestamp | filter, select | ge, le | | </br>| interval | select | |
|
971
|
+
# | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq | |
|
972
|
+
# </br>| productId | filter | eq | | </br>| subscriptionId | filter | eq |
|
973
|
+
# | </br>| apiId | filter | eq | | </br>| operationId | filter | eq | |
|
974
|
+
# </br>| callCountSuccess | select | | | </br>| callCountBlocked |
|
975
|
+
# select | | | </br>| callCountFailed | select | | | </br>|
|
976
|
+
# callCountOther | select | | | </br>| bandwidth | select, orderBy |
|
977
|
+
# | | </br>| cacheHitsCount | select | | | </br>| cacheMissCount |
|
978
|
+
# select | | | </br>| apiTimeAvg | select | | | </br>|
|
979
|
+
# apiTimeMin | select | | | </br>| apiTimeMax | select | | |
|
980
|
+
# </br>| serviceTimeAvg | select | | | </br>| serviceTimeMin | select |
|
981
|
+
# | | </br>| serviceTimeMax | select | | | </br>
|
692
982
|
# @param interval [Duration] By time interval. Interval must be multiple of 15
|
693
983
|
# minutes and may not be zero. The value should be in ISO 8601 format
|
694
984
|
# (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to
|
695
985
|
# convert TimeSpan to a valid interval string: XmlConvert.ToString(new
|
696
|
-
# TimeSpan(hours, minutes,
|
697
|
-
# @param filter [String] The filter to apply on the operation.
|
986
|
+
# TimeSpan(hours, minutes, seconds)).
|
698
987
|
# @param top [Integer] Number of records to return.
|
699
988
|
# @param skip [Integer] Number of records to skip.
|
989
|
+
# @param orderby [String] OData order by query option.
|
700
990
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
701
991
|
# will be added to the HTTP request.
|
702
992
|
#
|
703
993
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
704
994
|
#
|
705
|
-
def list_by_time_with_http_info(resource_group_name, service_name, interval,
|
706
|
-
list_by_time_async(resource_group_name, service_name,
|
995
|
+
def list_by_time_with_http_info(resource_group_name, service_name, filter, interval, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
996
|
+
list_by_time_async(resource_group_name, service_name, filter, interval, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
|
707
997
|
end
|
708
998
|
|
709
999
|
#
|
@@ -711,25 +1001,41 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
711
1001
|
#
|
712
1002
|
# @param resource_group_name [String] The name of the resource group.
|
713
1003
|
# @param service_name [String] The name of the API Management service.
|
1004
|
+
# @param filter [String] | Field | Usage | Supported
|
1005
|
+
# operators | Supported functions
|
1006
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
1007
|
+
# timestamp | filter, select | ge, le | | </br>| interval | select | |
|
1008
|
+
# | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq | |
|
1009
|
+
# </br>| productId | filter | eq | | </br>| subscriptionId | filter | eq |
|
1010
|
+
# | </br>| apiId | filter | eq | | </br>| operationId | filter | eq | |
|
1011
|
+
# </br>| callCountSuccess | select | | | </br>| callCountBlocked |
|
1012
|
+
# select | | | </br>| callCountFailed | select | | | </br>|
|
1013
|
+
# callCountOther | select | | | </br>| bandwidth | select, orderBy |
|
1014
|
+
# | | </br>| cacheHitsCount | select | | | </br>| cacheMissCount |
|
1015
|
+
# select | | | </br>| apiTimeAvg | select | | | </br>|
|
1016
|
+
# apiTimeMin | select | | | </br>| apiTimeMax | select | | |
|
1017
|
+
# </br>| serviceTimeAvg | select | | | </br>| serviceTimeMin | select |
|
1018
|
+
# | | </br>| serviceTimeMax | select | | | </br>
|
714
1019
|
# @param interval [Duration] By time interval. Interval must be multiple of 15
|
715
1020
|
# minutes and may not be zero. The value should be in ISO 8601 format
|
716
1021
|
# (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to
|
717
1022
|
# convert TimeSpan to a valid interval string: XmlConvert.ToString(new
|
718
|
-
# TimeSpan(hours, minutes,
|
719
|
-
# @param filter [String] The filter to apply on the operation.
|
1023
|
+
# TimeSpan(hours, minutes, seconds)).
|
720
1024
|
# @param top [Integer] Number of records to return.
|
721
1025
|
# @param skip [Integer] Number of records to skip.
|
1026
|
+
# @param orderby [String] OData order by query option.
|
722
1027
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
723
1028
|
# to the HTTP request.
|
724
1029
|
#
|
725
1030
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
726
1031
|
#
|
727
|
-
def list_by_time_async(resource_group_name, service_name, interval,
|
1032
|
+
def list_by_time_async(resource_group_name, service_name, filter, interval, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
728
1033
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
729
1034
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
730
1035
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
731
1036
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
732
1037
|
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?
|
1038
|
+
fail ArgumentError, 'filter is nil' if filter.nil?
|
733
1039
|
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
734
1040
|
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
735
1041
|
fail ArgumentError, 'interval is nil' if interval.nil?
|
@@ -750,7 +1056,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
750
1056
|
options = {
|
751
1057
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
752
1058
|
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
753
|
-
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'interval' => interval,'api-version' => @client.api_version},
|
1059
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'$orderby' => orderby,'interval' => interval,'api-version' => @client.api_version},
|
754
1060
|
headers: request_headers.merge(custom_headers || {}),
|
755
1061
|
base_url: request_url
|
756
1062
|
}
|
@@ -766,11 +1072,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
766
1072
|
end
|
767
1073
|
|
768
1074
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1075
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1076
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
769
1077
|
# Deserialize Response
|
770
1078
|
if status_code == 200
|
771
1079
|
begin
|
772
1080
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
773
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1081
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
774
1082
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
775
1083
|
rescue Exception => e
|
776
1084
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -788,7 +1096,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
788
1096
|
#
|
789
1097
|
# @param resource_group_name [String] The name of the resource group.
|
790
1098
|
# @param service_name [String] The name of the API Management service.
|
791
|
-
# @param filter [String]
|
1099
|
+
# @param filter [String] | Field | Usage | Supported
|
1100
|
+
# operators | Supported functions
|
1101
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
1102
|
+
# timestamp | filter | ge, le | | </br>| apiId | filter | eq | | </br>|
|
1103
|
+
# operationId | filter | eq | | </br>| productId | filter | eq | |
|
1104
|
+
# </br>| userId | filter | eq | | </br>| apiRegion | filter | eq | |
|
1105
|
+
# </br>| subscriptionId | filter | eq | | </br>
|
792
1106
|
# @param top [Integer] Number of records to return.
|
793
1107
|
# @param skip [Integer] Number of records to skip.
|
794
1108
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -806,7 +1120,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
806
1120
|
#
|
807
1121
|
# @param resource_group_name [String] The name of the resource group.
|
808
1122
|
# @param service_name [String] The name of the API Management service.
|
809
|
-
# @param filter [String]
|
1123
|
+
# @param filter [String] | Field | Usage | Supported
|
1124
|
+
# operators | Supported functions
|
1125
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
1126
|
+
# timestamp | filter | ge, le | | </br>| apiId | filter | eq | | </br>|
|
1127
|
+
# operationId | filter | eq | | </br>| productId | filter | eq | |
|
1128
|
+
# </br>| userId | filter | eq | | </br>| apiRegion | filter | eq | |
|
1129
|
+
# </br>| subscriptionId | filter | eq | | </br>
|
810
1130
|
# @param top [Integer] Number of records to return.
|
811
1131
|
# @param skip [Integer] Number of records to skip.
|
812
1132
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -823,7 +1143,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
823
1143
|
#
|
824
1144
|
# @param resource_group_name [String] The name of the resource group.
|
825
1145
|
# @param service_name [String] The name of the API Management service.
|
826
|
-
# @param filter [String]
|
1146
|
+
# @param filter [String] | Field | Usage | Supported
|
1147
|
+
# operators | Supported functions
|
1148
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
1149
|
+
# timestamp | filter | ge, le | | </br>| apiId | filter | eq | | </br>|
|
1150
|
+
# operationId | filter | eq | | </br>| productId | filter | eq | |
|
1151
|
+
# </br>| userId | filter | eq | | </br>| apiRegion | filter | eq | |
|
1152
|
+
# </br>| subscriptionId | filter | eq | | </br>
|
827
1153
|
# @param top [Integer] Number of records to return.
|
828
1154
|
# @param skip [Integer] Number of records to skip.
|
829
1155
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -873,11 +1199,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
873
1199
|
end
|
874
1200
|
|
875
1201
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1202
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1203
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
876
1204
|
# Deserialize Response
|
877
1205
|
if status_code == 200
|
878
1206
|
begin
|
879
1207
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
880
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1208
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::RequestReportCollection.mapper()
|
881
1209
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
882
1210
|
rescue Exception => e
|
883
1211
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -961,11 +1289,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
961
1289
|
end
|
962
1290
|
|
963
1291
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1292
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1293
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
964
1294
|
# Deserialize Response
|
965
1295
|
if status_code == 200
|
966
1296
|
begin
|
967
1297
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
968
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1298
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
969
1299
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
970
1300
|
rescue Exception => e
|
971
1301
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1049,11 +1379,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1049
1379
|
end
|
1050
1380
|
|
1051
1381
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1382
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1383
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1052
1384
|
# Deserialize Response
|
1053
1385
|
if status_code == 200
|
1054
1386
|
begin
|
1055
1387
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1056
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1388
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
1057
1389
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1058
1390
|
rescue Exception => e
|
1059
1391
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1137,11 +1469,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1137
1469
|
end
|
1138
1470
|
|
1139
1471
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1472
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1473
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1140
1474
|
# Deserialize Response
|
1141
1475
|
if status_code == 200
|
1142
1476
|
begin
|
1143
1477
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1144
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1478
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
1145
1479
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1146
1480
|
rescue Exception => e
|
1147
1481
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1225,11 +1559,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1225
1559
|
end
|
1226
1560
|
|
1227
1561
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1562
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1563
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1228
1564
|
# Deserialize Response
|
1229
1565
|
if status_code == 200
|
1230
1566
|
begin
|
1231
1567
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1232
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1568
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
1233
1569
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1234
1570
|
rescue Exception => e
|
1235
1571
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1243,7 +1579,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1243
1579
|
end
|
1244
1580
|
|
1245
1581
|
#
|
1246
|
-
# Lists report records by
|
1582
|
+
# Lists report records by geography.
|
1247
1583
|
#
|
1248
1584
|
# @param next_page_link [String] The NextLink from the previous successful call
|
1249
1585
|
# to List operation.
|
@@ -1258,7 +1594,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1258
1594
|
end
|
1259
1595
|
|
1260
1596
|
#
|
1261
|
-
# Lists report records by
|
1597
|
+
# Lists report records by geography.
|
1262
1598
|
#
|
1263
1599
|
# @param next_page_link [String] The NextLink from the previous successful call
|
1264
1600
|
# to List operation.
|
@@ -1272,7 +1608,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1272
1608
|
end
|
1273
1609
|
|
1274
1610
|
#
|
1275
|
-
# Lists report records by
|
1611
|
+
# Lists report records by geography.
|
1276
1612
|
#
|
1277
1613
|
# @param next_page_link [String] The NextLink from the previous successful call
|
1278
1614
|
# to List operation.
|
@@ -1313,11 +1649,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1313
1649
|
end
|
1314
1650
|
|
1315
1651
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1652
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1653
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1316
1654
|
# Deserialize Response
|
1317
1655
|
if status_code == 200
|
1318
1656
|
begin
|
1319
1657
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1320
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1658
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
1321
1659
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1322
1660
|
rescue Exception => e
|
1323
1661
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1401,11 +1739,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1401
1739
|
end
|
1402
1740
|
|
1403
1741
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1742
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1743
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1404
1744
|
# Deserialize Response
|
1405
1745
|
if status_code == 200
|
1406
1746
|
begin
|
1407
1747
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1408
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1748
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
1409
1749
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1410
1750
|
rescue Exception => e
|
1411
1751
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1489,11 +1829,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1489
1829
|
end
|
1490
1830
|
|
1491
1831
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1832
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1833
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1492
1834
|
# Deserialize Response
|
1493
1835
|
if status_code == 200
|
1494
1836
|
begin
|
1495
1837
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1496
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1838
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ReportCollection.mapper()
|
1497
1839
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1498
1840
|
rescue Exception => e
|
1499
1841
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1514,14 +1856,15 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1514
1856
|
# @param filter [String] The filter to apply on the operation.
|
1515
1857
|
# @param top [Integer] Number of records to return.
|
1516
1858
|
# @param skip [Integer] Number of records to skip.
|
1859
|
+
# @param orderby [String] OData order by query option.
|
1517
1860
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1518
1861
|
# will be added to the HTTP request.
|
1519
1862
|
#
|
1520
1863
|
# @return [ReportCollection] which provide lazy access to pages of the
|
1521
1864
|
# response.
|
1522
1865
|
#
|
1523
|
-
def list_by_api_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
1524
|
-
response = list_by_api_async(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
1866
|
+
def list_by_api_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
1867
|
+
response = list_by_api_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
|
1525
1868
|
unless response.nil?
|
1526
1869
|
page = response.body
|
1527
1870
|
page.next_method = Proc.new do |next_page_link|
|
@@ -1536,17 +1879,34 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1536
1879
|
#
|
1537
1880
|
# @param resource_group_name [String] The name of the resource group.
|
1538
1881
|
# @param service_name [String] The name of the API Management service.
|
1539
|
-
# @param filter [String]
|
1882
|
+
# @param filter [String] | Field | Usage | Supported
|
1883
|
+
# operators | Supported functions
|
1884
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
1885
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
1886
|
+
# | | </br>| userId | select, filter | eq | | </br>| apiRegion | filter
|
1887
|
+
# | eq | | </br>| productId | filter | eq | | </br>| subscriptionId |
|
1888
|
+
# filter | eq | | </br>| apiId | filter | eq | | </br>| operationId |
|
1889
|
+
# filter | eq | | </br>| callCountSuccess | select, orderBy | | |
|
1890
|
+
# </br>| callCountBlocked | select, orderBy | | | </br>|
|
1891
|
+
# callCountFailed | select, orderBy | | | </br>| callCountOther |
|
1892
|
+
# select, orderBy | | | </br>| callCountTotal | select, orderBy | |
|
1893
|
+
# | </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
|
1894
|
+
# select | | | </br>| cacheMissCount | select | | | </br>|
|
1895
|
+
# apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
|
1896
|
+
# | </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
|
1897
|
+
# | | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
|
1898
|
+
# select | | | </br>
|
1540
1899
|
# @param top [Integer] Number of records to return.
|
1541
1900
|
# @param skip [Integer] Number of records to skip.
|
1901
|
+
# @param orderby [String] OData order by query option.
|
1542
1902
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1543
1903
|
# will be added to the HTTP request.
|
1544
1904
|
#
|
1545
1905
|
# @return [ReportCollection] which provide lazy access to pages of the
|
1546
1906
|
# response.
|
1547
1907
|
#
|
1548
|
-
def list_by_user_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
1549
|
-
response = list_by_user_async(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
1908
|
+
def list_by_user_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
1909
|
+
response = list_by_user_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
|
1550
1910
|
unless response.nil?
|
1551
1911
|
page = response.body
|
1552
1912
|
page.next_method = Proc.new do |next_page_link|
|
@@ -1561,17 +1921,34 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1561
1921
|
#
|
1562
1922
|
# @param resource_group_name [String] The name of the resource group.
|
1563
1923
|
# @param service_name [String] The name of the API Management service.
|
1564
|
-
# @param filter [String]
|
1924
|
+
# @param filter [String] | Field | Usage | Supported
|
1925
|
+
# operators | Supported functions
|
1926
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
1927
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
1928
|
+
# | | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq |
|
1929
|
+
# | </br>| productId | filter | eq | | </br>| subscriptionId | filter | eq
|
1930
|
+
# | | </br>| apiId | filter | eq | | </br>| operationId | select,
|
1931
|
+
# filter | eq | | </br>| callCountSuccess | select, orderBy | | |
|
1932
|
+
# </br>| callCountBlocked | select, orderBy | | | </br>|
|
1933
|
+
# callCountFailed | select, orderBy | | | </br>| callCountOther |
|
1934
|
+
# select, orderBy | | | </br>| callCountTotal | select, orderBy | |
|
1935
|
+
# | </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
|
1936
|
+
# select | | | </br>| cacheMissCount | select | | | </br>|
|
1937
|
+
# apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
|
1938
|
+
# | </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
|
1939
|
+
# | | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
|
1940
|
+
# select | | | </br>
|
1565
1941
|
# @param top [Integer] Number of records to return.
|
1566
1942
|
# @param skip [Integer] Number of records to skip.
|
1943
|
+
# @param orderby [String] OData order by query option.
|
1567
1944
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1568
1945
|
# will be added to the HTTP request.
|
1569
1946
|
#
|
1570
1947
|
# @return [ReportCollection] which provide lazy access to pages of the
|
1571
1948
|
# response.
|
1572
1949
|
#
|
1573
|
-
def list_by_operation_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
1574
|
-
response = list_by_operation_async(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
1950
|
+
def list_by_operation_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
1951
|
+
response = list_by_operation_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
|
1575
1952
|
unless response.nil?
|
1576
1953
|
page = response.body
|
1577
1954
|
page.next_method = Proc.new do |next_page_link|
|
@@ -1586,17 +1963,33 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1586
1963
|
#
|
1587
1964
|
# @param resource_group_name [String] The name of the resource group.
|
1588
1965
|
# @param service_name [String] The name of the API Management service.
|
1589
|
-
# @param filter [String]
|
1966
|
+
# @param filter [String] | Field | Usage | Supported
|
1967
|
+
# operators | Supported functions
|
1968
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
1969
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
1970
|
+
# | | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq |
|
1971
|
+
# | </br>| productId | select, filter | eq | | </br>| subscriptionId |
|
1972
|
+
# filter | eq | | </br>| callCountSuccess | select, orderBy | | |
|
1973
|
+
# </br>| callCountBlocked | select, orderBy | | | </br>|
|
1974
|
+
# callCountFailed | select, orderBy | | | </br>| callCountOther |
|
1975
|
+
# select, orderBy | | | </br>| callCountTotal | select, orderBy | |
|
1976
|
+
# | </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
|
1977
|
+
# select | | | </br>| cacheMissCount | select | | | </br>|
|
1978
|
+
# apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
|
1979
|
+
# | </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
|
1980
|
+
# | | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
|
1981
|
+
# select | | | </br>
|
1590
1982
|
# @param top [Integer] Number of records to return.
|
1591
1983
|
# @param skip [Integer] Number of records to skip.
|
1984
|
+
# @param orderby [String] OData order by query option.
|
1592
1985
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1593
1986
|
# will be added to the HTTP request.
|
1594
1987
|
#
|
1595
1988
|
# @return [ReportCollection] which provide lazy access to pages of the
|
1596
1989
|
# response.
|
1597
1990
|
#
|
1598
|
-
def list_by_product_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
1599
|
-
response = list_by_product_async(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
1991
|
+
def list_by_product_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
1992
|
+
response = list_by_product_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
|
1600
1993
|
unless response.nil?
|
1601
1994
|
page = response.body
|
1602
1995
|
page.next_method = Proc.new do |next_page_link|
|
@@ -1607,11 +2000,26 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1607
2000
|
end
|
1608
2001
|
|
1609
2002
|
#
|
1610
|
-
# Lists report records by
|
2003
|
+
# Lists report records by geography.
|
1611
2004
|
#
|
1612
2005
|
# @param resource_group_name [String] The name of the resource group.
|
1613
2006
|
# @param service_name [String] The name of the API Management service.
|
1614
|
-
# @param filter [String]
|
2007
|
+
# @param filter [String] | Field | Usage | Supported
|
2008
|
+
# operators | Supported functions
|
2009
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
2010
|
+
# timestamp | filter | ge, le | | </br>| country | select | | |
|
2011
|
+
# </br>| region | select | | | </br>| zip | select | | | </br>|
|
2012
|
+
# apiRegion | filter | eq | | </br>| userId | filter | eq | | </br>|
|
2013
|
+
# productId | filter | eq | | </br>| subscriptionId | filter | eq | |
|
2014
|
+
# </br>| apiId | filter | eq | | </br>| operationId | filter | eq | |
|
2015
|
+
# </br>| callCountSuccess | select | | | </br>| callCountBlocked |
|
2016
|
+
# select | | | </br>| callCountFailed | select | | | </br>|
|
2017
|
+
# callCountOther | select | | | </br>| bandwidth | select, orderBy |
|
2018
|
+
# | | </br>| cacheHitsCount | select | | | </br>| cacheMissCount |
|
2019
|
+
# select | | | </br>| apiTimeAvg | select | | | </br>|
|
2020
|
+
# apiTimeMin | select | | | </br>| apiTimeMax | select | | |
|
2021
|
+
# </br>| serviceTimeAvg | select | | | </br>| serviceTimeMin | select |
|
2022
|
+
# | | </br>| serviceTimeMax | select | | | </br>
|
1615
2023
|
# @param top [Integer] Number of records to return.
|
1616
2024
|
# @param skip [Integer] Number of records to skip.
|
1617
2025
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -1620,8 +2028,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1620
2028
|
# @return [ReportCollection] which provide lazy access to pages of the
|
1621
2029
|
# response.
|
1622
2030
|
#
|
1623
|
-
def list_by_geo_as_lazy(resource_group_name, service_name, filter
|
1624
|
-
response = list_by_geo_async(resource_group_name, service_name, filter
|
2031
|
+
def list_by_geo_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, custom_headers:nil)
|
2032
|
+
response = list_by_geo_async(resource_group_name, service_name, filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
1625
2033
|
unless response.nil?
|
1626
2034
|
page = response.body
|
1627
2035
|
page.next_method = Proc.new do |next_page_link|
|
@@ -1636,17 +2044,33 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1636
2044
|
#
|
1637
2045
|
# @param resource_group_name [String] The name of the resource group.
|
1638
2046
|
# @param service_name [String] The name of the API Management service.
|
1639
|
-
# @param filter [String]
|
2047
|
+
# @param filter [String] | Field | Usage | Supported
|
2048
|
+
# operators | Supported functions
|
2049
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
2050
|
+
# timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
|
2051
|
+
# | | </br>| apiRegion | filter | eq | | </br>| userId | select, filter
|
2052
|
+
# | eq | | </br>| productId | select, filter | eq | | </br>|
|
2053
|
+
# subscriptionId | select, filter | eq | | </br>| callCountSuccess |
|
2054
|
+
# select, orderBy | | | </br>| callCountBlocked | select, orderBy |
|
2055
|
+
# | | </br>| callCountFailed | select, orderBy | | | </br>|
|
2056
|
+
# callCountOther | select, orderBy | | | </br>| callCountTotal |
|
2057
|
+
# select, orderBy | | | </br>| bandwidth | select, orderBy | |
|
2058
|
+
# | </br>| cacheHitsCount | select | | | </br>| cacheMissCount | select
|
2059
|
+
# | | | </br>| apiTimeAvg | select, orderBy | | | </br>|
|
2060
|
+
# apiTimeMin | select | | | </br>| apiTimeMax | select | | |
|
2061
|
+
# </br>| serviceTimeAvg | select | | | </br>| serviceTimeMin | select |
|
2062
|
+
# | | </br>| serviceTimeMax | select | | | </br>
|
1640
2063
|
# @param top [Integer] Number of records to return.
|
1641
2064
|
# @param skip [Integer] Number of records to skip.
|
2065
|
+
# @param orderby [String] OData order by query option.
|
1642
2066
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1643
2067
|
# will be added to the HTTP request.
|
1644
2068
|
#
|
1645
2069
|
# @return [ReportCollection] which provide lazy access to pages of the
|
1646
2070
|
# response.
|
1647
2071
|
#
|
1648
|
-
def list_by_subscription_as_lazy(resource_group_name, service_name, filter
|
1649
|
-
response = list_by_subscription_async(resource_group_name, service_name, filter
|
2072
|
+
def list_by_subscription_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
2073
|
+
response = list_by_subscription_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
|
1650
2074
|
unless response.nil?
|
1651
2075
|
page = response.body
|
1652
2076
|
page.next_method = Proc.new do |next_page_link|
|
@@ -1661,22 +2085,37 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1661
2085
|
#
|
1662
2086
|
# @param resource_group_name [String] The name of the resource group.
|
1663
2087
|
# @param service_name [String] The name of the API Management service.
|
2088
|
+
# @param filter [String] | Field | Usage | Supported
|
2089
|
+
# operators | Supported functions
|
2090
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>|
|
2091
|
+
# timestamp | filter, select | ge, le | | </br>| interval | select | |
|
2092
|
+
# | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq | |
|
2093
|
+
# </br>| productId | filter | eq | | </br>| subscriptionId | filter | eq |
|
2094
|
+
# | </br>| apiId | filter | eq | | </br>| operationId | filter | eq | |
|
2095
|
+
# </br>| callCountSuccess | select | | | </br>| callCountBlocked |
|
2096
|
+
# select | | | </br>| callCountFailed | select | | | </br>|
|
2097
|
+
# callCountOther | select | | | </br>| bandwidth | select, orderBy |
|
2098
|
+
# | | </br>| cacheHitsCount | select | | | </br>| cacheMissCount |
|
2099
|
+
# select | | | </br>| apiTimeAvg | select | | | </br>|
|
2100
|
+
# apiTimeMin | select | | | </br>| apiTimeMax | select | | |
|
2101
|
+
# </br>| serviceTimeAvg | select | | | </br>| serviceTimeMin | select |
|
2102
|
+
# | | </br>| serviceTimeMax | select | | | </br>
|
1664
2103
|
# @param interval [Duration] By time interval. Interval must be multiple of 15
|
1665
2104
|
# minutes and may not be zero. The value should be in ISO 8601 format
|
1666
2105
|
# (http://en.wikipedia.org/wiki/ISO_8601#Durations).This code can be used to
|
1667
2106
|
# convert TimeSpan to a valid interval string: XmlConvert.ToString(new
|
1668
|
-
# TimeSpan(hours, minutes,
|
1669
|
-
# @param filter [String] The filter to apply on the operation.
|
2107
|
+
# TimeSpan(hours, minutes, seconds)).
|
1670
2108
|
# @param top [Integer] Number of records to return.
|
1671
2109
|
# @param skip [Integer] Number of records to skip.
|
2110
|
+
# @param orderby [String] OData order by query option.
|
1672
2111
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1673
2112
|
# will be added to the HTTP request.
|
1674
2113
|
#
|
1675
2114
|
# @return [ReportCollection] which provide lazy access to pages of the
|
1676
2115
|
# response.
|
1677
2116
|
#
|
1678
|
-
def list_by_time_as_lazy(resource_group_name, service_name, interval,
|
1679
|
-
response = list_by_time_async(resource_group_name, service_name,
|
2117
|
+
def list_by_time_as_lazy(resource_group_name, service_name, filter, interval, top:nil, skip:nil, orderby:nil, custom_headers:nil)
|
2118
|
+
response = list_by_time_async(resource_group_name, service_name, filter, interval, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
|
1680
2119
|
unless response.nil?
|
1681
2120
|
page = response.body
|
1682
2121
|
page.next_method = Proc.new do |next_page_link|
|