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

[AutoPR sql/resource-manager] Managed Instance short term retention #1874

Merged
merged 1 commit into from
Nov 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 79 additions & 79 deletions azure_sdk/lib/latest/modules/contentmoderator_profile_module.rb

Large diffs are not rendered by default.

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

module Models
ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode
ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode
Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response
SafeSearch = Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch
TextFormat = Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat
ResponseBase = Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase
QueryContext = Azure::CognitiveServices::CustomSearch::V1_0::Models::QueryContext
Query = Azure::CognitiveServices::CustomSearch::V1_0::Models::Query
Expand All @@ -18,16 +23,11 @@ module Models
SearchResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResponse
SearchResultsAnswer = Azure::CognitiveServices::CustomSearch::V1_0::Models::SearchResultsAnswer
Identifiable = Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable
Response = Azure::CognitiveServices::CustomSearch::V1_0::Models::Response
Answer = Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer
Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing
CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork
ErrorCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode
ErrorSubCode = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode
ErrorResponse = Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse
Error = Azure::CognitiveServices::CustomSearch::V1_0::Models::Error
SafeSearch = Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch
TextFormat = Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat
CreativeWork = Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork
Thing = Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing
end

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

class ModelClasses
def error_sub_code
Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode
end
def error_code
Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode
end
def response
Azure::CognitiveServices::CustomSearch::V1_0::Models::Response
end
def safe_search
Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch
end
def text_format
Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat
end
def response_base
Azure::CognitiveServices::CustomSearch::V1_0::Models::ResponseBase
end
Expand Down Expand Up @@ -87,35 +102,20 @@ def search_results_answer
def identifiable
Azure::CognitiveServices::CustomSearch::V1_0::Models::Identifiable
end
def response
Azure::CognitiveServices::CustomSearch::V1_0::Models::Response
end
def answer
Azure::CognitiveServices::CustomSearch::V1_0::Models::Answer
end
def thing
Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing
end
def creative_work
Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork
end
def error_code
Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorCode
end
def error_sub_code
Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorSubCode
end
def error_response
Azure::CognitiveServices::CustomSearch::V1_0::Models::ErrorResponse
end
def error
Azure::CognitiveServices::CustomSearch::V1_0::Models::Error
end
def safe_search
Azure::CognitiveServices::CustomSearch::V1_0::Models::SafeSearch
def creative_work
Azure::CognitiveServices::CustomSearch::V1_0::Models::CreativeWork
end
def text_format
Azure::CognitiveServices::CustomSearch::V1_0::Models::TextFormat
def thing
Azure::CognitiveServices::CustomSearch::V1_0::Models::Thing
end
end
end
Expand Down
34 changes: 17 additions & 17 deletions azure_sdk/lib/latest/modules/entitysearch_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ module EntitySearch
EntitiesOperations = Azure::CognitiveServices::EntitySearch::V1_0::EntitiesOperations

module Models
Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities
ResponseBase = Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase
QueryContext = Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext
Entities = Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities
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
Answer = Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer
Thing = Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing
Identifiable = Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable
CreativeWork = Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork
ErrorCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorCode
ErrorSubCode = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorSubCode
Expand All @@ -34,12 +34,12 @@ module Models
MediaObject = Azure::CognitiveServices::EntitySearch::V1_0::Models::MediaObject
CivicStructure = Azure::CognitiveServices::EntitySearch::V1_0::Models::CivicStructure
LocalBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness
TouristAttraction = Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction
Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error
Airport = Azure::CognitiveServices::EntitySearch::V1_0::Models::Airport
License = Azure::CognitiveServices::EntitySearch::V1_0::Models::License
StructuredValue = Azure::CognitiveServices::EntitySearch::V1_0::Models::StructuredValue
EntertainmentBusiness = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntertainmentBusiness
Error = Azure::CognitiveServices::EntitySearch::V1_0::Models::Error
MovieTheater = Azure::CognitiveServices::EntitySearch::V1_0::Models::MovieTheater
ContractualRulesLicenseAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLicenseAttribution
ContractualRulesLinkAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLinkAttribution
ContractualRulesMediaAttribution = Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesMediaAttribution
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
MovieTheater = Azure::CognitiveServices::EntitySearch::V1_0::Models::MovieTheater
TouristAttraction = Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction
EntityType = Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType
ErrorResponse = Azure::CognitiveServices::EntitySearch::V1_0::Models::ErrorResponse
end
Expand Down Expand Up @@ -87,15 +87,15 @@ def method_missing(method, *args)
end

