Method: Fog::DNS::AzureRM::Mock#create_or_update_record_set

Defined in:
lib/fog/azurerm/requests/dns/create_or_update_record_set.rb

#create_or_update_record_setObject



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/fog/azurerm/requests/dns/create_or_update_record_set.rb', line 47

def create_or_update_record_set(*)
  {
    'id' => '/subscriptions/########-####-####-####-############/resourceGroups/resource_group/providers/Microsoft.Network/dnszones/zone_name/record_type/name',
    'name' => 'name',
    'type' => 'Microsoft.Network/dnszones/record_type',
    'etag' => '7f159cb1-653d-4920-bc03-153c700412a2',
    'location' => 'global',
    'tags' => {},
    'properties' =>
      {
        'metadata' => {},
        'fqdn' => 'name.zone_name',
        'TTL' => 10,
        'ARecords' =>
          [
            {
              'ipv4Address' => '10.1.2.0'
            }
          ]
      }
  }
end