blib/lib/Paws/LicenseManager/LicenseConfiguration.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::LicenseManager::LicenseConfiguration;
3 use Moose;
4 has AutomatedDiscoveryInformation => (is => 'ro', isa => 'Paws::LicenseManager::AutomatedDiscoveryInformation');
5 has ConsumedLicenses => (is => 'ro', isa => 'Int');
6 has ConsumedLicenseSummaryList => (is => 'ro', isa => 'ArrayRef[Paws::LicenseManager::ConsumedLicenseSummary]');
7 has Description => (is => 'ro', isa => 'Str');
8 has DisassociateWhenNotFound => (is => 'ro', isa => 'Bool');
9 has LicenseConfigurationArn => (is => 'ro', isa => 'Str');
10 has LicenseConfigurationId => (is => 'ro', isa => 'Str');
11 has LicenseCount => (is => 'ro', isa => 'Int');
12 has LicenseCountHardLimit => (is => 'ro', isa => 'Bool');
13 has LicenseCountingType => (is => 'ro', isa => 'Str');
14 has LicenseRules => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
15 has ManagedResourceSummaryList => (is => 'ro', isa => 'ArrayRef[Paws::LicenseManager::ManagedResourceSummary]');
16 has Name => (is => 'ro', isa => 'Str');
17 has OwnerAccountId => (is => 'ro', isa => 'Str');
18 has ProductInformationList => (is => 'ro', isa => 'ArrayRef[Paws::LicenseManager::ProductInformation]');
19 has Status => (is => 'ro', isa => 'Str');
20  
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::LicenseManager::LicenseConfiguration
28  
29 =head1 USAGE
30  
31 This class represents one of two things:
32  
33 =head3 Arguments in a call to a service
34  
35 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36 Each attribute should be used as a named argument in the calls that expect this type of object.
37  
38 As an example, if Att1 is expected to be a Paws::LicenseManager::LicenseConfiguration object:
39  
40 $service_obj->Method(Att1 => { AutomatedDiscoveryInformation => $value, ..., Status => $value });
41  
42 =head3 Results returned from an API call
43  
44 Use accessors for each attribute. If Att1 is expected to be an Paws::LicenseManager::LicenseConfiguration object:
45  
46 $result = $service_obj->Method(...);
47 $result->Att1->AutomatedDiscoveryInformation
48  
49 =head1 DESCRIPTION
50  
51 A license configuration is an abstraction of a customer license
52 agreement that can be consumed and enforced by License Manager.
53 Components include specifications for the license type (licensing by
54 instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy,
55 Dedicated Instance, Dedicated Host, or all of these), host affinity
56 (how long a VM must be associated with a host), and the number of
57 licenses purchased and used.
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 AutomatedDiscoveryInformation => L<Paws::LicenseManager::AutomatedDiscoveryInformation>
63  
64 Automated discovery information.
65  
66  
67 =head2 ConsumedLicenses => Int
68  
69 Number of licenses consumed.
70  
71  
72 =head2 ConsumedLicenseSummaryList => ArrayRef[L<Paws::LicenseManager::ConsumedLicenseSummary>]
73  
74 Summaries for licenses consumed by various resources.
75  
76  
77 =head2 Description => Str
78  
79 Description of the license configuration.
80  
81  
82 =head2 DisassociateWhenNotFound => Bool
83  
84 When true, disassociates a resource when software is uninstalled.
85  
86  
87 =head2 LicenseConfigurationArn => Str
88  
89 Amazon Resource Name (ARN) of the license configuration.
90  
91  
92 =head2 LicenseConfigurationId => Str
93  
94 Unique ID of the license configuration.
95  
96  
97 =head2 LicenseCount => Int
98  
99 Number of licenses managed by the license configuration.
100  
101  
102 =head2 LicenseCountHardLimit => Bool
103  
104 Number of available licenses as a hard limit.
105  
106  
107 =head2 LicenseCountingType => Str
108  
109 Dimension to use to track the license inventory.
110  
111  
112 =head2 LicenseRules => ArrayRef[Str|Undef]
113  
114 License rules.
115  
116  
117 =head2 ManagedResourceSummaryList => ArrayRef[L<Paws::LicenseManager::ManagedResourceSummary>]
118  
119 Summaries for managed resources.
120  
121  
122 =head2 Name => Str
123  
124 Name of the license configuration.
125  
126  
127 =head2 OwnerAccountId => Str
128  
129 Account ID of the license configuration's owner.
130  
131  
132 =head2 ProductInformationList => ArrayRef[L<Paws::LicenseManager::ProductInformation>]
133  
134 Product information.
135  
136  
137 =head2 Status => Str
138  
139 Status of the license configuration.
140  
141  
142  
143 =head1 SEE ALSO
144  
145 This class forms part of L<Paws>, describing an object used in L<Paws::LicenseManager>
146  
147 =head1 BUGS and CONTRIBUTIONS
148  
149 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
150  
151 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
152  
153 =cut
154