Class: Fog::DNS::AzureRM::RecordSet
- Inherits:
-
Model
- Object
- Model
- Fog::DNS::AzureRM::RecordSet
- Defined in:
- lib/fog/azurerm/models/dns/record_set.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
22 23 24 |
# File 'lib/fog/azurerm/models/dns/record_set.rb', line 22 def destroy service.delete_record_set(name, resource_group, zone_name, type.split("/").last) end |
#save ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/fog/azurerm/models/dns/record_set.rb', line 12 def save requires :name requires :resource_group requires :zone_name requires :records requires :type requires :ttl service.create_record_set(resource_group, zone_name, name, records, type, ttl) end |