Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
[AutoPR sql/resource-manager] Add ManagedServerSecurityAlertPolicy an…
Browse files Browse the repository at this point in the history
…d ManagedDatabaseSecurityAlert… (#1937)

* Generated from 69697620093621367cb2abf50a9cbe0f752b5176

fix incompatible values in swagger

* Generated from 9d6a28b409c220cdac4477e608e14fbed6bd7c6e

Fix ManagedDatabaseSecurityAlertCreateMin example file
  • Loading branch information
AutorestCI authored Dec 13, 2018
1 parent 78c9a28 commit 91e9b9e
Show file tree
Hide file tree
Showing 25 changed files with 2,521 additions and 1,590 deletions.
16 changes: 8 additions & 8 deletions azure_sdk/lib/latest/modules/computervision_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ module Azure::Profiles::Latest
module ComputerVision

module Models
TextRecognitionMode = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode
Details = Azure::CognitiveServices::ComputerVision::V2_0::Models::Details
FaceDescription = Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription
ImageMetadata = Azure::CognitiveServices::ComputerVision::V2_0::Models::ImageMetadata
Line = Azure::CognitiveServices::ComputerVision::V2_0::Models::Line
Expand Down Expand Up @@ -44,8 +46,6 @@ module Models
ComputerVisionErrorCodes = Azure::CognitiveServices::ComputerVision::V2_0::Models::ComputerVisionErrorCodes
VisualFeatureTypes = Azure::CognitiveServices::ComputerVision::V2_0::Models::VisualFeatureTypes
OcrLanguages = Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages
TextRecognitionMode = Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode
Details = Azure::CognitiveServices::ComputerVision::V2_0::Models::Details
end

class ComputerVisionDataClass
Expand Down Expand Up @@ -77,6 +77,12 @@ def method_missing(method, *args)
end

class ModelClasses
def text_recognition_mode
Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode
end
def details
Azure::CognitiveServices::ComputerVision::V2_0::Models::Details
end
def face_description
Azure::CognitiveServices::ComputerVision::V2_0::Models::FaceDescription
end
Expand Down Expand Up @@ -185,12 +191,6 @@ def visual_feature_types
def ocr_languages
Azure::CognitiveServices::ComputerVision::V2_0::Models::OcrLanguages
end
def text_recognition_mode
Azure::CognitiveServices::ComputerVision::V2_0::Models::TextRecognitionMode
end
def details
Azure::CognitiveServices::ComputerVision::V2_0::Models::Details
end
end
end
end
Expand Down
166 changes: 83 additions & 83 deletions azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb

Large diffs are not rendered by default.

84 changes: 42 additions & 42 deletions azure_sdk/lib/latest/modules/customsearch_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ module CustomSearch
CustomInstance = Azure::CognitiveServices::CustomSearch::V1_0::CustomInstance

module Models
ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode
SearchResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse
SearchResultsAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer
Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable
Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer
WebPage = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebPage
Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing
ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse
ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode
Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response
CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork
SafeSearch = Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch
ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode
TextFormat = Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat
Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response
ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase
QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext
Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query
Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error
WebMetaTag = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag
WebPage = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebPage
WebWebAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::WebWebAnswer
SearchResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse
SearchResultsAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer
Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable
Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer
ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse
Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error
CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork
Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing
end

class CustomSearchDataClass
Expand Down Expand Up @@ -60,21 +60,45 @@ def method_missing(method, *args)
end

class ModelClasses
def error_sub_code
Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode
def search_response
Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse
end
def search_results_answer
Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer
end
def identifiable
Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable
end
def answer
Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer
end
def web_page
Azure::CognitiveServices::CustomSearch::V1_0::Models::WebPage
end
def thing
Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing
end
def error_response
Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse
end
def error_code
Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode
end
def response
Azure::CognitiveServices::CustomSearch::V1_0::Models::Response
def creative_work
Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork
end
def safe_search
Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch
end
def error_sub_code
Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode
end
def text_format
Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat
end
def response
Azure::CognitiveServices::CustomSearch::V1_0::Models::Response
end
def response_base
Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase
end
Expand All @@ -84,39 +108,15 @@ def query_context
def query
Azure::CognitiveServices::CustomSearch::V1_0::Models::Query
end
def error
Azure::CognitiveServices::CustomSearch::V1_0::Models::Error
end
def web_meta_tag
Azure::CognitiveServices::CustomSearch::V1_0::Models::WebMetaTag
end
def web_page
Azure::CognitiveServices::CustomSearch::V1_0::Models::WebPage
end
def web_web_answer
Azure::CognitiveServices::CustomSearch::V1_0::Models::WebWebAnswer
end
def search_response
Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse
end
def search_results_answer
Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer
end
def identifiable
Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable
end
def answer
Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer
end
def error_response
Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse
end
def error
Azure::CognitiveServices::CustomSearch::V1_0::Models::Error
end
def creative_work
Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork
end
def thing
Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing
end
end
end
end
Expand Down
28 changes: 14 additions & 14 deletions azure_sdk/lib/latest/modules/entitysearch_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ module EntitySearch

module Models
Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities
Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response
ResponseBase = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase
QueryContext = Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext
Response = Azure::CognitiveServices::EntitySearch::V1_0::Models::Response
SearchResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse
SearchResultsAnswer = Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer
Identifiable = Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable
Expand All @@ -26,15 +26,15 @@ module Models
EntitiesEntityPresentationInfo = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntitiesEntityPresentationInfo
ImageObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::ImageObject
Places = Azure::CognitiveServices::EntitySearch::V1_0::Models::Places
Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error
PostalAddress = Azure::CognitiveServices::EntitySearch::V1_0::Models::PostalAddress
Place = Azure::CognitiveServices::EntitySearch::V1_0::Models::Place
Organization = Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization
Intangible = Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible
ContractualRulesAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesAttribution
MediaObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject
CivicStructure = Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure
LocalBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness
Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error
TouristAttraction = Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction
Airport = Azure::CognitiveServices::EntitySearch::V1_0::Models::Airport
License = Azure::CognitiveServices::EntitySearch::V1_0::Models::License
StructuredValue = Azure::CognitiveServices::EntitySearch::V1_0::Models::StructuredValue
Expand All @@ -52,7 +52,7 @@ module Models
EntityScenario = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityScenario
AnswerType = Azure::CognitiveServices::EntitySearch::V1_0::Models::AnswerType
ResponseFormat = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat
TouristAttraction = Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction
Organization = Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization
EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType
ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse
end
Expand Down Expand Up @@ -90,15 +90,15 @@ class ModelClasses
def entities
Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities
end
def response
Azure::CognitiveServices::EntitySearch::V1_0::Models::Response
end
def response_base
Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase
end
def query_context
Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext
end
def response
Azure::CognitiveServices::EntitySearch::V1_0::Models::Response
end
def search_response
Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResponse
end
Expand Down Expand Up @@ -138,15 +138,15 @@ def image_object
def places
Azure::CognitiveServices::EntitySearch::V1_0::Models::Places
end
def error
Azure::CognitiveServices::EntitySearch::V1_0::Models::Error
end
def postal_address
Azure::CognitiveServices::EntitySearch::V1_0::Models::PostalAddress
end
def place
Azure::CognitiveServices::EntitySearch::V1_0::Models::Place
end
def organization
Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization
end
def intangible
Azure::CognitiveServices::EntitySearch::V1_0::Models::Intangible
end
Expand All @@ -162,8 +162,8 @@ def civic_structure
def local_business
Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness
end
def error
Azure::CognitiveServices::EntitySearch::V1_0::Models::Error
def tourist_attraction
Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction
end
def airport
Azure::CognitiveServices::EntitySearch::V1_0::Models::Airport
Expand Down Expand Up @@ -216,8 +216,8 @@ def answer_type
def response_format
Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat
end
def tourist_attraction
Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction
def organization
Azure::CognitiveServices::EntitySearch::V1_0::Models::Organization
end
def entity_type
Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType
Expand Down
Loading

0 comments on commit 91e9b9e

Please sign in to comment.