mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
909 B
Plaintext
26 lines
909 B
Plaintext
7 years ago
|
[ClassVersion("{{item.version}}")]
|
||
|
class ANSIBLE_xTestClass
|
||
|
{
|
||
|
[Write] String StringKey;
|
||
|
[Write] Boolean BooleanKey;
|
||
|
[Write] UInt32 UInt32Key;
|
||
|
[Write] String StringArrayKey[];
|
||
|
};
|
||
|
|
||
|
[ClassVersion("{{item.version}}"), FriendlyName("xTestResource")]
|
||
|
class ANSIBLE_xTestResource : OMI_BaseResource
|
||
|
{
|
||
|
[Key] String Path;
|
||
|
[Required, ValueMap{"Present", "Absent"}, Values{"Present", "Absent"}] String Ensure;
|
||
|
[Write] String StringParam;
|
||
|
[Write] UInt32 UInt32Param;
|
||
|
[Write] UInt64 UInt64Param;
|
||
|
[Write] String StringArrayParam[];
|
||
|
[Write] UInt32 UInt32ArrayParam[];
|
||
|
[Write] UInt64 UInt64ArrayParam[];
|
||
|
[Write] Boolean BooleanParam;
|
||
|
[Write, EmbeddedInstance("MSFT_Credential")] String PSCredentialParam;
|
||
|
[Write, EmbeddedInstance("ANSIBLE_xTestClass")] String CimInstanceParam;
|
||
|
[Write, EmbeddedInstance("ANSIBLE_xTestClass")] String CimInstanceArrayParam[];
|
||
|
};
|