class ModelClasses
def entities
Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities
end
def response_base
Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseBase
end
def query_context
Azure::CognitiveServices::EntitySearch::V1_0::Models::QueryContext
end
def entities
Azure::CognitiveServices::EntitySearch::V1_0::Models::Entities
end
def response
Azure::CognitiveServices::EntitySearch::V1_0::Models::Response
end
Expand All @@ -105,15 +105,15 @@ def search_response
def search_results_answer
Azure::CognitiveServices::EntitySearch::V1_0::Models::SearchResultsAnswer
end
def identifiable
Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable
end
def answer
Azure::CognitiveServices::EntitySearch::V1_0::Models::Answer
end
def thing
Azure::CognitiveServices::EntitySearch::V1_0::Models::Thing
end
def identifiable
Azure::CognitiveServices::EntitySearch::V1_0::Models::Identifiable
end
def creative_work
Azure::CognitiveServices::EntitySearch::V1_0::Models::CreativeWork
end
Expand Down Expand Up @@ -162,8 +162,8 @@ def civic_structure
def local_business
Azure::CognitiveServices::EntitySearch::V1_0::Models::LocalBusiness
end
def tourist_attraction
Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction
def error
Azure::CognitiveServices::EntitySearch::V1_0::Models::Error
end
def airport
Azure::CognitiveServices::EntitySearch::V1_0::Models::Airport
Expand All @@ -177,8 +177,8 @@ def structured_value
def entertainment_business
Azure::CognitiveServices::EntitySearch::V1_0::Models::EntertainmentBusiness
end
def error
Azure::CognitiveServices::EntitySearch::V1_0::Models::Error
def movie_theater
Azure::CognitiveServices::EntitySearch::V1_0::Models::MovieTheater
end
def contractual_rules_license_attribution
Azure::CognitiveServices::EntitySearch::V1_0::Models::ContractualRulesLicenseAttribution
Expand Down Expand Up @@ -216,8 +216,8 @@ def answer_type
def response_format
Azure::CognitiveServices::EntitySearch::V1_0::Models::ResponseFormat
end
def movie_theater
Azure::CognitiveServices::EntitySearch::V1_0::Models::MovieTheater
def tourist_attraction
Azure::CognitiveServices::EntitySearch::V1_0::Models::TouristAttraction
end
def entity_type
Azure::CognitiveServices::EntitySearch::V1_0::Models::EntityType
Expand Down
46 changes: 23 additions & 23 deletions azure_sdk/lib/latest/modules/face_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@

module Azure::Profiles::Latest
module Face
FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations
PersonGroupPerson = Azure::CognitiveServices::Face::V1_0::PersonGroupPerson
Face = Azure::CognitiveServices::Face::V1_0::Face
PersonGroupOperations = Azure::CognitiveServices::Face::V1_0::PersonGroupOperations
FaceListOperations = Azure::CognitiveServices::Face::V1_0::FaceListOperations
Face = Azure::CognitiveServices::Face::V1_0::Face

module Models
FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode
ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel
FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType
Error = Azure::CognitiveServices::Face::V1_0::Models::Error
APIError = Azure::CognitiveServices::Face::V1_0::Models::APIError
FindSimilarRequest = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarRequest
Expand Down Expand Up @@ -49,19 +52,16 @@ module Models
FaceList = Azure::CognitiveServices::Face::V1_0::Models::FaceList
GlassesType = Azure::CognitiveServices::Face::V1_0::Models::GlassesType
Person = Azure::CognitiveServices::Face::V1_0::Models::Person
Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender
BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel
HairColorType = Azure::CognitiveServices::Face::V1_0::Models::HairColorType
AccessoryType = Azure::CognitiveServices::Face::V1_0::Models::AccessoryType
BlurLevel = Azure::CognitiveServices::Face::V1_0::Models::BlurLevel
ExposureLevel = Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel
NoiseLevel = Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel
FindSimilarMatchMode = Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode
Gender = Azure::CognitiveServices::Face::V1_0::Models::Gender
TrainingStatusType = Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType
FaceAttributeType = Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType
end

class FaceDataClass
attr_reader :face_list_operations, :person_group_person, :face, :person_group_operations, :configurable, :base_url, :options, :model_classes
attr_reader :person_group_person, :person_group_operations, :face_list_operations, :face, :configurable, :base_url, :options, :model_classes

