Method: Fog::DNS::AzureRM::Mock#get_record_set

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

#get_record_setObject



20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/fog/azurerm/requests/dns/get_record_set.rb', line 20

def get_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' => '3376a38f-a53f-4ed0-a2e7-dfaba67dbb40',
    'location' => 'global',
    'properties' =>
      {
        'metadata' => nil,
        'fqdn' => 'name.zone_name',
        'TTL' => 60,
        'ARecords' =>
          [
            {
              'ipv4Address' => '1.2.3.4'
            },
            {
              'ipv4Address' => '1.2.3.3'
            }
          ]
      }
  }
end