1VM::EC2::VPC::DhcpOptioUnsse(r3)Contributed Perl DocumenVtMa:t:iEoCn2::VPC::DhcpOptions(3)
2
3
4

NAME

6       VM::EC2::VPC::DhcpOptions -- DHCP options set for an AWS Virtual
7       Private Cloud
8

SYNOPSIS

10        use VM::EC2;
11        my $ec2     = VM::EC2->new(...);
12        my $vpc     = $ec2->create_vpc('10.0.0.0/16');
13        my $options = $ec2->create_dhcp_options(-domain_name=>'test.com',
14                                                -domain_name_servers=>['204.16.255.55','216.239.34.10']);
15        $vpc->set_dhcp_options($options);
16

DESCRIPTION

18       Please see VM::EC2::Generic for methods shared by all VM::EC2 objects.
19

METHODS

21       These object methods are supported:
22
23        dhcpOptionsId         -- ID of the dhcp options
24        dhcpConfigurationSet  -- Hash of options
25
26       In addition, this object supports the following convenience methods:
27
28        options()                -- return list of DHCP options contained in this set
29        option('option-name')    -- return list of values for the named option. Note
30                                      that all options correspond to a list; calling in
31                                      a scalar context will return size of the list
32        associate_vpc($vpc_id)   -- Associate these options with the given VPC.
33        associated_vpcs()        -- Return list of VPCs associated with the DHCP option set.
34        as_string()              -- returns a string concatenation of all options
35

STRING OVERLOADING

37       When used in a string context, this object will be interpolated as the
38       dhcp ID.
39

SEE ALSO

41       VM::EC2 VM::EC2::Generic
42

AUTHOR

44       Lincoln Stein <lincoln.stein@gmail.com>.
45
46       Copyright (c) 2012 Ontario Institute for Cancer Research
47
48       This package and its accompanying libraries is free software; you can
49       redistribute it and/or modify it under the terms of the GPL (either
50       version 1, or at your option, any later version) or the Artistic
51       License 2.0.  Refer to LICENSE for the full license text. In addition,
52       please see DISCLAIMER.txt for disclaimers of warranty.
53
54
55
56perl v5.32.1                      2021-01-27      VM::EC2::VPC::DhcpOptions(3)
Impressum