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

[AutoPR privatedns/resource-manager] Fix JavaScript configuration for ARM Private DNS SDK #2272

Closed
wants to merge 1 commit into from
Closed
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# 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.

require 'uri'
require 'cgi'
require 'date'
require 'json'
require 'base64'
require 'erb'
require 'securerandom'
require 'time'
require 'timeliness'
require 'faraday'
require 'faraday-cookie_jar'
require 'concurrent'
require 'ms_rest'
require '2018-09-01/generated/azure_mgmt_privatedns/module_definition'
require 'ms_rest_azure'

module Azure::PrivateDns::Mgmt::V2018_09_01
autoload :PrivateZones, '2018-09-01/generated/azure_mgmt_privatedns/private_zones.rb'
autoload :VirtualNetworkLinks, '2018-09-01/generated/azure_mgmt_privatedns/virtual_network_links.rb'
autoload :RecordSets, '2018-09-01/generated/azure_mgmt_privatedns/record_sets.rb'
autoload :PrivateDnsManagementClient, '2018-09-01/generated/azure_mgmt_privatedns/private_dns_management_client.rb'

module Models
autoload :PtrRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/ptr_record.rb'
autoload :SoaRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/soa_record.rb'
autoload :PrivateZoneListResult, '2018-09-01/generated/azure_mgmt_privatedns/models/private_zone_list_result.rb'
autoload :SrvRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/srv_record.rb'
autoload :SubResource, '2018-09-01/generated/azure_mgmt_privatedns/models/sub_resource.rb'
autoload :VirtualNetworkLinkListResult, '2018-09-01/generated/azure_mgmt_privatedns/models/virtual_network_link_list_result.rb'
autoload :AaaaRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/aaaa_record.rb'
autoload :TxtRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/txt_record.rb'
autoload :MxRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/mx_record.rb'
autoload :ARecord, '2018-09-01/generated/azure_mgmt_privatedns/models/arecord.rb'
autoload :RecordSetListResult, '2018-09-01/generated/azure_mgmt_privatedns/models/record_set_list_result.rb'
autoload :CnameRecord, '2018-09-01/generated/azure_mgmt_privatedns/models/cname_record.rb'
autoload :Resource, '2018-09-01/generated/azure_mgmt_privatedns/models/resource.rb'
autoload :TrackedResource, '2018-09-01/generated/azure_mgmt_privatedns/models/tracked_resource.rb'
autoload :PrivateZone, '2018-09-01/generated/azure_mgmt_privatedns/models/private_zone.rb'
autoload :VirtualNetworkLink, '2018-09-01/generated/azure_mgmt_privatedns/models/virtual_network_link.rb'
autoload :ProxyResource, '2018-09-01/generated/azure_mgmt_privatedns/models/proxy_resource.rb'
autoload :RecordSet, '2018-09-01/generated/azure_mgmt_privatedns/models/record_set.rb'
autoload :ProvisioningState, '2018-09-01/generated/azure_mgmt_privatedns/models/provisioning_state.rb'
autoload :VirtualNetworkLinkState, '2018-09-01/generated/azure_mgmt_privatedns/models/virtual_network_link_state.rb'
autoload :RecordType, '2018-09-01/generated/azure_mgmt_privatedns/models/record_type.rb'
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# 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::PrivateDns::Mgmt::V2018_09_01
module Models
#
# An AAAA record.
#
class AaaaRecord

include MsRestAzure

# @return [String] The IPv6 address of this AAAA record.
attr_accessor :ipv6address


#
# Mapper for AaaaRecord class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'AaaaRecord',
type: {
name: 'Composite',
class_name: 'AaaaRecord',
model_properties: {
ipv6address: {
required: false,
serialized_name: 'ipv6Address',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# 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::PrivateDns::Mgmt::V2018_09_01
module Models
#
# An A record.
#
class ARecord

include MsRestAzure

# @return [String] The IPv4 address of this A record.
attr_accessor :ipv4address


#
# Mapper for ARecord class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'ARecord',
type: {
name: 'Composite',
class_name: 'ARecord',
model_properties: {
ipv4address: {
required: false,
serialized_name: 'ipv4Address',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# 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::PrivateDns::Mgmt::V2018_09_01
module Models
#
# A CNAME record.
#
class CnameRecord

include MsRestAzure

# @return [String] The canonical name for this CNAME record.
attr_accessor :cname


#
# Mapper for CnameRecord class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'CnameRecord',
type: {
name: 'Composite',
class_name: 'CnameRecord',
model_properties: {
cname: {
required: false,
serialized_name: 'cname',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# 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::PrivateDns::Mgmt::V2018_09_01
module Models
#
# An MX record.
#
class MxRecord

include MsRestAzure

# @return [Integer] The preference value for this MX record.
attr_accessor :preference

# @return [String] The domain name of the mail host for this MX record.
attr_accessor :exchange


#
# Mapper for MxRecord class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
required: false,
serialized_name: 'MxRecord',
type: {
name: 'Composite',
class_name: 'MxRecord',
model_properties: {
preference: {
required: false,
serialized_name: 'preference',
type: {
name: 'Number'
}
},
exchange: {
required: false,
serialized_name: 'exchange',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end
Loading