зеркало из
1
0
Форкнуть 0

generate azure_mgmt_iot_central:v0.19.4

This commit is contained in:
Kai Ru 2021-02-26 11:42:30 +08:00
Родитель 600c7de31d
Коммит 5d17a8ace1
10 изменённых файлов: 189 добавлений и 63 удалений

Просмотреть файл

@ -11,17 +11,18 @@ module Azure::Profiles::Latest
Operations = Azure::IotCentral::Mgmt::V2018_09_01::Operations
module Models
AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
AppTemplatesResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
CloudErrorBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
CloudErrorBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
AppAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
AppTemplateLocations = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplateLocations
AppTemplatesResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
AppTemplate = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate
App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App
AppSku = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
@ -58,39 +59,42 @@ module Azure::Profiles::Latest
end
class ModelClasses
def app_list_result
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
end
def operation_display
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
end
def app_templates_result
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
end
def app_patch
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
end
def operation
Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
end
def cloud_error_body
Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
end
def operation_list_result
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
end
def app_sku_info
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
end
def operation
Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
end
def app_patch
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
end
def operation_list_result
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
end
def cloud_error_body
Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
end
def operation_inputs
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
end
def app_list_result
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
end
def app_availability_info
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
end
def resource
Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
end
def app_template_locations
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplateLocations
end
def app_templates_result
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
end
def app_template
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate
end

Просмотреть файл

@ -128,7 +128,7 @@ module Azure::IotCentral::Mgmt::V2017_07_01_privatepreview
#
def add_telemetry
sdk_information = 'azure_mgmt_iot_central'
sdk_information = "#{sdk_information}/0.19.3"
sdk_information = "#{sdk_information}/0.19.4"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -25,17 +25,18 @@ module Azure::IotCentral::Mgmt::V2018_09_01
autoload :IotCentralClient, '2018-09-01/generated/azure_mgmt_iot_central/iot_central_client.rb'
module Models
autoload :AppListResult, '2018-09-01/generated/azure_mgmt_iot_central/models/app_list_result.rb'
autoload :OperationDisplay, '2018-09-01/generated/azure_mgmt_iot_central/models/operation_display.rb'
autoload :AppTemplatesResult, '2018-09-01/generated/azure_mgmt_iot_central/models/app_templates_result.rb'
autoload :AppPatch, '2018-09-01/generated/azure_mgmt_iot_central/models/app_patch.rb'
autoload :Operation, '2018-09-01/generated/azure_mgmt_iot_central/models/operation.rb'
autoload :CloudErrorBody, '2018-09-01/generated/azure_mgmt_iot_central/models/cloud_error_body.rb'
autoload :OperationListResult, '2018-09-01/generated/azure_mgmt_iot_central/models/operation_list_result.rb'
autoload :AppSkuInfo, '2018-09-01/generated/azure_mgmt_iot_central/models/app_sku_info.rb'
autoload :Operation, '2018-09-01/generated/azure_mgmt_iot_central/models/operation.rb'
autoload :AppPatch, '2018-09-01/generated/azure_mgmt_iot_central/models/app_patch.rb'
autoload :OperationListResult, '2018-09-01/generated/azure_mgmt_iot_central/models/operation_list_result.rb'
autoload :CloudErrorBody, '2018-09-01/generated/azure_mgmt_iot_central/models/cloud_error_body.rb'
autoload :OperationInputs, '2018-09-01/generated/azure_mgmt_iot_central/models/operation_inputs.rb'
autoload :AppListResult, '2018-09-01/generated/azure_mgmt_iot_central/models/app_list_result.rb'
autoload :AppAvailabilityInfo, '2018-09-01/generated/azure_mgmt_iot_central/models/app_availability_info.rb'
autoload :Resource, '2018-09-01/generated/azure_mgmt_iot_central/models/resource.rb'
autoload :AppTemplateLocations, '2018-09-01/generated/azure_mgmt_iot_central/models/app_template_locations.rb'
autoload :AppTemplatesResult, '2018-09-01/generated/azure_mgmt_iot_central/models/app_templates_result.rb'
autoload :AppTemplate, '2018-09-01/generated/azure_mgmt_iot_central/models/app_template.rb'
autoload :App, '2018-09-01/generated/azure_mgmt_iot_central/models/app.rb'
autoload :AppSku, '2018-09-01/generated/azure_mgmt_iot_central/models/app_sku.rb'

Просмотреть файл

@ -79,7 +79,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps/{resourceName}'
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}'
request_url = @base_url || @client.base_url
@ -308,7 +308,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.IoTCentral/IoTApps'
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.IoTCentral/iotApps'
request_url = @base_url || @client.base_url
@ -401,7 +401,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps'
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps'
request_url = @base_url || @client.base_url
@ -812,7 +812,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
request_content = @client.serialize(request_mapper, app)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps/{resourceName}'
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}'
request_url = @base_url || @client.base_url
@ -936,7 +936,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
request_content = @client.serialize(request_mapper, app_patch)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps/{resourceName}'
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}'
request_url = @base_url || @client.base_url
@ -1036,7 +1036,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/IoTApps/{resourceName}'
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTCentral/iotApps/{resourceName}'
request_url = @base_url || @client.base_url

