![]() |
![]()
| ![]() |
![]()
NAMEPaws::LicenseManager::CreateLicenseConfiguration - Arguments for method CreateLicenseConfiguration on Paws::LicenseManager DESCRIPTIONThis class represents the parameters used for calling the method CreateLicenseConfiguration on the AWS License Manager service. Use the attributes of this class as arguments to method CreateLicenseConfiguration. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateLicenseConfiguration. SYNOPSISmy $license-manager = Paws->service('LicenseManager'); my $CreateLicenseConfigurationResponse = $license -manager->CreateLicenseConfiguration( LicenseCountingType => 'vCPU', Name => 'MyString', Description => 'MyString', # OPTIONAL DisassociateWhenNotFound => 1, # OPTIONAL LicenseCount => 1, # OPTIONAL LicenseCountHardLimit => 1, # OPTIONAL LicenseRules => [ 'MyString', ... ], # OPTIONAL ProductInformationList => [ { ProductInformationFilterList => [ { ProductInformationFilterComparator => 'MyString', ProductInformationFilterName => 'MyString', ProductInformationFilterValue => [ 'MyString', ... ], }, ... ], ResourceType => 'MyString', }, ... ], # OPTIONAL Tags => [ { Key => 'MyString', Value => 'MyString', }, ... ], # OPTIONAL ); # Results: my $LicenseConfigurationArn = $CreateLicenseConfigurationResponse->LicenseConfigurationArn; # Returns a L<Paws::LicenseManager::CreateLicenseConfigurationResponse> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/license-manager/CreateLicenseConfiguration> ATTRIBUTESDescription => StrDescription of the license configuration. DisassociateWhenNotFound => BoolWhen true, disassociates a resource when software is uninstalled. LicenseCount => IntNumber of licenses managed by the license configuration. LicenseCountHardLimit => BoolIndicates whether hard or soft license enforcement is used. Exceeding a hard limit blocks the launch of new instances. REQUIRED LicenseCountingType => StrDimension used to track the license inventory. Valid values are: "vCPU", "Instance", "Core", "Socket" LicenseRules => ArrayRef[Str|Undef]License rules. The syntax is #name=value (for example, dimension, as follows.
The unit for "licenseAffinityToHost" is days and the range is 1 to 180. The possible values for "allowedTenancy" are "EC2-Default", "EC2-DedicatedHost", and "EC2-DedicatedInstance". The possible values for "honorVcpuOptimization" are "True" and "False". REQUIRED Name => StrName of the license configuration. ProductInformationList => ArrayRef[Paws::LicenseManager::ProductInformation]Product information. Tags => ArrayRef[Paws::LicenseManager::Tag]Tags to add to the license configuration. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateLicenseConfiguration in Paws::LicenseManager BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|