ApplicationProfile.LinuxApplicationProfile [SPFSDK][VMROLE]
Applies To: Windows Azure Pack
The ApplicationProfile.LinuxApplicationProfile object provides settings to configure a Linux-based virtual machine when it is provisioned.
Type Hierarchy
ResourceExtension [SPFSDK][VMROLE].ExtensionSettings [SPFSDK][VMROLE].ApplicationProfile.LinuxApplicationProfile
Syntax
{
"ApplicationProfile": {
...
"LinuxApplicationProfile": {
"RunOnceCommands": [
"string"
"string"
"string"
...
]
}
}
}
Properties
Name |
Type |
Required |
Default value |
Description |
---|---|---|---|---|
RunOnceCommands |
Array of String |
No |
None |
An array of commands to run during the provisioning of the Linux-based virtual machine. These commands are run in the order in which they are declared. |
Remarks
The following code example provides a sample ApplicationProfile.LinuxApplicationProfile object.
{
"ApplicationProfile": {
"Name": "ApplicationProfile1",
"ApplicationPayload": [
{
"ID": "49c1ccdb-9068-4b91-9409-0a7ca8a1d291",
"RelativePath": "./sharepointfiles"
}
],
"LinuxApplicationProfile": {
"RunOnceCommands": [
"ifconfig"
]
}
}
}
See Also
ExtensionSettings [SPFSDK][VMROLE]
ApplicationProfile.WindowsApplicationProfile [SPFSDK][VMROLE]