/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the license-manager-2018-08-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.LicenseManager.Model
{
///
/// Describes product information for a license configuration.
///
public partial class ProductInformation
{
private List _productInformationFilterList = new List();
private string _resourceType;
///
/// Gets and sets the property ProductInformationFilterList.
///
/// A Product information filter consists of a ProductInformationFilterComparator
/// which is a logical operator, a ProductInformationFilterName
which specifies
/// the type of filter being declared, and a ProductInformationFilterValue
/// that specifies the value to filter on.
///
///
///
/// Accepted values for ProductInformationFilterName
are listed here along
/// with descriptions and valid options for ProductInformationFilterComparator
.
///
///
///
///
/// The following filters and are supported when the resource type is SSM_MANAGED
:
///
/// -
///
///
Application Name
- The name of the application. Logical operator is
/// EQUALS
.
///
/// -
///
///
Application Publisher
- The publisher of the application. Logical operator
/// is EQUALS
.
///
/// -
///
///
Application Version
- The version of the application. Logical operator
/// is EQUALS
.
///
/// -
///
///
Platform Name
- The name of the platform. Logical operator is EQUALS
.
///
/// -
///
///
Platform Type
- The platform type. Logical operator is EQUALS
.
///
/// -
///
///
Tag:key
- The key of a tag attached to an Amazon Web Services resource
/// you wish to exclude from automated discovery. Logical operator is NOT_EQUALS
.
/// The key for your tag must be appended to Tag:
following the example:
/// Tag:name-of-your-key
. ProductInformationFilterValue
is optional
/// if you are not using values for the key.
///
/// -
///
///
AccountId
- The 12-digit ID of an Amazon Web Services account you wish
/// to exclude from automated discovery. Logical operator is NOT_EQUALS
.
///
/// -
///
///
License Included
- The type of license included. Logical operators are
/// EQUALS
and NOT_EQUALS
. Possible values are: sql-server-enterprise
/// | sql-server-standard
| sql-server-web
| windows-server-datacenter
.
///
///
///
/// The following filters and logical operators are supported when the resource type is
/// RDS
:
///
/// -
///
///
Engine Edition
- The edition of the database engine. Logical operator
/// is EQUALS
. Possible values are: oracle-ee
| oracle-se
/// | oracle-se1
| oracle-se2
.
///
/// -
///
///
License Pack
- The license pack. Logical operator is EQUALS
.
/// Possible values are: data guard
| diagnostic pack sqlt
|
/// tuning pack sqlt
| ols
| olap
.
///
///
///
[AWSProperty(Required=true)]
public List ProductInformationFilterList
{
get { return this._productInformationFilterList; }
set { this._productInformationFilterList = value; }
}
// Check to see if ProductInformationFilterList property is set
internal bool IsSetProductInformationFilterList()
{
return this._productInformationFilterList != null && this._productInformationFilterList.Count > 0;
}
///
/// Gets and sets the property ResourceType.
///
/// Resource type. The possible values are SSM_MANAGED
| RDS
.
///
///
[AWSProperty(Required=true)]
public string ResourceType
{
get { return this._resourceType; }
set { this._resourceType = value; }
}
// Check to see if ResourceType property is set
internal bool IsSetResourceType()
{
return this._resourceType != null;
}
}
}