def initialize(configurable, base_url=nil, options=nil)
@configurable, @base_url, @options = configurable, base_url, options
Expand All @@ -71,10 +71,10 @@ def initialize(configurable, base_url=nil, options=nil)
@client_0.subscription_id = configurable.subscription_id
end
add_telemetry(@client_0)
@face_list_operations = @client_0.face_list_operations
@person_group_person = @client_0.person_group_person
@face = @client_0.face
@person_group_operations = @client_0.person_group_operations
@face_list_operations = @client_0.face_list_operations
@face = @client_0.face

@model_classes = ModelClasses.new
end
Expand All @@ -93,6 +93,15 @@ def method_missing(method, *args)
end

class ModelClasses
def find_similar_match_mode
Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode
end
def exposure_level
Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel
end
def face_attribute_type
Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType
end
def error
Azure::CognitiveServices::Face::V1_0::Models::Error
end
Expand Down Expand Up @@ -204,33 +213,24 @@ def glasses_type
def person
Azure::CognitiveServices::Face::V1_0::Models::Person
end
def gender
Azure::CognitiveServices::Face::V1_0::Models::Gender
def blur_level
Azure::CognitiveServices::Face::V1_0::Models::BlurLevel
end
def hair_color_type
Azure::CognitiveServices::Face::V1_0::Models::HairColorType
end
def accessory_type
Azure::CognitiveServices::Face::V1_0::Models::AccessoryType
end
def blur_level
Azure::CognitiveServices::Face::V1_0::Models::BlurLevel
end
def exposure_level
Azure::CognitiveServices::Face::V1_0::Models::ExposureLevel
end
def noise_level
Azure::CognitiveServices::Face::V1_0::Models::NoiseLevel
end
def find_similar_match_mode
Azure::CognitiveServices::Face::V1_0::Models::FindSimilarMatchMode
def gender
Azure::CognitiveServices::Face::V1_0::Models::Gender
end
def training_status_type
Azure::CognitiveServices::Face::V1_0::Models::TrainingStatusType
end
def face_attribute_type
Azure::CognitiveServices::Face::V1_0::Models::FaceAttributeType
end
end
end
end
Expand Down
16 changes: 8 additions & 8 deletions azure_sdk/lib/latest/modules/imagesearch_profile_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ module ImageSearch

module Models
ResponseBase = Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase
Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response
Query = Azure::CognitiveServices::ImageSearch::V1_0::Models::Query
WebPage = Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage
Response = Azure::CognitiveServices::ImageSearch::V1_0::Models::Response
SearchResultsAnswer = Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer
Identifiable = Azure::CognitiveServices::ImageSearch::V1_0::Models::Identifiable
Answer = Azure::CognitiveServices::ImageSearch::V1_0::Models::Answer
Expand All @@ -25,8 +25,8 @@ module Models
Organization = Azure::CognitiveServices::ImageSearch::V1_0::Models::Organization
Intangible = Azure::CognitiveServices::ImageSearch::V1_0::Models::Intangible
MediaObject = Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject
StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue
Error = Azure::CognitiveServices::ImageSearch::V1_0::Models::Error
StructuredValue = Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue
Images = Azure::CognitiveServices::ImageSearch::V1_0::Models::Images
RelatedSearchesModule = Azure::CognitiveServices::ImageSearch::V1_0::Models::RelatedSearchesModule
InsightsTag = Azure::CognitiveServices::ImageSearch::V1_0::Models::InsightsTag
Expand Down Expand Up @@ -102,15 +102,15 @@ class ModelClasses
def response_base
Azure::CognitiveServices::ImageSearch::V1_0::Models::ResponseBase
end
def response
Azure::CognitiveServices::ImageSearch::V1_0::Models::Response
end
def query
Azure::CognitiveServices::ImageSearch::V1_0::Models::Query
end
def web_page
Azure::CognitiveServices::ImageSearch::V1_0::Models::WebPage
end
def response
Azure::CognitiveServices::ImageSearch::V1_0::Models::Response
end
def search_results_answer
Azure::CognitiveServices::ImageSearch::V1_0::Models::SearchResultsAnswer
end
Expand Down Expand Up @@ -147,12 +147,12 @@ def intangible
def media_object
Azure::CognitiveServices::ImageSearch::V1_0::Models::MediaObject
end
def structured_value
Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue
end
def error
Azure::CognitiveServices::ImageSearch::V1_0::Models::Error
end
def structured_value
Azure::CognitiveServices::ImageSearch::V1_0::Models::StructuredValue
end
def images
Azure::CognitiveServices::ImageSearch::V1_0::Models::Images
end
Expand Down
Loading