Class: Fog::DNS::StormOnDemand::Real
- Inherits:
-
Object
- Object
- Fog::DNS::StormOnDemand::Real
show all
- Includes:
- StormOnDemand::RealShared
- Defined in:
- lib/fog/storm_on_demand/dns.rb,
lib/fog/storm_on_demand/requests/dns/get_zone.rb,
lib/fog/storm_on_demand/requests/dns/get_record.rb,
lib/fog/storm_on_demand/requests/dns/list_zones.rb,
lib/fog/storm_on_demand/requests/dns/create_zone.rb,
lib/fog/storm_on_demand/requests/dns/delete_zone.rb,
lib/fog/storm_on_demand/requests/dns/update_zone.rb,
lib/fog/storm_on_demand/requests/dns/list_domains.rb,
lib/fog/storm_on_demand/requests/dns/list_records.rb,
lib/fog/storm_on_demand/requests/dns/renew_domain.rb,
lib/fog/storm_on_demand/requests/dns/create_record.rb,
lib/fog/storm_on_demand/requests/dns/delete_record.rb,
lib/fog/storm_on_demand/requests/dns/update_record.rb,
lib/fog/storm_on_demand/requests/dns/delete_reverse.rb,
lib/fog/storm_on_demand/requests/dns/update_reverse.rb,
lib/fog/storm_on_demand/requests/dns/create_record_region.rb,
lib/fog/storm_on_demand/requests/dns/delete_record_region.rb,
lib/fog/storm_on_demand/requests/dns/update_record_region.rb,
lib/fog/storm_on_demand/requests/dns/check_zone_delegation.rb
Constant Summary
StormOnDemand::RealShared::API_URL, StormOnDemand::RealShared::API_VERSION
Instance Method Summary
collapse
#initialize, #reload, #request
Instance Method Details
#check_zone_delegation(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/check_zone_delegation.rb', line 6
def check_zone_delegation(options={})
request(
:path => '/Network/DNS/Zone/delegation',
:body => Fog::JSON.encode(:params => options)
)
end
|
#create_record(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/create_record.rb', line 6
def create_record(options={})
request(
:path => '/Network/DNS/Record/create',
:body => Fog::JSON.encode(:params => options)
)
end
|
#create_record_region(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/create_record_region.rb', line 6
def create_record_region(options={})
request(
:path => '/Network/DNS/Record/Region/create',
:body => Fog::JSON.encode(:params => options)
)
end
|
#create_zone(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/create_zone.rb', line 6
def create_zone(options={})
request(
:path => '/Network/DNS/Zone/create',
:body => Fog::JSON.encode(:params => options)
)
end
|
#delete_record(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/delete_record.rb', line 6
def delete_record(options={})
request(
:path => '/Network/DNS/Record/delete',
:body => Fog::JSON.encode(:params => options)
)
end
|
#delete_record_region(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/delete_record_region.rb', line 6
def delete_record_region(options={})
request(
:path => '/Network/DNS/Record/Region/delete',
:body => Fog::JSON.encode(:params => options)
)
end
|
#delete_reverse(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/delete_reverse.rb', line 6
def delete_reverse(options={})
request(
:path => '/Network/DNS/Reverse/delete',
:body => Fog::JSON.encode(:params => options)
)
end
|
#delete_zone(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/delete_zone.rb', line 6
def delete_zone(options={})
request(
:path => '/Network/DNS/Zone/delete',
:body => Fog::JSON.encode(:params => options)
)
end
|
#get_record(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/get_record.rb', line 6
def get_record(options={})
request(
:path => '/Network/DNS/Record/details',
:body => Fog::JSON.encode(:params => options)
)
end
|
#get_zone(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/get_zone.rb', line 6
def get_zone(options={})
request(
:path => '/Network/DNS/Zone/details',
:body => Fog::JSON.encode(:params => options)
)
end
|
#list_domains(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/list_domains.rb', line 6
def list_domains(options={})
request(
:path => '/Network/DNS/Domain/list',
:body => Fog::JSON.encode(:params => options)
)
end
|
#list_records(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/list_records.rb', line 6
def list_records(options={})
request(
:path => '/Network/DNS/Record/list',
:body => Fog::JSON.encode(:params => options)
)
end
|
#list_zones(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/list_zones.rb', line 6
def list_zones(options={})
request(
:path => '/Network/DNS/Zone/list',
:body => Fog::JSON.encode(:params => options)
)
end
|
#renew_domain(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/renew_domain.rb', line 6
def renew_domain(options={})
request(
:path => '/Network/DNS/Domain/renew',
:body => Fog::JSON.encode(:params => options)
)
end
|
#update_record(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/update_record.rb', line 6
def update_record(options={})
request(
:path => '/Network/DNS/Record/update',
:body => Fog::JSON.encode(:params => options)
)
end
|
#update_record_region(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/update_record_region.rb', line 6
def update_record_region(options={})
request(
:path => '/Network/DNS/Record/Region/update',
:body => Fog::JSON.encode(:params => options)
)
end
|
#update_reverse(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/update_reverse.rb', line 6
def update_reverse(options={})
request(
:path => '/Network/DNS/Reverse/update',
:body => Fog::JSON.encode(:params => options)
)
end
|
#update_zone(options = {}) ⇒ Object
6
7
8
9
10
11
|
# File 'lib/fog/storm_on_demand/requests/dns/update_zone.rb', line 6
def update_zone(options={})
request(
:path => '/Network/DNS/Zone/update',
:body => Fog::JSON.encode(:params => options)
)
end
|