azure_mgmt_api_management 0.18.1 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_management_services.rb +30 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_operations.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/api_products.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/apis.rb +14 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/authorization_servers.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/backends.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/certificates.rb +10 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/group_users.rb +8 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/groups.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/identity_providers.rb +10 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/loggers.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_base_parameters.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/property_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/report_record_contract.rb +2 -2
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_collection.rb +2 -2
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +1 -1
- data/lib/2016-07-07/generated/azure_mgmt_api_management/open_id_connect_providers.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/product_apis.rb +8 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/product_groups.rb +8 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/products.rb +12 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/property.rb +15 -3
- data/lib/2016-07-07/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/regions.rb +2 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/reports.rb +8 -4
- data/lib/2016-07-07/generated/azure_mgmt_api_management/subscriptions.rb +19 -3
- data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_configuration.rb +6 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/tenant_configuration_sync_state.rb +2 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/user_groups.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/user_identities.rb +2 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/user_subscriptions.rb +4 -0
- data/lib/2016-07-07/generated/azure_mgmt_api_management/users.rb +14 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_export.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_services.rb +32 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_operations.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_operations_policy.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_policy.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/api_products.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/apis.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/authorization_servers.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/backends.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/certificates.rb +10 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/group_users.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/groups.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/identity_providers.rb +10 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/loggers.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_manage_deployments_parameters.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/property_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
- data/lib/2016-10-10/generated/azure_mgmt_api_management/network_status.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/open_id_connect_providers.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/product_apis.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/product_groups.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/product_policy.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/products.rb +12 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/properties.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/property.rb +11 -3
- data/lib/2016-10-10/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/regions.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/reports.rb +8 -4
- data/lib/2016-10-10/generated/azure_mgmt_api_management/subscriptions.rb +19 -3
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_configuration.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_configuration_sync_state.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_policy.rb +6 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/user_groups.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/user_identities.rb +2 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/user_subscriptions.rb +4 -0
- data/lib/2016-10-10/generated/azure_mgmt_api_management/users.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +20 -10
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_export.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_attachment.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issu_comment.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +6 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_attachments.rb +11 -7
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comment.rb +6 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issue_comments.rb +11 -7
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_issues.rb +11 -7
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_client.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_management_service.rb +41 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_operation_policy.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_policy.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_product.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_release.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_revisions.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_schema.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/api_version_set.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/authorization_server.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/backend.rb +16 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/certificate.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/delegation_settings.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +20 -10
- data/lib/2017-03-01/generated/azure_mgmt_api_management/email_template.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/group.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/group_user.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/identity_provider.rb +12 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/logger.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/logger_sampling_contract.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/notification_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/property_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/schema_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
- data/lib/2017-03-01/generated/azure_mgmt_api_management/network_status.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/operation_operations.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/policy.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/policy_snippets.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product.rb +14 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_api.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_group.rb +10 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_policy.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/product_subscriptions.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/property.rb +17 -3
- data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/regions.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/reports.rb +41 -11
- data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_in_settings.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/sign_up_settings.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/subscription.rb +21 -3
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag.rb +50 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_description.rb +15 -3
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tag_resource.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user.rb +18 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_group.rb +4 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_identities.rb +2 -0
- data/lib/2017-03-01/generated/azure_mgmt_api_management/user_subscription.rb +4 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management.rb +303 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api.rb +1162 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +888 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +659 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_export.rb +149 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue.rb +901 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +826 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +823 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_client.rb +369 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +226 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service.rb +1944 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation.rb +919 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +649 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_policy.rb +599 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_product.rb +276 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_release.rb +907 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_revisions.rb +284 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_schema.rb +750 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/api_version_set.rb +878 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/authorization_server.rb +833 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/backend.rb +947 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/certificate.rb +742 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +424 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic.rb +826 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb +624 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/email_template.rb +910 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/group.rb +853 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/group_user.rb +667 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb +810 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/logger.rb +833 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +80 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +48 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/additional_location.rb +131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_contract.rb +288 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +222 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +313 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +179 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +322 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +442 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +60 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +77 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +431 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +72 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +221 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +249 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +96 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +75 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/content_format.rb +20 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/current_user_identity.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +74 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/export_format.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +88 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +88 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +138 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +71 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +191 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +164 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_contract.rb +121 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +85 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/schema_contract.rb +87 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/sku_type.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +244 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +128 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +146 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +153 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/network_status.rb +258 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification.rb +477 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +482 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +503 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +821 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/operation_operations.rb +320 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/policy.rb +536 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/policy_snippets.rb +128 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product.rb +876 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_api.rb +664 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_group.rb +653 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_policy.rb +581 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +316 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb +818 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +266 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +265 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/regions.rb +234 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/reports.rb +1720 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +424 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +424 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb +1088 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag.rb +3131 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_description.rb +799 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tag_resource.rb +360 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access.rb +409 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +297 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +615 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user.rb +1214 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_group.rb +291 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_identities.rb +246 -0
- data/lib/2018-01-01/generated/azure_mgmt_api_management/user_subscription.rb +316 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management.rb +161 -144
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api.rb +296 -207
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_diagnostic.rb +40 -18
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_export.rb +5 -3
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue.rb +214 -62
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +62 -45
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +62 -45
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +41 -25
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_operations.rb +4 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service.rb +139 -56
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation.rb +75 -29
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_operation_policy.rb +16 -6
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_policy.rb +10 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_product.rb +33 -21
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_release.rb +83 -58
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_revisions.rb +9 -5
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_schema.rb +74 -18
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/api_version_set.rb +60 -94
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/authorization_server.rb +53 -35
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/backend.rb +154 -130
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/cache.rb +809 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/certificate.rb +60 -48
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/delegation_settings.rb +24 -9
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/diagnostic.rb +34 -12
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/email_template.rb +48 -10
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group.rb +66 -52
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/group_user.rb +126 -128
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/identity_provider.rb +20 -6
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/issue.rb +410 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/logger.rb +127 -94
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +8 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +13 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_release_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_revision_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +8 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +27 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/certificate_configuration.rb +1 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/content_format.rb +3 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/current_user_identity.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +15 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/email_template_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/export_format.rb +1 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_contract_properties.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_create_parameters.rb +3 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/group_update_parameters.rb +3 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_list.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +12 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +27 -27
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/logger_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/notification_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/operation_list_result.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/product_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/property_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/region_list_result.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb +3 -3
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/schema_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/sku_type.rb +1 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_contract.rb +22 -12
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +21 -10
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +20 -8
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_description_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +1 -12
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_contract.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_create_parameters.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_identity_collection.rb +1 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/models/user_update_parameters.rb +0 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/network_status.rb +4 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification.rb +13 -5
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_email.rb +10 -4
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/notification_recipient_user.rb +52 -46
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/open_id_connect_provider.rb +55 -37
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/operation_operations.rb +76 -64
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy.rb +29 -18
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb +3 -1
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product.rb +366 -69
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_api.rb +64 -60
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_group.rb +54 -58
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_policy.rb +29 -19
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/product_subscriptions.rb +86 -62
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/property.rb +65 -43
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +6 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/quota_by_period_keys.rb +6 -2
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/region.rb +234 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/reports.rb +41 -11
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_in_settings.rb +24 -9
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/sign_up_settings.rb +24 -9
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/subscription.rb +115 -77
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag.rb +715 -716
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_description.rb +50 -34
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tag_resource.rb +106 -114
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access.rb +105 -10
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +6 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/tenant_configuration.rb +8 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user.rb +192 -174
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_confirmation_password.rb +121 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_group.rb +57 -49
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_identities.rb +28 -24
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/user_subscription.rb +93 -77
- data/lib/2019-01-01/generated/azure_mgmt_api_management.rb +313 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api.rb +1221 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_diagnostic.rb +886 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_export.rb +149 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue.rb +896 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +818 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue_comment.rb +815 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_client.rb +373 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_operations.rb +226 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service.rb +1691 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation.rb +930 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_operation_policy.rb +650 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_policy.rb +605 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_product.rb +275 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_release.rb +904 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_revision.rb +275 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_schema.rb +789 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_tag_description.rb +795 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/api_version_set.rb +822 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/authorization_server.rb +829 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/backend.rb +941 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/cache.rb +809 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/certificate.rb +730 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/delegation_settings.rb +431 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/diagnostic.rb +830 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/email_template.rb +941 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/group.rb +836 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/group_user.rb +636 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/identity_provider.rb +810 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/issue.rb +390 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/logger.rb +840 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +79 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/additional_location.rb +131 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_contract.rb +310 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +240 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +335 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +190 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_export_result.rb +72 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_export_result_value.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +361 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +481 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +470 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +228 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +260 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +107 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +75 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +309 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +211 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +309 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/content_format.rb +23 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +136 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/export_format.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/export_result_format.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +89 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +89 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +137 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/hostname_type.rb +19 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +143 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +203 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +176 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_contract.rb +133 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_export_format.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +83 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +55 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_contract.rb +130 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +70 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/property_update_parameters.rb +103 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_contract.rb +90 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/schema_create_or_update_contract.rb +91 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/sku_type.rb +19 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +254 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +139 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +158 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +114 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +153 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/network_status.rb +258 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/notification.rb +477 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +482 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +500 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +817 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/operation_operations.rb +308 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/policy.rb +543 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/policy_snippet.rb +128 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product.rb +1126 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_api.rb +642 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_group.rb +620 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_policy.rb +582 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/product_subscriptions.rb +307 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/property.rb +814 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +266 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +265 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/region.rb +234 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/reports.rb +2129 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_in_settings.rb +431 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/sign_up_settings.rb +431 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/subscription.rb +1080 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tag.rb +3038 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tag_resource.rb +320 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access.rb +496 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_access_git.rb +297 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/tenant_configuration.rb +615 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user.rb +1090 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +120 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_group.rb +282 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_identities.rb +245 -0
- data/lib/2019-01-01/generated/azure_mgmt_api_management/user_subscription.rb +303 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management.rb +338 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api.rb +1221 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_diagnostic.rb +886 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_export.rb +149 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_issue.rb +896 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_issue_attachment.rb +818 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_issue_comment.rb +815 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_client.rb +385 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_operations.rb +226 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_service.rb +1691 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_management_service_skus.rb +248 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_operation.rb +930 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_operation_policy.rb +650 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_policy.rb +605 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_product.rb +275 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_release.rb +904 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_revision.rb +275 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_schema.rb +844 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_tag_description.rb +795 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/api_version_set.rb +822 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/authorization_server.rb +933 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/backend.rb +941 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/cache.rb +809 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/certificate.rb +730 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/delegation_settings.rb +528 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/diagnostic.rb +830 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/email_template.rb +941 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway.rb +1134 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway_api.rb +600 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/gateway_hostname_configuration.rb +720 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/group.rb +836 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/group_user.rb +636 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/identity_provider.rb +917 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/issue.rb +390 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/logger.rb +840 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/access_information_contract.rb +81 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/additional_location.rb +145 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/always_log.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_contract.rb +310 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_contract_properties.rb +240 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +336 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +190 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_export_result.rb +72 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_export_result_value.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +49 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +84 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +404 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +81 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +524 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +513 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_release_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_release_contract.rb +110 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_revision_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_revision_contract.rb +145 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +88 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +228 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_update_contract.rb +260 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_constraint.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +133 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +107 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +78 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +106 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/apim_identity_type.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/apim_resource.rb +91 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/app_type.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/association_contract.rb +75 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/async_operation_status.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_method.rb +22 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +310 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +199 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +310 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +65 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +131 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_contract.rb +185 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +124 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_properties.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_protocol.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +119 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +63 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +158 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/bearer_token_sending_methods.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/body_diagnostic_settings.rb +49 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_contract.rb +105 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/cache_update_parameters.rb +78 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_configuration.rb +84 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_contract.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +58 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/certificate_information.rb +70 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/client_authentication_method.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/client_secret_contract.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/confirmation.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +107 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/content_format.rb +24 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +160 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/email_template_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/email_template_contract.rb +147 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +83 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +107 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/error_field_contract.rb +68 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/error_response.rb +79 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/error_response_body.rb +79 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/export_format.rb +19 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/export_result_format.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_contract.rb +88 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_hostname_configuration_collection.rb +102 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_hostname_configuration_contract.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_key_regeneration_request_contract.rb +48 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_keys_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_token_contract.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/gateway_token_request_contract.rb +64 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/grant_type.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_contract.rb +131 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_contract_properties.rb +104 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_create_parameters.rb +89 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_type.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/group_update_parameters.rb +89 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/hostname_configuration.rb +137 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/hostname_type.rb +19 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/http_correlation_protocol.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/http_message_diagnostic.rb +66 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +155 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +216 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_create_contract.rb +216 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_list.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_type.rb +20 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +188 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +97 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +96 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_contract.rb +130 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_contract_base_properties.rb +70 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/issue_update_contract.rb +103 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/key_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/logger_collection.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/logger_contract.rb +133 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/logger_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/logger_update_contract.rb +89 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/name_availability_reason.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_contract.rb +132 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_create_contract.rb +132 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_entity_base_parameters.rb +70 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/named_value_update_parameters.rb +103 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/network_status_contract.rb +75 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/notification_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/notification_contract.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/notification_name.rb +21 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/open_id_authentication_settings_contract.rb +66 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +122 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +95 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation.rb +80 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_contract.rb +185 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_display.rb +80 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +114 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_list_result.rb +101 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_result_contract.rb +134 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +134 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/operation_update_contract.rb +158 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/parameter_contract.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/pipeline_diagnostic_settings.rb +59 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_collection.rb +66 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_content_format.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_contract.rb +87 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_description_collection.rb +67 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_description_contract.rb +86 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_export_format.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +19 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +111 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_setting_validation_key_contract.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +86 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_contract.rb +167 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +125 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_state.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +115 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/product_update_parameters.rb +140 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/property_value_contract.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/protocol.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/provisioning_state.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +77 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +104 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +66 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +66 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +73 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/region_contract.rb +69 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/region_list_result.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/report_collection.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/report_record_contract.rb +338 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/representation_contract.rb +106 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/request_contract.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/request_report_collection.rb +66 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +245 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource.rb +80 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_location_data_contract.rb +93 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_capacity.rb +84 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_result.rb +74 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/resource_sku_results.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/response_contract.rb +99 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sampling_settings.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sampling_type.rb +15 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +60 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/schema_collection.rb +100 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/schema_contract.rb +103 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/sku_type.rb +19 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/soap_api_type.rb +16 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/state.rb +19 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_contract.rb +258 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +139 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_keys_contract.rb +65 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_state.rb +20 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +158 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +47 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_contract.rb +77 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +50 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_description_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_description_contract.rb +125 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +72 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +86 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +61 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/template_name.rb +28 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +121 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +68 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_collection.rb +98 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_contract.rb +178 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_create_parameters.rb +166 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +82 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_collection.rb +109 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_contract.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_identity_properties.rb +58 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_state.rb +18 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_token_parameters.rb +64 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_token_result.rb +46 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/user_update_parameters.rb +139 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/verbosity.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/versioning_scheme.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +76 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/virtual_network_type.rb +17 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/models/x509certificate_name.rb +57 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/module_definition.rb +9 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/named_value.rb +1030 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/network_status.rb +258 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/notification.rb +477 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/notification_recipient_email.rb +482 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/notification_recipient_user.rb +500 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/open_id_connect_provider.rb +920 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/operation_operations.rb +308 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/policy.rb +543 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/policy_description.rb +128 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/product.rb +1126 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/product_api.rb +642 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/product_group.rb +620 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/product_policy.rb +582 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/product_subscriptions.rb +307 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +266 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/quota_by_period_keys.rb +265 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/region.rb +234 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/reports.rb +2129 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/sign_in_settings.rb +431 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/sign_up_settings.rb +431 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/subscription.rb +1186 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/tag.rb +3038 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/tag_resource.rb +320 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_access.rb +594 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_access_git.rb +395 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/tenant_configuration.rb +615 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/user.rb +1090 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/user_confirmation_password.rb +120 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/user_group.rb +282 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/user_identities.rb +245 -0
- data/lib/2019-12-01/generated/azure_mgmt_api_management/user_subscription.rb +303 -0
- data/lib/azure_mgmt_api_management.rb +4 -2
- data/lib/profiles/latest/modules/apimanagement_profile_module.rb +806 -652
- data/lib/version.rb +1 -1
- metadata +905 -274
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management.rb +0 -292
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api.rb +0 -1144
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_diagnostic.rb +0 -874
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_diagnostic_logger.rb +0 -649
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_export.rb +0 -147
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue.rb +0 -762
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue_attachment.rb +0 -814
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_issue_comment.rb +0 -811
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_client.rb +0 -365
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_operations.rb +0 -222
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_management_service.rb +0 -1914
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_operation.rb +0 -905
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_operation_policy.rb +0 -639
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_policy.rb +0 -589
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_product.rb +0 -272
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_release.rb +0 -893
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_revisions.rb +0 -280
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_schema.rb +0 -738
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/api_version_set.rb +0 -864
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/authorization_server.rb +0 -819
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/backend.rb +0 -931
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/certificate.rb +0 -730
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/delegation_settings.rb +0 -416
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/diagnostic.rb +0 -812
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/diagnostic_logger.rb +0 -614
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/email_template.rb +0 -896
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/group.rb +0 -839
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/group_user.rb +0 -657
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/identity_provider.rb +0 -796
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/logger.rb +0 -819
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/access_information_contract.rb +0 -80
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/access_information_update_parameters.rb +0 -48
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/additional_location.rb +0 -131
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_contract.rb +0 -288
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_contract_properties.rb +0 -222
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_parameter.rb +0 -313
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_create_or_update_properties_wsdl_selector.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_entity_base_contract.rb +0 -179
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_export_result.rb +0 -47
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_apply_network_configuration_parameters.rb +0 -49
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_backup_restore_parameters.rb +0 -84
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_base_properties.rb +0 -322
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_check_name_availability_parameters.rb +0 -47
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_get_sso_token_result.rb +0 -47
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_identity.rb +0 -73
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_list_result.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_name_availability_result.rb +0 -81
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_resource.rb +0 -442
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_sku_properties.rb +0 -60
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_hostname_parameters.rb +0 -77
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_update_parameters.rb +0 -431
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_management_service_upload_certificate_parameters.rb +0 -72
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_release_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_release_contract.rb +0 -110
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_revision_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_revision_contract.rb +0 -145
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_revision_info_contract.rb +0 -88
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_tag_resource_contract_properties.rb +0 -221
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_type.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_update_contract.rb +0 -249
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_contract.rb +0 -133
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_contract_details.rb +0 -96
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_entity_base.rb +0 -78
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/api_version_set_update_parameters.rb +0 -106
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/apim_resource.rb +0 -91
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/async_operation_status.rb +0 -18
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authentication_settings_contract.rb +0 -48
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_method.rb +0 -22
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_server_collection.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_server_contract.rb +0 -309
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_server_contract_base_properties.rb +0 -211
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/authorization_server_update_contract.rb +0 -309
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_authorization_header_credentials.rb +0 -65
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_base_parameters.rb +0 -131
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_contract.rb +0 -185
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_credentials_contract.rb +0 -124
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_properties.rb +0 -48
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_protocol.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_proxy_contract.rb +0 -74
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_reconnect_contract.rb +0 -74
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_service_fabric_cluster_properties.rb +0 -119
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_tls_properties.rb +0 -63
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/backend_update_parameters.rb +0 -158
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/bearer_token_sending_method.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_configuration.rb +0 -85
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_contract.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_create_or_update_parameters.rb +0 -58
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/certificate_information.rb +0 -70
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/client_authentication_method.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/confirmation.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/connectivity_status_contract.rb +0 -107
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/connectivity_status_type.rb +0 -17
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/content_format.rb +0 -20
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/deploy_configuration_parameters.rb +0 -59
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/diagnostic_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/diagnostic_contract.rb +0 -74
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/email_template_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/email_template_contract.rb +0 -147
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/email_template_parameters_contract_properties.rb +0 -83
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/email_template_update_parameters.rb +0 -107
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_field_contract.rb +0 -68
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_response.rb +0 -79
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/error_response_body.rb +0 -79
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/export_format.rb +0 -17
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/generate_sso_url_result.rb +0 -46
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/grant_type.rb +0 -18
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_contract.rb +0 -131
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_contract_properties.rb +0 -104
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_create_parameters.rb +0 -88
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_type.rb +0 -17
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/group_update_parameters.rb +0 -88
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration.rb +0 -139
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/hostname_configuration_old.rb +0 -71
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/hostname_type.rb +0 -18
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_base_parameters.rb +0 -131
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_contract.rb +0 -191
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_list.rb +0 -99
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_type.rb +0 -20
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/identity_provider_update_parameters.rb +0 -164
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_attachment_contract.rb +0 -97
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_comment_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_comment_contract.rb +0 -96
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/issue_contract.rb +0 -130
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/key_type.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/logger_collection.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/logger_contract.rb +0 -121
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/logger_type.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/logger_update_contract.rb +0 -89
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/name_availability_reason.rb +0 -17
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/network_status_contract.rb +0 -75
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/network_status_contract_by_location.rb +0 -61
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/notification_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/notification_contract.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/notification_name.rb +0 -21
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/oauth2authentication_settings_contract.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/open_id_connect_provider_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/openid_connect_provider_contract.rb +0 -122
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/openid_connect_provider_update_contract.rb +0 -95
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation.rb +0 -80
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_contract.rb +0 -185
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_display.rb +0 -80
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_entity_base_contract.rb +0 -114
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_list_result.rb +0 -101
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_result_contract.rb +0 -134
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_result_log_item_contract.rb +0 -69
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_tag_resource_contract_properties.rb +0 -134
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/operation_update_contract.rb +0 -158
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/parameter_contract.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_collection.rb +0 -66
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_content_format.rb +0 -18
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_contract.rb +0 -87
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_scope_contract.rb +0 -19
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippet_contract.rb +0 -83
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/policy_snippets_collection.rb +0 -55
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/portal_delegation_settings.rb +0 -111
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/portal_signin_settings.rb +0 -73
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/portal_signup_settings.rb +0 -86
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_contract.rb +0 -167
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_entity_base_parameters.rb +0 -125
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_state.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_tag_resource_contract_properties.rb +0 -115
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/product_update_parameters.rb +0 -140
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_contract.rb +0 -130
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_entity_base_parameters.rb +0 -70
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/property_update_parameters.rb +0 -103
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/protocol.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/quota_counter_collection.rb +0 -77
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/quota_counter_contract.rb +0 -104
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/quota_counter_value_contract.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/quota_counter_value_contract_properties.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipient_email_collection.rb +0 -66
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipient_email_contract.rb +0 -73
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipient_user_collection.rb +0 -66
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipient_user_contract.rb +0 -73
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/recipients_contract_properties.rb +0 -73
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/region_contract.rb +0 -69
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/region_list_result.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/registration_delegation_settings_properties.rb +0 -46
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/report_collection.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/report_record_contract.rb +0 -338
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/representation_contract.rb +0 -106
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/request_contract.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/request_report_collection.rb +0 -66
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/request_report_record_contract.rb +0 -245
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/resource.rb +0 -80
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/response_contract.rb +0 -99
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/save_configuration_parameter.rb +0 -60
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/schema_collection.rb +0 -100
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/schema_contract.rb +0 -87
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/sku_type.rb +0 -18
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/soap_api_type.rb +0 -16
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/state.rb +0 -19
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_contract.rb +0 -244
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_create_parameters.rb +0 -128
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_key_parameter_names_contract.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_state.rb +0 -20
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscription_update_parameters.rb +0 -146
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/subscriptions_delegation_settings_properties.rb +0 -47
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_contract.rb +0 -77
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_create_update_parameters.rb +0 -50
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_description_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_description_contract.rb +0 -114
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_description_create_parameters.rb +0 -72
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_resource_collection.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_resource_contract.rb +0 -86
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tag_tag_resource_contract_properties.rb +0 -61
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/template_name.rb +0 -28
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/tenant_configuration_sync_state_contract.rb +0 -121
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/terms_of_service_properties.rb +0 -68
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/token_body_parameter_contract.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_collection.rb +0 -98
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_contract.rb +0 -179
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_create_parameters.rb +0 -154
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_entity_base_parameters.rb +0 -83
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_identity_collection.rb +0 -109
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_identity_contract.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_state.rb +0 -18
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_token_parameters.rb +0 -64
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_token_result.rb +0 -46
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/user_update_parameters.rb +0 -140
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/versioning_scheme.rb +0 -17
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/virtual_network_configuration.rb +0 -76
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/virtual_network_type.rb +0 -17
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/models/x509certificate_name.rb +0 -57
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/module_definition.rb +0 -9
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/network_status.rb +0 -254
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/notification.rb +0 -469
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/notification_recipient_email.rb +0 -474
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/notification_recipient_user.rb +0 -495
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/open_id_connect_provider.rb +0 -807
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/operation_operations.rb +0 -316
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/policy.rb +0 -526
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/policy_snippets.rb +0 -126
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product.rb +0 -862
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_api.rb +0 -654
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_group.rb +0 -643
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_policy.rb +0 -571
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/product_subscriptions.rb +0 -312
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/property.rb +0 -804
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/quota_by_counter_keys.rb +0 -262
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/quota_by_period_keys.rb +0 -261
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/regions.rb +0 -230
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/reports.rb +0 -1690
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/sign_in_settings.rb +0 -416
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/sign_up_settings.rb +0 -416
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/subscription.rb +0 -1070
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tag.rb +0 -3081
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tag_description.rb +0 -787
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tag_resource.rb +0 -356
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access.rb +0 -401
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tenant_access_git.rb +0 -291
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/tenant_configuration.rb +0 -607
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/user.rb +0 -1099
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/user_group.rb +0 -287
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/user_identities.rb +0 -242
- data/lib/2018-01-01-preview/generated/azure_mgmt_api_management/user_subscription.rb +0 -312
- data/lib/2018-06-01-preview/generated/azure_mgmt_api_management/regions.rb +0 -230
@@ -22,17 +22,23 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
22
22
|
attr_reader :client
|
23
23
|
|
24
24
|
#
|
25
|
-
# Lists
|
25
|
+
# Lists all Tags associated with the Operation.
|
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 api_id [String] API revision identifier. Must be unique in the current
|
30
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
31
|
+
# where n is the revision number.
|
32
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
33
|
+
# unique in the current API Management service instance.
|
29
34
|
# @param filter [String] | Field | Supported operators | Supported
|
30
|
-
# functions
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
34
|
-
# |
|
35
|
-
#
|
35
|
+
# functions |
|
36
|
+
# |-------------|------------------------|-----------------------------------|
|
37
|
+
#
|
38
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
39
|
+
# endswith|
|
40
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
41
|
+
#
|
36
42
|
# @param top [Integer] Number of records to return.
|
37
43
|
# @param skip [Integer] Number of records to skip.
|
38
44
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -40,23 +46,29 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
40
46
|
#
|
41
47
|
# @return [Array<TagContract>] operation results.
|
42
48
|
#
|
43
|
-
def
|
44
|
-
first_page =
|
49
|
+
def list_by_operation(resource_group_name, service_name, api_id, operation_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
50
|
+
first_page = list_by_operation_as_lazy(resource_group_name, service_name, api_id, operation_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
|
45
51
|
first_page.get_all_items
|
46
52
|
end
|
47
53
|
|
48
54
|
#
|
49
|
-
# Lists
|
55
|
+
# Lists all Tags associated with the Operation.
|
50
56
|
#
|
51
57
|
# @param resource_group_name [String] The name of the resource group.
|
52
58
|
# @param service_name [String] The name of the API Management service.
|
59
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
60
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
61
|
+
# where n is the revision number.
|
62
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
63
|
+
# unique in the current API Management service instance.
|
53
64
|
# @param filter [String] | Field | Supported operators | Supported
|
54
|
-
# functions
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
# |
|
59
|
-
#
|
65
|
+
# functions |
|
66
|
+
# |-------------|------------------------|-----------------------------------|
|
67
|
+
#
|
68
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
69
|
+
# endswith|
|
70
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
71
|
+
#
|
60
72
|
# @param top [Integer] Number of records to return.
|
61
73
|
# @param skip [Integer] Number of records to skip.
|
62
74
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -64,22 +76,28 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
64
76
|
#
|
65
77
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
66
78
|
#
|
67
|
-
def
|
68
|
-
|
79
|
+
def list_by_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
80
|
+
list_by_operation_async(resource_group_name, service_name, api_id, operation_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
69
81
|
end
|
70
82
|
|
71
83
|
#
|
72
|
-
# Lists
|
84
|
+
# Lists all Tags associated with the Operation.
|
73
85
|
#
|
74
86
|
# @param resource_group_name [String] The name of the resource group.
|
75
87
|
# @param service_name [String] The name of the API Management service.
|
88
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
89
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
90
|
+
# where n is the revision number.
|
91
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
92
|
+
# unique in the current API Management service instance.
|
76
93
|
# @param filter [String] | Field | Supported operators | Supported
|
77
|
-
# functions
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
# |
|
82
|
-
#
|
94
|
+
# functions |
|
95
|
+
# |-------------|------------------------|-----------------------------------|
|
96
|
+
#
|
97
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
98
|
+
# endswith|
|
99
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
100
|
+
#
|
83
101
|
# @param top [Integer] Number of records to return.
|
84
102
|
# @param skip [Integer] Number of records to skip.
|
85
103
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -87,12 +105,20 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
87
105
|
#
|
88
106
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
89
107
|
#
|
90
|
-
def
|
108
|
+
def list_by_operation_async(resource_group_name, service_name, api_id, operation_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
91
109
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
92
110
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
93
111
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
94
112
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
95
113
|
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?
|
114
|
+
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
115
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
|
116
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
117
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
118
|
+
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
119
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
120
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
121
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
96
122
|
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
97
123
|
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
98
124
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -105,13 +131,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
105
131
|
# Set Headers
|
106
132
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
107
133
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
108
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags'
|
134
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags'
|
109
135
|
|
110
136
|
request_url = @base_url || @client.base_url
|
111
137
|
|
112
138
|
options = {
|
113
139
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
114
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
140
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'subscriptionId' => @client.subscription_id},
|
115
141
|
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
116
142
|
headers: request_headers.merge(custom_headers || {}),
|
117
143
|
base_url: request_url
|
@@ -124,10 +150,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
124
150
|
response_content = http_response.body
|
125
151
|
unless status_code == 200
|
126
152
|
error_model = JSON.load(response_content)
|
127
|
-
fail
|
153
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
128
154
|
end
|
129
155
|
|
130
156
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
157
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
158
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
131
159
|
# Deserialize Response
|
132
160
|
if status_code == 200
|
133
161
|
begin
|
@@ -150,14 +178,19 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
150
178
|
#
|
151
179
|
# @param resource_group_name [String] The name of the resource group.
|
152
180
|
# @param service_name [String] The name of the API Management service.
|
181
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
182
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
183
|
+
# where n is the revision number.
|
184
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
185
|
+
# unique in the current API Management service instance.
|
153
186
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
154
187
|
# Management service instance.
|
155
188
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
156
189
|
# will be added to the HTTP request.
|
157
190
|
#
|
158
191
|
#
|
159
|
-
def
|
160
|
-
response =
|
192
|
+
def get_entity_state_by_operation(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
|
193
|
+
response = get_entity_state_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
|
161
194
|
nil
|
162
195
|
end
|
163
196
|
|
@@ -166,6 +199,11 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
166
199
|
#
|
167
200
|
# @param resource_group_name [String] The name of the resource group.
|
168
201
|
# @param service_name [String] The name of the API Management service.
|
202
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
203
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
204
|
+
# where n is the revision number.
|
205
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
206
|
+
# unique in the current API Management service instance.
|
169
207
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
170
208
|
# Management service instance.
|
171
209
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -173,8 +211,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
173
211
|
#
|
174
212
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
175
213
|
#
|
176
|
-
def
|
177
|
-
|
214
|
+
def get_entity_state_by_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
|
215
|
+
get_entity_state_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
|
178
216
|
end
|
179
217
|
|
180
218
|
#
|
@@ -182,6 +220,11 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
182
220
|
#
|
183
221
|
# @param resource_group_name [String] The name of the resource group.
|
184
222
|
# @param service_name [String] The name of the API Management service.
|
223
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
224
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
225
|
+
# where n is the revision number.
|
226
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
227
|
+
# unique in the current API Management service instance.
|
185
228
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
186
229
|
# Management service instance.
|
187
230
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -189,16 +232,24 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
189
232
|
#
|
190
233
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
191
234
|
#
|
192
|
-
def
|
235
|
+
def get_entity_state_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
|
193
236
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
194
237
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
195
238
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
196
239
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
197
240
|
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?
|
241
|
+
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
242
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
|
243
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
244
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
245
|
+
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
246
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
247
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
248
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
198
249
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
199
250
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
200
251
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
201
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
252
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
202
253
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
203
254
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
204
255
|
|
@@ -209,13 +260,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
209
260
|
# Set Headers
|
210
261
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
211
262
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
212
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
|
263
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}'
|
213
264
|
|
214
265
|
request_url = @base_url || @client.base_url
|
215
266
|
|
216
267
|
options = {
|
217
268
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
218
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
269
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
219
270
|
query_params: {'api-version' => @client.api_version},
|
220
271
|
headers: request_headers.merge(custom_headers || {}),
|
221
272
|
base_url: request_url
|
@@ -232,6 +283,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
232
283
|
end
|
233
284
|
|
234
285
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
286
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
287
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
235
288
|
|
236
289
|
result
|
237
290
|
end
|
@@ -240,10 +293,15 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
240
293
|
end
|
241
294
|
|
242
295
|
#
|
243
|
-
#
|
296
|
+
# Get tag associated with the Operation.
|
244
297
|
#
|
245
298
|
# @param resource_group_name [String] The name of the resource group.
|
246
299
|
# @param service_name [String] The name of the API Management service.
|
300
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
301
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
302
|
+
# where n is the revision number.
|
303
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
304
|
+
# unique in the current API Management service instance.
|
247
305
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
248
306
|
# Management service instance.
|
249
307
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -251,16 +309,21 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
251
309
|
#
|
252
310
|
# @return [TagContract] operation results.
|
253
311
|
#
|
254
|
-
def
|
255
|
-
response =
|
312
|
+
def get_by_operation(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
|
313
|
+
response = get_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
|
256
314
|
response.body unless response.nil?
|
257
315
|
end
|
258
316
|
|
259
317
|
#
|
260
|
-
#
|
318
|
+
# Get tag associated with the Operation.
|
261
319
|
#
|
262
320
|
# @param resource_group_name [String] The name of the resource group.
|
263
321
|
# @param service_name [String] The name of the API Management service.
|
322
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
323
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
324
|
+
# where n is the revision number.
|
325
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
326
|
+
# unique in the current API Management service instance.
|
264
327
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
265
328
|
# Management service instance.
|
266
329
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -268,15 +331,20 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
268
331
|
#
|
269
332
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
270
333
|
#
|
271
|
-
def
|
272
|
-
|
334
|
+
def get_by_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
|
335
|
+
get_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
|
273
336
|
end
|
274
337
|
|
275
338
|
#
|
276
|
-
#
|
339
|
+
# Get tag associated with the Operation.
|
277
340
|
#
|
278
341
|
# @param resource_group_name [String] The name of the resource group.
|
279
342
|
# @param service_name [String] The name of the API Management service.
|
343
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
344
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
345
|
+
# where n is the revision number.
|
346
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
347
|
+
# unique in the current API Management service instance.
|
280
348
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
281
349
|
# Management service instance.
|
282
350
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -284,16 +352,24 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
284
352
|
#
|
285
353
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
286
354
|
#
|
287
|
-
def
|
355
|
+
def get_by_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
|
288
356
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
289
357
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
290
358
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
291
359
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
292
360
|
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?
|
361
|
+
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
362
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
|
363
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
364
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
365
|
+
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
366
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
367
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
368
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
293
369
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
294
370
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
295
371
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
296
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
372
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
297
373
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
298
374
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
299
375
|
|
@@ -304,13 +380,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
304
380
|
# Set Headers
|
305
381
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
306
382
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
307
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
|
383
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}'
|
308
384
|
|
309
385
|
request_url = @base_url || @client.base_url
|
310
386
|
|
311
387
|
options = {
|
312
388
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
313
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
389
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
314
390
|
query_params: {'api-version' => @client.api_version},
|
315
391
|
headers: request_headers.merge(custom_headers || {}),
|
316
392
|
base_url: request_url
|
@@ -327,6 +403,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
327
403
|
end
|
328
404
|
|
329
405
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
406
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
407
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
330
408
|
# Deserialize Response
|
331
409
|
if status_code == 200
|
332
410
|
begin
|
@@ -345,64 +423,83 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
345
423
|
end
|
346
424
|
|
347
425
|
#
|
348
|
-
#
|
426
|
+
# Assign tag to the Operation.
|
349
427
|
#
|
350
428
|
# @param resource_group_name [String] The name of the resource group.
|
351
429
|
# @param service_name [String] The name of the API Management service.
|
430
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
431
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
432
|
+
# where n is the revision number.
|
433
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
434
|
+
# unique in the current API Management service instance.
|
352
435
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
353
436
|
# Management service instance.
|
354
|
-
# @param parameters [TagCreateUpdateParameters] Create parameters.
|
355
437
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
356
438
|
# will be added to the HTTP request.
|
357
439
|
#
|
358
440
|
# @return [TagContract] operation results.
|
359
441
|
#
|
360
|
-
def
|
361
|
-
response =
|
442
|
+
def assign_to_operation(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
|
443
|
+
response = assign_to_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
|
362
444
|
response.body unless response.nil?
|
363
445
|
end
|
364
446
|
|
365
447
|
#
|
366
|
-
#
|
448
|
+
# Assign tag to the Operation.
|
367
449
|
#
|
368
450
|
# @param resource_group_name [String] The name of the resource group.
|
369
451
|
# @param service_name [String] The name of the API Management service.
|
452
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
453
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
454
|
+
# where n is the revision number.
|
455
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
456
|
+
# unique in the current API Management service instance.
|
370
457
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
371
458
|
# Management service instance.
|
372
|
-
# @param parameters [TagCreateUpdateParameters] Create parameters.
|
373
459
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
374
460
|
# will be added to the HTTP request.
|
375
461
|
#
|
376
462
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
377
463
|
#
|
378
|
-
def
|
379
|
-
|
464
|
+
def assign_to_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
|
465
|
+
assign_to_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
|
380
466
|
end
|
381
467
|
|
382
468
|
#
|
383
|
-
#
|
469
|
+
# Assign tag to the Operation.
|
384
470
|
#
|
385
471
|
# @param resource_group_name [String] The name of the resource group.
|
386
472
|
# @param service_name [String] The name of the API Management service.
|
473
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
474
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
475
|
+
# where n is the revision number.
|
476
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
477
|
+
# unique in the current API Management service instance.
|
387
478
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
388
479
|
# Management service instance.
|
389
|
-
# @param parameters [TagCreateUpdateParameters] Create parameters.
|
390
480
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
391
481
|
# to the HTTP request.
|
392
482
|
#
|
393
483
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
394
484
|
#
|
395
|
-
def
|
485
|
+
def assign_to_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
|
396
486
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
397
487
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
398
488
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
399
489
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
400
490
|
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?
|
491
|
+
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
492
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
|
493
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
494
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
495
|
+
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
496
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
497
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
498
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
401
499
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
402
500
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
403
501
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
404
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
405
|
-
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
502
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
406
503
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
407
504
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
408
505
|
|
@@ -413,21 +510,14 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
413
510
|
# Set Headers
|
414
511
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
415
512
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
416
|
-
|
417
|
-
# Serialize Request
|
418
|
-
request_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagCreateUpdateParameters.mapper()
|
419
|
-
request_content = @client.serialize(request_mapper, parameters)
|
420
|
-
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
421
|
-
|
422
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
|
513
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}'
|
423
514
|
|
424
515
|
request_url = @base_url || @client.base_url
|
425
516
|
|
426
517
|
options = {
|
427
518
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
428
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
519
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
429
520
|
query_params: {'api-version' => @client.api_version},
|
430
|
-
body: request_content,
|
431
521
|
headers: request_headers.merge(custom_headers || {}),
|
432
522
|
base_url: request_url
|
433
523
|
}
|
@@ -443,6 +533,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
443
533
|
end
|
444
534
|
|
445
535
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
536
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
537
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
446
538
|
# Deserialize Response
|
447
539
|
if status_code == 201
|
448
540
|
begin
|
@@ -471,73 +563,82 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
471
563
|
end
|
472
564
|
|
473
565
|
#
|
474
|
-
#
|
566
|
+
# Detach the tag from the Operation.
|
475
567
|
#
|
476
568
|
# @param resource_group_name [String] The name of the resource group.
|
477
569
|
# @param service_name [String] The name of the API Management service.
|
570
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
571
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
572
|
+
# where n is the revision number.
|
573
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
574
|
+
# unique in the current API Management service instance.
|
478
575
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
479
576
|
# Management service instance.
|
480
|
-
# @param parameters [TagCreateUpdateParameters] Update parameters.
|
481
|
-
# @param if_match [String] ETag of the Entity. ETag should match the current
|
482
|
-
# entity state from the header response of the GET request or it should be *
|
483
|
-
# for unconditional update.
|
484
577
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
485
578
|
# will be added to the HTTP request.
|
486
579
|
#
|
487
580
|
#
|
488
|
-
def
|
489
|
-
response =
|
581
|
+
def detach_from_operation(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
|
582
|
+
response = detach_from_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
|
490
583
|
nil
|
491
584
|
end
|
492
585
|
|
493
586
|
#
|
494
|
-
#
|
587
|
+
# Detach the tag from the Operation.
|
495
588
|
#
|
496
589
|
# @param resource_group_name [String] The name of the resource group.
|
497
590
|
# @param service_name [String] The name of the API Management service.
|
591
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
592
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
593
|
+
# where n is the revision number.
|
594
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
595
|
+
# unique in the current API Management service instance.
|
498
596
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
499
597
|
# Management service instance.
|
500
|
-
# @param parameters [TagCreateUpdateParameters] Update parameters.
|
501
|
-
# @param if_match [String] ETag of the Entity. ETag should match the current
|
502
|
-
# entity state from the header response of the GET request or it should be *
|
503
|
-
# for unconditional update.
|
504
598
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
505
599
|
# will be added to the HTTP request.
|
506
600
|
#
|
507
601
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
508
602
|
#
|
509
|
-
def
|
510
|
-
|
603
|
+
def detach_from_operation_with_http_info(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
|
604
|
+
detach_from_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:custom_headers).value!
|
511
605
|
end
|
512
606
|
|
513
607
|
#
|
514
|
-
#
|
608
|
+
# Detach the tag from the Operation.
|
515
609
|
#
|
516
610
|
# @param resource_group_name [String] The name of the resource group.
|
517
611
|
# @param service_name [String] The name of the API Management service.
|
612
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
613
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
614
|
+
# where n is the revision number.
|
615
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
616
|
+
# unique in the current API Management service instance.
|
518
617
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
519
618
|
# Management service instance.
|
520
|
-
# @param parameters [TagCreateUpdateParameters] Update parameters.
|
521
|
-
# @param if_match [String] ETag of the Entity. ETag should match the current
|
522
|
-
# entity state from the header response of the GET request or it should be *
|
523
|
-
# for unconditional update.
|
524
619
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
525
620
|
# to the HTTP request.
|
526
621
|
#
|
527
622
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
528
623
|
#
|
529
|
-
def
|
624
|
+
def detach_from_operation_async(resource_group_name, service_name, api_id, operation_id, tag_id, custom_headers:nil)
|
530
625
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
531
626
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
532
627
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
533
628
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
534
629
|
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?
|
630
|
+
fail ArgumentError, 'api_id is nil' if api_id.nil?
|
631
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MaxLength': '256'" if !api_id.nil? && api_id.length > 256
|
632
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'MinLength': '1'" if !api_id.nil? && api_id.length < 1
|
633
|
+
fail ArgumentError, "'api_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !api_id.nil? && api_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
634
|
+
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
635
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
636
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
637
|
+
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !operation_id.nil? && operation_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
535
638
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
536
639
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
537
640
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
538
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
539
|
-
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
540
|
-
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
641
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
541
642
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
542
643
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
543
644
|
|
@@ -547,38 +648,32 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
547
648
|
|
548
649
|
# Set Headers
|
549
650
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
550
|
-
request_headers['If-Match'] = if_match unless if_match.nil?
|
551
651
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
552
|
-
|
553
|
-
# Serialize Request
|
554
|
-
request_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagCreateUpdateParameters.mapper()
|
555
|
-
request_content = @client.serialize(request_mapper, parameters)
|
556
|
-
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
557
|
-
|
558
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
|
652
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}'
|
559
653
|
|
560
654
|
request_url = @base_url || @client.base_url
|
561
655
|
|
562
656
|
options = {
|
563
657
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
564
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
658
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'apiId' => api_id,'operationId' => operation_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
565
659
|
query_params: {'api-version' => @client.api_version},
|
566
|
-
body: request_content,
|
567
660
|
headers: request_headers.merge(custom_headers || {}),
|
568
661
|
base_url: request_url
|
569
662
|
}
|
570
|
-
promise = @client.make_request_async(:
|
663
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
571
664
|
|
572
665
|
promise = promise.then do |result|
|
573
666
|
http_response = result.response
|
574
667
|
status_code = http_response.status
|
575
668
|
response_content = http_response.body
|
576
|
-
unless status_code == 204
|
669
|
+
unless status_code == 200 || status_code == 204
|
577
670
|
error_model = JSON.load(response_content)
|
578
671
|
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
579
672
|
end
|
580
673
|
|
581
674
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
675
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
676
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
582
677
|
|
583
678
|
result
|
584
679
|
end
|
@@ -587,112 +682,35 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
587
682
|
end
|
588
683
|
|
589
684
|
#
|
590
|
-
#
|
685
|
+
# Lists all Tags associated with the API.
|
591
686
|
#
|
592
687
|
# @param resource_group_name [String] The name of the resource group.
|
593
688
|
# @param service_name [String] The name of the API Management service.
|
594
|
-
# @param
|
595
|
-
# Management service instance.
|
596
|
-
#
|
597
|
-
#
|
598
|
-
#
|
689
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
690
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
691
|
+
# where n is the revision number.
|
692
|
+
# @param filter [String] | Field | Supported operators | Supported
|
693
|
+
# functions |
|
694
|
+
# |-------------|------------------------|-----------------------------------|
|
695
|
+
#
|
696
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
697
|
+
# endswith|
|
698
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
699
|
+
#
|
700
|
+
# @param top [Integer] Number of records to return.
|
701
|
+
# @param skip [Integer] Number of records to skip.
|
599
702
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
600
703
|
# will be added to the HTTP request.
|
601
704
|
#
|
705
|
+
# @return [Array<TagContract>] operation results.
|
602
706
|
#
|
603
|
-
def
|
604
|
-
|
605
|
-
|
707
|
+
def list_by_api(resource_group_name, service_name, api_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
708
|
+
first_page = list_by_api_as_lazy(resource_group_name, service_name, api_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
|
709
|
+
first_page.get_all_items
|
606
710
|
end
|
607
711
|
|
608
712
|
#
|
609
|
-
#
|
610
|
-
#
|
611
|
-
# @param resource_group_name [String] The name of the resource group.
|
612
|
-
# @param service_name [String] The name of the API Management service.
|
613
|
-
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
614
|
-
# Management service instance.
|
615
|
-
# @param if_match [String] ETag of the Entity. ETag should match the current
|
616
|
-
# entity state from the header response of the GET request or it should be *
|
617
|
-
# for unconditional update.
|
618
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
619
|
-
# will be added to the HTTP request.
|
620
|
-
#
|
621
|
-
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
622
|
-
#
|
623
|
-
def delete_with_http_info(resource_group_name, service_name, tag_id, if_match, custom_headers:nil)
|
624
|
-
delete_async(resource_group_name, service_name, tag_id, if_match, custom_headers:custom_headers).value!
|
625
|
-
end
|
626
|
-
|
627
|
-
#
|
628
|
-
# Deletes specific tag of the API Management service instance.
|
629
|
-
#
|
630
|
-
# @param resource_group_name [String] The name of the resource group.
|
631
|
-
# @param service_name [String] The name of the API Management service.
|
632
|
-
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
633
|
-
# Management service instance.
|
634
|
-
# @param if_match [String] ETag of the Entity. ETag should match the current
|
635
|
-
# entity state from the header response of the GET request or it should be *
|
636
|
-
# for unconditional update.
|
637
|
-
# @param [Hash{String => String}] A hash of custom headers that will be added
|
638
|
-
# to the HTTP request.
|
639
|
-
#
|
640
|
-
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
641
|
-
#
|
642
|
-
def delete_async(resource_group_name, service_name, tag_id, if_match, custom_headers:nil)
|
643
|
-
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
644
|
-
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
645
|
-
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
646
|
-
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
647
|
-
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?
|
648
|
-
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
649
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
650
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
651
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !tag_id.nil? && tag_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
|
652
|
-
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
653
|
-
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
654
|
-
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
655
|
-
|
656
|
-
|
657
|
-
request_headers = {}
|
658
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
659
|
-
|
660
|
-
# Set Headers
|
661
|
-
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
662
|
-
request_headers['If-Match'] = if_match unless if_match.nil?
|
663
|
-
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
664
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
|
665
|
-
|
666
|
-
request_url = @base_url || @client.base_url
|
667
|
-
|
668
|
-
options = {
|
669
|
-
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
670
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
671
|
-
query_params: {'api-version' => @client.api_version},
|
672
|
-
headers: request_headers.merge(custom_headers || {}),
|
673
|
-
base_url: request_url
|
674
|
-
}
|
675
|
-
promise = @client.make_request_async(:delete, path_template, options)
|
676
|
-
|
677
|
-
promise = promise.then do |result|
|
678
|
-
http_response = result.response
|
679
|
-
status_code = http_response.status
|
680
|
-
response_content = http_response.body
|
681
|
-
unless status_code == 200 || status_code == 204
|
682
|
-
error_model = JSON.load(response_content)
|
683
|
-
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
684
|
-
end
|
685
|
-
|
686
|
-
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
687
|
-
|
688
|
-
result
|
689
|
-
end
|
690
|
-
|
691
|
-
promise.execute
|
692
|
-
end
|
693
|
-
|
694
|
-
#
|
695
|
-
# Lists all Tags associated with the API.
|
713
|
+
# Lists all Tags associated with the API.
|
696
714
|
#
|
697
715
|
# @param resource_group_name [String] The name of the resource group.
|
698
716
|
# @param service_name [String] The name of the API Management service.
|
@@ -700,39 +718,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
700
718
|
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
701
719
|
# where n is the revision number.
|
702
720
|
# @param filter [String] | Field | Supported operators | Supported
|
703
|
-
# functions
|
704
|
-
#
|
705
|
-
# | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
706
|
-
# endswith |
|
707
|
-
# | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
708
|
-
# endswith |
|
709
|
-
# @param top [Integer] Number of records to return.
|
710
|
-
# @param skip [Integer] Number of records to skip.
|
711
|
-
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
712
|
-
# will be added to the HTTP request.
|
713
|
-
#
|
714
|
-
# @return [Array<TagContract>] operation results.
|
715
|
-
#
|
716
|
-
def list_by_api(resource_group_name, service_name, api_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
717
|
-
first_page = list_by_api_as_lazy(resource_group_name, service_name, api_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
|
718
|
-
first_page.get_all_items
|
719
|
-
end
|
720
|
-
|
721
|
+
# functions |
|
722
|
+
# |-------------|------------------------|-----------------------------------|
|
721
723
|
#
|
722
|
-
#
|
724
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
725
|
+
# endswith|
|
726
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
723
727
|
#
|
724
|
-
# @param resource_group_name [String] The name of the resource group.
|
725
|
-
# @param service_name [String] The name of the API Management service.
|
726
|
-
# @param api_id [String] API revision identifier. Must be unique in the current
|
727
|
-
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
728
|
-
# where n is the revision number.
|
729
|
-
# @param filter [String] | Field | Supported operators | Supported
|
730
|
-
# functions |
|
731
|
-
# |-------------|------------------------|---------------------------------------------|
|
732
|
-
# | id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
733
|
-
# endswith |
|
734
|
-
# | name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
735
|
-
# endswith |
|
736
728
|
# @param top [Integer] Number of records to return.
|
737
729
|
# @param skip [Integer] Number of records to skip.
|
738
730
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -753,12 +745,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
753
745
|
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
754
746
|
# where n is the revision number.
|
755
747
|
# @param filter [String] | Field | Supported operators | Supported
|
756
|
-
# functions
|
757
|
-
#
|
758
|
-
#
|
759
|
-
#
|
760
|
-
# |
|
761
|
-
#
|
748
|
+
# functions |
|
749
|
+
# |-------------|------------------------|-----------------------------------|
|
750
|
+
#
|
751
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
752
|
+
# endswith|
|
753
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
754
|
+
#
|
762
755
|
# @param top [Integer] Number of records to return.
|
763
756
|
# @param skip [Integer] Number of records to skip.
|
764
757
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -811,6 +804,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
811
804
|
end
|
812
805
|
|
813
806
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
807
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
808
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
814
809
|
# Deserialize Response
|
815
810
|
if status_code == 200
|
816
811
|
begin
|
@@ -894,7 +889,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
894
889
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
895
890
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
896
891
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
897
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
892
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
898
893
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
899
894
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
900
895
|
|
@@ -928,6 +923,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
928
923
|
end
|
929
924
|
|
930
925
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
926
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
927
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
931
928
|
|
932
929
|
result
|
933
930
|
end
|
@@ -1002,7 +999,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1002
999
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
1003
1000
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
1004
1001
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
1005
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
1002
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
1006
1003
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1007
1004
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1008
1005
|
|
@@ -1036,6 +1033,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1036
1033
|
end
|
1037
1034
|
|
1038
1035
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1036
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1037
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1039
1038
|
# Deserialize Response
|
1040
1039
|
if status_code == 200
|
1041
1040
|
begin
|
@@ -1063,15 +1062,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1063
1062
|
# where n is the revision number.
|
1064
1063
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1065
1064
|
# Management service instance.
|
1066
|
-
# @param if_match [String] ETag of the Entity. Not required when creating an
|
1067
|
-
# entity, but required when updating an entity.
|
1068
1065
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1069
1066
|
# will be added to the HTTP request.
|
1070
1067
|
#
|
1071
1068
|
# @return [TagContract] operation results.
|
1072
1069
|
#
|
1073
|
-
def assign_to_api(resource_group_name, service_name, api_id, tag_id,
|
1074
|
-
response = assign_to_api_async(resource_group_name, service_name, api_id, tag_id,
|
1070
|
+
def assign_to_api(resource_group_name, service_name, api_id, tag_id, custom_headers:nil)
|
1071
|
+
response = assign_to_api_async(resource_group_name, service_name, api_id, tag_id, custom_headers:custom_headers).value!
|
1075
1072
|
response.body unless response.nil?
|
1076
1073
|
end
|
1077
1074
|
|
@@ -1085,15 +1082,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1085
1082
|
# where n is the revision number.
|
1086
1083
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1087
1084
|
# Management service instance.
|
1088
|
-
# @param if_match [String] ETag of the Entity. Not required when creating an
|
1089
|
-
# entity, but required when updating an entity.
|
1090
1085
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1091
1086
|
# will be added to the HTTP request.
|
1092
1087
|
#
|
1093
1088
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1094
1089
|
#
|
1095
|
-
def assign_to_api_with_http_info(resource_group_name, service_name, api_id, tag_id,
|
1096
|
-
assign_to_api_async(resource_group_name, service_name, api_id, tag_id,
|
1090
|
+
def assign_to_api_with_http_info(resource_group_name, service_name, api_id, tag_id, custom_headers:nil)
|
1091
|
+
assign_to_api_async(resource_group_name, service_name, api_id, tag_id, custom_headers:custom_headers).value!
|
1097
1092
|
end
|
1098
1093
|
|
1099
1094
|
#
|
@@ -1106,14 +1101,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1106
1101
|
# where n is the revision number.
|
1107
1102
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1108
1103
|
# Management service instance.
|
1109
|
-
# @param if_match [String] ETag of the Entity. Not required when creating an
|
1110
|
-
# entity, but required when updating an entity.
|
1111
1104
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1112
1105
|
# to the HTTP request.
|
1113
1106
|
#
|
1114
1107
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1115
1108
|
#
|
1116
|
-
def assign_to_api_async(resource_group_name, service_name, api_id, tag_id,
|
1109
|
+
def assign_to_api_async(resource_group_name, service_name, api_id, tag_id, custom_headers:nil)
|
1117
1110
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1118
1111
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1119
1112
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
@@ -1126,7 +1119,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1126
1119
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
1127
1120
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
1128
1121
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
1129
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
1122
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
1130
1123
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1131
1124
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1132
1125
|
|
@@ -1136,7 +1129,6 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1136
1129
|
|
1137
1130
|
# Set Headers
|
1138
1131
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1139
|
-
request_headers['If-Match'] = if_match unless if_match.nil?
|
1140
1132
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1141
1133
|
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}'
|
1142
1134
|
|
@@ -1161,6 +1153,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1161
1153
|
end
|
1162
1154
|
|
1163
1155
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1156
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1157
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1164
1158
|
# Deserialize Response
|
1165
1159
|
if status_code == 201
|
1166
1160
|
begin
|
@@ -1198,15 +1192,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1198
1192
|
# where n is the revision number.
|
1199
1193
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1200
1194
|
# Management service instance.
|
1201
|
-
# @param if_match [String] ETag of the Entity. ETag should match the current
|
1202
|
-
# entity state from the header response of the GET request or it should be *
|
1203
|
-
# for unconditional update.
|
1204
1195
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1205
1196
|
# will be added to the HTTP request.
|
1206
1197
|
#
|
1207
1198
|
#
|
1208
|
-
def detach_from_api(resource_group_name, service_name, api_id, tag_id,
|
1209
|
-
response = detach_from_api_async(resource_group_name, service_name, api_id, tag_id,
|
1199
|
+
def detach_from_api(resource_group_name, service_name, api_id, tag_id, custom_headers:nil)
|
1200
|
+
response = detach_from_api_async(resource_group_name, service_name, api_id, tag_id, custom_headers:custom_headers).value!
|
1210
1201
|
nil
|
1211
1202
|
end
|
1212
1203
|
|
@@ -1220,16 +1211,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1220
1211
|
# where n is the revision number.
|
1221
1212
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1222
1213
|
# Management service instance.
|
1223
|
-
# @param if_match [String] ETag of the Entity. ETag should match the current
|
1224
|
-
# entity state from the header response of the GET request or it should be *
|
1225
|
-
# for unconditional update.
|
1226
1214
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1227
1215
|
# will be added to the HTTP request.
|
1228
1216
|
#
|
1229
1217
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1230
1218
|
#
|
1231
|
-
def detach_from_api_with_http_info(resource_group_name, service_name, api_id, tag_id,
|
1232
|
-
detach_from_api_async(resource_group_name, service_name, api_id, tag_id,
|
1219
|
+
def detach_from_api_with_http_info(resource_group_name, service_name, api_id, tag_id, custom_headers:nil)
|
1220
|
+
detach_from_api_async(resource_group_name, service_name, api_id, tag_id, custom_headers:custom_headers).value!
|
1233
1221
|
end
|
1234
1222
|
|
1235
1223
|
#
|
@@ -1242,15 +1230,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1242
1230
|
# where n is the revision number.
|
1243
1231
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1244
1232
|
# Management service instance.
|
1245
|
-
# @param if_match [String] ETag of the Entity. ETag should match the current
|
1246
|
-
# entity state from the header response of the GET request or it should be *
|
1247
|
-
# for unconditional update.
|
1248
1233
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1249
1234
|
# to the HTTP request.
|
1250
1235
|
#
|
1251
1236
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1252
1237
|
#
|
1253
|
-
def detach_from_api_async(resource_group_name, service_name, api_id, tag_id,
|
1238
|
+
def detach_from_api_async(resource_group_name, service_name, api_id, tag_id, custom_headers:nil)
|
1254
1239
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1255
1240
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1256
1241
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
@@ -1263,8 +1248,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1263
1248
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
1264
1249
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
1265
1250
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
1266
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
1267
|
-
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
1251
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
1268
1252
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1269
1253
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1270
1254
|
|
@@ -1274,7 +1258,6 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1274
1258
|
|
1275
1259
|
# Set Headers
|
1276
1260
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1277
|
-
request_headers['If-Match'] = if_match unless if_match.nil?
|
1278
1261
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1279
1262
|
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}'
|
1280
1263
|
|
@@ -1299,6 +1282,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1299
1282
|
end
|
1300
1283
|
|
1301
1284
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1285
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1286
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1302
1287
|
|
1303
1288
|
result
|
1304
1289
|
end
|
@@ -1307,28 +1292,20 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1307
1292
|
end
|
1308
1293
|
|
1309
1294
|
#
|
1310
|
-
# Lists all Tags associated with the
|
1295
|
+
# Lists all Tags associated with the Product.
|
1311
1296
|
#
|
1312
1297
|
# @param resource_group_name [String] The name of the resource group.
|
1313
1298
|
# @param service_name [String] The name of the API Management service.
|
1314
|
-
# @param
|
1315
|
-
# API Management service instance.
|
1316
|
-
# where n is the revision number.
|
1317
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1318
|
-
# unique in the current API Management service instance.
|
1299
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1300
|
+
# API Management service instance.
|
1319
1301
|
# @param filter [String] | Field | Supported operators | Supported
|
1320
|
-
# functions
|
1321
|
-
#
|
1322
|
-
#
|
1323
|
-
#
|
1324
|
-
# |
|
1325
|
-
#
|
1326
|
-
#
|
1327
|
-
# endswith |
|
1328
|
-
# | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1329
|
-
# endswith |
|
1330
|
-
# | urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1331
|
-
# endswith |
|
1302
|
+
# functions |
|
1303
|
+
# |-------------|------------------------|-----------------------------------|
|
1304
|
+
#
|
1305
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1306
|
+
# endswith|
|
1307
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
1308
|
+
#
|
1332
1309
|
# @param top [Integer] Number of records to return.
|
1333
1310
|
# @param skip [Integer] Number of records to skip.
|
1334
1311
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -1336,34 +1313,26 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1336
1313
|
#
|
1337
1314
|
# @return [Array<TagContract>] operation results.
|
1338
1315
|
#
|
1339
|
-
def
|
1340
|
-
first_page =
|
1316
|
+
def list_by_product(resource_group_name, service_name, product_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
1317
|
+
first_page = list_by_product_as_lazy(resource_group_name, service_name, product_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers)
|
1341
1318
|
first_page.get_all_items
|
1342
1319
|
end
|
1343
1320
|
|
1344
1321
|
#
|
1345
|
-
# Lists all Tags associated with the
|
1322
|
+
# Lists all Tags associated with the Product.
|
1346
1323
|
#
|
1347
1324
|
# @param resource_group_name [String] The name of the resource group.
|
1348
1325
|
# @param service_name [String] The name of the API Management service.
|
1349
|
-
# @param
|
1350
|
-
# API Management service instance.
|
1351
|
-
# where n is the revision number.
|
1352
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1353
|
-
# unique in the current API Management service instance.
|
1326
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1327
|
+
# API Management service instance.
|
1354
1328
|
# @param filter [String] | Field | Supported operators | Supported
|
1355
|
-
# functions
|
1356
|
-
#
|
1357
|
-
#
|
1358
|
-
#
|
1359
|
-
# |
|
1360
|
-
#
|
1361
|
-
#
|
1362
|
-
# endswith |
|
1363
|
-
# | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1364
|
-
# endswith |
|
1365
|
-
# | urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1366
|
-
# endswith |
|
1329
|
+
# functions |
|
1330
|
+
# |-------------|------------------------|-----------------------------------|
|
1331
|
+
#
|
1332
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1333
|
+
# endswith|
|
1334
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
1335
|
+
#
|
1367
1336
|
# @param top [Integer] Number of records to return.
|
1368
1337
|
# @param skip [Integer] Number of records to skip.
|
1369
1338
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -1371,33 +1340,25 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1371
1340
|
#
|
1372
1341
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1373
1342
|
#
|
1374
|
-
def
|
1375
|
-
|
1343
|
+
def list_by_product_with_http_info(resource_group_name, service_name, product_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
1344
|
+
list_by_product_async(resource_group_name, service_name, product_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
1376
1345
|
end
|
1377
1346
|
|
1378
1347
|
#
|
1379
|
-
# Lists all Tags associated with the
|
1348
|
+
# Lists all Tags associated with the Product.
|
1380
1349
|
#
|
1381
1350
|
# @param resource_group_name [String] The name of the resource group.
|
1382
1351
|
# @param service_name [String] The name of the API Management service.
|
1383
|
-
# @param
|
1384
|
-
# API Management service instance.
|
1385
|
-
# where n is the revision number.
|
1386
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1387
|
-
# unique in the current API Management service instance.
|
1352
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1353
|
+
# API Management service instance.
|
1388
1354
|
# @param filter [String] | Field | Supported operators | Supported
|
1389
|
-
# functions
|
1390
|
-
#
|
1391
|
-
#
|
1392
|
-
#
|
1393
|
-
# |
|
1394
|
-
#
|
1395
|
-
#
|
1396
|
-
# endswith |
|
1397
|
-
# | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1398
|
-
# endswith |
|
1399
|
-
# | urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1400
|
-
# endswith |
|
1355
|
+
# functions |
|
1356
|
+
# |-------------|------------------------|-----------------------------------|
|
1357
|
+
#
|
1358
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1359
|
+
# endswith|
|
1360
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
1361
|
+
#
|
1401
1362
|
# @param top [Integer] Number of records to return.
|
1402
1363
|
# @param skip [Integer] Number of records to skip.
|
1403
1364
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -1405,20 +1366,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1405
1366
|
#
|
1406
1367
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1407
1368
|
#
|
1408
|
-
def
|
1369
|
+
def list_by_product_async(resource_group_name, service_name, product_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
1409
1370
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1410
1371
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1411
1372
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
1412
1373
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
1413
1374
|
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?
|
1414
|
-
fail ArgumentError, '
|
1415
|
-
fail ArgumentError, "'
|
1416
|
-
fail ArgumentError, "'
|
1417
|
-
fail ArgumentError, "'
|
1418
|
-
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
1419
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
1420
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
1421
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !operation_id.nil? && operation_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
|
1375
|
+
fail ArgumentError, 'product_id is nil' if product_id.nil?
|
1376
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
|
1377
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
|
1378
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
1422
1379
|
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
1423
1380
|
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
1424
1381
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -1431,13 +1388,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1431
1388
|
# Set Headers
|
1432
1389
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1433
1390
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1434
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/
|
1391
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags'
|
1435
1392
|
|
1436
1393
|
request_url = @base_url || @client.base_url
|
1437
1394
|
|
1438
1395
|
options = {
|
1439
1396
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1440
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
1397
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'subscriptionId' => @client.subscription_id},
|
1441
1398
|
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
1442
1399
|
headers: request_headers.merge(custom_headers || {}),
|
1443
1400
|
base_url: request_url
|
@@ -1454,6 +1411,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1454
1411
|
end
|
1455
1412
|
|
1456
1413
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1414
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1415
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1457
1416
|
# Deserialize Response
|
1458
1417
|
if status_code == 200
|
1459
1418
|
begin
|
@@ -1476,19 +1435,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1476
1435
|
#
|
1477
1436
|
# @param resource_group_name [String] The name of the resource group.
|
1478
1437
|
# @param service_name [String] The name of the API Management service.
|
1479
|
-
# @param
|
1480
|
-
# API Management service instance.
|
1481
|
-
# where n is the revision number.
|
1482
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1483
|
-
# unique in the current API Management service instance.
|
1438
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1439
|
+
# API Management service instance.
|
1484
1440
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1485
1441
|
# Management service instance.
|
1486
1442
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1487
1443
|
# will be added to the HTTP request.
|
1488
1444
|
#
|
1489
1445
|
#
|
1490
|
-
def
|
1491
|
-
response =
|
1446
|
+
def get_entity_state_by_product(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
|
1447
|
+
response = get_entity_state_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
|
1492
1448
|
nil
|
1493
1449
|
end
|
1494
1450
|
|
@@ -1497,11 +1453,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1497
1453
|
#
|
1498
1454
|
# @param resource_group_name [String] The name of the resource group.
|
1499
1455
|
# @param service_name [String] The name of the API Management service.
|
1500
|
-
# @param
|
1501
|
-
# API Management service instance.
|
1502
|
-
# where n is the revision number.
|
1503
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1504
|
-
# unique in the current API Management service instance.
|
1456
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1457
|
+
# API Management service instance.
|
1505
1458
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1506
1459
|
# Management service instance.
|
1507
1460
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -1509,8 +1462,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1509
1462
|
#
|
1510
1463
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1511
1464
|
#
|
1512
|
-
def
|
1513
|
-
|
1465
|
+
def get_entity_state_by_product_with_http_info(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
|
1466
|
+
get_entity_state_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
|
1514
1467
|
end
|
1515
1468
|
|
1516
1469
|
#
|
@@ -1518,11 +1471,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1518
1471
|
#
|
1519
1472
|
# @param resource_group_name [String] The name of the resource group.
|
1520
1473
|
# @param service_name [String] The name of the API Management service.
|
1521
|
-
# @param
|
1522
|
-
# API Management service instance.
|
1523
|
-
# where n is the revision number.
|
1524
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1525
|
-
# unique in the current API Management service instance.
|
1474
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1475
|
+
# API Management service instance.
|
1526
1476
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1527
1477
|
# Management service instance.
|
1528
1478
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -1530,24 +1480,20 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1530
1480
|
#
|
1531
1481
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1532
1482
|
#
|
1533
|
-
def
|
1483
|
+
def get_entity_state_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
|
1534
1484
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1535
1485
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1536
1486
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
1537
1487
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
1538
1488
|
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?
|
1539
|
-
fail ArgumentError, '
|
1540
|
-
fail ArgumentError, "'
|
1541
|
-
fail ArgumentError, "'
|
1542
|
-
fail ArgumentError, "'
|
1543
|
-
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
1544
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
1545
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
1546
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !operation_id.nil? && operation_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
|
1489
|
+
fail ArgumentError, 'product_id is nil' if product_id.nil?
|
1490
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
|
1491
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
|
1492
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
1547
1493
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
1548
1494
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
1549
1495
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
1550
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
1496
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
1551
1497
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1552
1498
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1553
1499
|
|
@@ -1558,13 +1504,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1558
1504
|
# Set Headers
|
1559
1505
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1560
1506
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1561
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/
|
1507
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}'
|
1562
1508
|
|
1563
1509
|
request_url = @base_url || @client.base_url
|
1564
1510
|
|
1565
1511
|
options = {
|
1566
1512
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1567
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
1513
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
1568
1514
|
query_params: {'api-version' => @client.api_version},
|
1569
1515
|
headers: request_headers.merge(custom_headers || {}),
|
1570
1516
|
base_url: request_url
|
@@ -1581,6 +1527,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1581
1527
|
end
|
1582
1528
|
|
1583
1529
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1530
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1531
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1584
1532
|
|
1585
1533
|
result
|
1586
1534
|
end
|
@@ -1589,15 +1537,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1589
1537
|
end
|
1590
1538
|
|
1591
1539
|
#
|
1592
|
-
# Get tag associated with the
|
1540
|
+
# Get tag associated with the Product.
|
1593
1541
|
#
|
1594
1542
|
# @param resource_group_name [String] The name of the resource group.
|
1595
1543
|
# @param service_name [String] The name of the API Management service.
|
1596
|
-
# @param
|
1597
|
-
# API Management service instance.
|
1598
|
-
# where n is the revision number.
|
1599
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1600
|
-
# unique in the current API Management service instance.
|
1544
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1545
|
+
# API Management service instance.
|
1601
1546
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1602
1547
|
# Management service instance.
|
1603
1548
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -1605,21 +1550,18 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1605
1550
|
#
|
1606
1551
|
# @return [TagContract] operation results.
|
1607
1552
|
#
|
1608
|
-
def
|
1609
|
-
response =
|
1553
|
+
def get_by_product(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
|
1554
|
+
response = get_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
|
1610
1555
|
response.body unless response.nil?
|
1611
1556
|
end
|
1612
1557
|
|
1613
1558
|
#
|
1614
|
-
# Get tag associated with the
|
1559
|
+
# Get tag associated with the Product.
|
1615
1560
|
#
|
1616
1561
|
# @param resource_group_name [String] The name of the resource group.
|
1617
1562
|
# @param service_name [String] The name of the API Management service.
|
1618
|
-
# @param
|
1619
|
-
# API Management service instance.
|
1620
|
-
# where n is the revision number.
|
1621
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1622
|
-
# unique in the current API Management service instance.
|
1563
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1564
|
+
# API Management service instance.
|
1623
1565
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1624
1566
|
# Management service instance.
|
1625
1567
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -1627,20 +1569,17 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1627
1569
|
#
|
1628
1570
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1629
1571
|
#
|
1630
|
-
def
|
1631
|
-
|
1572
|
+
def get_by_product_with_http_info(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
|
1573
|
+
get_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
|
1632
1574
|
end
|
1633
1575
|
|
1634
1576
|
#
|
1635
|
-
# Get tag associated with the
|
1577
|
+
# Get tag associated with the Product.
|
1636
1578
|
#
|
1637
1579
|
# @param resource_group_name [String] The name of the resource group.
|
1638
1580
|
# @param service_name [String] The name of the API Management service.
|
1639
|
-
# @param
|
1640
|
-
# API Management service instance.
|
1641
|
-
# where n is the revision number.
|
1642
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1643
|
-
# unique in the current API Management service instance.
|
1581
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1582
|
+
# API Management service instance.
|
1644
1583
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1645
1584
|
# Management service instance.
|
1646
1585
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -1648,24 +1587,20 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1648
1587
|
#
|
1649
1588
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1650
1589
|
#
|
1651
|
-
def
|
1590
|
+
def get_by_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
|
1652
1591
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1653
1592
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1654
1593
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
1655
1594
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
1656
1595
|
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?
|
1657
|
-
fail ArgumentError, '
|
1658
|
-
fail ArgumentError, "'
|
1659
|
-
fail ArgumentError, "'
|
1660
|
-
fail ArgumentError, "'
|
1661
|
-
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
1662
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
1663
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
1664
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !operation_id.nil? && operation_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
|
1596
|
+
fail ArgumentError, 'product_id is nil' if product_id.nil?
|
1597
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
|
1598
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
|
1599
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
1665
1600
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
1666
1601
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
1667
1602
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
1668
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
1603
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
1669
1604
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1670
1605
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1671
1606
|
|
@@ -1676,13 +1611,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1676
1611
|
# Set Headers
|
1677
1612
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1678
1613
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1679
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/
|
1614
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}'
|
1680
1615
|
|
1681
1616
|
request_url = @base_url || @client.base_url
|
1682
1617
|
|
1683
1618
|
options = {
|
1684
1619
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1685
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
1620
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
1686
1621
|
query_params: {'api-version' => @client.api_version},
|
1687
1622
|
headers: request_headers.merge(custom_headers || {}),
|
1688
1623
|
base_url: request_url
|
@@ -1699,6 +1634,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1699
1634
|
end
|
1700
1635
|
|
1701
1636
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1637
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1638
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1702
1639
|
# Deserialize Response
|
1703
1640
|
if status_code == 200
|
1704
1641
|
begin
|
@@ -1717,89 +1654,70 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1717
1654
|
end
|
1718
1655
|
|
1719
1656
|
#
|
1720
|
-
# Assign tag to the
|
1657
|
+
# Assign tag to the Product.
|
1721
1658
|
#
|
1722
1659
|
# @param resource_group_name [String] The name of the resource group.
|
1723
1660
|
# @param service_name [String] The name of the API Management service.
|
1724
|
-
# @param
|
1725
|
-
# API Management service instance.
|
1726
|
-
# where n is the revision number.
|
1727
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1728
|
-
# unique in the current API Management service instance.
|
1661
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1662
|
+
# API Management service instance.
|
1729
1663
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1730
1664
|
# Management service instance.
|
1731
|
-
# @param if_match [String] ETag of the Entity. Not required when creating an
|
1732
|
-
# entity, but required when updating an entity.
|
1733
1665
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1734
1666
|
# will be added to the HTTP request.
|
1735
1667
|
#
|
1736
1668
|
# @return [TagContract] operation results.
|
1737
1669
|
#
|
1738
|
-
def
|
1739
|
-
response =
|
1670
|
+
def assign_to_product(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
|
1671
|
+
response = assign_to_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
|
1740
1672
|
response.body unless response.nil?
|
1741
1673
|
end
|
1742
1674
|
|
1743
1675
|
#
|
1744
|
-
# Assign tag to the
|
1676
|
+
# Assign tag to the Product.
|
1745
1677
|
#
|
1746
1678
|
# @param resource_group_name [String] The name of the resource group.
|
1747
1679
|
# @param service_name [String] The name of the API Management service.
|
1748
|
-
# @param
|
1749
|
-
# API Management service instance.
|
1750
|
-
# where n is the revision number.
|
1751
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1752
|
-
# unique in the current API Management service instance.
|
1680
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1681
|
+
# API Management service instance.
|
1753
1682
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1754
1683
|
# Management service instance.
|
1755
|
-
# @param if_match [String] ETag of the Entity. Not required when creating an
|
1756
|
-
# entity, but required when updating an entity.
|
1757
1684
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1758
1685
|
# will be added to the HTTP request.
|
1759
1686
|
#
|
1760
1687
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1761
1688
|
#
|
1762
|
-
def
|
1763
|
-
|
1689
|
+
def assign_to_product_with_http_info(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
|
1690
|
+
assign_to_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
|
1764
1691
|
end
|
1765
1692
|
|
1766
1693
|
#
|
1767
|
-
# Assign tag to the
|
1694
|
+
# Assign tag to the Product.
|
1768
1695
|
#
|
1769
1696
|
# @param resource_group_name [String] The name of the resource group.
|
1770
1697
|
# @param service_name [String] The name of the API Management service.
|
1771
|
-
# @param
|
1772
|
-
# API Management service instance.
|
1773
|
-
# where n is the revision number.
|
1774
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1775
|
-
# unique in the current API Management service instance.
|
1698
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1699
|
+
# API Management service instance.
|
1776
1700
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1777
1701
|
# Management service instance.
|
1778
|
-
# @param if_match [String] ETag of the Entity. Not required when creating an
|
1779
|
-
# entity, but required when updating an entity.
|
1780
1702
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1781
1703
|
# to the HTTP request.
|
1782
1704
|
#
|
1783
1705
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1784
1706
|
#
|
1785
|
-
def
|
1707
|
+
def assign_to_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
|
1786
1708
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1787
1709
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1788
1710
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
1789
1711
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
1790
1712
|
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?
|
1791
|
-
fail ArgumentError, '
|
1792
|
-
fail ArgumentError, "'
|
1793
|
-
fail ArgumentError, "'
|
1794
|
-
fail ArgumentError, "'
|
1795
|
-
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
1796
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
1797
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
1798
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !operation_id.nil? && operation_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
|
1713
|
+
fail ArgumentError, 'product_id is nil' if product_id.nil?
|
1714
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
|
1715
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
|
1716
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
1799
1717
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
1800
1718
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
1801
1719
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
1802
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
1720
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
1803
1721
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1804
1722
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1805
1723
|
|
@@ -1809,15 +1727,14 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1809
1727
|
|
1810
1728
|
# Set Headers
|
1811
1729
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1812
|
-
request_headers['If-Match'] = if_match unless if_match.nil?
|
1813
1730
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1814
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/
|
1731
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}'
|
1815
1732
|
|
1816
1733
|
request_url = @base_url || @client.base_url
|
1817
1734
|
|
1818
1735
|
options = {
|
1819
1736
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1820
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
1737
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
1821
1738
|
query_params: {'api-version' => @client.api_version},
|
1822
1739
|
headers: request_headers.merge(custom_headers || {}),
|
1823
1740
|
base_url: request_url
|
@@ -1834,6 +1751,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1834
1751
|
end
|
1835
1752
|
|
1836
1753
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1754
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1755
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1837
1756
|
# Deserialize Response
|
1838
1757
|
if status_code == 201
|
1839
1758
|
begin
|
@@ -1862,92 +1781,69 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1862
1781
|
end
|
1863
1782
|
|
1864
1783
|
#
|
1865
|
-
# Detach the tag from the
|
1784
|
+
# Detach the tag from the Product.
|
1866
1785
|
#
|
1867
1786
|
# @param resource_group_name [String] The name of the resource group.
|
1868
1787
|
# @param service_name [String] The name of the API Management service.
|
1869
|
-
# @param
|
1870
|
-
# API Management service instance.
|
1871
|
-
# where n is the revision number.
|
1872
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1873
|
-
# unique in the current API Management service instance.
|
1788
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1789
|
+
# API Management service instance.
|
1874
1790
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1875
1791
|
# Management service instance.
|
1876
|
-
# @param if_match [String] ETag of the Entity. ETag should match the current
|
1877
|
-
# entity state from the header response of the GET request or it should be *
|
1878
|
-
# for unconditional update.
|
1879
1792
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1880
1793
|
# will be added to the HTTP request.
|
1881
1794
|
#
|
1882
1795
|
#
|
1883
|
-
def
|
1884
|
-
response =
|
1796
|
+
def detach_from_product(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
|
1797
|
+
response = detach_from_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
|
1885
1798
|
nil
|
1886
1799
|
end
|
1887
1800
|
|
1888
1801
|
#
|
1889
|
-
# Detach the tag from the
|
1802
|
+
# Detach the tag from the Product.
|
1890
1803
|
#
|
1891
1804
|
# @param resource_group_name [String] The name of the resource group.
|
1892
1805
|
# @param service_name [String] The name of the API Management service.
|
1893
|
-
# @param
|
1894
|
-
# API Management service instance.
|
1895
|
-
# where n is the revision number.
|
1896
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1897
|
-
# unique in the current API Management service instance.
|
1806
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1807
|
+
# API Management service instance.
|
1898
1808
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1899
1809
|
# Management service instance.
|
1900
|
-
# @param if_match [String] ETag of the Entity. ETag should match the current
|
1901
|
-
# entity state from the header response of the GET request or it should be *
|
1902
|
-
# for unconditional update.
|
1903
1810
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1904
1811
|
# will be added to the HTTP request.
|
1905
1812
|
#
|
1906
1813
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1907
1814
|
#
|
1908
|
-
def
|
1909
|
-
|
1815
|
+
def detach_from_product_with_http_info(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
|
1816
|
+
detach_from_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:custom_headers).value!
|
1910
1817
|
end
|
1911
1818
|
|
1912
1819
|
#
|
1913
|
-
# Detach the tag from the
|
1820
|
+
# Detach the tag from the Product.
|
1914
1821
|
#
|
1915
1822
|
# @param resource_group_name [String] The name of the resource group.
|
1916
1823
|
# @param service_name [String] The name of the API Management service.
|
1917
|
-
# @param
|
1918
|
-
# API Management service instance.
|
1919
|
-
# where n is the revision number.
|
1920
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
1921
|
-
# unique in the current API Management service instance.
|
1824
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
1825
|
+
# API Management service instance.
|
1922
1826
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
1923
1827
|
# Management service instance.
|
1924
|
-
# @param if_match [String] ETag of the Entity. ETag should match the current
|
1925
|
-
# entity state from the header response of the GET request or it should be *
|
1926
|
-
# for unconditional update.
|
1927
1828
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1928
1829
|
# to the HTTP request.
|
1929
1830
|
#
|
1930
1831
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1931
1832
|
#
|
1932
|
-
def
|
1833
|
+
def detach_from_product_async(resource_group_name, service_name, product_id, tag_id, custom_headers:nil)
|
1933
1834
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1934
1835
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
1935
1836
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
1936
1837
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
1937
1838
|
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?
|
1938
|
-
fail ArgumentError, '
|
1939
|
-
fail ArgumentError, "'
|
1940
|
-
fail ArgumentError, "'
|
1941
|
-
fail ArgumentError, "'
|
1942
|
-
fail ArgumentError, 'operation_id is nil' if operation_id.nil?
|
1943
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MaxLength': '80'" if !operation_id.nil? && operation_id.length > 80
|
1944
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'MinLength': '1'" if !operation_id.nil? && operation_id.length < 1
|
1945
|
-
fail ArgumentError, "'operation_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !operation_id.nil? && operation_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
|
1839
|
+
fail ArgumentError, 'product_id is nil' if product_id.nil?
|
1840
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '256'" if !product_id.nil? && product_id.length > 256
|
1841
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
|
1842
|
+
fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !product_id.nil? && product_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
1946
1843
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
1947
1844
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
1948
1845
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
1949
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
1950
|
-
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
1846
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
1951
1847
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1952
1848
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1953
1849
|
|
@@ -1957,15 +1853,14 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1957
1853
|
|
1958
1854
|
# Set Headers
|
1959
1855
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1960
|
-
request_headers['If-Match'] = if_match unless if_match.nil?
|
1961
1856
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1962
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/
|
1857
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}'
|
1963
1858
|
|
1964
1859
|
request_url = @base_url || @client.base_url
|
1965
1860
|
|
1966
1861
|
options = {
|
1967
1862
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1968
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
1863
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'productId' => product_id,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
1969
1864
|
query_params: {'api-version' => @client.api_version},
|
1970
1865
|
headers: request_headers.merge(custom_headers || {}),
|
1971
1866
|
base_url: request_url
|
@@ -1982,6 +1877,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1982
1877
|
end
|
1983
1878
|
|
1984
1879
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1880
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1881
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1985
1882
|
|
1986
1883
|
result
|
1987
1884
|
end
|
@@ -1990,87 +1887,83 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
1990
1887
|
end
|
1991
1888
|
|
1992
1889
|
#
|
1993
|
-
# Lists
|
1890
|
+
# Lists a collection of tags defined within a service instance.
|
1994
1891
|
#
|
1995
1892
|
# @param resource_group_name [String] The name of the resource group.
|
1996
1893
|
# @param service_name [String] The name of the API Management service.
|
1997
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
1998
|
-
# API Management service instance.
|
1999
1894
|
# @param filter [String] | Field | Supported operators | Supported
|
2000
|
-
# functions
|
2001
|
-
#
|
2002
|
-
#
|
2003
|
-
#
|
2004
|
-
# |
|
2005
|
-
# endswith
|
1895
|
+
# functions |
|
1896
|
+
# |-------------|------------------------|-----------------------------------|
|
1897
|
+
#
|
1898
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
1899
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1900
|
+
# endswith|
|
1901
|
+
#
|
2006
1902
|
# @param top [Integer] Number of records to return.
|
2007
1903
|
# @param skip [Integer] Number of records to skip.
|
1904
|
+
# @param scope [String] Scope like 'apis', 'products' or 'apis/{apiId}
|
2008
1905
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2009
1906
|
# will be added to the HTTP request.
|
2010
1907
|
#
|
2011
1908
|
# @return [Array<TagContract>] operation results.
|
2012
1909
|
#
|
2013
|
-
def
|
2014
|
-
first_page =
|
1910
|
+
def list_by_service(resource_group_name, service_name, filter:nil, top:nil, skip:nil, scope:nil, custom_headers:nil)
|
1911
|
+
first_page = list_by_service_as_lazy(resource_group_name, service_name, filter:filter, top:top, skip:skip, scope:scope, custom_headers:custom_headers)
|
2015
1912
|
first_page.get_all_items
|
2016
1913
|
end
|
2017
1914
|
|
2018
1915
|
#
|
2019
|
-
# Lists
|
1916
|
+
# Lists a collection of tags defined within a service instance.
|
2020
1917
|
#
|
2021
1918
|
# @param resource_group_name [String] The name of the resource group.
|
2022
1919
|
# @param service_name [String] The name of the API Management service.
|
2023
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2024
|
-
# API Management service instance.
|
2025
1920
|
# @param filter [String] | Field | Supported operators | Supported
|
2026
|
-
# functions
|
2027
|
-
#
|
2028
|
-
#
|
2029
|
-
#
|
2030
|
-
# |
|
2031
|
-
# endswith
|
1921
|
+
# functions |
|
1922
|
+
# |-------------|------------------------|-----------------------------------|
|
1923
|
+
#
|
1924
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
1925
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1926
|
+
# endswith|
|
1927
|
+
#
|
2032
1928
|
# @param top [Integer] Number of records to return.
|
2033
1929
|
# @param skip [Integer] Number of records to skip.
|
1930
|
+
# @param scope [String] Scope like 'apis', 'products' or 'apis/{apiId}
|
2034
1931
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2035
1932
|
# will be added to the HTTP request.
|
2036
1933
|
#
|
2037
1934
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2038
1935
|
#
|
2039
|
-
def
|
2040
|
-
|
1936
|
+
def list_by_service_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, scope:nil, custom_headers:nil)
|
1937
|
+
list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, scope:scope, custom_headers:custom_headers).value!
|
2041
1938
|
end
|
2042
1939
|
|
2043
1940
|
#
|
2044
|
-
# Lists
|
1941
|
+
# Lists a collection of tags defined within a service instance.
|
2045
1942
|
#
|
2046
1943
|
# @param resource_group_name [String] The name of the resource group.
|
2047
1944
|
# @param service_name [String] The name of the API Management service.
|
2048
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2049
|
-
# API Management service instance.
|
2050
1945
|
# @param filter [String] | Field | Supported operators | Supported
|
2051
|
-
# functions
|
2052
|
-
#
|
2053
|
-
#
|
2054
|
-
#
|
2055
|
-
# |
|
2056
|
-
# endswith
|
1946
|
+
# functions |
|
1947
|
+
# |-------------|------------------------|-----------------------------------|
|
1948
|
+
#
|
1949
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
1950
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
1951
|
+
# endswith|
|
1952
|
+
#
|
2057
1953
|
# @param top [Integer] Number of records to return.
|
2058
1954
|
# @param skip [Integer] Number of records to skip.
|
1955
|
+
# @param scope [String] Scope like 'apis', 'products' or 'apis/{apiId}
|
2059
1956
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2060
1957
|
# to the HTTP request.
|
2061
1958
|
#
|
2062
1959
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2063
1960
|
#
|
2064
|
-
def
|
1961
|
+
def list_by_service_async(resource_group_name, service_name, filter:nil, top:nil, skip:nil, scope:nil, custom_headers:nil)
|
2065
1962
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2066
1963
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
2067
1964
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
2068
1965
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
2069
1966
|
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?
|
2070
|
-
fail ArgumentError, 'product_id is nil' if product_id.nil?
|
2071
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
|
2072
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
|
2073
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
|
2074
1967
|
fail ArgumentError, "'top' should satisfy the constraint - 'InclusiveMinimum': '1'" if !top.nil? && top < 1
|
2075
1968
|
fail ArgumentError, "'skip' should satisfy the constraint - 'InclusiveMinimum': '0'" if !skip.nil? && skip < 0
|
2076
1969
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -2083,14 +1976,14 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2083
1976
|
# Set Headers
|
2084
1977
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2085
1978
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2086
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/
|
1979
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags'
|
2087
1980
|
|
2088
1981
|
request_url = @base_url || @client.base_url
|
2089
1982
|
|
2090
1983
|
options = {
|
2091
1984
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2092
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
2093
|
-
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'api-version' => @client.api_version},
|
1985
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
|
1986
|
+
query_params: {'$filter' => filter,'$top' => top,'$skip' => skip,'scope' => scope,'api-version' => @client.api_version},
|
2094
1987
|
headers: request_headers.merge(custom_headers || {}),
|
2095
1988
|
base_url: request_url
|
2096
1989
|
}
|
@@ -2106,6 +1999,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2106
1999
|
end
|
2107
2000
|
|
2108
2001
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2002
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2003
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2109
2004
|
# Deserialize Response
|
2110
2005
|
if status_code == 200
|
2111
2006
|
begin
|
@@ -2128,16 +2023,14 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2128
2023
|
#
|
2129
2024
|
# @param resource_group_name [String] The name of the resource group.
|
2130
2025
|
# @param service_name [String] The name of the API Management service.
|
2131
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2132
|
-
# API Management service instance.
|
2133
2026
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2134
2027
|
# Management service instance.
|
2135
2028
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2136
2029
|
# will be added to the HTTP request.
|
2137
2030
|
#
|
2138
2031
|
#
|
2139
|
-
def
|
2140
|
-
response =
|
2032
|
+
def get_entity_state(resource_group_name, service_name, tag_id, custom_headers:nil)
|
2033
|
+
response = get_entity_state_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
|
2141
2034
|
nil
|
2142
2035
|
end
|
2143
2036
|
|
@@ -2146,8 +2039,6 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2146
2039
|
#
|
2147
2040
|
# @param resource_group_name [String] The name of the resource group.
|
2148
2041
|
# @param service_name [String] The name of the API Management service.
|
2149
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2150
|
-
# API Management service instance.
|
2151
2042
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2152
2043
|
# Management service instance.
|
2153
2044
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -2155,8 +2046,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2155
2046
|
#
|
2156
2047
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2157
2048
|
#
|
2158
|
-
def
|
2159
|
-
|
2049
|
+
def get_entity_state_with_http_info(resource_group_name, service_name, tag_id, custom_headers:nil)
|
2050
|
+
get_entity_state_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
|
2160
2051
|
end
|
2161
2052
|
|
2162
2053
|
#
|
@@ -2164,8 +2055,6 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2164
2055
|
#
|
2165
2056
|
# @param resource_group_name [String] The name of the resource group.
|
2166
2057
|
# @param service_name [String] The name of the API Management service.
|
2167
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2168
|
-
# API Management service instance.
|
2169
2058
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2170
2059
|
# Management service instance.
|
2171
2060
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
@@ -2173,20 +2062,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2173
2062
|
#
|
2174
2063
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2175
2064
|
#
|
2176
|
-
def
|
2065
|
+
def get_entity_state_async(resource_group_name, service_name, tag_id, custom_headers:nil)
|
2177
2066
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2178
2067
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
2179
2068
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
2180
2069
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
2181
2070
|
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?
|
2182
|
-
fail ArgumentError, 'product_id is nil' if product_id.nil?
|
2183
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
|
2184
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
|
2185
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
|
2186
2071
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
2187
2072
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
2188
2073
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
2189
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
2074
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
2190
2075
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2191
2076
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2192
2077
|
|
@@ -2197,13 +2082,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2197
2082
|
# Set Headers
|
2198
2083
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2199
2084
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2200
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/
|
2085
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
|
2201
2086
|
|
2202
2087
|
request_url = @base_url || @client.base_url
|
2203
2088
|
|
2204
2089
|
options = {
|
2205
2090
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2206
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
2091
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
2207
2092
|
query_params: {'api-version' => @client.api_version},
|
2208
2093
|
headers: request_headers.merge(custom_headers || {}),
|
2209
2094
|
base_url: request_url
|
@@ -2220,6 +2105,115 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2220
2105
|
end
|
2221
2106
|
|
2222
2107
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2108
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2109
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2110
|
+
|
2111
|
+
result
|
2112
|
+
end
|
2113
|
+
|
2114
|
+
promise.execute
|
2115
|
+
end
|
2116
|
+
|
2117
|
+
#
|
2118
|
+
# Gets the details of the tag specified by its identifier.
|
2119
|
+
#
|
2120
|
+
# @param resource_group_name [String] The name of the resource group.
|
2121
|
+
# @param service_name [String] The name of the API Management service.
|
2122
|
+
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2123
|
+
# Management service instance.
|
2124
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2125
|
+
# will be added to the HTTP request.
|
2126
|
+
#
|
2127
|
+
# @return [TagContract] operation results.
|
2128
|
+
#
|
2129
|
+
def get(resource_group_name, service_name, tag_id, custom_headers:nil)
|
2130
|
+
response = get_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
|
2131
|
+
response.body unless response.nil?
|
2132
|
+
end
|
2133
|
+
|
2134
|
+
#
|
2135
|
+
# Gets the details of the tag specified by its identifier.
|
2136
|
+
#
|
2137
|
+
# @param resource_group_name [String] The name of the resource group.
|
2138
|
+
# @param service_name [String] The name of the API Management service.
|
2139
|
+
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2140
|
+
# Management service instance.
|
2141
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2142
|
+
# will be added to the HTTP request.
|
2143
|
+
#
|
2144
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2145
|
+
#
|
2146
|
+
def get_with_http_info(resource_group_name, service_name, tag_id, custom_headers:nil)
|
2147
|
+
get_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
|
2148
|
+
end
|
2149
|
+
|
2150
|
+
#
|
2151
|
+
# Gets the details of the tag specified by its identifier.
|
2152
|
+
#
|
2153
|
+
# @param resource_group_name [String] The name of the resource group.
|
2154
|
+
# @param service_name [String] The name of the API Management service.
|
2155
|
+
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2156
|
+
# Management service instance.
|
2157
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2158
|
+
# to the HTTP request.
|
2159
|
+
#
|
2160
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2161
|
+
#
|
2162
|
+
def get_async(resource_group_name, service_name, tag_id, custom_headers:nil)
|
2163
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2164
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
2165
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
2166
|
+
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
2167
|
+
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?
|
2168
|
+
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
2169
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
2170
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
2171
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
2172
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2173
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2174
|
+
|
2175
|
+
|
2176
|
+
request_headers = {}
|
2177
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
2178
|
+
|
2179
|
+
# Set Headers
|
2180
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2181
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2182
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
|
2183
|
+
|
2184
|
+
request_url = @base_url || @client.base_url
|
2185
|
+
|
2186
|
+
options = {
|
2187
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2188
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
2189
|
+
query_params: {'api-version' => @client.api_version},
|
2190
|
+
headers: request_headers.merge(custom_headers || {}),
|
2191
|
+
base_url: request_url
|
2192
|
+
}
|
2193
|
+
promise = @client.make_request_async(:get, path_template, options)
|
2194
|
+
|
2195
|
+
promise = promise.then do |result|
|
2196
|
+
http_response = result.response
|
2197
|
+
status_code = http_response.status
|
2198
|
+
response_content = http_response.body
|
2199
|
+
unless status_code == 200
|
2200
|
+
error_model = JSON.load(response_content)
|
2201
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
2202
|
+
end
|
2203
|
+
|
2204
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2205
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2206
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2207
|
+
# Deserialize Response
|
2208
|
+
if status_code == 200
|
2209
|
+
begin
|
2210
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2211
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract.mapper()
|
2212
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2213
|
+
rescue Exception => e
|
2214
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2215
|
+
end
|
2216
|
+
end
|
2223
2217
|
|
2224
2218
|
result
|
2225
2219
|
end
|
@@ -2228,70 +2222,70 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2228
2222
|
end
|
2229
2223
|
|
2230
2224
|
#
|
2231
|
-
#
|
2225
|
+
# Creates a tag.
|
2232
2226
|
#
|
2233
2227
|
# @param resource_group_name [String] The name of the resource group.
|
2234
2228
|
# @param service_name [String] The name of the API Management service.
|
2235
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2236
|
-
# API Management service instance.
|
2237
2229
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2238
2230
|
# Management service instance.
|
2231
|
+
# @param parameters [TagCreateUpdateParameters] Create parameters.
|
2232
|
+
# @param if_match [String] ETag of the Entity. Not required when creating an
|
2233
|
+
# entity, but required when updating an entity.
|
2239
2234
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2240
2235
|
# will be added to the HTTP request.
|
2241
2236
|
#
|
2242
2237
|
# @return [TagContract] operation results.
|
2243
2238
|
#
|
2244
|
-
def
|
2245
|
-
response =
|
2239
|
+
def create_or_update(resource_group_name, service_name, tag_id, parameters, if_match:nil, custom_headers:nil)
|
2240
|
+
response = create_or_update_async(resource_group_name, service_name, tag_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
|
2246
2241
|
response.body unless response.nil?
|
2247
2242
|
end
|
2248
2243
|
|
2249
2244
|
#
|
2250
|
-
#
|
2245
|
+
# Creates a tag.
|
2251
2246
|
#
|
2252
2247
|
# @param resource_group_name [String] The name of the resource group.
|
2253
2248
|
# @param service_name [String] The name of the API Management service.
|
2254
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2255
|
-
# API Management service instance.
|
2256
2249
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2257
2250
|
# Management service instance.
|
2251
|
+
# @param parameters [TagCreateUpdateParameters] Create parameters.
|
2252
|
+
# @param if_match [String] ETag of the Entity. Not required when creating an
|
2253
|
+
# entity, but required when updating an entity.
|
2258
2254
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2259
2255
|
# will be added to the HTTP request.
|
2260
2256
|
#
|
2261
2257
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2262
2258
|
#
|
2263
|
-
def
|
2264
|
-
|
2259
|
+
def create_or_update_with_http_info(resource_group_name, service_name, tag_id, parameters, if_match:nil, custom_headers:nil)
|
2260
|
+
create_or_update_async(resource_group_name, service_name, tag_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
|
2265
2261
|
end
|
2266
2262
|
|
2267
2263
|
#
|
2268
|
-
#
|
2264
|
+
# Creates a tag.
|
2269
2265
|
#
|
2270
2266
|
# @param resource_group_name [String] The name of the resource group.
|
2271
2267
|
# @param service_name [String] The name of the API Management service.
|
2272
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2273
|
-
# API Management service instance.
|
2274
2268
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2275
2269
|
# Management service instance.
|
2270
|
+
# @param parameters [TagCreateUpdateParameters] Create parameters.
|
2271
|
+
# @param if_match [String] ETag of the Entity. Not required when creating an
|
2272
|
+
# entity, but required when updating an entity.
|
2276
2273
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2277
2274
|
# to the HTTP request.
|
2278
2275
|
#
|
2279
2276
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2280
2277
|
#
|
2281
|
-
def
|
2278
|
+
def create_or_update_async(resource_group_name, service_name, tag_id, parameters, if_match:nil, custom_headers:nil)
|
2282
2279
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2283
2280
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
2284
2281
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
2285
2282
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
2286
2283
|
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?
|
2287
|
-
fail ArgumentError, 'product_id is nil' if product_id.nil?
|
2288
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
|
2289
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
|
2290
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
|
2291
2284
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
2292
2285
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
2293
2286
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
2294
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
2287
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
2288
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
2295
2289
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2296
2290
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2297
2291
|
|
@@ -2301,30 +2295,50 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2301
2295
|
|
2302
2296
|
# Set Headers
|
2303
2297
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2298
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
2304
2299
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2305
|
-
|
2300
|
+
|
2301
|
+
# Serialize Request
|
2302
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagCreateUpdateParameters.mapper()
|
2303
|
+
request_content = @client.serialize(request_mapper, parameters)
|
2304
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
2305
|
+
|
2306
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
|
2306
2307
|
|
2307
2308
|
request_url = @base_url || @client.base_url
|
2308
2309
|
|
2309
2310
|
options = {
|
2310
2311
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2311
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
2312
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
2312
2313
|
query_params: {'api-version' => @client.api_version},
|
2314
|
+
body: request_content,
|
2313
2315
|
headers: request_headers.merge(custom_headers || {}),
|
2314
2316
|
base_url: request_url
|
2315
2317
|
}
|
2316
|
-
promise = @client.make_request_async(:
|
2318
|
+
promise = @client.make_request_async(:put, path_template, options)
|
2317
2319
|
|
2318
2320
|
promise = promise.then do |result|
|
2319
2321
|
http_response = result.response
|
2320
2322
|
status_code = http_response.status
|
2321
2323
|
response_content = http_response.body
|
2322
|
-
unless status_code == 200
|
2324
|
+
unless status_code == 201 || status_code == 200
|
2323
2325
|
error_model = JSON.load(response_content)
|
2324
2326
|
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
2325
2327
|
end
|
2326
2328
|
|
2327
2329
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2330
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2331
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2332
|
+
# Deserialize Response
|
2333
|
+
if status_code == 201
|
2334
|
+
begin
|
2335
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2336
|
+
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract.mapper()
|
2337
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
2338
|
+
rescue Exception => e
|
2339
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2340
|
+
end
|
2341
|
+
end
|
2328
2342
|
# Deserialize Response
|
2329
2343
|
if status_code == 200
|
2330
2344
|
begin
|
@@ -2343,76 +2357,73 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2343
2357
|
end
|
2344
2358
|
|
2345
2359
|
#
|
2346
|
-
#
|
2360
|
+
# Updates the details of the tag specified by its identifier.
|
2347
2361
|
#
|
2348
2362
|
# @param resource_group_name [String] The name of the resource group.
|
2349
2363
|
# @param service_name [String] The name of the API Management service.
|
2350
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2351
|
-
# API Management service instance.
|
2352
2364
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2353
2365
|
# Management service instance.
|
2354
|
-
# @param
|
2355
|
-
#
|
2366
|
+
# @param parameters [TagCreateUpdateParameters] Update parameters.
|
2367
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
2368
|
+
# entity state from the header response of the GET request or it should be *
|
2369
|
+
# for unconditional update.
|
2356
2370
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2357
2371
|
# will be added to the HTTP request.
|
2358
2372
|
#
|
2359
|
-
# @return [TagContract] operation results.
|
2360
2373
|
#
|
2361
|
-
def
|
2362
|
-
response =
|
2363
|
-
|
2374
|
+
def update(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:nil)
|
2375
|
+
response = update_async(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:custom_headers).value!
|
2376
|
+
nil
|
2364
2377
|
end
|
2365
2378
|
|
2366
2379
|
#
|
2367
|
-
#
|
2380
|
+
# Updates the details of the tag specified by its identifier.
|
2368
2381
|
#
|
2369
2382
|
# @param resource_group_name [String] The name of the resource group.
|
2370
2383
|
# @param service_name [String] The name of the API Management service.
|
2371
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2372
|
-
# API Management service instance.
|
2373
2384
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2374
2385
|
# Management service instance.
|
2375
|
-
# @param
|
2376
|
-
#
|
2386
|
+
# @param parameters [TagCreateUpdateParameters] Update parameters.
|
2387
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
2388
|
+
# entity state from the header response of the GET request or it should be *
|
2389
|
+
# for unconditional update.
|
2377
2390
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
2378
2391
|
# will be added to the HTTP request.
|
2379
2392
|
#
|
2380
2393
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2381
2394
|
#
|
2382
|
-
def
|
2383
|
-
|
2395
|
+
def update_with_http_info(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:nil)
|
2396
|
+
update_async(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:custom_headers).value!
|
2384
2397
|
end
|
2385
2398
|
|
2386
2399
|
#
|
2387
|
-
#
|
2400
|
+
# Updates the details of the tag specified by its identifier.
|
2388
2401
|
#
|
2389
2402
|
# @param resource_group_name [String] The name of the resource group.
|
2390
2403
|
# @param service_name [String] The name of the API Management service.
|
2391
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2392
|
-
# API Management service instance.
|
2393
2404
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2394
2405
|
# Management service instance.
|
2395
|
-
# @param
|
2396
|
-
#
|
2406
|
+
# @param parameters [TagCreateUpdateParameters] Update parameters.
|
2407
|
+
# @param if_match [String] ETag of the Entity. ETag should match the current
|
2408
|
+
# entity state from the header response of the GET request or it should be *
|
2409
|
+
# for unconditional update.
|
2397
2410
|
# @param [Hash{String => String}] A hash of custom headers that will be added
|
2398
2411
|
# to the HTTP request.
|
2399
2412
|
#
|
2400
2413
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2401
2414
|
#
|
2402
|
-
def
|
2415
|
+
def update_async(resource_group_name, service_name, tag_id, parameters, if_match, custom_headers:nil)
|
2403
2416
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2404
2417
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
2405
2418
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
2406
2419
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
2407
2420
|
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?
|
2408
|
-
fail ArgumentError, 'product_id is nil' if product_id.nil?
|
2409
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
|
2410
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
|
2411
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
|
2412
2421
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
2413
2422
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
2414
2423
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
2415
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
2424
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
2425
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
2426
|
+
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
2416
2427
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2417
2428
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
2418
2429
|
|
@@ -2424,49 +2435,38 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2424
2435
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2425
2436
|
request_headers['If-Match'] = if_match unless if_match.nil?
|
2426
2437
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2427
|
-
|
2438
|
+
|
2439
|
+
# Serialize Request
|
2440
|
+
request_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagCreateUpdateParameters.mapper()
|
2441
|
+
request_content = @client.serialize(request_mapper, parameters)
|
2442
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
2443
|
+
|
2444
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
|
2428
2445
|
|
2429
2446
|
request_url = @base_url || @client.base_url
|
2430
2447
|
|
2431
2448
|
options = {
|
2432
2449
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2433
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
2450
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
2434
2451
|
query_params: {'api-version' => @client.api_version},
|
2452
|
+
body: request_content,
|
2435
2453
|
headers: request_headers.merge(custom_headers || {}),
|
2436
2454
|
base_url: request_url
|
2437
2455
|
}
|
2438
|
-
promise = @client.make_request_async(:
|
2456
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
2439
2457
|
|
2440
2458
|
promise = promise.then do |result|
|
2441
2459
|
http_response = result.response
|
2442
2460
|
status_code = http_response.status
|
2443
2461
|
response_content = http_response.body
|
2444
|
-
unless status_code ==
|
2462
|
+
unless status_code == 204
|
2445
2463
|
error_model = JSON.load(response_content)
|
2446
2464
|
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
2447
2465
|
end
|
2448
2466
|
|
2449
2467
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2450
|
-
|
2451
|
-
|
2452
|
-
begin
|
2453
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2454
|
-
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract.mapper()
|
2455
|
-
result.body = @client.deserialize(result_mapper, parsed_response)
|
2456
|
-
rescue Exception => e
|
2457
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2458
|
-
end
|
2459
|
-
end
|
2460
|
-
# Deserialize Response
|
2461
|
-
if status_code == 200
|
2462
|
-
begin
|
2463
|
-
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
2464
|
-
result_mapper = Azure::ApiManagement::Mgmt::V2018_06_01_preview::Models::TagContract.mapper()
|
2465
|
-
result.body = @client.deserialize(result_mapper, parsed_response)
|
2466
|
-
rescue Exception => e
|
2467
|
-
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
2468
|
-
end
|
2469
|
-
end
|
2468
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2469
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2470
2470
|
|
2471
2471
|
result
|
2472
2472
|
end
|
@@ -2475,12 +2475,10 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2475
2475
|
end
|
2476
2476
|
|
2477
2477
|
#
|
2478
|
-
#
|
2478
|
+
# Deletes specific tag of the API Management service instance.
|
2479
2479
|
#
|
2480
2480
|
# @param resource_group_name [String] The name of the resource group.
|
2481
2481
|
# @param service_name [String] The name of the API Management service.
|
2482
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2483
|
-
# API Management service instance.
|
2484
2482
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2485
2483
|
# Management service instance.
|
2486
2484
|
# @param if_match [String] ETag of the Entity. ETag should match the current
|
@@ -2490,18 +2488,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2490
2488
|
# will be added to the HTTP request.
|
2491
2489
|
#
|
2492
2490
|
#
|
2493
|
-
def
|
2494
|
-
response =
|
2491
|
+
def delete(resource_group_name, service_name, tag_id, if_match, custom_headers:nil)
|
2492
|
+
response = delete_async(resource_group_name, service_name, tag_id, if_match, custom_headers:custom_headers).value!
|
2495
2493
|
nil
|
2496
2494
|
end
|
2497
2495
|
|
2498
2496
|
#
|
2499
|
-
#
|
2497
|
+
# Deletes specific tag of the API Management service instance.
|
2500
2498
|
#
|
2501
2499
|
# @param resource_group_name [String] The name of the resource group.
|
2502
2500
|
# @param service_name [String] The name of the API Management service.
|
2503
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2504
|
-
# API Management service instance.
|
2505
2501
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2506
2502
|
# Management service instance.
|
2507
2503
|
# @param if_match [String] ETag of the Entity. ETag should match the current
|
@@ -2512,17 +2508,15 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2512
2508
|
#
|
2513
2509
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2514
2510
|
#
|
2515
|
-
def
|
2516
|
-
|
2511
|
+
def delete_with_http_info(resource_group_name, service_name, tag_id, if_match, custom_headers:nil)
|
2512
|
+
delete_async(resource_group_name, service_name, tag_id, if_match, custom_headers:custom_headers).value!
|
2517
2513
|
end
|
2518
2514
|
|
2519
2515
|
#
|
2520
|
-
#
|
2516
|
+
# Deletes specific tag of the API Management service instance.
|
2521
2517
|
#
|
2522
2518
|
# @param resource_group_name [String] The name of the resource group.
|
2523
2519
|
# @param service_name [String] The name of the API Management service.
|
2524
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
2525
|
-
# API Management service instance.
|
2526
2520
|
# @param tag_id [String] Tag identifier. Must be unique in the current API
|
2527
2521
|
# Management service instance.
|
2528
2522
|
# @param if_match [String] ETag of the Entity. ETag should match the current
|
@@ -2533,20 +2527,16 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2533
2527
|
#
|
2534
2528
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2535
2529
|
#
|
2536
|
-
def
|
2530
|
+
def delete_async(resource_group_name, service_name, tag_id, if_match, custom_headers:nil)
|
2537
2531
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
2538
2532
|
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
2539
2533
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
|
2540
2534
|
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
|
2541
2535
|
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?
|
2542
|
-
fail ArgumentError, 'product_id is nil' if product_id.nil?
|
2543
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'MaxLength': '80'" if !product_id.nil? && product_id.length > 80
|
2544
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'MinLength': '1'" if !product_id.nil? && product_id.length < 1
|
2545
|
-
fail ArgumentError, "'product_id' should satisfy the constraint - 'Pattern': '(^[\w]+$)|(^[\w][\w\-]+[\w]$)'" if !product_id.nil? && product_id.match(Regexp.new('^(^[\w]+$)|(^[\w][\w\-]+[\w]$)$')).nil?
|
2546
2536
|
fail ArgumentError, 'tag_id is nil' if tag_id.nil?
|
2547
2537
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MaxLength': '80'" if !tag_id.nil? && tag_id.length > 80
|
2548
2538
|
fail ArgumentError, "'tag_id' should satisfy the constraint - 'MinLength': '1'" if !tag_id.nil? && tag_id.length < 1
|
2549
|
-
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '
|
2539
|
+
fail ArgumentError, "'tag_id' should satisfy the constraint - 'Pattern': '^[^*#&+:<>?]+$'" if !tag_id.nil? && tag_id.match(Regexp.new('^^[^*#&+:<>?]+$$')).nil?
|
2550
2540
|
fail ArgumentError, 'if_match is nil' if if_match.nil?
|
2551
2541
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
2552
2542
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -2559,13 +2549,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2559
2549
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
2560
2550
|
request_headers['If-Match'] = if_match unless if_match.nil?
|
2561
2551
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
2562
|
-
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/
|
2552
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}'
|
2563
2553
|
|
2564
2554
|
request_url = @base_url || @client.base_url
|
2565
2555
|
|
2566
2556
|
options = {
|
2567
2557
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
2568
|
-
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'
|
2558
|
+
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'tagId' => tag_id,'subscriptionId' => @client.subscription_id},
|
2569
2559
|
query_params: {'api-version' => @client.api_version},
|
2570
2560
|
headers: request_headers.merge(custom_headers || {}),
|
2571
2561
|
base_url: request_url
|
@@ -2582,6 +2572,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2582
2572
|
end
|
2583
2573
|
|
2584
2574
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2575
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2576
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2585
2577
|
|
2586
2578
|
result
|
2587
2579
|
end
|
@@ -2590,7 +2582,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2590
2582
|
end
|
2591
2583
|
|
2592
2584
|
#
|
2593
|
-
# Lists
|
2585
|
+
# Lists all Tags associated with the Operation.
|
2594
2586
|
#
|
2595
2587
|
# @param next_page_link [String] The NextLink from the previous successful call
|
2596
2588
|
# to List operation.
|
@@ -2599,13 +2591,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2599
2591
|
#
|
2600
2592
|
# @return [TagCollection] operation results.
|
2601
2593
|
#
|
2602
|
-
def
|
2603
|
-
response =
|
2594
|
+
def list_by_operation_next(next_page_link, custom_headers:nil)
|
2595
|
+
response = list_by_operation_next_async(next_page_link, custom_headers:custom_headers).value!
|
2604
2596
|
response.body unless response.nil?
|
2605
2597
|
end
|
2606
2598
|
|
2607
2599
|
#
|
2608
|
-
# Lists
|
2600
|
+
# Lists all Tags associated with the Operation.
|
2609
2601
|
#
|
2610
2602
|
# @param next_page_link [String] The NextLink from the previous successful call
|
2611
2603
|
# to List operation.
|
@@ -2614,12 +2606,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2614
2606
|
#
|
2615
2607
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2616
2608
|
#
|
2617
|
-
def
|
2618
|
-
|
2609
|
+
def list_by_operation_next_with_http_info(next_page_link, custom_headers:nil)
|
2610
|
+
list_by_operation_next_async(next_page_link, custom_headers:custom_headers).value!
|
2619
2611
|
end
|
2620
2612
|
|
2621
2613
|
#
|
2622
|
-
# Lists
|
2614
|
+
# Lists all Tags associated with the Operation.
|
2623
2615
|
#
|
2624
2616
|
# @param next_page_link [String] The NextLink from the previous successful call
|
2625
2617
|
# to List operation.
|
@@ -2628,7 +2620,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2628
2620
|
#
|
2629
2621
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2630
2622
|
#
|
2631
|
-
def
|
2623
|
+
def list_by_operation_next_async(next_page_link, custom_headers:nil)
|
2632
2624
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
2633
2625
|
|
2634
2626
|
|
@@ -2656,10 +2648,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2656
2648
|
response_content = http_response.body
|
2657
2649
|
unless status_code == 200
|
2658
2650
|
error_model = JSON.load(response_content)
|
2659
|
-
fail
|
2651
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
2660
2652
|
end
|
2661
2653
|
|
2662
2654
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2655
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2656
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2663
2657
|
# Deserialize Response
|
2664
2658
|
if status_code == 200
|
2665
2659
|
begin
|
@@ -2748,6 +2742,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2748
2742
|
end
|
2749
2743
|
|
2750
2744
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2745
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2746
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2751
2747
|
# Deserialize Response
|
2752
2748
|
if status_code == 200
|
2753
2749
|
begin
|
@@ -2766,7 +2762,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2766
2762
|
end
|
2767
2763
|
|
2768
2764
|
#
|
2769
|
-
# Lists all Tags associated with the
|
2765
|
+
# Lists all Tags associated with the Product.
|
2770
2766
|
#
|
2771
2767
|
# @param next_page_link [String] The NextLink from the previous successful call
|
2772
2768
|
# to List operation.
|
@@ -2775,13 +2771,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2775
2771
|
#
|
2776
2772
|
# @return [TagCollection] operation results.
|
2777
2773
|
#
|
2778
|
-
def
|
2779
|
-
response =
|
2774
|
+
def list_by_product_next(next_page_link, custom_headers:nil)
|
2775
|
+
response = list_by_product_next_async(next_page_link, custom_headers:custom_headers).value!
|
2780
2776
|
response.body unless response.nil?
|
2781
2777
|
end
|
2782
2778
|
|
2783
2779
|
#
|
2784
|
-
# Lists all Tags associated with the
|
2780
|
+
# Lists all Tags associated with the Product.
|
2785
2781
|
#
|
2786
2782
|
# @param next_page_link [String] The NextLink from the previous successful call
|
2787
2783
|
# to List operation.
|
@@ -2790,12 +2786,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2790
2786
|
#
|
2791
2787
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2792
2788
|
#
|
2793
|
-
def
|
2794
|
-
|
2789
|
+
def list_by_product_next_with_http_info(next_page_link, custom_headers:nil)
|
2790
|
+
list_by_product_next_async(next_page_link, custom_headers:custom_headers).value!
|
2795
2791
|
end
|
2796
2792
|
|
2797
2793
|
#
|
2798
|
-
# Lists all Tags associated with the
|
2794
|
+
# Lists all Tags associated with the Product.
|
2799
2795
|
#
|
2800
2796
|
# @param next_page_link [String] The NextLink from the previous successful call
|
2801
2797
|
# to List operation.
|
@@ -2804,7 +2800,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2804
2800
|
#
|
2805
2801
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2806
2802
|
#
|
2807
|
-
def
|
2803
|
+
def list_by_product_next_async(next_page_link, custom_headers:nil)
|
2808
2804
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
2809
2805
|
|
2810
2806
|
|
@@ -2836,6 +2832,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2836
2832
|
end
|
2837
2833
|
|
2838
2834
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2835
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2836
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2839
2837
|
# Deserialize Response
|
2840
2838
|
if status_code == 200
|
2841
2839
|
begin
|
@@ -2854,7 +2852,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2854
2852
|
end
|
2855
2853
|
|
2856
2854
|
#
|
2857
|
-
# Lists
|
2855
|
+
# Lists a collection of tags defined within a service instance.
|
2858
2856
|
#
|
2859
2857
|
# @param next_page_link [String] The NextLink from the previous successful call
|
2860
2858
|
# to List operation.
|
@@ -2863,13 +2861,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2863
2861
|
#
|
2864
2862
|
# @return [TagCollection] operation results.
|
2865
2863
|
#
|
2866
|
-
def
|
2867
|
-
response =
|
2864
|
+
def list_by_service_next(next_page_link, custom_headers:nil)
|
2865
|
+
response = list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
|
2868
2866
|
response.body unless response.nil?
|
2869
2867
|
end
|
2870
2868
|
|
2871
2869
|
#
|
2872
|
-
# Lists
|
2870
|
+
# Lists a collection of tags defined within a service instance.
|
2873
2871
|
#
|
2874
2872
|
# @param next_page_link [String] The NextLink from the previous successful call
|
2875
2873
|
# to List operation.
|
@@ -2878,12 +2876,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2878
2876
|
#
|
2879
2877
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
2880
2878
|
#
|
2881
|
-
def
|
2882
|
-
|
2879
|
+
def list_by_service_next_with_http_info(next_page_link, custom_headers:nil)
|
2880
|
+
list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
|
2883
2881
|
end
|
2884
2882
|
|
2885
2883
|
#
|
2886
|
-
# Lists
|
2884
|
+
# Lists a collection of tags defined within a service instance.
|
2887
2885
|
#
|
2888
2886
|
# @param next_page_link [String] The NextLink from the previous successful call
|
2889
2887
|
# to List operation.
|
@@ -2892,7 +2890,7 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2892
2890
|
#
|
2893
2891
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
2894
2892
|
#
|
2895
|
-
def
|
2893
|
+
def list_by_service_next_async(next_page_link, custom_headers:nil)
|
2896
2894
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
2897
2895
|
|
2898
2896
|
|
@@ -2924,6 +2922,8 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2924
2922
|
end
|
2925
2923
|
|
2926
2924
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
2925
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
2926
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
2927
2927
|
# Deserialize Response
|
2928
2928
|
if status_code == 200
|
2929
2929
|
begin
|
@@ -2942,17 +2942,23 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2942
2942
|
end
|
2943
2943
|
|
2944
2944
|
#
|
2945
|
-
# Lists
|
2945
|
+
# Lists all Tags associated with the Operation.
|
2946
2946
|
#
|
2947
2947
|
# @param resource_group_name [String] The name of the resource group.
|
2948
2948
|
# @param service_name [String] The name of the API Management service.
|
2949
|
+
# @param api_id [String] API revision identifier. Must be unique in the current
|
2950
|
+
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
2951
|
+
# where n is the revision number.
|
2952
|
+
# @param operation_id [String] Operation identifier within an API. Must be
|
2953
|
+
# unique in the current API Management service instance.
|
2949
2954
|
# @param filter [String] | Field | Supported operators | Supported
|
2950
|
-
# functions
|
2951
|
-
#
|
2952
|
-
#
|
2953
|
-
#
|
2954
|
-
# |
|
2955
|
-
#
|
2955
|
+
# functions |
|
2956
|
+
# |-------------|------------------------|-----------------------------------|
|
2957
|
+
#
|
2958
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
2959
|
+
# endswith|
|
2960
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
2961
|
+
#
|
2956
2962
|
# @param top [Integer] Number of records to return.
|
2957
2963
|
# @param skip [Integer] Number of records to skip.
|
2958
2964
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -2960,12 +2966,12 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2960
2966
|
#
|
2961
2967
|
# @return [TagCollection] which provide lazy access to pages of the response.
|
2962
2968
|
#
|
2963
|
-
def
|
2964
|
-
response =
|
2969
|
+
def list_by_operation_as_lazy(resource_group_name, service_name, api_id, operation_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
2970
|
+
response = list_by_operation_async(resource_group_name, service_name, api_id, operation_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
2965
2971
|
unless response.nil?
|
2966
2972
|
page = response.body
|
2967
2973
|
page.next_method = Proc.new do |next_page_link|
|
2968
|
-
|
2974
|
+
list_by_operation_next_async(next_page_link, custom_headers:custom_headers)
|
2969
2975
|
end
|
2970
2976
|
page
|
2971
2977
|
end
|
@@ -2980,12 +2986,13 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
2980
2986
|
# API Management service instance. Non-current revision has ;rev=n as a suffix
|
2981
2987
|
# where n is the revision number.
|
2982
2988
|
# @param filter [String] | Field | Supported operators | Supported
|
2983
|
-
# functions
|
2984
|
-
#
|
2985
|
-
#
|
2986
|
-
#
|
2987
|
-
# |
|
2988
|
-
#
|
2989
|
+
# functions |
|
2990
|
+
# |-------------|------------------------|-----------------------------------|
|
2991
|
+
#
|
2992
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
2993
|
+
# endswith|
|
2994
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
2995
|
+
#
|
2989
2996
|
# @param top [Integer] Number of records to return.
|
2990
2997
|
# @param skip [Integer] Number of records to skip.
|
2991
2998
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -3005,28 +3012,20 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
3005
3012
|
end
|
3006
3013
|
|
3007
3014
|
#
|
3008
|
-
# Lists all Tags associated with the
|
3015
|
+
# Lists all Tags associated with the Product.
|
3009
3016
|
#
|
3010
3017
|
# @param resource_group_name [String] The name of the resource group.
|
3011
3018
|
# @param service_name [String] The name of the API Management service.
|
3012
|
-
# @param
|
3013
|
-
# API Management service instance.
|
3014
|
-
# where n is the revision number.
|
3015
|
-
# @param operation_id [String] Operation identifier within an API. Must be
|
3016
|
-
# unique in the current API Management service instance.
|
3019
|
+
# @param product_id [String] Product identifier. Must be unique in the current
|
3020
|
+
# API Management service instance.
|
3017
3021
|
# @param filter [String] | Field | Supported operators | Supported
|
3018
|
-
# functions
|
3019
|
-
#
|
3020
|
-
#
|
3021
|
-
#
|
3022
|
-
# |
|
3023
|
-
#
|
3024
|
-
#
|
3025
|
-
# endswith |
|
3026
|
-
# | description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
3027
|
-
# endswith |
|
3028
|
-
# | urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
3029
|
-
# endswith |
|
3022
|
+
# functions |
|
3023
|
+
# |-------------|------------------------|-----------------------------------|
|
3024
|
+
#
|
3025
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
3026
|
+
# endswith|
|
3027
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
3028
|
+
#
|
3030
3029
|
# @param top [Integer] Number of records to return.
|
3031
3030
|
# @param skip [Integer] Number of records to skip.
|
3032
3031
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
@@ -3034,44 +3033,44 @@ module Azure::ApiManagement::Mgmt::V2018_06_01_preview
|
|
3034
3033
|
#
|
3035
3034
|
# @return [TagCollection] which provide lazy access to pages of the response.
|
3036
3035
|
#
|
3037
|
-
def
|
3038
|
-
response =
|
3036
|
+
def list_by_product_as_lazy(resource_group_name, service_name, product_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
|
3037
|
+
response = list_by_product_async(resource_group_name, service_name, product_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
|
3039
3038
|
unless response.nil?
|
3040
3039
|
page = response.body
|
3041
3040
|
page.next_method = Proc.new do |next_page_link|
|
3042
|
-
|
3041
|
+
list_by_product_next_async(next_page_link, custom_headers:custom_headers)
|
3043
3042
|
end
|
3044
3043
|
page
|
3045
3044
|
end
|
3046
3045
|
end
|
3047
3046
|
|
3048
3047
|
#
|
3049
|
-
# Lists
|
3048
|
+
# Lists a collection of tags defined within a service instance.
|
3050
3049
|
#
|
3051
3050
|
# @param resource_group_name [String] The name of the resource group.
|
3052
3051
|
# @param service_name [String] The name of the API Management service.
|
3053
|
-
# @param product_id [String] Product identifier. Must be unique in the current
|
3054
|
-
# API Management service instance.
|
3055
3052
|
# @param filter [String] | Field | Supported operators | Supported
|
3056
|
-
# functions
|
3057
|
-
#
|
3058
|
-
#
|
3059
|
-
#
|
3060
|
-
# |
|
3061
|
-
# endswith
|
3053
|
+
# functions |
|
3054
|
+
# |-------------|------------------------|-----------------------------------|
|
3055
|
+
#
|
3056
|
+
# |name | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith|
|
3057
|
+
# |displayName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
|
3058
|
+
# endswith|
|
3059
|
+
#
|
3062
3060
|
# @param top [Integer] Number of records to return.
|
3063
3061
|
# @param skip [Integer] Number of records to skip.
|
3062
|
+
# @param scope [String] Scope like 'apis', 'products' or 'apis/{apiId}
|
3064
3063
|
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
3065
3064
|
# will be added to the HTTP request.
|
3066
3065
|
#
|
3067
3066
|
# @return [TagCollection] which provide lazy access to pages of the response.
|
3068
3067
|
#
|
3069
|
-
def
|
3070
|
-
response =
|
3068
|
+
def list_by_service_as_lazy(resource_group_name, service_name, filter:nil, top:nil, skip:nil, scope:nil, custom_headers:nil)
|
3069
|
+
response = list_by_service_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, scope:scope, custom_headers:custom_headers).value!
|
3071
3070
|
unless response.nil?
|
3072
3071
|
page = response.body
|
3073
3072
|
page.next_method = Proc.new do |next_page_link|
|
3074
|
-
|
3073
|
+
list_by_service_next_async(next_page_link, custom_headers:custom_headers)
|
3075
3074
|
end
|
3076
3075
|
page
|
3077
3076
|
end
|