azure_mgmt_api_management 0.18.4 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_services.rb +30 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_operations.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_products.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/apis.rb +14 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/authorization_servers.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/backends.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/certificates.rb +10 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/group_users.rb +8 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/groups.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/identity_providers.rb +10 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/loggers.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/open_id_connect_providers.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/product_apis.rb +8 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/product_groups.rb +8 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/products.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/property.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/regions.rb +2 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/reports.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb +16 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_configuration.rb +6 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_configuration_sync_state.rb +2 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/user_groups.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/user_identities.rb +2 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/user_subscriptions.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/users.rb +14 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_export.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_services.rb +32 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_operations.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_operations_policy.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_policy.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_products.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/apis.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/authorization_servers.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/backends.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/certificates.rb +10 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/group_users.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/groups.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/identity_providers.rb +10 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/loggers.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/network_status.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/open_id_connect_providers.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/product_apis.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/product_groups.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/product_policy.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/products.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/properties.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/property.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/regions.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/reports.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb +16 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_configuration.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_configuration_sync_state.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_policy.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/user_groups.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/user_identities.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/user_subscriptions.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/users.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_export.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_attachment.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_comment.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +6 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachments.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comment.rb +6 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comments.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issues.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_service.rb +30 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation_policy.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_policy.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_product.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_release.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_revisions.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_schema.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_version_set.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/authorization_server.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/backend.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/certificate.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/delegation_settings.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/email_template.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/group.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/group_user.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/identity_provider.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/logger.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/network_status.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/operation_operations.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/policy.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_api.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_group.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_policy.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/property.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/regions.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/reports.rb +30 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_in_settings.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_up_settings.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/subscription.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag.rb +50 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_description.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_resource.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_group.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_identities.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_subscription.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_export.rb +2 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +12 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +12 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service.rb +30 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_policy.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_product.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_release.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_revisions.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_schema.rb +12 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_version_set.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/authorization_server.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/backend.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/certificate.rb +12 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/email_template.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/group.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/group_user.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/logger.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/network_status.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/operation_operations.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/policy.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_api.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_group.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_policy.rb +10 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb +14 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/regions.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb +30 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag.rb +50 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb +12 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_resource.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user.rb +20 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_group.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_identities.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_subscription.rb +4 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management.rb +161 -144
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api.rb +296 -207
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_diagnostic.rb +40 -18
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_export.rb +5 -3
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue.rb +214 -62
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +62 -45
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +62 -45
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +41 -25
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service.rb +139 -56
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation.rb +75 -29
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation_policy.rb +16 -6
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_policy.rb +10 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_product.rb +33 -21
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_release.rb +83 -58
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_revisions.rb +9 -5
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_schema.rb +74 -18
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_version_set.rb +60 -94
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/authorization_server.rb +53 -35
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/backend.rb +154 -130
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/cache.rb +809 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/certificate.rb +60 -48
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/delegation_settings.rb +24 -9
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/diagnostic.rb +34 -12
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/email_template.rb +48 -10
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group.rb +66 -52
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group_user.rb +126 -128
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/identity_provider.rb +20 -6
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/issue.rb +410 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/logger.rb +127 -94
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +8 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +13 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +8 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +27 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_configuration.rb +1 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/content_format.rb +3 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/current_user_identity.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +15 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/export_format.rb +1 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract_properties.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_create_parameters.rb +3 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_update_parameters.rb +3 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +27 -27
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/sku_type.rb +1 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_contract.rb +22 -12
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +21 -10
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +20 -8
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +0 -11
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_contract.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_create_parameters.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_update_parameters.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/network_status.rb +4 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification.rb +13 -5
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_email.rb +10 -4
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_user.rb +52 -46
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/open_id_connect_provider.rb +55 -37
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/operation_operations.rb +76 -64
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy.rb +29 -18
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb +3 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product.rb +366 -69
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_api.rb +64 -60
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_group.rb +54 -58
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_policy.rb +29 -19
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_subscriptions.rb +86 -62
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/property.rb +65 -43
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +6 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_period_keys.rb +6 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/{regions.rb → region.rb} +8 -4
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/reports.rb +41 -11
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_in_settings.rb +24 -9
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_up_settings.rb +24 -9
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/subscription.rb +115 -77
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag.rb +715 -716
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_description.rb +50 -34
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_resource.rb +106 -114
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access.rb +105 -10
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user.rb +192 -174
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_confirmation_password.rb +121 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_group.rb +57 -49
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_identities.rb +28 -24
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_subscription.rb +93 -77
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management.rb +338 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api.rb +303 -226
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_diagnostic.rb +50 -38
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_export.rb +7 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_issue.rb +215 -81
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_issue_attachment.rb +68 -64
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_issue_comment.rb +68 -64
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_management_client.rb +69 -49
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_management_operations.rb +7 -3
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_management_service.rb +120 -343
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_operation.rb +74 -49
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_operation_policy.rb +29 -18
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_policy.rb +28 -12
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_product.rb +27 -24
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_release.rb +90 -79
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/api_revisions.rb → 2019-12-01/generated/azure_mgmt_api_management/api_revision.rb} +46 -51
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_schema.rb +183 -77
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/tag_description.rb → 2019-12-01/generated/azure_mgmt_api_management/api_tag_description.rb} +132 -124
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/api_version_set.rb +66 -108
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/authorization_server.rb +157 -43
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/backend.rb +149 -139
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/property.rb → 2019-12-01/generated/azure_mgmt_api_management/cache.rb} +153 -148
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/certificate.rb +55 -55
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/delegation_settings.rb +126 -14
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/diagnostic.rb +50 -32
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/email_template.rb +68 -23
- data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway.rb +1134 -0
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/diagnostic_logger.rb → 2019-12-01/generated/azure_mgmt_api_management/gateway_api.rb} +141 -155
- data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway_hostname_configuration.rb +720 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/group.rb +61 -64
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/group_user.rb +112 -133
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/identity_provider.rb +138 -17
- data/lib/2019-12-01/generated/azure_mgmt_api_management/issue.rb +390 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/logger.rb +123 -102
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/access_information_contract.rb +6 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +4 -6
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/additional_location.rb +15 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_contract.rb +28 -6
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_contract_properties.rb +23 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +35 -12
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +13 -2
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb → 2019-12-01/generated/azure_mgmt_api_management/models/api_export_result.rb} +23 -25
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/api_export_result.rb → 2019-12-01/generated/azure_mgmt_api_management/models/api_export_result_value.rb} +6 -6
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +88 -6
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +31 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +88 -6
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +4 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +88 -6
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_release_collection.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_release_contract.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_revision_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_revision_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +9 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_update_contract.rb +13 -2
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_constraint.rb +47 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +12 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/apim_identity_type.rb +18 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/apim_resource.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/app_type.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/association_contract.rb +75 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/async_operation_status.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +14 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_method.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +14 -13
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +1 -13
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +14 -13
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_protocol.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_configuration.rb +2 -3
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/certificate_information.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/client_authentication_method.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/client_secret_contract.rb +47 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/confirmation.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/content_format.rb +5 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +4 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +160 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/error_field_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/error_response.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/error_response_body.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/export_format.rb +3 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/export_result_format.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_contract.rb +88 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_hostname_configuration_collection.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_hostname_configuration_contract.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_key_regeneration_request_contract.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_keys_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_token_contract.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_token_request_contract.rb +64 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/grant_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_contract.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_contract_properties.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_create_parameters.rb +4 -3
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/group_update_parameters.rb +4 -3
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/hostname_configuration.rb +3 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/hostname_type.rb +2 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/http_correlation_protocol.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +25 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +28 -3
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_create_contract.rb +216 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_list.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +25 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/issue_contract.rb +28 -28
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/key_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_contract.rb +13 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/logger_update_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/name_availability_reason.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_contract.rb +132 -0
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/property_contract.rb → 2019-12-01/generated/azure_mgmt_api_management/models/named_value_create_contract.rb} +13 -11
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb → 2019-12-01/generated/azure_mgmt_api_management/models/named_value_entity_base_parameters.rb} +7 -7
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/property_update_parameters.rb → 2019-12-01/generated/azure_mgmt_api_management/models/named_value_update_parameters.rb} +11 -11
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/network_status_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/notification_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/notification_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/notification_name.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_display.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_result_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/operation_update_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/parameter_contract.rb +2 -2
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_content_format.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_contract.rb +8 -8
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_description_collection.rb +67 -0
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb → 2019-12-01/generated/azure_mgmt_api_management/models/policy_description_contract.rb} +22 -19
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_export_format.rb +16 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_setting_validation_key_contract.rb +47 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_contract.rb +4 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +4 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_state.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/product_update_parameters.rb +4 -4
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/property_value_contract.rb +46 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/protocol.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/provisioning_state.rb +15 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/region_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/region_list_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/report_record_contract.rb +4 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/representation_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/request_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/request_report_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +2 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/resource.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_location_data_contract.rb +93 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/response_contract.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +4 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/schema_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/schema_contract.rb +19 -3
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/sku_type.rb +2 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/soap_api_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/state.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_contract.rb +31 -17
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +22 -11
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_keys_contract.rb +65 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_state.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +21 -9
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_description_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_description_contract.rb +12 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +1 -12
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/template_name.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_contract.rb +1 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_create_parameters.rb +14 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +1 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_identity_collection.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_identity_contract.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_properties.rb +58 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_state.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_token_parameters.rb +4 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_token_result.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/user_update_parameters.rb +1 -2
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/verbosity.rb +17 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/versioning_scheme.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/virtual_network_type.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/models/x509certificate_name.rb +1 -1
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/module_definition.rb +1 -1
- data/lib/2019-12-01/generated/azure_mgmt_api_management/named_value.rb +1030 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/network_status.rb +6 -2
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/notification.rb +18 -10
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/notification_recipient_email.rb +12 -4
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/notification_recipient_user.rb +51 -46
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/open_id_connect_provider.rb +158 -45
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/operation_operations.rb +63 -71
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/policy.rb +47 -30
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb → 2019-12-01/generated/azure_mgmt_api_management/policy_description.rb} +12 -10
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product.rb +345 -81
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_api.rb +61 -73
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_group.rb +44 -67
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_policy.rb +42 -31
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/product_subscriptions.rb +60 -65
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +9 -5
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/quota_by_period_keys.rb +9 -5
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/regions.rb → 2019-12-01/generated/azure_mgmt_api_management/region.rb} +11 -7
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/reports.rb +548 -109
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/sign_in_settings.rb +29 -14
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/sign_up_settings.rb +29 -14
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/subscription.rb +201 -85
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/tag.rb +718 -761
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/tag_resource.rb +85 -121
- data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_access.rb +594 -0
- data/lib/{2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access.rb → 2019-12-01/generated/azure_mgmt_api_management/tenant_access_git.rb} +60 -66
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/tenant_configuration.rb +22 -14
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user.rb +176 -185
- data/lib/2019-12-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +120 -0
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user_group.rb +51 -56
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user_identities.rb +30 -27
- data/lib/{2018-01-01-preview → 2019-12-01}/generated/azure_mgmt_api_management/user_subscription.rb +71 -80
- data/lib/azure_mgmt_api_management.rb +6 -0
- data/lib/profiles/latest/modules/apimanagement_profile_module.rb +735 -641
- data/lib/version.rb +1 -1
- metadata +334 -271
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management.rb +0 -292
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +0 -649
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +0 -77
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +0 -72
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +0 -71
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +0 -55
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +0 -291
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::ApiManagement::Mgmt::
|
6
|
+
module Azure::ApiManagement::Mgmt::V2019_12_01
|
7
7
|
#
|
8
8
|
# A service client - single point of access to the REST API.
|
9
9
|
#
|
@@ -37,20 +37,11 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
37
37
|
# generated and included in each request. Default is true.
|
38
38
|
attr_accessor :generate_client_request_id
|
39
39
|
|
40
|
-
# @return [Policy] policy
|
41
|
-
attr_reader :policy
|
42
|
-
|
43
|
-
# @return [PolicySnippets] policy_snippets
|
44
|
-
attr_reader :policy_snippets
|
45
|
-
|
46
|
-
# @return [Regions] regions
|
47
|
-
attr_reader :regions
|
48
|
-
|
49
40
|
# @return [Api] api
|
50
41
|
attr_reader :api
|
51
42
|
|
52
|
-
# @return [
|
53
|
-
attr_reader :
|
43
|
+
# @return [ApiRevision] api_revision
|
44
|
+
attr_reader :api_revision
|
54
45
|
|
55
46
|
# @return [ApiRelease] api_release
|
56
47
|
attr_reader :api_release
|
@@ -61,6 +52,9 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
61
52
|
# @return [ApiOperationPolicy] api_operation_policy
|
62
53
|
attr_reader :api_operation_policy
|
63
54
|
|
55
|
+
# @return [Tag] tag
|
56
|
+
attr_reader :tag
|
57
|
+
|
64
58
|
# @return [ApiProduct] api_product
|
65
59
|
attr_reader :api_product
|
66
60
|
|
@@ -73,9 +67,6 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
73
67
|
# @return [ApiDiagnostic] api_diagnostic
|
74
68
|
attr_reader :api_diagnostic
|
75
69
|
|
76
|
-
# @return [ApiDiagnosticLogger] api_diagnostic_logger
|
77
|
-
attr_reader :api_diagnostic_logger
|
78
|
-
|
79
70
|
# @return [ApiIssue] api_issue
|
80
71
|
attr_reader :api_issue
|
81
72
|
|
@@ -85,30 +76,51 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
85
76
|
# @return [ApiIssueAttachment] api_issue_attachment
|
86
77
|
attr_reader :api_issue_attachment
|
87
78
|
|
79
|
+
# @return [ApiTagDescription] api_tag_description
|
80
|
+
attr_reader :api_tag_description
|
81
|
+
|
82
|
+
# @return [OperationOperations] operation_operations
|
83
|
+
attr_reader :operation_operations
|
84
|
+
|
85
|
+
# @return [ApiVersionSet] api_version_set
|
86
|
+
attr_reader :api_version_set
|
87
|
+
|
88
88
|
# @return [AuthorizationServer] authorization_server
|
89
89
|
attr_reader :authorization_server
|
90
90
|
|
91
91
|
# @return [Backend] backend
|
92
92
|
attr_reader :backend
|
93
93
|
|
94
|
+
# @return [Cache] cache
|
95
|
+
attr_reader :cache
|
96
|
+
|
94
97
|
# @return [Certificate] certificate
|
95
98
|
attr_reader :certificate
|
96
99
|
|
97
100
|
# @return [ApiManagementOperations] api_management_operations
|
98
101
|
attr_reader :api_management_operations
|
99
102
|
|
103
|
+
# @return [ApiManagementServiceSkus] api_management_service_skus
|
104
|
+
attr_reader :api_management_service_skus
|
105
|
+
|
100
106
|
# @return [ApiManagementService] api_management_service
|
101
107
|
attr_reader :api_management_service
|
102
108
|
|
103
109
|
# @return [Diagnostic] diagnostic
|
104
110
|
attr_reader :diagnostic
|
105
111
|
|
106
|
-
# @return [DiagnosticLogger] diagnostic_logger
|
107
|
-
attr_reader :diagnostic_logger
|
108
|
-
|
109
112
|
# @return [EmailTemplate] email_template
|
110
113
|
attr_reader :email_template
|
111
114
|
|
115
|
+
# @return [Gateway] gateway
|
116
|
+
attr_reader :gateway
|
117
|
+
|
118
|
+
# @return [GatewayHostnameConfiguration] gateway_hostname_configuration
|
119
|
+
attr_reader :gateway_hostname_configuration
|
120
|
+
|
121
|
+
# @return [GatewayApi] gateway_api
|
122
|
+
attr_reader :gateway_api
|
123
|
+
|
112
124
|
# @return [Group] group
|
113
125
|
attr_reader :group
|
114
126
|
|
@@ -118,9 +130,18 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
118
130
|
# @return [IdentityProvider] identity_provider
|
119
131
|
attr_reader :identity_provider
|
120
132
|
|
133
|
+
# @return [Issue] issue
|
134
|
+
attr_reader :issue
|
135
|
+
|
121
136
|
# @return [Logger] logger
|
122
137
|
attr_reader :logger
|
123
138
|
|
139
|
+
# @return [NamedValue] named_value
|
140
|
+
attr_reader :named_value
|
141
|
+
|
142
|
+
# @return [NetworkStatus] network_status
|
143
|
+
attr_reader :network_status
|
144
|
+
|
124
145
|
# @return [Notification] notification
|
125
146
|
attr_reader :notification
|
126
147
|
|
@@ -130,12 +151,15 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
130
151
|
# @return [NotificationRecipientEmail] notification_recipient_email
|
131
152
|
attr_reader :notification_recipient_email
|
132
153
|
|
133
|
-
# @return [NetworkStatus] network_status
|
134
|
-
attr_reader :network_status
|
135
|
-
|
136
154
|
# @return [OpenIdConnectProvider] open_id_connect_provider
|
137
155
|
attr_reader :open_id_connect_provider
|
138
156
|
|
157
|
+
# @return [Policy] policy
|
158
|
+
attr_reader :policy
|
159
|
+
|
160
|
+
# @return [PolicyDescription] policy_description
|
161
|
+
attr_reader :policy_description
|
162
|
+
|
139
163
|
# @return [SignInSettings] sign_in_settings
|
140
164
|
attr_reader :sign_in_settings
|
141
165
|
|
@@ -160,15 +184,15 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
160
184
|
# @return [ProductPolicy] product_policy
|
161
185
|
attr_reader :product_policy
|
162
186
|
|
163
|
-
# @return [Property] property
|
164
|
-
attr_reader :property
|
165
|
-
|
166
187
|
# @return [QuotaByCounterKeys] quota_by_counter_keys
|
167
188
|
attr_reader :quota_by_counter_keys
|
168
189
|
|
169
190
|
# @return [QuotaByPeriodKeys] quota_by_period_keys
|
170
191
|
attr_reader :quota_by_period_keys
|
171
192
|
|
193
|
+
# @return [Region] region
|
194
|
+
attr_reader :region
|
195
|
+
|
172
196
|
# @return [Reports] reports
|
173
197
|
attr_reader :reports
|
174
198
|
|
@@ -178,15 +202,6 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
178
202
|
# @return [TagResource] tag_resource
|
179
203
|
attr_reader :tag_resource
|
180
204
|
|
181
|
-
# @return [Tag] tag
|
182
|
-
attr_reader :tag
|
183
|
-
|
184
|
-
# @return [TagDescription] tag_description
|
185
|
-
attr_reader :tag_description
|
186
|
-
|
187
|
-
# @return [OperationOperations] operation_operations
|
188
|
-
attr_reader :operation_operations
|
189
|
-
|
190
205
|
# @return [TenantAccess] tenant_access
|
191
206
|
attr_reader :tenant_access
|
192
207
|
|
@@ -208,8 +223,8 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
208
223
|
# @return [UserIdentities] user_identities
|
209
224
|
attr_reader :user_identities
|
210
225
|
|
211
|
-
# @return [
|
212
|
-
attr_reader :
|
226
|
+
# @return [UserConfirmationPassword] user_confirmation_password
|
227
|
+
attr_reader :user_confirmation_password
|
213
228
|
|
214
229
|
# @return [ApiExport] api_export
|
215
230
|
attr_reader :api_export
|
@@ -227,39 +242,47 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
227
242
|
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
228
243
|
@credentials = credentials
|
229
244
|
|
230
|
-
@policy = Policy.new(self)
|
231
|
-
@policy_snippets = PolicySnippets.new(self)
|
232
|
-
@regions = Regions.new(self)
|
233
245
|
@api = Api.new(self)
|
234
|
-
@
|
246
|
+
@api_revision = ApiRevision.new(self)
|
235
247
|
@api_release = ApiRelease.new(self)
|
236
248
|
@api_operation = ApiOperation.new(self)
|
237
249
|
@api_operation_policy = ApiOperationPolicy.new(self)
|
250
|
+
@tag = Tag.new(self)
|
238
251
|
@api_product = ApiProduct.new(self)
|
239
252
|
@api_policy = ApiPolicy.new(self)
|
240
253
|
@api_schema = ApiSchema.new(self)
|
241
254
|
@api_diagnostic = ApiDiagnostic.new(self)
|
242
|
-
@api_diagnostic_logger = ApiDiagnosticLogger.new(self)
|
243
255
|
@api_issue = ApiIssue.new(self)
|
244
256
|
@api_issue_comment = ApiIssueComment.new(self)
|
245
257
|
@api_issue_attachment = ApiIssueAttachment.new(self)
|
258
|
+
@api_tag_description = ApiTagDescription.new(self)
|
259
|
+
@operation_operations = OperationOperations.new(self)
|
260
|
+
@api_version_set = ApiVersionSet.new(self)
|
246
261
|
@authorization_server = AuthorizationServer.new(self)
|
247
262
|
@backend = Backend.new(self)
|
263
|
+
@cache = Cache.new(self)
|
248
264
|
@certificate = Certificate.new(self)
|
249
265
|
@api_management_operations = ApiManagementOperations.new(self)
|
266
|
+
@api_management_service_skus = ApiManagementServiceSkus.new(self)
|
250
267
|
@api_management_service = ApiManagementService.new(self)
|
251
268
|
@diagnostic = Diagnostic.new(self)
|
252
|
-
@diagnostic_logger = DiagnosticLogger.new(self)
|
253
269
|
@email_template = EmailTemplate.new(self)
|
270
|
+
@gateway = Gateway.new(self)
|
271
|
+
@gateway_hostname_configuration = GatewayHostnameConfiguration.new(self)
|
272
|
+
@gateway_api = GatewayApi.new(self)
|
254
273
|
@group = Group.new(self)
|
255
274
|
@group_user = GroupUser.new(self)
|
256
275
|
@identity_provider = IdentityProvider.new(self)
|
276
|
+
@issue = Issue.new(self)
|
257
277
|
@logger = Logger.new(self)
|
278
|
+
@named_value = NamedValue.new(self)
|
279
|
+
@network_status = NetworkStatus.new(self)
|
258
280
|
@notification = Notification.new(self)
|
259
281
|
@notification_recipient_user = NotificationRecipientUser.new(self)
|
260
282
|
@notification_recipient_email = NotificationRecipientEmail.new(self)
|
261
|
-
@network_status = NetworkStatus.new(self)
|
262
283
|
@open_id_connect_provider = OpenIdConnectProvider.new(self)
|
284
|
+
@policy = Policy.new(self)
|
285
|
+
@policy_description = PolicyDescription.new(self)
|
263
286
|
@sign_in_settings = SignInSettings.new(self)
|
264
287
|
@sign_up_settings = SignUpSettings.new(self)
|
265
288
|
@delegation_settings = DelegationSettings.new(self)
|
@@ -268,15 +291,12 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
268
291
|
@product_group = ProductGroup.new(self)
|
269
292
|
@product_subscriptions = ProductSubscriptions.new(self)
|
270
293
|
@product_policy = ProductPolicy.new(self)
|
271
|
-
@property = Property.new(self)
|
272
294
|
@quota_by_counter_keys = QuotaByCounterKeys.new(self)
|
273
295
|
@quota_by_period_keys = QuotaByPeriodKeys.new(self)
|
296
|
+
@region = Region.new(self)
|
274
297
|
@reports = Reports.new(self)
|
275
298
|
@subscription = Subscription.new(self)
|
276
299
|
@tag_resource = TagResource.new(self)
|
277
|
-
@tag = Tag.new(self)
|
278
|
-
@tag_description = TagDescription.new(self)
|
279
|
-
@operation_operations = OperationOperations.new(self)
|
280
300
|
@tenant_access = TenantAccess.new(self)
|
281
301
|
@tenant_access_git = TenantAccessGit.new(self)
|
282
302
|
@tenant_configuration = TenantConfiguration.new(self)
|
@@ -284,9 +304,9 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
284
304
|
@user_group = UserGroup.new(self)
|
285
305
|
@user_subscription = UserSubscription.new(self)
|
286
306
|
@user_identities = UserIdentities.new(self)
|
287
|
-
@
|
307
|
+
@user_confirmation_password = UserConfirmationPassword.new(self)
|
288
308
|
@api_export = ApiExport.new(self)
|
289
|
-
@api_version = '
|
309
|
+
@api_version = '2019-12-01'
|
290
310
|
@accept_language = 'en-US'
|
291
311
|
@long_running_operation_retry_timeout = 30
|
292
312
|
@generate_client_request_id = true
|
@@ -358,7 +378,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
358
378
|
#
|
359
379
|
def add_telemetry
|
360
380
|
sdk_information = 'azure_mgmt_api_management'
|
361
|
-
sdk_information = "#{sdk_information}/0.
|
381
|
+
sdk_information = "#{sdk_information}/0.19.0"
|
362
382
|
add_user_agent_information(sdk_information)
|
363
383
|
end
|
364
384
|
end
|
@@ -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
|
#
|
@@ -89,11 +89,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
89
89
|
end
|
90
90
|
|
91
91
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
92
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
93
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
92
94
|
# Deserialize Response
|
93
95
|
if status_code == 200
|
94
96
|
begin
|
95
97
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
96
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
98
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::OperationListResult.mapper()
|
97
99
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
98
100
|
rescue Exception => e
|
99
101
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -180,11 +182,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
180
182
|
end
|
181
183
|
|
182
184
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
185
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
186
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
183
187
|
# Deserialize Response
|
184
188
|
if status_code == 200
|
185
189
|
begin
|
186
190
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
187
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
191
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::OperationListResult.mapper()
|
188
192
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
189
193
|
rescue Exception => e
|
190
194
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
6
|
-
module Azure::ApiManagement::Mgmt::
|
6
|
+
module Azure::ApiManagement::Mgmt::V2019_12_01
|
7
7
|
#
|
8
8
|
# ApiManagement Client
|
9
9
|
#
|
@@ -58,12 +58,12 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
58
58
|
promise = promise.then do |response|
|
59
59
|
# Defining deserialization method.
|
60
60
|
deserialize_method = lambda do |parsed_response|
|
61
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
61
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
62
62
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
63
63
|
end
|
64
64
|
|
65
65
|
# Waiting for response.
|
66
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
66
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
|
67
67
|
end
|
68
68
|
|
69
69
|
promise
|
@@ -106,12 +106,12 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
106
106
|
promise = promise.then do |response|
|
107
107
|
# Defining deserialization method.
|
108
108
|
deserialize_method = lambda do |parsed_response|
|
109
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
109
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
110
110
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
111
111
|
end
|
112
112
|
|
113
113
|
# Waiting for response.
|
114
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
114
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
|
115
115
|
end
|
116
116
|
|
117
117
|
promise
|
@@ -153,7 +153,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
153
153
|
promise = promise.then do |response|
|
154
154
|
# Defining deserialization method.
|
155
155
|
deserialize_method = lambda do |parsed_response|
|
156
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
156
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
157
157
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
158
158
|
end
|
159
159
|
|
@@ -199,7 +199,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
199
199
|
promise = promise.then do |response|
|
200
200
|
# Defining deserialization method.
|
201
201
|
deserialize_method = lambda do |parsed_response|
|
202
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
202
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
203
203
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
204
204
|
end
|
205
205
|
|
@@ -284,15 +284,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
284
284
|
response_content = http_response.body
|
285
285
|
unless status_code == 200
|
286
286
|
error_model = JSON.load(response_content)
|
287
|
-
fail
|
287
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
288
288
|
end
|
289
289
|
|
290
290
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
291
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
292
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
291
293
|
# Deserialize Response
|
292
294
|
if status_code == 200
|
293
295
|
begin
|
294
296
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
295
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
297
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
296
298
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
297
299
|
rescue Exception => e
|
298
300
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -313,80 +315,38 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
313
315
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
314
316
|
# will be added to the HTTP request.
|
315
317
|
#
|
318
|
+
# @return [ApiManagementServiceResource] operation results.
|
316
319
|
#
|
317
320
|
def delete(resource_group_name, service_name, custom_headers:nil)
|
318
321
|
response = delete_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
319
|
-
nil
|
322
|
+
response.body unless response.nil?
|
320
323
|
end
|
321
324
|
|
322
|
-
#
|
323
|
-
# Deletes an existing API Management service.
|
324
325
|
#
|
325
326
|
# @param resource_group_name [String] The name of the resource group.
|
326
327
|
# @param service_name [String] The name of the API Management service.
|
327
328
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
328
329
|
# will be added to the HTTP request.
|
329
330
|
#
|
330
|
-
# @return [
|
331
|
-
#
|
332
|
-
def delete_with_http_info(resource_group_name, service_name, custom_headers:nil)
|
333
|
-
delete_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
334
|
-
end
|
335
|
-
|
336
|
-
#
|
337
|
-
# Deletes an existing API Management service.
|
338
|
-
#
|
339
|
-
# @param resource_group_name [String] The name of the resource group.
|
340
|
-
# @param service_name [String] The name of the API Management service.
|
341
|
-
# @param [Hash{String => String}] A hash of custom headers that will be added
|
342
|
-
# to the HTTP request.
|
343
|
-
#
|
344
|
-
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
331
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
332
|
+
# response.
|
345
333
|
#
|
346
334
|
def delete_async(resource_group_name, service_name, custom_headers:nil)
|
347
|
-
|
348
|
-
|
349
|
-
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
350
|
-
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
351
|
-
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?
|
352
|
-
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
353
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
354
|
-
|
355
|
-
|
356
|
-
request_headers = {}
|
357
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
358
|
-
|
359
|
-
# Set Headers
|
360
|
-
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
361
|
-
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
362
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
|
363
|
-
|
364
|
-
request_url = @base_url || @client.base_url
|
365
|
-
|
366
|
-
options = {
|
367
|
-
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
368
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
369
|
-
query_params: {'api-version' => @client.api_version},
|
370
|
-
headers: request_headers.merge(custom_headers || {}),
|
371
|
-
base_url: request_url
|
372
|
-
}
|
373
|
-
promise = @client.make_request_async(:delete, path_template, options)
|
335
|
+
# Send request
|
336
|
+
promise = begin_delete_async(resource_group_name, service_name, custom_headers:custom_headers)
|
374
337
|
|
375
|
-
promise = promise.then do |
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
error_model = JSON.load(response_content)
|
381
|
-
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
338
|
+
promise = promise.then do |response|
|
339
|
+
# Defining deserialization method.
|
340
|
+
deserialize_method = lambda do |parsed_response|
|
341
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
342
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
382
343
|
end
|
383
344
|
|
384
|
-
|
385
|
-
|
386
|
-
result
|
345
|
+
# Waiting for response.
|
346
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
387
347
|
end
|
388
348
|
|
389
|
-
promise
|
349
|
+
promise
|
390
350
|
end
|
391
351
|
|
392
352
|
#
|
@@ -456,15 +416,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
456
416
|
response_content = http_response.body
|
457
417
|
unless status_code == 200
|
458
418
|
error_model = JSON.load(response_content)
|
459
|
-
fail
|
419
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
460
420
|
end
|
461
421
|
|
462
422
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
423
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
424
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
463
425
|
# Deserialize Response
|
464
426
|
if status_code == 200
|
465
427
|
begin
|
466
428
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
467
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
429
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceListResult.mapper()
|
468
430
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
469
431
|
rescue Exception => e
|
470
432
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -544,11 +506,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
544
506
|
end
|
545
507
|
|
546
508
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
509
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
510
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
547
511
|
# Deserialize Response
|
548
512
|
if status_code == 200
|
549
513
|
begin
|
550
514
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
551
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
515
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceListResult.mapper()
|
552
516
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
553
517
|
rescue Exception => e
|
554
518
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -638,15 +602,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
638
602
|
response_content = http_response.body
|
639
603
|
unless status_code == 200
|
640
604
|
error_model = JSON.load(response_content)
|
641
|
-
fail
|
605
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
642
606
|
end
|
643
607
|
|
644
608
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
609
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
610
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
645
611
|
# Deserialize Response
|
646
612
|
if status_code == 200
|
647
613
|
begin
|
648
614
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
649
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
615
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceGetSsoTokenResult.mapper()
|
650
616
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
651
617
|
rescue Exception => e
|
652
618
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -712,7 +678,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
712
678
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
713
679
|
|
714
680
|
# Serialize Request
|
715
|
-
request_mapper = Azure::ApiManagement::Mgmt::
|
681
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceCheckNameAvailabilityParameters.mapper()
|
716
682
|
request_content = @client.serialize(request_mapper, parameters)
|
717
683
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
718
684
|
|
@@ -736,15 +702,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
736
702
|
response_content = http_response.body
|
737
703
|
unless status_code == 200
|
738
704
|
error_model = JSON.load(response_content)
|
739
|
-
fail
|
705
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
740
706
|
end
|
741
707
|
|
742
708
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
709
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
710
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
743
711
|
# Deserialize Response
|
744
712
|
if status_code == 200
|
745
713
|
begin
|
746
714
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
747
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
715
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceNameAvailabilityResult.mapper()
|
748
716
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
749
717
|
rescue Exception => e
|
750
718
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -799,176 +767,12 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
799
767
|
promise = promise.then do |response|
|
800
768
|
# Defining deserialization method.
|
801
769
|
deserialize_method = lambda do |parsed_response|
|
802
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
770
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
803
771
|
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
804
772
|
end
|
805
773
|
|
806
774
|
# Waiting for response.
|
807
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
808
|
-
end
|
809
|
-
|
810
|
-
promise
|
811
|
-
end
|
812
|
-
|
813
|
-
#
|
814
|
-
# Upload Custom Domain SSL certificate for an API Management service. This
|
815
|
-
# operation will be deprecated in future releases.
|
816
|
-
#
|
817
|
-
# @param resource_group_name [String] The name of the resource group.
|
818
|
-
# @param service_name [String] The name of the API Management service.
|
819
|
-
# @param parameters [ApiManagementServiceUploadCertificateParameters]
|
820
|
-
# Parameters supplied to the Upload SSL certificate for an API Management
|
821
|
-
# service operation.
|
822
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
823
|
-
# will be added to the HTTP request.
|
824
|
-
#
|
825
|
-
# @return [CertificateInformation] operation results.
|
826
|
-
#
|
827
|
-
def upload_certificate(resource_group_name, service_name, parameters, custom_headers:nil)
|
828
|
-
response = upload_certificate_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
829
|
-
response.body unless response.nil?
|
830
|
-
end
|
831
|
-
|
832
|
-
#
|
833
|
-
# Upload Custom Domain SSL certificate for an API Management service. This
|
834
|
-
# operation will be deprecated in future releases.
|
835
|
-
#
|
836
|
-
# @param resource_group_name [String] The name of the resource group.
|
837
|
-
# @param service_name [String] The name of the API Management service.
|
838
|
-
# @param parameters [ApiManagementServiceUploadCertificateParameters]
|
839
|
-
# Parameters supplied to the Upload SSL certificate for an API Management
|
840
|
-
# service operation.
|
841
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
842
|
-
# will be added to the HTTP request.
|
843
|
-
#
|
844
|
-
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
845
|
-
#
|
846
|
-
def upload_certificate_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
|
847
|
-
upload_certificate_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
848
|
-
end
|
849
|
-
|
850
|
-
#
|
851
|
-
# Upload Custom Domain SSL certificate for an API Management service. This
|
852
|
-
# operation will be deprecated in future releases.
|
853
|
-
#
|
854
|
-
# @param resource_group_name [String] The name of the resource group.
|
855
|
-
# @param service_name [String] The name of the API Management service.
|
856
|
-
# @param parameters [ApiManagementServiceUploadCertificateParameters]
|
857
|
-
# Parameters supplied to the Upload SSL certificate for an API Management
|
858
|
-
# service operation.
|
859
|
-
# @param [Hash{String => String}] A hash of custom headers that will be added
|
860
|
-
# to the HTTP request.
|
861
|
-
#
|
862
|
-
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
863
|
-
#
|
864
|
-
def upload_certificate_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
865
|
-
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
866
|
-
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
867
|
-
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
868
|
-
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
869
|
-
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?
|
870
|
-
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
871
|
-
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
872
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
873
|
-
|
874
|
-
|
875
|
-
request_headers = {}
|
876
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
877
|
-
|
878
|
-
# Set Headers
|
879
|
-
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
880
|
-
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
881
|
-
|
882
|
-
# Serialize Request
|
883
|
-
request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceUploadCertificateParameters.mapper()
|
884
|
-
request_content = @client.serialize(request_mapper, parameters)
|
885
|
-
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
886
|
-
|
887
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatecertificate'
|
888
|
-
|
889
|
-
request_url = @base_url || @client.base_url
|
890
|
-
|
891
|
-
options = {
|
892
|
-
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
893
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
894
|
-
query_params: {'api-version' => @client.api_version},
|
895
|
-
body: request_content,
|
896
|
-
headers: request_headers.merge(custom_headers || {}),
|
897
|
-
base_url: request_url
|
898
|
-
}
|
899
|
-
promise = @client.make_request_async(:post, path_template, options)
|
900
|
-
|
901
|
-
promise = promise.then do |result|
|
902
|
-
http_response = result.response
|
903
|
-
status_code = http_response.status
|
904
|
-
response_content = http_response.body
|
905
|
-
unless status_code == 200
|
906
|
-
error_model = JSON.load(response_content)
|
907
|
-
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
908
|
-
end
|
909
|
-
|
910
|
-
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
911
|
-
# Deserialize Response
|
912
|
-
if status_code == 200
|
913
|
-
begin
|
914
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
915
|
-
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::CertificateInformation.mapper()
|
916
|
-
result.body = @client.deserialize(result_mapper, parsed_response)
|
917
|
-
rescue Exception => e
|
918
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
919
|
-
end
|
920
|
-
end
|
921
|
-
|
922
|
-
result
|
923
|
-
end
|
924
|
-
|
925
|
-
promise.execute
|
926
|
-
end
|
927
|
-
|
928
|
-
#
|
929
|
-
# Creates, updates, or deletes the custom hostnames for an API Management
|
930
|
-
# service. The custom hostname can be applied to the Proxy and Portal endpoint.
|
931
|
-
# This is a long running operation and could take several minutes to complete.
|
932
|
-
# This operation will be deprecated in the next version update.
|
933
|
-
#
|
934
|
-
# @param resource_group_name [String] The name of the resource group.
|
935
|
-
# @param service_name [String] The name of the API Management service.
|
936
|
-
# @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
|
937
|
-
# supplied to the UpdateHostname operation.
|
938
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
939
|
-
# will be added to the HTTP request.
|
940
|
-
#
|
941
|
-
# @return [ApiManagementServiceResource] operation results.
|
942
|
-
#
|
943
|
-
def update_hostname(resource_group_name, service_name, parameters, custom_headers:nil)
|
944
|
-
response = update_hostname_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
|
945
|
-
response.body unless response.nil?
|
946
|
-
end
|
947
|
-
|
948
|
-
#
|
949
|
-
# @param resource_group_name [String] The name of the resource group.
|
950
|
-
# @param service_name [String] The name of the API Management service.
|
951
|
-
# @param parameters [ApiManagementServiceUpdateHostnameParameters] Parameters
|
952
|
-
# supplied to the UpdateHostname operation.
|
953
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
954
|
-
# will be added to the HTTP request.
|
955
|
-
#
|
956
|
-
# @return [Concurrent::Promise] promise which provides async access to http
|
957
|
-
# response.
|
958
|
-
#
|
959
|
-
def update_hostname_async(resource_group_name, service_name, parameters, custom_headers:nil)
|
960
|
-
# Send request
|
961
|
-
promise = begin_update_hostname_async(resource_group_name, service_name, parameters, custom_headers:custom_headers)
|
962
|
-
|
963
|
-
promise = promise.then do |response|
|
964
|
-
# Defining deserialization method.
|
965
|
-
deserialize_method = lambda do |parsed_response|
|
966
|
-
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceResource.mapper()
|
967
|
-
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
968
|
-
end
|
969
|
-
|
970
|
-
# Waiting for response.
|
971
|
-
@client.get_long_running_operation_result(response, deserialize_method)
|
775
|
+
@client.get_long_running_operation_result(response, deserialize_method, FinalStateVia::LOCATION)
|
972
776
|
end
|
973
777
|
|
974
778
|
promise
|
@@ -1044,7 +848,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1044
848
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1045
849
|
|
1046
850
|
# Serialize Request
|
1047
|
-
request_mapper = Azure::ApiManagement::Mgmt::
|
851
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceBackupRestoreParameters.mapper()
|
1048
852
|
request_content = @client.serialize(request_mapper, parameters)
|
1049
853
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1050
854
|
|
@@ -1068,15 +872,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1068
872
|
response_content = http_response.body
|
1069
873
|
unless status_code == 200 || status_code == 202
|
1070
874
|
error_model = JSON.load(response_content)
|
1071
|
-
fail
|
875
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1072
876
|
end
|
1073
877
|
|
1074
878
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
879
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
880
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1075
881
|
# Deserialize Response
|
1076
882
|
if status_code == 200
|
1077
883
|
begin
|
1078
884
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1079
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
885
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
1080
886
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1081
887
|
rescue Exception => e
|
1082
888
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1159,7 +965,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1159
965
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1160
966
|
|
1161
967
|
# Serialize Request
|
1162
|
-
request_mapper = Azure::ApiManagement::Mgmt::
|
968
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceBackupRestoreParameters.mapper()
|
1163
969
|
request_content = @client.serialize(request_mapper, parameters)
|
1164
970
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1165
971
|
|
@@ -1183,15 +989,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1183
989
|
response_content = http_response.body
|
1184
990
|
unless status_code == 200 || status_code == 202
|
1185
991
|
error_model = JSON.load(response_content)
|
1186
|
-
fail
|
992
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1187
993
|
end
|
1188
994
|
|
1189
995
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
996
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
997
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1190
998
|
# Deserialize Response
|
1191
999
|
if status_code == 200
|
1192
1000
|
begin
|
1193
1001
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1194
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1002
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
1195
1003
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1196
1004
|
rescue Exception => e
|
1197
1005
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1271,7 +1079,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1271
1079
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1272
1080
|
|
1273
1081
|
# Serialize Request
|
1274
|
-
request_mapper = Azure::ApiManagement::Mgmt::
|
1082
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
1275
1083
|
request_content = @client.serialize(request_mapper, parameters)
|
1276
1084
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1277
1085
|
|
@@ -1295,15 +1103,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1295
1103
|
response_content = http_response.body
|
1296
1104
|
unless status_code == 200 || status_code == 201 || status_code == 202
|
1297
1105
|
error_model = JSON.load(response_content)
|
1298
|
-
fail
|
1106
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1299
1107
|
end
|
1300
1108
|
|
1301
1109
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1110
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1111
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1302
1112
|
# Deserialize Response
|
1303
1113
|
if status_code == 200
|
1304
1114
|
begin
|
1305
1115
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1306
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1116
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
1307
1117
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1308
1118
|
rescue Exception => e
|
1309
1119
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1313,17 +1123,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1313
1123
|
if status_code == 201
|
1314
1124
|
begin
|
1315
1125
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1316
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1317
|
-
result.body = @client.deserialize(result_mapper, parsed_response)
|
1318
|
-
rescue Exception => e
|
1319
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1320
|
-
end
|
1321
|
-
end
|
1322
|
-
# Deserialize Response
|
1323
|
-
if status_code == 202
|
1324
|
-
begin
|
1325
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1326
|
-
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceResource.mapper()
|
1126
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
1327
1127
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1328
1128
|
rescue Exception => e
|
1329
1129
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1400,7 +1200,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1400
1200
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1401
1201
|
|
1402
1202
|
# Serialize Request
|
1403
|
-
request_mapper = Azure::ApiManagement::Mgmt::
|
1203
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceUpdateParameters.mapper()
|
1404
1204
|
request_content = @client.serialize(request_mapper, parameters)
|
1405
1205
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1406
1206
|
|
@@ -1424,15 +1224,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1424
1224
|
response_content = http_response.body
|
1425
1225
|
unless status_code == 200 || status_code == 202
|
1426
1226
|
error_model = JSON.load(response_content)
|
1427
|
-
fail
|
1227
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1428
1228
|
end
|
1429
1229
|
|
1430
1230
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1231
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1232
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1431
1233
|
# Deserialize Response
|
1432
1234
|
if status_code == 200
|
1433
1235
|
begin
|
1434
1236
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1435
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1237
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
1436
1238
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1437
1239
|
rescue Exception => e
|
1438
1240
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1446,63 +1248,45 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1446
1248
|
end
|
1447
1249
|
|
1448
1250
|
#
|
1449
|
-
#
|
1450
|
-
# to pick the updated network settings.
|
1251
|
+
# Deletes an existing API Management service.
|
1451
1252
|
#
|
1452
1253
|
# @param resource_group_name [String] The name of the resource group.
|
1453
1254
|
# @param service_name [String] The name of the API Management service.
|
1454
|
-
# @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
|
1455
|
-
# Parameters supplied to the Apply Network Configuration operation. If the
|
1456
|
-
# parameters are empty, all the regions in which the Api Management service is
|
1457
|
-
# deployed will be updated sequentially without incurring downtime in the
|
1458
|
-
# region.
|
1459
1255
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1460
1256
|
# will be added to the HTTP request.
|
1461
1257
|
#
|
1462
1258
|
# @return [ApiManagementServiceResource] operation results.
|
1463
1259
|
#
|
1464
|
-
def
|
1465
|
-
response =
|
1260
|
+
def begin_delete(resource_group_name, service_name, custom_headers:nil)
|
1261
|
+
response = begin_delete_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
1466
1262
|
response.body unless response.nil?
|
1467
1263
|
end
|
1468
1264
|
|
1469
1265
|
#
|
1470
|
-
#
|
1471
|
-
# to pick the updated network settings.
|
1266
|
+
# Deletes an existing API Management service.
|
1472
1267
|
#
|
1473
1268
|
# @param resource_group_name [String] The name of the resource group.
|
1474
1269
|
# @param service_name [String] The name of the API Management service.
|
1475
|
-
# @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
|
1476
|
-
# Parameters supplied to the Apply Network Configuration operation. If the
|
1477
|
-
# parameters are empty, all the regions in which the Api Management service is
|
1478
|
-
# deployed will be updated sequentially without incurring downtime in the
|
1479
|
-
# region.
|
1480
1270
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1481
1271
|
# will be added to the HTTP request.
|
1482
1272
|
#
|
1483
1273
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1484
1274
|
#
|
1485
|
-
def
|
1486
|
-
|
1275
|
+
def begin_delete_with_http_info(resource_group_name, service_name, custom_headers:nil)
|
1276
|
+
begin_delete_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
1487
1277
|
end
|
1488
1278
|
|
1489
1279
|
#
|
1490
|
-
#
|
1491
|
-
# to pick the updated network settings.
|
1280
|
+
# Deletes an existing API Management service.
|
1492
1281
|
#
|
1493
1282
|
# @param resource_group_name [String] The name of the resource group.
|
1494
1283
|
# @param service_name [String] The name of the API Management service.
|
1495
|
-
# @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
|
1496
|
-
# Parameters supplied to the Apply Network Configuration operation. If the
|
1497
|
-
# parameters are empty, all the regions in which the Api Management service is
|
1498
|
-
# deployed will be updated sequentially without incurring downtime in the
|
1499
|
-
# region.
|
1500
1284
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1501
1285
|
# to the HTTP request.
|
1502
1286
|
#
|
1503
1287
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1504
1288
|
#
|
1505
|
-
def
|
1289
|
+
def begin_delete_async(resource_group_name, service_name, custom_headers:nil)
|
1506
1290
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1507
1291
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1508
1292
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
@@ -1518,13 +1302,7 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1518
1302
|
# Set Headers
|
1519
1303
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1520
1304
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1521
|
-
|
1522
|
-
# Serialize Request
|
1523
|
-
request_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceApplyNetworkConfigurationParameters.mapper()
|
1524
|
-
request_content = @client.serialize(request_mapper, parameters)
|
1525
|
-
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1526
|
-
|
1527
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/applynetworkconfigurationupdates'
|
1305
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}'
|
1528
1306
|
|
1529
1307
|
request_url = @base_url || @client.base_url
|
1530
1308
|
|
@@ -1532,27 +1310,28 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1532
1310
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1533
1311
|
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
1534
1312
|
query_params: {'api-version' => @client.api_version},
|
1535
|
-
body: request_content,
|
1536
1313
|
headers: request_headers.merge(custom_headers || {}),
|
1537
1314
|
base_url: request_url
|
1538
1315
|
}
|
1539
|
-
promise = @client.make_request_async(:
|
1316
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
1540
1317
|
|
1541
1318
|
promise = promise.then do |result|
|
1542
1319
|
http_response = result.response
|
1543
1320
|
status_code = http_response.status
|
1544
1321
|
response_content = http_response.body
|
1545
|
-
unless status_code == 202 || status_code ==
|
1322
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
1546
1323
|
error_model = JSON.load(response_content)
|
1547
|
-
fail
|
1324
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1548
1325
|
end
|
1549
1326
|
|
1550
1327
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1328
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1329
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1551
1330
|
# Deserialize Response
|
1552
|
-
if status_code ==
|
1331
|
+
if status_code == 202
|
1553
1332
|
begin
|
1554
1333
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1555
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1334
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
1556
1335
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1557
1336
|
rescue Exception => e
|
1558
1337
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1566,66 +1345,68 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1566
1345
|
end
|
1567
1346
|
|
1568
1347
|
#
|
1569
|
-
#
|
1570
|
-
#
|
1571
|
-
# This is a long running operation and could take several minutes to complete.
|
1572
|
-
# This operation will be deprecated in the next version update.
|
1348
|
+
# Updates the Microsoft.ApiManagement resource running in the Virtual network
|
1349
|
+
# to pick the updated network settings.
|
1573
1350
|
#
|
1574
1351
|
# @param resource_group_name [String] The name of the resource group.
|
1575
1352
|
# @param service_name [String] The name of the API Management service.
|
1576
|
-
# @param parameters [
|
1577
|
-
# supplied to the
|
1353
|
+
# @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
|
1354
|
+
# Parameters supplied to the Apply Network Configuration operation. If the
|
1355
|
+
# parameters are empty, all the regions in which the Api Management service is
|
1356
|
+
# deployed will be updated sequentially without incurring downtime in the
|
1357
|
+
# region.
|
1578
1358
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1579
1359
|
# will be added to the HTTP request.
|
1580
1360
|
#
|
1581
1361
|
# @return [ApiManagementServiceResource] operation results.
|
1582
1362
|
#
|
1583
|
-
def
|
1584
|
-
response =
|
1363
|
+
def begin_apply_network_configuration_updates(resource_group_name, service_name, parameters:nil, custom_headers:nil)
|
1364
|
+
response = begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers).value!
|
1585
1365
|
response.body unless response.nil?
|
1586
1366
|
end
|
1587
1367
|
|
1588
1368
|
#
|
1589
|
-
#
|
1590
|
-
#
|
1591
|
-
# This is a long running operation and could take several minutes to complete.
|
1592
|
-
# This operation will be deprecated in the next version update.
|
1369
|
+
# Updates the Microsoft.ApiManagement resource running in the Virtual network
|
1370
|
+
# to pick the updated network settings.
|
1593
1371
|
#
|
1594
1372
|
# @param resource_group_name [String] The name of the resource group.
|
1595
1373
|
# @param service_name [String] The name of the API Management service.
|
1596
|
-
# @param parameters [
|
1597
|
-
# supplied to the
|
1374
|
+
# @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
|
1375
|
+
# Parameters supplied to the Apply Network Configuration operation. If the
|
1376
|
+
# parameters are empty, all the regions in which the Api Management service is
|
1377
|
+
# deployed will be updated sequentially without incurring downtime in the
|
1378
|
+
# region.
|
1598
1379
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1599
1380
|
# will be added to the HTTP request.
|
1600
1381
|
#
|
1601
1382
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1602
1383
|
#
|
1603
|
-
def
|
1604
|
-
|
1384
|
+
def begin_apply_network_configuration_updates_with_http_info(resource_group_name, service_name, parameters:nil, custom_headers:nil)
|
1385
|
+
begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:parameters, custom_headers:custom_headers).value!
|
1605
1386
|
end
|
1606
1387
|
|
1607
1388
|
#
|
1608
|
-
#
|
1609
|
-
#
|
1610
|
-
# This is a long running operation and could take several minutes to complete.
|
1611
|
-
# This operation will be deprecated in the next version update.
|
1389
|
+
# Updates the Microsoft.ApiManagement resource running in the Virtual network
|
1390
|
+
# to pick the updated network settings.
|
1612
1391
|
#
|
1613
1392
|
# @param resource_group_name [String] The name of the resource group.
|
1614
1393
|
# @param service_name [String] The name of the API Management service.
|
1615
|
-
# @param parameters [
|
1616
|
-
# supplied to the
|
1394
|
+
# @param parameters [ApiManagementServiceApplyNetworkConfigurationParameters]
|
1395
|
+
# Parameters supplied to the Apply Network Configuration operation. If the
|
1396
|
+
# parameters are empty, all the regions in which the Api Management service is
|
1397
|
+
# deployed will be updated sequentially without incurring downtime in the
|
1398
|
+
# region.
|
1617
1399
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1618
1400
|
# to the HTTP request.
|
1619
1401
|
#
|
1620
1402
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1621
1403
|
#
|
1622
|
-
def
|
1404
|
+
def begin_apply_network_configuration_updates_async(resource_group_name, service_name, parameters:nil, custom_headers:nil)
|
1623
1405
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1624
1406
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1625
1407
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
1626
1408
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
1627
1409
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
|
1628
|
-
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1629
1410
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1630
1411
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1631
1412
|
|
@@ -1638,11 +1419,11 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1638
1419
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1639
1420
|
|
1640
1421
|
# Serialize Request
|
1641
|
-
request_mapper = Azure::ApiManagement::Mgmt::
|
1422
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceApplyNetworkConfigurationParameters.mapper()
|
1642
1423
|
request_content = @client.serialize(request_mapper, parameters)
|
1643
1424
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1644
1425
|
|
1645
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/
|
1426
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/applynetworkconfigurationupdates'
|
1646
1427
|
|
1647
1428
|
request_url = @base_url || @client.base_url
|
1648
1429
|
|
@@ -1660,27 +1441,19 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1660
1441
|
http_response = result.response
|
1661
1442
|
status_code = http_response.status
|
1662
1443
|
response_content = http_response.body
|
1663
|
-
unless status_code ==
|
1444
|
+
unless status_code == 202 || status_code == 200
|
1664
1445
|
error_model = JSON.load(response_content)
|
1665
|
-
fail
|
1446
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1666
1447
|
end
|
1667
1448
|
|
1668
1449
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1450
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1451
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1669
1452
|
# Deserialize Response
|
1670
1453
|
if status_code == 200
|
1671
1454
|
begin
|
1672
1455
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1673
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1674
|
-
result.body = @client.deserialize(result_mapper, parsed_response)
|
1675
|
-
rescue Exception => e
|
1676
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1677
|
-
end
|
1678
|
-
end
|
1679
|
-
# Deserialize Response
|
1680
|
-
if status_code == 202
|
1681
|
-
begin
|
1682
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1683
|
-
result_mapper = Azure::ApiManagement::Mgmt::V2018_01_01_preview::Models::ApiManagementServiceResource.mapper()
|
1456
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceResource.mapper()
|
1684
1457
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1685
1458
|
rescue Exception => e
|
1686
1459
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1760,15 +1533,17 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1760
1533
|
response_content = http_response.body
|
1761
1534
|
unless status_code == 200
|
1762
1535
|
error_model = JSON.load(response_content)
|
1763
|
-
fail
|
1536
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1764
1537
|
end
|
1765
1538
|
|
1766
1539
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1540
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1541
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1767
1542
|
# Deserialize Response
|
1768
1543
|
if status_code == 200
|
1769
1544
|
begin
|
1770
1545
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1771
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1546
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceListResult.mapper()
|
1772
1547
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1773
1548
|
rescue Exception => e
|
1774
1549
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
@@ -1852,11 +1627,13 @@ module Azure::ApiManagement::Mgmt::V2018_01_01_preview
|
|
1852
1627
|
end
|
1853
1628
|
|
1854
1629
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1630
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1631
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1855
1632
|
# Deserialize Response
|
1856
1633
|
if status_code == 200
|
1857
1634
|
begin
|
1858
1635
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1859
|
-
result_mapper = Azure::ApiManagement::Mgmt::
|
1636
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2019_12_01::Models::ApiManagementServiceListResult.mapper()
|
1860
1637
|
result.body = @client.deserialize(result_mapper, parsed_response)
|
1861
1638
|
rescue Exception => e
|
1862
1639
|
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|