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
data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/identity_provider.rb
RENAMED
@@ -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
|
#
|
@@ -64,13 +64,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
64
64
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
65
65
|
#
|
66
66
|
def list_by_service_async(resource_group_name, service_name, custom_headers:nil)
|
67
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
68
67
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
69
68
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
70
69
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
71
70
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
72
71
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
|
73
72
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
73
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
74
74
|
|
75
75
|
|
76
76
|
request_headers = {}
|
@@ -85,7 +85,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
85
85
|
|
86
86
|
options = {
|
87
87
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
88
|
-
path_params: {'
|
88
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
89
89
|
query_params: {'api-version' => @client.api_version},
|
90
90
|
headers: request_headers.merge(custom_headers || {}),
|
91
91
|
base_url: request_url
|
@@ -102,11 +102,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
102
102
|
end
|
103
103
|
|
104
104
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
105
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
106
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
105
107
|
# Deserialize Response
|
106
108
|
if status_code == 200
|
107
109
|
begin
|
108
110
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
109
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
111
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IdentityProviderList.mapper()
|
110
112
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
111
113
|
rescue Exception => e
|
112
114
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -170,7 +172,6 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
170
172
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
171
173
|
#
|
172
174
|
def get_entity_tag_async(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
|
173
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
174
175
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
175
176
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
176
177
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
@@ -178,6 +179,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
178
179
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
|
179
180
|
fail ArgumentError, 'identity_provider_name is nil' if identity_provider_name.nil?
|
180
181
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
182
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
181
183
|
|
182
184
|
|
183
185
|
request_headers = {}
|
@@ -192,7 +194,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
192
194
|
|
193
195
|
options = {
|
194
196
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
195
|
-
path_params: {'
|
197
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'identityProviderName' => identity_provider_name,'subscriptionId' => @client.subscription_id},
|
196
198
|
query_params: {'api-version' => @client.api_version},
|
197
199
|
headers: request_headers.merge(custom_headers || {}),
|
198
200
|
base_url: request_url
|
@@ -209,6 +211,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
209
211
|
end
|
210
212
|
|
211
213
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
214
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
215
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
212
216
|
|
213
217
|
result
|
214
218
|
end
|
@@ -268,7 +272,6 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
268
272
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
269
273
|
#
|
270
274
|
def get_async(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
|
271
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
272
275
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
273
276
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
274
277
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
@@ -276,6 +279,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
276
279
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
|
277
280
|
fail ArgumentError, 'identity_provider_name is nil' if identity_provider_name.nil?
|
278
281
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
282
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
279
283
|
|
280
284
|
|
281
285
|
request_headers = {}
|
@@ -290,7 +294,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
290
294
|
|
291
295
|
options = {
|
292
296
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
293
|
-
path_params: {'
|
297
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'identityProviderName' => identity_provider_name,'subscriptionId' => @client.subscription_id},
|
294
298
|
query_params: {'api-version' => @client.api_version},
|
295
299
|
headers: request_headers.merge(custom_headers || {}),
|
296
300
|
base_url: request_url
|
@@ -307,11 +311,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
307
311
|
end
|
308
312
|
|
309
313
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
314
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
315
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
310
316
|
# Deserialize Response
|
311
317
|
if status_code == 200
|
312
318
|
begin
|
313
319
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
314
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
320
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IdentityProviderContract.mapper()
|
315
321
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
316
322
|
rescue Exception => e
|
317
323
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -332,7 +338,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
332
338
|
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
333
339
|
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
334
340
|
# 'twitter', 'aad', 'aadB2C'
|
335
|
-
# @param parameters [
|
341
|
+
# @param parameters [IdentityProviderCreateContract] Create parameters.
|
336
342
|
# @param if_match [String] ETag of the Entity. Not required when creating an
|
337
343
|
# entity, but required when updating an entity.
|
338
344
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -353,7 +359,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
353
359
|
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
354
360
|
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
355
361
|
# 'twitter', 'aad', 'aadB2C'
|
356
|
-
# @param parameters [
|
362
|
+
# @param parameters [IdentityProviderCreateContract] Create parameters.
|
357
363
|
# @param if_match [String] ETag of the Entity. Not required when creating an
|
358
364
|
# entity, but required when updating an entity.
|
359
365
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -373,7 +379,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
373
379
|
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
374
380
|
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
375
381
|
# 'twitter', 'aad', 'aadB2C'
|
376
|
-
# @param parameters [
|
382
|
+
# @param parameters [IdentityProviderCreateContract] Create parameters.
|
377
383
|
# @param if_match [String] ETag of the Entity. Not required when creating an
|
378
384
|
# entity, but required when updating an entity.
|
379
385
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -402,7 +408,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
402
408
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
403
409
|
|
404
410
|
# Serialize Request
|
405
|
-
request_mapper = Azure::ApiManagement::Mgmt::
|
411
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IdentityProviderCreateContract.mapper()
|
406
412
|
request_content = @client.serialize(request_mapper, parameters)
|
407
413
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
408
414
|
|
@@ -430,11 +436,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
430
436
|
end
|
431
437
|
|
432
438
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
439
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
440
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
433
441
|
# Deserialize Response
|
434
442
|
if status_code == 201
|
435
443
|
begin
|
436
444
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
437
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
445
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IdentityProviderContract.mapper()
|
438
446
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
439
447
|
rescue Exception => e
|
440
448
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -444,7 +452,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
444
452
|
if status_code == 200
|
445
453
|
begin
|
446
454
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
447
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
455
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IdentityProviderContract.mapper()
|
448
456
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
449
457
|
rescue Exception => e
|
450
458
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -538,7 +546,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
538
546
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
539
547
|
|
540
548
|
# Serialize Request
|
541
|
-
request_mapper = Azure::ApiManagement::Mgmt::
|
549
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IdentityProviderUpdateParameters.mapper()
|
542
550
|
request_content = @client.serialize(request_mapper, parameters)
|
543
551
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
544
552
|
|
@@ -566,6 +574,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
566
574
|
end
|
567
575
|
|
568
576
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
577
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
578
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
569
579
|
|
570
580
|
result
|
571
581
|
end
|
@@ -671,6 +681,115 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
671
681
|
end
|
672
682
|
|
673
683
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
684
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
685
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
686
|
+
|
687
|
+
result
|
688
|
+
end
|
689
|
+
|
690
|
+
promise.execute
|
691
|
+
end
|
692
|
+
|
693
|
+
#
|
694
|
+
# Gets the client secret details of the Identity Provider.
|
695
|
+
#
|
696
|
+
# @param resource_group_name [String] The name of the resource group.
|
697
|
+
# @param service_name [String] The name of the API Management service.
|
698
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
699
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
700
|
+
# 'twitter', 'aad', 'aadB2C'
|
701
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
702
|
+
# will be added to the HTTP request.
|
703
|
+
#
|
704
|
+
# @return [ClientSecretContract] operation results.
|
705
|
+
#
|
706
|
+
def list_secrets(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
|
707
|
+
response = list_secrets_async(resource_group_name, service_name, identity_provider_name, custom_headers:custom_headers).value!
|
708
|
+
response.body unless response.nil?
|
709
|
+
end
|
710
|
+
|
711
|
+
#
|
712
|
+
# Gets the client secret details of the Identity Provider.
|
713
|
+
#
|
714
|
+
# @param resource_group_name [String] The name of the resource group.
|
715
|
+
# @param service_name [String] The name of the API Management service.
|
716
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
717
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
718
|
+
# 'twitter', 'aad', 'aadB2C'
|
719
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
720
|
+
# will be added to the HTTP request.
|
721
|
+
#
|
722
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
723
|
+
#
|
724
|
+
def list_secrets_with_http_info(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
|
725
|
+
list_secrets_async(resource_group_name, service_name, identity_provider_name, custom_headers:custom_headers).value!
|
726
|
+
end
|
727
|
+
|
728
|
+
#
|
729
|
+
# Gets the client secret details of the Identity Provider.
|
730
|
+
#
|
731
|
+
# @param resource_group_name [String] The name of the resource group.
|
732
|
+
# @param service_name [String] The name of the API Management service.
|
733
|
+
# @param identity_provider_name [IdentityProviderType] Identity Provider Type
|
734
|
+
# identifier. Possible values include: 'facebook', 'google', 'microsoft',
|
735
|
+
# 'twitter', 'aad', 'aadB2C'
|
736
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
737
|
+
# to the HTTP request.
|
738
|
+
#
|
739
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
740
|
+
#
|
741
|
+
def list_secrets_async(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
|
742
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
743
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
744
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
745
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
746
|
+
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?
|
747
|
+
fail ArgumentError, 'identity_provider_name is nil' if identity_provider_name.nil?
|
748
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
749
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
750
|
+
|
751
|
+
|
752
|
+
request_headers = {}
|
753
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
754
|
+
|
755
|
+
# Set Headers
|
756
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
757
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
758
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}/listSecrets'
|
759
|
+
|
760
|
+
request_url = @base_url || @client.base_url
|
761
|
+
|
762
|
+
options = {
|
763
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
764
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'identityProviderName' => identity_provider_name,'subscriptionId' => @client.subscription_id},
|
765
|
+
query_params: {'api-version' => @client.api_version},
|
766
|
+
headers: request_headers.merge(custom_headers || {}),
|
767
|
+
base_url: request_url
|
768
|
+
}
|
769
|
+
promise = @client.make_request_async(:post, path_template, options)
|
770
|
+
|
771
|
+
promise = promise.then do |result|
|
772
|
+
http_response = result.response
|
773
|
+
status_code = http_response.status
|
774
|
+
response_content = http_response.body
|
775
|
+
unless status_code == 200
|
776
|
+
error_model = JSON.load(response_content)
|
777
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
778
|
+
end
|
779
|
+
|
780
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
781
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
782
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
783
|
+
# Deserialize Response
|
784
|
+
if status_code == 200
|
785
|
+
begin
|
786
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
787
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ClientSecretContract.mapper()
|
788
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
789
|
+
rescue Exception => e
|
790
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
791
|
+
end
|
792
|
+
end
|
674
793
|
|
675
794
|
result
|
676
795
|
end
|
@@ -752,11 +871,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
752
871
|
end
|
753
872
|
|
754
873
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
874
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
875
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
755
876
|
# Deserialize Response
|
756
877
|
if status_code == 200
|
757
878
|
begin
|
758
879
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
759
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
880
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IdentityProviderList.mapper()
|
760
881
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
761
882
|
rescue Exception => e
|
762
883
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -0,0 +1,390 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ApiManagement::Mgmt::V2019_12_01
|
7
|
+
#
|
8
|
+
# ApiManagement Client
|
9
|
+
#
|
10
|
+
class Issue
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Issue class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [ApiManagementClient] reference to the ApiManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Lists a collection of issues in the specified service instance.
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param service_name [String] The name of the API Management service.
|
29
|
+
# @param filter [String] | Field | Usage | Supported
|
30
|
+
# operators | Supported functions
|
31
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>| name |
|
32
|
+
# filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
|
33
|
+
# | </br>| apiId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
34
|
+
# startswith, endswith | </br>| title | filter | ge, le, eq, ne, gt, lt |
|
35
|
+
# substringof, contains, startswith, endswith | </br>| description | filter |
|
36
|
+
# ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>|
|
37
|
+
# authorName | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
38
|
+
# startswith, endswith | </br>| state | filter | eq | | </br>
|
39
|
+
# @param top [Integer] Number of records to return.
|
40
|
+
# @param skip [Integer] Number of records to skip.
|
41
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
42
|
+
# will be added to the HTTP request.
|
43
|
+
#
|
44
|
+
# @return [Array<IssueContract>] operation results.
|
45
|
+
#
|
46
|
+
def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
47
|
+
first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
|
48
|
+
first_page.get_all_items
|
49
|
+
end
|
50
|
+
|
51
|
+
#
|
52
|
+
# Lists a collection of issues in the specified service instance.
|
53
|
+
#
|
54
|
+
# @param resource_group_name [String] The name of the resource group.
|
55
|
+
# @param service_name [String] The name of the API Management service.
|
56
|
+
# @param filter [String] | Field | Usage | Supported
|
57
|
+
# operators | Supported functions
|
58
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>| name |
|
59
|
+
# filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
|
60
|
+
# | </br>| apiId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
61
|
+
# startswith, endswith | </br>| title | filter | ge, le, eq, ne, gt, lt |
|
62
|
+
# substringof, contains, startswith, endswith | </br>| description | filter |
|
63
|
+
# ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>|
|
64
|
+
# authorName | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
65
|
+
# startswith, endswith | </br>| state | filter | eq | | </br>
|
66
|
+
# @param top [Integer] Number of records to return.
|
67
|
+
# @param skip [Integer] Number of records to skip.
|
68
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
69
|
+
# will be added to the HTTP request.
|
70
|
+
#
|
71
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
72
|
+
#
|
73
|
+
def list_by_service_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
74
|
+
list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
75
|
+
end
|
76
|
+
|
77
|
+
#
|
78
|
+
# Lists a collection of issues in the specified service instance.
|
79
|
+
#
|
80
|
+
# @param resource_group_name [String] The name of the resource group.
|
81
|
+
# @param service_name [String] The name of the API Management service.
|
82
|
+
# @param filter [String] | Field | Usage | Supported
|
83
|
+
# operators | Supported functions
|
84
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>| name |
|
85
|
+
# filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
|
86
|
+
# | </br>| apiId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
87
|
+
# startswith, endswith | </br>| title | filter | ge, le, eq, ne, gt, lt |
|
88
|
+
# substringof, contains, startswith, endswith | </br>| description | filter |
|
89
|
+
# ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>|
|
90
|
+
# authorName | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
91
|
+
# startswith, endswith | </br>| state | filter | eq | | </br>
|
92
|
+
# @param top [Integer] Number of records to return.
|
93
|
+
# @param skip [Integer] Number of records to skip.
|
94
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
95
|
+
# to the HTTP request.
|
96
|
+
#
|
97
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
98
|
+
#
|
99
|
+
def list_by_service_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
100
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
101
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
102
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
103
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
104
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
|
105
|
+
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
106
|
+
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
107
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
108
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
109
|
+
|
110
|
+
|
111
|
+
request_headers = {}
|
112
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
113
|
+
|
114
|
+
# Set Headers
|
115
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
116
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
117
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/issues'
|
118
|
+
|
119
|
+
request_url = @base_url || @client.base_url
|
120
|
+
|
121
|
+
options = {
|
122
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
123
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
124
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
125
|
+
headers: request_headers.merge(custom_headers || {}),
|
126
|
+
base_url: request_url
|
127
|
+
}
|
128
|
+
promise = @client.make_request_async(:get, path_template, options)
|
129
|
+
|
130
|
+
promise = promise.then do |result|
|
131
|
+
http_response = result.response
|
132
|
+
status_code = http_response.status
|
133
|
+
response_content = http_response.body
|
134
|
+
unless status_code == 200
|
135
|
+
error_model = JSON.load(response_content)
|
136
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
137
|
+
end
|
138
|
+
|
139
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
140
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
141
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
142
|
+
# Deserialize Response
|
143
|
+
if status_code == 200
|
144
|
+
begin
|
145
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
146
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IssueCollection.mapper()
|
147
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
148
|
+
rescue Exception => e
|
149
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
153
|
+
result
|
154
|
+
end
|
155
|
+
|
156
|
+
promise.execute
|
157
|
+
end
|
158
|
+
|
159
|
+
#
|
160
|
+
# Gets API Management issue details
|
161
|
+
#
|
162
|
+
# @param resource_group_name [String] The name of the resource group.
|
163
|
+
# @param service_name [String] The name of the API Management service.
|
164
|
+
# @param issue_id [String] Issue identifier. Must be unique in the current API
|
165
|
+
# Management service instance.
|
166
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
167
|
+
# will be added to the HTTP request.
|
168
|
+
#
|
169
|
+
# @return [IssueContract] operation results.
|
170
|
+
#
|
171
|
+
def get(resource_group_name, service_name, issue_id, custom_headers:nil)
|
172
|
+
response = get_async(resource_group_name, service_name, issue_id, custom_headers:custom_headers).value!
|
173
|
+
response.body unless response.nil?
|
174
|
+
end
|
175
|
+
|
176
|
+
#
|
177
|
+
# Gets API Management issue details
|
178
|
+
#
|
179
|
+
# @param resource_group_name [String] The name of the resource group.
|
180
|
+
# @param service_name [String] The name of the API Management service.
|
181
|
+
# @param issue_id [String] Issue identifier. Must be unique in the current API
|
182
|
+
# Management service instance.
|
183
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
184
|
+
# will be added to the HTTP request.
|
185
|
+
#
|
186
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
187
|
+
#
|
188
|
+
def get_with_http_info(resource_group_name, service_name, issue_id, custom_headers:nil)
|
189
|
+
get_async(resource_group_name, service_name, issue_id, custom_headers:custom_headers).value!
|
190
|
+
end
|
191
|
+
|
192
|
+
#
|
193
|
+
# Gets API Management issue details
|
194
|
+
#
|
195
|
+
# @param resource_group_name [String] The name of the resource group.
|
196
|
+
# @param service_name [String] The name of the API Management service.
|
197
|
+
# @param issue_id [String] Issue identifier. Must be unique in the current API
|
198
|
+
# Management service instance.
|
199
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
200
|
+
# to the HTTP request.
|
201
|
+
#
|
202
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
203
|
+
#
|
204
|
+
def get_async(resource_group_name, service_name, issue_id, custom_headers:nil)
|
205
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
206
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
207
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
208
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
209
|
+
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?
|
210
|
+
fail ArgumentError, 'issue_id is nil' if issue_id.nil?
|
211
|
+
fail ArgumentError, "'issue_id' should satisfy the constraint - 'MaxLength': '256'" if !issue_id.nil? && issue_id.length > 256
|
212
|
+
fail ArgumentError, "'issue_id' should satisfy the constraint - 'MinLength': '1'" if !issue_id.nil? && issue_id.length < 1
|
213
|
+
fail ArgumentError, "'issue_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !issue_id.nil? && issue_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
214
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
215
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
216
|
+
|
217
|
+
|
218
|
+
request_headers = {}
|
219
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
220
|
+
|
221
|
+
# Set Headers
|
222
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
223
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
224
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/issues/{issueId}'
|
225
|
+
|
226
|
+
request_url = @base_url || @client.base_url
|
227
|
+
|
228
|
+
options = {
|
229
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
230
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'issueId' => issue_id,'subscriptionId' => @client.subscription_id},
|
231
|
+
query_params: {'api-version' => @client.api_version},
|
232
|
+
headers: request_headers.merge(custom_headers || {}),
|
233
|
+
base_url: request_url
|
234
|
+
}
|
235
|
+
promise = @client.make_request_async(:get, path_template, options)
|
236
|
+
|
237
|
+
promise = promise.then do |result|
|
238
|
+
http_response = result.response
|
239
|
+
status_code = http_response.status
|
240
|
+
response_content = http_response.body
|
241
|
+
unless status_code == 200
|
242
|
+
error_model = JSON.load(response_content)
|
243
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
244
|
+
end
|
245
|
+
|
246
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
247
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
248
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
249
|
+
# Deserialize Response
|
250
|
+
if status_code == 200
|
251
|
+
begin
|
252
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
253
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IssueContract.mapper()
|
254
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
255
|
+
rescue Exception => e
|
256
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
260
|
+
result
|
261
|
+
end
|
262
|
+
|
263
|
+
promise.execute
|
264
|
+
end
|
265
|
+
|
266
|
+
#
|
267
|
+
# Lists a collection of issues in the specified service instance.
|
268
|
+
#
|
269
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
270
|
+
# to List operation.
|
271
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
272
|
+
# will be added to the HTTP request.
|
273
|
+
#
|
274
|
+
# @return [IssueCollection] operation results.
|
275
|
+
#
|
276
|
+
def list_by_service_next(next_page_link, custom_headers:nil)
|
277
|
+
response = list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
|
278
|
+
response.body unless response.nil?
|
279
|
+
end
|
280
|
+
|
281
|
+
#
|
282
|
+
# Lists a collection of issues in the specified service instance.
|
283
|
+
#
|
284
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
285
|
+
# to List operation.
|
286
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
287
|
+
# will be added to the HTTP request.
|
288
|
+
#
|
289
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
290
|
+
#
|
291
|
+
def list_by_service_next_with_http_info(next_page_link, custom_headers:nil)
|
292
|
+
list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
|
293
|
+
end
|
294
|
+
|
295
|
+
#
|
296
|
+
# Lists a collection of issues in the specified service instance.
|
297
|
+
#
|
298
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
299
|
+
# to List operation.
|
300
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
301
|
+
# to the HTTP request.
|
302
|
+
#
|
303
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
304
|
+
#
|
305
|
+
def list_by_service_next_async(next_page_link, custom_headers:nil)
|
306
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
307
|
+
|
308
|
+
|
309
|
+
request_headers = {}
|
310
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
311
|
+
|
312
|
+
# Set Headers
|
313
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
314
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
315
|
+
path_template = '{nextLink}'
|
316
|
+
|
317
|
+
request_url = @base_url || @client.base_url
|
318
|
+
|
319
|
+
options = {
|
320
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
321
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
322
|
+
headers: request_headers.merge(custom_headers || {}),
|
323
|
+
base_url: request_url
|
324
|
+
}
|
325
|
+
promise = @client.make_request_async(:get, path_template, options)
|
326
|
+
|
327
|
+
promise = promise.then do |result|
|
328
|
+
http_response = result.response
|
329
|
+
status_code = http_response.status
|
330
|
+
response_content = http_response.body
|
331
|
+
unless status_code == 200
|
332
|
+
error_model = JSON.load(response_content)
|
333
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
334
|
+
end
|
335
|
+
|
336
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
337
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
338
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
339
|
+
# Deserialize Response
|
340
|
+
if status_code == 200
|
341
|
+
begin
|
342
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
343
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::IssueCollection.mapper()
|
344
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
345
|
+
rescue Exception => e
|
346
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
result
|
351
|
+
end
|
352
|
+
|
353
|
+
promise.execute
|
354
|
+
end
|
355
|
+
|
356
|
+
#
|
357
|
+
# Lists a collection of issues in the specified service instance.
|
358
|
+
#
|
359
|
+
# @param resource_group_name [String] The name of the resource group.
|
360
|
+
# @param service_name [String] The name of the API Management service.
|
361
|
+
# @param filter [String] | Field | Usage | Supported
|
362
|
+
# operators | Supported functions
|
363
|
+
# |</br>|-------------|-------------|-------------|-------------|</br>| name |
|
364
|
+
# filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
|
365
|
+
# | </br>| apiId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
366
|
+
# startswith, endswith | </br>| title | filter | ge, le, eq, ne, gt, lt |
|
367
|
+
# substringof, contains, startswith, endswith | </br>| description | filter |
|
368
|
+
# ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>|
|
369
|
+
# authorName | filter | ge, le, eq, ne, gt, lt | substringof, contains,
|
370
|
+
# startswith, endswith | </br>| state | filter | eq | | </br>
|
371
|
+
# @param top [Integer] Number of records to return.
|
372
|
+
# @param skip [Integer] Number of records to skip.
|
373
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
374
|
+
# will be added to the HTTP request.
|
375
|
+
#
|
376
|
+
# @return [IssueCollection] which provide lazy access to pages of the response.
|
377
|
+
#
|
378
|
+
def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
379
|
+
response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
380
|
+
unless response.nil?
|
381
|
+
page = response.body
|
382
|
+
page.next_method = Proc.new do |next_page_link|
|
383
|
+
list_by_service_next_async(next_page_link, custom_headers:custom_headers)
|
384
|
+
end
|
385
|
+
page
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
end
|
390
|
+
end
|