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
@@ -22,7 +22,94 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
22
22
|
attr_reader :client
|
23
23
|
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Tenant access metadata
|
26
|
+
#
|
27
|
+
# @param resource_group_name [String] The name of the resource group.
|
28
|
+
# @param service_name [String] The name of the API Management service.
|
29
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
30
|
+
# will be added to the HTTP request.
|
31
|
+
#
|
32
|
+
#
|
33
|
+
def get_entity_tag(resource_group_name, service_name, custom_headers:nil)
|
34
|
+
response = get_entity_tag_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
35
|
+
nil
|
36
|
+
end
|
37
|
+
|
38
|
+
#
|
39
|
+
# Tenant access metadata
|
40
|
+
#
|
41
|
+
# @param resource_group_name [String] The name of the resource group.
|
42
|
+
# @param service_name [String] The name of the API Management service.
|
43
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
44
|
+
# will be added to the HTTP request.
|
45
|
+
#
|
46
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
47
|
+
#
|
48
|
+
def get_entity_tag_with_http_info(resource_group_name, service_name, custom_headers:nil)
|
49
|
+
get_entity_tag_async(resource_group_name, service_name, custom_headers:custom_headers).value!
|
50
|
+
end
|
51
|
+
|
52
|
+
#
|
53
|
+
# Tenant access metadata
|
54
|
+
#
|
55
|
+
# @param resource_group_name [String] The name of the resource group.
|
56
|
+
# @param service_name [String] The name of the API Management service.
|
57
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
58
|
+
# to the HTTP request.
|
59
|
+
#
|
60
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
61
|
+
#
|
62
|
+
def get_entity_tag_async(resource_group_name, service_name, custom_headers:nil)
|
63
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
64
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
65
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
66
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
67
|
+
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?
|
68
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
69
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
70
|
+
access_name = 'access'
|
71
|
+
|
72
|
+
|
73
|
+
request_headers = {}
|
74
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
75
|
+
|
76
|
+
# Set Headers
|
77
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
78
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
79
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}'
|
80
|
+
|
81
|
+
request_url = @base_url || @client.base_url
|
82
|
+
|
83
|
+
options = {
|
84
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
85
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id,'accessName' => access_name},
|
86
|
+
query_params: {'api-version' => @client.api_version},
|
87
|
+
headers: request_headers.merge(custom_headers || {}),
|
88
|
+
base_url: request_url
|
89
|
+
}
|
90
|
+
promise = @client.make_request_async(:head, path_template, options)
|
91
|
+
|
92
|
+
promise = promise.then do |result|
|
93
|
+
http_response = result.response
|
94
|
+
status_code = http_response.status
|
95
|
+
response_content = http_response.body
|
96
|
+
unless status_code == 200
|
97
|
+
error_model = JSON.load(response_content)
|
98
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
99
|
+
end
|
100
|
+
|
101
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
102
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
103
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
104
|
+
|
105
|
+
result
|
106
|
+
end
|
107
|
+
|
108
|
+
promise.execute
|
109
|
+
end
|
110
|
+
|
111
|
+
#
|
112
|
+
# Get tenant access information details
|
26
113
|
#
|
27
114
|
# @param resource_group_name [String] The name of the resource group.
|
28
115
|
# @param service_name [String] The name of the API Management service.
|
@@ -37,7 +124,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
37
124
|
end
|
38
125
|
|
39
126
|
#
|
40
|
-
# Get tenant access information details
|
127
|
+
# Get tenant access information details
|
41
128
|
#
|
42
129
|
# @param resource_group_name [String] The name of the resource group.
|
43
130
|
# @param service_name [String] The name of the API Management service.
|
@@ -51,7 +138,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
51
138
|
end
|
52
139
|
|
53
140
|
#
|
54
|
-
# Get tenant access information details
|
141
|
+
# Get tenant access information details
|
55
142
|
#
|
56
143
|
# @param resource_group_name [String] The name of the resource group.
|
57
144
|
# @param service_name [String] The name of the API Management service.
|
@@ -96,10 +183,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
96
183
|
response_content = http_response.body
|
97
184
|
unless status_code == 200
|
98
185
|
error_model = JSON.load(response_content)
|
99
|
-
fail
|
186
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
100
187
|
end
|
101
188
|
|
102
189
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
190
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
191
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
103
192
|
# Deserialize Response
|
104
193
|
if status_code == 200
|
105
194
|
begin
|
@@ -220,6 +309,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
220
309
|
end
|
221
310
|
|
222
311
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
312
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
313
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
223
314
|
|
224
315
|
result
|
225
316
|
end
|
@@ -228,7 +319,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
228
319
|
end
|
229
320
|
|
230
321
|
#
|
231
|
-
# Regenerate primary access key
|
322
|
+
# Regenerate primary access key
|
232
323
|
#
|
233
324
|
# @param resource_group_name [String] The name of the resource group.
|
234
325
|
# @param service_name [String] The name of the API Management service.
|
@@ -242,7 +333,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
242
333
|
end
|
243
334
|
|
244
335
|
#
|
245
|
-
# Regenerate primary access key
|
336
|
+
# Regenerate primary access key
|
246
337
|
#
|
247
338
|
# @param resource_group_name [String] The name of the resource group.
|
248
339
|
# @param service_name [String] The name of the API Management service.
|
@@ -256,7 +347,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
256
347
|
end
|
257
348
|
|
258
349
|
#
|
259
|
-
# Regenerate primary access key
|
350
|
+
# Regenerate primary access key
|
260
351
|
#
|
261
352
|
# @param resource_group_name [String] The name of the resource group.
|
262
353
|
# @param service_name [String] The name of the API Management service.
|
@@ -305,6 +396,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
305
396
|
end
|
306
397
|
|
307
398
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
399
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
400
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
308
401
|
|
309
402
|
result
|
310
403
|
end
|
@@ -313,7 +406,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
313
406
|
end
|
314
407
|
|
315
408
|
#
|
316
|
-
# Regenerate secondary access key
|
409
|
+
# Regenerate secondary access key
|
317
410
|
#
|
318
411
|
# @param resource_group_name [String] The name of the resource group.
|
319
412
|
# @param service_name [String] The name of the API Management service.
|
@@ -327,7 +420,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
327
420
|
end
|
328
421
|
|
329
422
|
#
|
330
|
-
# Regenerate secondary access key
|
423
|
+
# Regenerate secondary access key
|
331
424
|
#
|
332
425
|
# @param resource_group_name [String] The name of the resource group.
|
333
426
|
# @param service_name [String] The name of the API Management service.
|
@@ -341,7 +434,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
341
434
|
end
|
342
435
|
|
343
436
|
#
|
344
|
-
# Regenerate secondary access key
|
437
|
+
# Regenerate secondary access key
|
345
438
|
#
|
346
439
|
# @param resource_group_name [String] The name of the resource group.
|
347
440
|
# @param service_name [String] The name of the API Management service.
|
@@ -390,6 +483,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
390
483
|
end
|
391
484
|
|
392
485
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
486
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
487
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
393
488
|
|
394
489
|
result
|
395
490
|
end
|
@@ -100,6 +100,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
100
100
|
end
|
101
101
|
|
102
102
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
103
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
104
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
103
105
|
# Deserialize Response
|
104
106
|
if status_code == 200
|
105
107
|
begin
|
@@ -195,6 +197,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
195
197
|
end
|
196
198
|
|
197
199
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
200
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
201
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
198
202
|
|
199
203
|
result
|
200
204
|
end
|
@@ -280,6 +284,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
280
284
|
end
|
281
285
|
|
282
286
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
287
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
288
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
283
289
|
|
284
290
|
result
|
285
291
|
end
|
@@ -244,6 +244,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
244
244
|
end
|
245
245
|
|
246
246
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
247
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
248
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
247
249
|
# Deserialize Response
|
248
250
|
if status_code == 200
|
249
251
|
begin
|
@@ -360,6 +362,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
360
362
|
end
|
361
363
|
|
362
364
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
365
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
366
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
363
367
|
# Deserialize Response
|
364
368
|
if status_code == 200
|
365
369
|
begin
|
@@ -473,6 +477,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
473
477
|
end
|
474
478
|
|
475
479
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
480
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
481
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
476
482
|
# Deserialize Response
|
477
483
|
if status_code == 200
|
478
484
|
begin
|
@@ -586,6 +592,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
586
592
|
end
|
587
593
|
|
588
594
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
595
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
596
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
589
597
|
# Deserialize Response
|
590
598
|
if status_code == 200
|
591
599
|
begin
|
@@ -26,32 +26,32 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
26
26
|
#
|
27
27
|
# @param resource_group_name [String] The name of the resource group.
|
28
28
|
# @param service_name [String] The name of the API Management service.
|
29
|
-
# @param filter [String] | Field
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
33
|
-
# startswith, endswith
|
34
|
-
# |
|
35
|
-
#
|
36
|
-
# |
|
37
|
-
#
|
38
|
-
# |
|
39
|
-
#
|
40
|
-
# |
|
41
|
-
# |
|
42
|
-
# |
|
43
|
-
# |
|
44
|
-
#
|
45
|
-
# startswith, endswith |
|
29
|
+
# @param filter [String] | Field | Supported operators | Supported
|
30
|
+
# functions |
|
31
|
+
# |-------------|------------------------|-----------------------------------|
|
32
|
+
#
|
33
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
34
|
+
# |firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
35
|
+
# endswith|
|
36
|
+
# |lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
37
|
+
# endswith|
|
38
|
+
# |email | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
39
|
+
# endswith|
|
40
|
+
# |state | eq | |
|
41
|
+
# |registrationDate | ge, le, eq, ne, gt, lt | |
|
42
|
+
# |note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
43
|
+
# |groups | | |
|
44
|
+
#
|
46
45
|
# @param top [Integer] Number of records to return.
|
47
46
|
# @param skip [Integer] Number of records to skip.
|
47
|
+
# @param expand_groups [Boolean]
|
48
48
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
49
|
# will be added to the HTTP request.
|
50
50
|
#
|
51
51
|
# @return [Array<UserContract>] operation results.
|
52
52
|
#
|
53
|
-
def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
54
|
-
first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
|
53
|
+
def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_groups:nil, custom_headers:nil)
|
54
|
+
first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_groups:expand_groups, custom_headers:custom_headers)
|
55
55
|
first_page.get_all_items
|
56
56
|
end
|
57
57
|
|
@@ -60,32 +60,32 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
60
60
|
#
|
61
61
|
# @param resource_group_name [String] The name of the resource group.
|
62
62
|
# @param service_name [String] The name of the API Management service.
|
63
|
-
# @param filter [String] | Field
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
# startswith, endswith
|
68
|
-
# |
|
69
|
-
#
|
70
|
-
# |
|
71
|
-
#
|
72
|
-
# |
|
73
|
-
#
|
74
|
-
# |
|
75
|
-
# |
|
76
|
-
# |
|
77
|
-
# |
|
78
|
-
#
|
79
|
-
# startswith, endswith |
|
63
|
+
# @param filter [String] | Field | Supported operators | Supported
|
64
|
+
# functions |
|
65
|
+
# |-------------|------------------------|-----------------------------------|
|
66
|
+
#
|
67
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
68
|
+
# |firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
69
|
+
# endswith|
|
70
|
+
# |lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
71
|
+
# endswith|
|
72
|
+
# |email | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
73
|
+
# endswith|
|
74
|
+
# |state | eq | |
|
75
|
+
# |registrationDate | ge, le, eq, ne, gt, lt | |
|
76
|
+
# |note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
77
|
+
# |groups | | |
|
78
|
+
#
|
80
79
|
# @param top [Integer] Number of records to return.
|
81
80
|
# @param skip [Integer] Number of records to skip.
|
81
|
+
# @param expand_groups [Boolean]
|
82
82
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
83
83
|
# will be added to the HTTP request.
|
84
84
|
#
|
85
85
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
86
86
|
#
|
87
|
-
def list_by_service_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
88
|
-
list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
87
|
+
def list_by_service_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_groups:nil, custom_headers:nil)
|
88
|
+
list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_groups:expand_groups, custom_headers:custom_headers).value!
|
89
89
|
end
|
90
90
|
|
91
91
|
#
|
@@ -93,31 +93,31 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
93
93
|
#
|
94
94
|
# @param resource_group_name [String] The name of the resource group.
|
95
95
|
# @param service_name [String] The name of the API Management service.
|
96
|
-
# @param filter [String] | Field
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
# startswith, endswith
|
101
|
-
# |
|
102
|
-
#
|
103
|
-
# |
|
104
|
-
#
|
105
|
-
# |
|
106
|
-
#
|
107
|
-
# |
|
108
|
-
# |
|
109
|
-
# |
|
110
|
-
# |
|
111
|
-
#
|
112
|
-
# startswith, endswith |
|
96
|
+
# @param filter [String] | Field | Supported operators | Supported
|
97
|
+
# functions |
|
98
|
+
# |-------------|------------------------|-----------------------------------|
|
99
|
+
#
|
100
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
101
|
+
# |firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
102
|
+
# endswith|
|
103
|
+
# |lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
104
|
+
# endswith|
|
105
|
+
# |email | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
106
|
+
# endswith|
|
107
|
+
# |state | eq | |
|
108
|
+
# |registrationDate | ge, le, eq, ne, gt, lt | |
|
109
|
+
# |note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
110
|
+
# |groups | | |
|
111
|
+
#
|
113
112
|
# @param top [Integer] Number of records to return.
|
114
113
|
# @param skip [Integer] Number of records to skip.
|
114
|
+
# @param expand_groups [Boolean]
|
115
115
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
116
116
|
# to the HTTP request.
|
117
117
|
#
|
118
118
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
119
119
|
#
|
120
|
-
def list_by_service_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
120
|
+
def list_by_service_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_groups:nil, custom_headers:nil)
|
121
121
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
122
122
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
123
123
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
@@ -142,7 +142,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
142
142
|
options = {
|
143
143
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
144
144
|
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
145
|
-
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
145
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'expandGroups' => expand_groups,'api-version' => @client.api_version},
|
146
146
|
headers: request_headers.merge(custom_headers || {}),
|
147
147
|
base_url: request_url
|
148
148
|
}
|
@@ -158,6 +158,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
158
158
|
end
|
159
159
|
|
160
160
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
161
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
162
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
161
163
|
# Deserialize Response
|
162
164
|
if status_code == 200
|
163
165
|
begin
|
@@ -180,14 +182,14 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
180
182
|
#
|
181
183
|
# @param resource_group_name [String] The name of the resource group.
|
182
184
|
# @param service_name [String] The name of the API Management service.
|
183
|
-
# @param
|
185
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
184
186
|
# Management service instance.
|
185
187
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
186
188
|
# will be added to the HTTP request.
|
187
189
|
#
|
188
190
|
#
|
189
|
-
def get_entity_tag(resource_group_name, service_name,
|
190
|
-
response = get_entity_tag_async(resource_group_name, service_name,
|
191
|
+
def get_entity_tag(resource_group_name, service_name, user_id, custom_headers:nil)
|
192
|
+
response = get_entity_tag_async(resource_group_name, service_name, user_id, custom_headers:custom_headers).value!
|
191
193
|
nil
|
192
194
|
end
|
193
195
|
|
@@ -196,15 +198,15 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
196
198
|
#
|
197
199
|
# @param resource_group_name [String] The name of the resource group.
|
198
200
|
# @param service_name [String] The name of the API Management service.
|
199
|
-
# @param
|
201
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
200
202
|
# Management service instance.
|
201
203
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
202
204
|
# will be added to the HTTP request.
|
203
205
|
#
|
204
206
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
205
207
|
#
|
206
|
-
def get_entity_tag_with_http_info(resource_group_name, service_name,
|
207
|
-
get_entity_tag_async(resource_group_name, service_name,
|
208
|
+
def get_entity_tag_with_http_info(resource_group_name, service_name, user_id, custom_headers:nil)
|
209
|
+
get_entity_tag_async(resource_group_name, service_name, user_id, custom_headers:custom_headers).value!
|
208
210
|
end
|
209
211
|
|
210
212
|
#
|
@@ -212,23 +214,23 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
212
214
|
#
|
213
215
|
# @param resource_group_name [String] The name of the resource group.
|
214
216
|
# @param service_name [String] The name of the API Management service.
|
215
|
-
# @param
|
217
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
216
218
|
# Management service instance.
|
217
219
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
218
220
|
# to the HTTP request.
|
219
221
|
#
|
220
222
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
221
223
|
#
|
222
|
-
def get_entity_tag_async(resource_group_name, service_name,
|
224
|
+
def get_entity_tag_async(resource_group_name, service_name, user_id, custom_headers:nil)
|
223
225
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
224
226
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
225
227
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
226
228
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
227
229
|
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?
|
228
|
-
fail ArgumentError, '
|
229
|
-
fail ArgumentError, "'
|
230
|
-
fail ArgumentError, "'
|
231
|
-
fail ArgumentError, "'
|
230
|
+
fail ArgumentError, 'user_id is nil' if user_id.nil?
|
231
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
|
232
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
|
233
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
232
234
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
233
235
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
234
236
|
|
@@ -239,13 +241,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
239
241
|
# Set Headers
|
240
242
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
241
243
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
242
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{
|
244
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}'
|
243
245
|
|
244
246
|
request_url = @base_url || @client.base_url
|
245
247
|
|
246
248
|
options = {
|
247
249
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
248
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
250
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'userId' => user_id,'subscriptionId' => @client.subscription_id},
|
249
251
|
query_params: {'api-version' => @client.api_version},
|
250
252
|
headers: request_headers.merge(custom_headers || {}),
|
251
253
|
base_url: request_url
|
@@ -262,6 +264,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
262
264
|
end
|
263
265
|
|
264
266
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
267
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
268
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
265
269
|
|
266
270
|
result
|
267
271
|
end
|
@@ -274,15 +278,15 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
274
278
|
#
|
275
279
|
# @param resource_group_name [String] The name of the resource group.
|
276
280
|
# @param service_name [String] The name of the API Management service.
|
277
|
-
# @param
|
281
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
278
282
|
# Management service instance.
|
279
283
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
280
284
|
# will be added to the HTTP request.
|
281
285
|
#
|
282
286
|
# @return [UserContract] operation results.
|
283
287
|
#
|
284
|
-
def get(resource_group_name, service_name,
|
285
|
-
response = get_async(resource_group_name, service_name,
|
288
|
+
def get(resource_group_name, service_name, user_id, custom_headers:nil)
|
289
|
+
response = get_async(resource_group_name, service_name, user_id, custom_headers:custom_headers).value!
|
286
290
|
response.body unless response.nil?
|
287
291
|
end
|
288
292
|
|
@@ -291,15 +295,15 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
291
295
|
#
|
292
296
|
# @param resource_group_name [String] The name of the resource group.
|
293
297
|
# @param service_name [String] The name of the API Management service.
|
294
|
-
# @param
|
298
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
295
299
|
# Management service instance.
|
296
300
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
297
301
|
# will be added to the HTTP request.
|
298
302
|
#
|
299
303
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
300
304
|
#
|
301
|
-
def get_with_http_info(resource_group_name, service_name,
|
302
|
-
get_async(resource_group_name, service_name,
|
305
|
+
def get_with_http_info(resource_group_name, service_name, user_id, custom_headers:nil)
|
306
|
+
get_async(resource_group_name, service_name, user_id, custom_headers:custom_headers).value!
|
303
307
|
end
|
304
308
|
|
305
309
|
#
|
@@ -307,23 +311,23 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
307
311
|
#
|
308
312
|
# @param resource_group_name [String] The name of the resource group.
|
309
313
|
# @param service_name [String] The name of the API Management service.
|
310
|
-
# @param
|
314
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
311
315
|
# Management service instance.
|
312
316
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
313
317
|
# to the HTTP request.
|
314
318
|
#
|
315
319
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
316
320
|
#
|
317
|
-
def get_async(resource_group_name, service_name,
|
321
|
+
def get_async(resource_group_name, service_name, user_id, custom_headers:nil)
|
318
322
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
319
323
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
320
324
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
321
325
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
322
326
|
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?
|
323
|
-
fail ArgumentError, '
|
324
|
-
fail ArgumentError, "'
|
325
|
-
fail ArgumentError, "'
|
326
|
-
fail ArgumentError, "'
|
327
|
+
fail ArgumentError, 'user_id is nil' if user_id.nil?
|
328
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
|
329
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
|
330
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
327
331
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
328
332
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
329
333
|
|
@@ -334,13 +338,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
334
338
|
# Set Headers
|
335
339
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
336
340
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
337
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{
|
341
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}'
|
338
342
|
|
339
343
|
request_url = @base_url || @client.base_url
|
340
344
|
|
341
345
|
options = {
|
342
346
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
343
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
347
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'userId' => user_id,'subscriptionId' => @client.subscription_id},
|
344
348
|
query_params: {'api-version' => @client.api_version},
|
345
349
|
headers: request_headers.merge(custom_headers || {}),
|
346
350
|
base_url: request_url
|
@@ -357,6 +361,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
357
361
|
end
|
358
362
|
|
359
363
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
364
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
365
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
360
366
|
# Deserialize Response
|
361
367
|
if status_code == 200
|
362
368
|
begin
|
@@ -379,7 +385,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
379
385
|
#
|
380
386
|
# @param resource_group_name [String] The name of the resource group.
|
381
387
|
# @param service_name [String] The name of the API Management service.
|
382
|
-
# @param
|
388
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
383
389
|
# Management service instance.
|
384
390
|
# @param parameters [UserCreateParameters] Create or update parameters.
|
385
391
|
# @param if_match [String] ETag of the Entity. Not required when creating an
|
@@ -389,8 +395,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
389
395
|
#
|
390
396
|
# @return [UserContract] operation results.
|
391
397
|
#
|
392
|
-
def create_or_update(resource_group_name, service_name,
|
393
|
-
response = create_or_update_async(resource_group_name, service_name,
|
398
|
+
def create_or_update(resource_group_name, service_name, user_id, parameters, if_match:nil, custom_headers:nil)
|
399
|
+
response = create_or_update_async(resource_group_name, service_name, user_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
|
394
400
|
response.body unless response.nil?
|
395
401
|
end
|
396
402
|
|
@@ -399,7 +405,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
399
405
|
#
|
400
406
|
# @param resource_group_name [String] The name of the resource group.
|
401
407
|
# @param service_name [String] The name of the API Management service.
|
402
|
-
# @param
|
408
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
403
409
|
# Management service instance.
|
404
410
|
# @param parameters [UserCreateParameters] Create or update parameters.
|
405
411
|
# @param if_match [String] ETag of the Entity. Not required when creating an
|
@@ -409,8 +415,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
409
415
|
#
|
410
416
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
411
417
|
#
|
412
|
-
def create_or_update_with_http_info(resource_group_name, service_name,
|
413
|
-
create_or_update_async(resource_group_name, service_name,
|
418
|
+
def create_or_update_with_http_info(resource_group_name, service_name, user_id, parameters, if_match:nil, custom_headers:nil)
|
419
|
+
create_or_update_async(resource_group_name, service_name, user_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
|
414
420
|
end
|
415
421
|
|
416
422
|
#
|
@@ -418,7 +424,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
418
424
|
#
|
419
425
|
# @param resource_group_name [String] The name of the resource group.
|
420
426
|
# @param service_name [String] The name of the API Management service.
|
421
|
-
# @param
|
427
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
422
428
|
# Management service instance.
|
423
429
|
# @param parameters [UserCreateParameters] Create or update parameters.
|
424
430
|
# @param if_match [String] ETag of the Entity. Not required when creating an
|
@@ -428,16 +434,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
428
434
|
#
|
429
435
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
430
436
|
#
|
431
|
-
def create_or_update_async(resource_group_name, service_name,
|
437
|
+
def create_or_update_async(resource_group_name, service_name, user_id, parameters, if_match:nil, custom_headers:nil)
|
432
438
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
433
439
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
434
440
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
435
441
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
436
442
|
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?
|
437
|
-
fail ArgumentError, '
|
438
|
-
fail ArgumentError, "'
|
439
|
-
fail ArgumentError, "'
|
440
|
-
fail ArgumentError, "'
|
443
|
+
fail ArgumentError, 'user_id is nil' if user_id.nil?
|
444
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
|
445
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
|
446
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
441
447
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
442
448
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
443
449
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -456,13 +462,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
456
462
|
request_content = @client.serialize(request_mapper, parameters)
|
457
463
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
458
464
|
|
459
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{
|
465
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}'
|
460
466
|
|
461
467
|
request_url = @base_url || @client.base_url
|
462
468
|
|
463
469
|
options = {
|
464
470
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
465
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
471
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'userId' => user_id,'subscriptionId' => @client.subscription_id},
|
466
472
|
query_params: {'api-version' => @client.api_version},
|
467
473
|
body: request_content,
|
468
474
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -480,6 +486,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
480
486
|
end
|
481
487
|
|
482
488
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
489
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
490
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
483
491
|
# Deserialize Response
|
484
492
|
if status_code == 201
|
485
493
|
begin
|
@@ -512,7 +520,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
512
520
|
#
|
513
521
|
# @param resource_group_name [String] The name of the resource group.
|
514
522
|
# @param service_name [String] The name of the API Management service.
|
515
|
-
# @param
|
523
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
516
524
|
# Management service instance.
|
517
525
|
# @param parameters [UserUpdateParameters] Update parameters.
|
518
526
|
# @param if_match [String] ETag of the Entity. ETag should match the current
|
@@ -522,8 +530,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
522
530
|
# will be added to the HTTP request.
|
523
531
|
#
|
524
532
|
#
|
525
|
-
def update(resource_group_name, service_name,
|
526
|
-
response = update_async(resource_group_name, service_name,
|
533
|
+
def update(resource_group_name, service_name, user_id, parameters, if_match, custom_headers:nil)
|
534
|
+
response = update_async(resource_group_name, service_name, user_id, parameters, if_match, custom_headers:custom_headers).value!
|
527
535
|
nil
|
528
536
|
end
|
529
537
|
|
@@ -532,7 +540,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
532
540
|
#
|
533
541
|
# @param resource_group_name [String] The name of the resource group.
|
534
542
|
# @param service_name [String] The name of the API Management service.
|
535
|
-
# @param
|
543
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
536
544
|
# Management service instance.
|
537
545
|
# @param parameters [UserUpdateParameters] Update parameters.
|
538
546
|
# @param if_match [String] ETag of the Entity. ETag should match the current
|
@@ -543,8 +551,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
543
551
|
#
|
544
552
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
545
553
|
#
|
546
|
-
def update_with_http_info(resource_group_name, service_name,
|
547
|
-
update_async(resource_group_name, service_name,
|
554
|
+
def update_with_http_info(resource_group_name, service_name, user_id, parameters, if_match, custom_headers:nil)
|
555
|
+
update_async(resource_group_name, service_name, user_id, parameters, if_match, custom_headers:custom_headers).value!
|
548
556
|
end
|
549
557
|
|
550
558
|
#
|
@@ -552,7 +560,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
552
560
|
#
|
553
561
|
# @param resource_group_name [String] The name of the resource group.
|
554
562
|
# @param service_name [String] The name of the API Management service.
|
555
|
-
# @param
|
563
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
556
564
|
# Management service instance.
|
557
565
|
# @param parameters [UserUpdateParameters] Update parameters.
|
558
566
|
# @param if_match [String] ETag of the Entity. ETag should match the current
|
@@ -563,16 +571,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
563
571
|
#
|
564
572
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
565
573
|
#
|
566
|
-
def update_async(resource_group_name, service_name,
|
574
|
+
def update_async(resource_group_name, service_name, user_id, parameters, if_match, custom_headers:nil)
|
567
575
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
568
576
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
569
577
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
570
578
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
571
579
|
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?
|
572
|
-
fail ArgumentError, '
|
573
|
-
fail ArgumentError, "'
|
574
|
-
fail ArgumentError, "'
|
575
|
-
fail ArgumentError, "'
|
580
|
+
fail ArgumentError, 'user_id is nil' if user_id.nil?
|
581
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
|
582
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
|
583
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
576
584
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
577
585
|
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
578
586
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -592,13 +600,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
592
600
|
request_content = @client.serialize(request_mapper, parameters)
|
593
601
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
594
602
|
|
595
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{
|
603
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}'
|
596
604
|
|
597
605
|
request_url = @base_url || @client.base_url
|
598
606
|
|
599
607
|
options = {
|
600
608
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
601
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
609
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'userId' => user_id,'subscriptionId' => @client.subscription_id},
|
602
610
|
query_params: {'api-version' => @client.api_version},
|
603
611
|
body: request_content,
|
604
612
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -616,6 +624,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
616
624
|
end
|
617
625
|
|
618
626
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
627
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
628
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
619
629
|
|
620
630
|
result
|
621
631
|
end
|
@@ -628,7 +638,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
628
638
|
#
|
629
639
|
# @param resource_group_name [String] The name of the resource group.
|
630
640
|
# @param service_name [String] The name of the API Management service.
|
631
|
-
# @param
|
641
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
632
642
|
# Management service instance.
|
633
643
|
# @param if_match [String] ETag of the Entity. ETag should match the current
|
634
644
|
# entity state from the header response of the GET request or it should be *
|
@@ -641,8 +651,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
641
651
|
# will be added to the HTTP request.
|
642
652
|
#
|
643
653
|
#
|
644
|
-
def delete(resource_group_name, service_name,
|
645
|
-
response = delete_async(resource_group_name, service_name,
|
654
|
+
def delete(resource_group_name, service_name, user_id, if_match, delete_subscriptions:nil, notify:nil, custom_headers:nil)
|
655
|
+
response = delete_async(resource_group_name, service_name, user_id, if_match, delete_subscriptions:delete_subscriptions, notify:notify, custom_headers:custom_headers).value!
|
646
656
|
nil
|
647
657
|
end
|
648
658
|
|
@@ -651,7 +661,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
651
661
|
#
|
652
662
|
# @param resource_group_name [String] The name of the resource group.
|
653
663
|
# @param service_name [String] The name of the API Management service.
|
654
|
-
# @param
|
664
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
655
665
|
# Management service instance.
|
656
666
|
# @param if_match [String] ETag of the Entity. ETag should match the current
|
657
667
|
# entity state from the header response of the GET request or it should be *
|
@@ -665,8 +675,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
665
675
|
#
|
666
676
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
667
677
|
#
|
668
|
-
def delete_with_http_info(resource_group_name, service_name,
|
669
|
-
delete_async(resource_group_name, service_name,
|
678
|
+
def delete_with_http_info(resource_group_name, service_name, user_id, if_match, delete_subscriptions:nil, notify:nil, custom_headers:nil)
|
679
|
+
delete_async(resource_group_name, service_name, user_id, if_match, delete_subscriptions:delete_subscriptions, notify:notify, custom_headers:custom_headers).value!
|
670
680
|
end
|
671
681
|
|
672
682
|
#
|
@@ -674,7 +684,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
674
684
|
#
|
675
685
|
# @param resource_group_name [String] The name of the resource group.
|
676
686
|
# @param service_name [String] The name of the API Management service.
|
677
|
-
# @param
|
687
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
678
688
|
# Management service instance.
|
679
689
|
# @param if_match [String] ETag of the Entity. ETag should match the current
|
680
690
|
# entity state from the header response of the GET request or it should be *
|
@@ -688,16 +698,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
688
698
|
#
|
689
699
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
690
700
|
#
|
691
|
-
def delete_async(resource_group_name, service_name,
|
701
|
+
def delete_async(resource_group_name, service_name, user_id, if_match, delete_subscriptions:nil, notify:nil, custom_headers:nil)
|
692
702
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
693
703
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
694
704
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
695
705
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
696
706
|
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?
|
697
|
-
fail ArgumentError, '
|
698
|
-
fail ArgumentError, "'
|
699
|
-
fail ArgumentError, "'
|
700
|
-
fail ArgumentError, "'
|
707
|
+
fail ArgumentError, 'user_id is nil' if user_id.nil?
|
708
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
|
709
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
|
710
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
701
711
|
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
702
712
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
703
713
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -710,13 +720,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
710
720
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
711
721
|
request_headers['If-Match'] = if_match unless if_match.nil?
|
712
722
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
713
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{
|
723
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}'
|
714
724
|
|
715
725
|
request_url = @base_url || @client.base_url
|
716
726
|
|
717
727
|
options = {
|
718
728
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
719
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
729
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'userId' => user_id,'subscriptionId' => @client.subscription_id},
|
720
730
|
query_params: {'deleteSubscriptions' => delete_subscriptions,'notify' => notify,'api-version' => @client.api_version},
|
721
731
|
headers: request_headers.merge(custom_headers || {}),
|
722
732
|
base_url: request_url
|
@@ -733,6 +743,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
733
743
|
end
|
734
744
|
|
735
745
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
746
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
747
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
736
748
|
|
737
749
|
result
|
738
750
|
end
|
@@ -746,15 +758,15 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
746
758
|
#
|
747
759
|
# @param resource_group_name [String] The name of the resource group.
|
748
760
|
# @param service_name [String] The name of the API Management service.
|
749
|
-
# @param
|
761
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
750
762
|
# Management service instance.
|
751
763
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
752
764
|
# will be added to the HTTP request.
|
753
765
|
#
|
754
766
|
# @return [GenerateSsoUrlResult] operation results.
|
755
767
|
#
|
756
|
-
def generate_sso_url(resource_group_name, service_name,
|
757
|
-
response = generate_sso_url_async(resource_group_name, service_name,
|
768
|
+
def generate_sso_url(resource_group_name, service_name, user_id, custom_headers:nil)
|
769
|
+
response = generate_sso_url_async(resource_group_name, service_name, user_id, custom_headers:custom_headers).value!
|
758
770
|
response.body unless response.nil?
|
759
771
|
end
|
760
772
|
|
@@ -764,15 +776,15 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
764
776
|
#
|
765
777
|
# @param resource_group_name [String] The name of the resource group.
|
766
778
|
# @param service_name [String] The name of the API Management service.
|
767
|
-
# @param
|
779
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
768
780
|
# Management service instance.
|
769
781
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
770
782
|
# will be added to the HTTP request.
|
771
783
|
#
|
772
784
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
773
785
|
#
|
774
|
-
def generate_sso_url_with_http_info(resource_group_name, service_name,
|
775
|
-
generate_sso_url_async(resource_group_name, service_name,
|
786
|
+
def generate_sso_url_with_http_info(resource_group_name, service_name, user_id, custom_headers:nil)
|
787
|
+
generate_sso_url_async(resource_group_name, service_name, user_id, custom_headers:custom_headers).value!
|
776
788
|
end
|
777
789
|
|
778
790
|
#
|
@@ -781,23 +793,23 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
781
793
|
#
|
782
794
|
# @param resource_group_name [String] The name of the resource group.
|
783
795
|
# @param service_name [String] The name of the API Management service.
|
784
|
-
# @param
|
796
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
785
797
|
# Management service instance.
|
786
798
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
787
799
|
# to the HTTP request.
|
788
800
|
#
|
789
801
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
790
802
|
#
|
791
|
-
def generate_sso_url_async(resource_group_name, service_name,
|
803
|
+
def generate_sso_url_async(resource_group_name, service_name, user_id, custom_headers:nil)
|
792
804
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
793
805
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
794
806
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
795
807
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
796
808
|
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?
|
797
|
-
fail ArgumentError, '
|
798
|
-
fail ArgumentError, "'
|
799
|
-
fail ArgumentError, "'
|
800
|
-
fail ArgumentError, "'
|
809
|
+
fail ArgumentError, 'user_id is nil' if user_id.nil?
|
810
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
|
811
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
|
812
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
801
813
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
802
814
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
803
815
|
|
@@ -808,13 +820,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
808
820
|
# Set Headers
|
809
821
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
810
822
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
811
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{
|
823
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}/generateSsoUrl'
|
812
824
|
|
813
825
|
request_url = @base_url || @client.base_url
|
814
826
|
|
815
827
|
options = {
|
816
828
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
817
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
829
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'userId' => user_id,'subscriptionId' => @client.subscription_id},
|
818
830
|
query_params: {'api-version' => @client.api_version},
|
819
831
|
headers: request_headers.merge(custom_headers || {}),
|
820
832
|
base_url: request_url
|
@@ -831,6 +843,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
831
843
|
end
|
832
844
|
|
833
845
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
846
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
847
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
834
848
|
# Deserialize Response
|
835
849
|
if status_code == 200
|
836
850
|
begin
|
@@ -853,7 +867,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
853
867
|
#
|
854
868
|
# @param resource_group_name [String] The name of the resource group.
|
855
869
|
# @param service_name [String] The name of the API Management service.
|
856
|
-
# @param
|
870
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
857
871
|
# Management service instance.
|
858
872
|
# @param parameters [UserTokenParameters] Create Authorization Token
|
859
873
|
# parameters.
|
@@ -862,8 +876,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
862
876
|
#
|
863
877
|
# @return [UserTokenResult] operation results.
|
864
878
|
#
|
865
|
-
def get_shared_access_token(resource_group_name, service_name,
|
866
|
-
response = get_shared_access_token_async(resource_group_name, service_name,
|
879
|
+
def get_shared_access_token(resource_group_name, service_name, user_id, parameters, custom_headers:nil)
|
880
|
+
response = get_shared_access_token_async(resource_group_name, service_name, user_id, parameters, custom_headers:custom_headers).value!
|
867
881
|
response.body unless response.nil?
|
868
882
|
end
|
869
883
|
|
@@ -872,7 +886,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
872
886
|
#
|
873
887
|
# @param resource_group_name [String] The name of the resource group.
|
874
888
|
# @param service_name [String] The name of the API Management service.
|
875
|
-
# @param
|
889
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
876
890
|
# Management service instance.
|
877
891
|
# @param parameters [UserTokenParameters] Create Authorization Token
|
878
892
|
# parameters.
|
@@ -881,8 +895,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
881
895
|
#
|
882
896
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
883
897
|
#
|
884
|
-
def get_shared_access_token_with_http_info(resource_group_name, service_name,
|
885
|
-
get_shared_access_token_async(resource_group_name, service_name,
|
898
|
+
def get_shared_access_token_with_http_info(resource_group_name, service_name, user_id, parameters, custom_headers:nil)
|
899
|
+
get_shared_access_token_async(resource_group_name, service_name, user_id, parameters, custom_headers:custom_headers).value!
|
886
900
|
end
|
887
901
|
|
888
902
|
#
|
@@ -890,7 +904,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
890
904
|
#
|
891
905
|
# @param resource_group_name [String] The name of the resource group.
|
892
906
|
# @param service_name [String] The name of the API Management service.
|
893
|
-
# @param
|
907
|
+
# @param user_id [String] User identifier. Must be unique in the current API
|
894
908
|
# Management service instance.
|
895
909
|
# @param parameters [UserTokenParameters] Create Authorization Token
|
896
910
|
# parameters.
|
@@ -899,16 +913,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
899
913
|
#
|
900
914
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
901
915
|
#
|
902
|
-
def get_shared_access_token_async(resource_group_name, service_name,
|
916
|
+
def get_shared_access_token_async(resource_group_name, service_name, user_id, parameters, custom_headers:nil)
|
903
917
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
904
918
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
905
919
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
906
920
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
907
921
|
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?
|
908
|
-
fail ArgumentError, '
|
909
|
-
fail ArgumentError, "'
|
910
|
-
fail ArgumentError, "'
|
911
|
-
fail ArgumentError, "'
|
922
|
+
fail ArgumentError, 'user_id is nil' if user_id.nil?
|
923
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MaxLength': '80'" if !user_id.nil? && user_id.length > 80
|
924
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'MinLength': '1'" if !user_id.nil? && user_id.length < 1
|
925
|
+
fail ArgumentError, "'user_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !user_id.nil? && user_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
912
926
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
913
927
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
914
928
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -926,13 +940,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
926
940
|
request_content = @client.serialize(request_mapper, parameters)
|
927
941
|
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
928
942
|
|
929
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{
|
943
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}/token'
|
930
944
|
|
931
945
|
request_url = @base_url || @client.base_url
|
932
946
|
|
933
947
|
options = {
|
934
948
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
935
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
949
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'userId' => user_id,'subscriptionId' => @client.subscription_id},
|
936
950
|
query_params: {'api-version' => @client.api_version},
|
937
951
|
body: request_content,
|
938
952
|
headers: request_headers.merge(custom_headers || {}),
|
@@ -950,6 +964,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
950
964
|
end
|
951
965
|
|
952
966
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
967
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
968
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
953
969
|
# Deserialize Response
|
954
970
|
if status_code == 200
|
955
971
|
begin
|
@@ -1038,6 +1054,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1038
1054
|
end
|
1039
1055
|
|
1040
1056
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1057
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1058
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1041
1059
|
# Deserialize Response
|
1042
1060
|
if status_code == 200
|
1043
1061
|
begin
|
@@ -1060,32 +1078,32 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1060
1078
|
#
|
1061
1079
|
# @param resource_group_name [String] The name of the resource group.
|
1062
1080
|
# @param service_name [String] The name of the API Management service.
|
1063
|
-
# @param filter [String] | Field
|
1064
|
-
#
|
1065
|
-
#
|
1066
|
-
#
|
1067
|
-
# startswith, endswith
|
1068
|
-
# |
|
1069
|
-
#
|
1070
|
-
# |
|
1071
|
-
#
|
1072
|
-
# |
|
1073
|
-
#
|
1074
|
-
# |
|
1075
|
-
# |
|
1076
|
-
# |
|
1077
|
-
# |
|
1078
|
-
#
|
1079
|
-
# startswith, endswith |
|
1081
|
+
# @param filter [String] | Field | Supported operators | Supported
|
1082
|
+
# functions |
|
1083
|
+
# |-------------|------------------------|-----------------------------------|
|
1084
|
+
#
|
1085
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
1086
|
+
# |firstName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1087
|
+
# endswith|
|
1088
|
+
# |lastName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1089
|
+
# endswith|
|
1090
|
+
# |email | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1091
|
+
# endswith|
|
1092
|
+
# |state | eq | |
|
1093
|
+
# |registrationDate | ge, le, eq, ne, gt, lt | |
|
1094
|
+
# |note | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
1095
|
+
# |groups | | |
|
1096
|
+
#
|
1080
1097
|
# @param top [Integer] Number of records to return.
|
1081
1098
|
# @param skip [Integer] Number of records to skip.
|
1099
|
+
# @param expand_groups [Boolean]
|
1082
1100
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1083
1101
|
# will be added to the HTTP request.
|
1084
1102
|
#
|
1085
1103
|
# @return [UserCollection] which provide lazy access to pages of the response.
|
1086
1104
|
#
|
1087
|
-
def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
1088
|
-
response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
1105
|
+
def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, expand_groups:nil, custom_headers:nil)
|
1106
|
+
response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, expand_groups:expand_groups, custom_headers:custom_headers).value!
|
1089
1107
|
unless response.nil?
|
1090
1108
|
page = response.body
|
1091
1109
|
page.next_method = Proc.new do |next_page_link|
|