Просмотреть файл

@ -128,7 +128,7 @@ module Azure::IotCentral::Mgmt::V2018_09_01
#
def add_telemetry
sdk_information = 'azure_mgmt_iot_central'
sdk_information = "#{sdk_information}/0.19.3"
sdk_information = "#{sdk_information}/0.19.4"
add_user_agent_information(sdk_information)
end
end

Просмотреть файл

@ -30,6 +30,13 @@ module Azure::IotCentral::Mgmt::V2018_09_01
# @return [String] The description of the template.
attr_accessor :description
# @return [String] The industry of the template.
attr_accessor :industry
# @return [Array<AppTemplateLocations>] A list of locations that support
# the template.
attr_accessor :locations
#
# Mapper for AppTemplate class as Ruby Hash.
@ -97,6 +104,33 @@ module Azure::IotCentral::Mgmt::V2018_09_01
type: {
name: 'String'
}
},
industry: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'industry',
type: {
name: 'String'
}
},
locations: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'locations',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'AppTemplateLocationsElementType',
type: {
name: 'Composite',
class_name: 'AppTemplateLocations'
}
}
}
}
}
}

Просмотреть файл

@ -0,0 +1,59 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::IotCentral::Mgmt::V2018_09_01
module Models
#
# IoT Central Application Template Locations.
#
class AppTemplateLocations
include MsRestAzure
# @return [String] The ID of the location.
attr_accessor :id
# @return [String] The display name of the location.
attr_accessor :display_name
#
# Mapper for AppTemplateLocations class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AppTemplateLocations',
type: {
name: 'Composite',
class_name: 'AppTemplateLocations',
model_properties: {
id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'id',
type: {
name: 'String'
}
},
display_name: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'displayName',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

Просмотреть файл

@ -19,6 +19,12 @@ module Azure::IotCentral::Mgmt::V2018_09_01
# @return [OperationDisplay] The object that represents the operation.
attr_accessor :display
# @return [String] The intended executor of the operation.
attr_accessor :origin
# @return Additional descriptions for the operation.
attr_accessor :properties
#
# Mapper for Operation class as Ruby Hash.
@ -50,6 +56,24 @@ module Azure::IotCentral::Mgmt::V2018_09_01
name: 'Composite',
class_name: 'OperationDisplay'
}
},
origin: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'origin',
type: {
name: 'String'
}
},
properties: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties',
type: {
name: 'Object'
}
}
}
}

Просмотреть файл

@ -10,17 +10,18 @@ module Azure::IotCentral::Profiles::Latest
Operations = Azure::IotCentral::Mgmt::V2018_09_01::Operations
module Models
AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
OperationDisplay = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
AppTemplatesResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
CloudErrorBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
AppSkuInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
Operation = Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
AppPatch = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
OperationListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
CloudErrorBody = Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
OperationInputs = Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
AppListResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
AppAvailabilityInfo = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
Resource = Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
AppTemplateLocations = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplateLocations
AppTemplatesResult = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
AppTemplate = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate
App = Azure::IotCentral::Mgmt::V2018_09_01::Models::App
AppSku = Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSku
@ -72,39 +73,42 @@ module Azure::IotCentral::Profiles::Latest
end
class ModelClasses
def app_list_result
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
end
def operation_display
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationDisplay
end
def app_templates_result
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
end
def app_patch
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
end
def operation
Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
end
def cloud_error_body
Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
end
def operation_list_result
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
end
def app_sku_info
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppSkuInfo
end
def operation
Azure::IotCentral::Mgmt::V2018_09_01::Models::Operation
end
def app_patch
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppPatch
end
def operation_list_result
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationListResult
end
def cloud_error_body
Azure::IotCentral::Mgmt::V2018_09_01::Models::CloudErrorBody
end
def operation_inputs
Azure::IotCentral::Mgmt::V2018_09_01::Models::OperationInputs
end
def app_list_result
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppListResult
end
def app_availability_info
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppAvailabilityInfo
end
def resource
Azure::IotCentral::Mgmt::V2018_09_01::Models::Resource
end
def app_template_locations
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplateLocations
end
def app_templates_result
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplatesResult
end
def app_template
Azure::IotCentral::Mgmt::V2018_09_01::Models::AppTemplate
end

Просмотреть файл

@ -3,5 +3,5 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
module Azure::IotCentral::Mgmt
VERSION = '0.19.3'
VERSION = '0.19.4'
end