public function create($script, $DistributionIDList, $Label, $Description = null, $isPublic = null, $rev_note = null)
    {
        return $this->call('stackscript.create', [
            'script'             => $script,
            'DistributionIDList' => $DistributionIDList,
            'Label'              => $Label,
            'Description'        => $Description,
            'isPublic'           => $isPublic,
            'rev_note'           => $rev_note,
        ]);
    }
public function create($script, $DistributionIDList, $Label, $Description = null, $isPublic = null, $rev_note = null)
    {
        return $this->call('stackscript.create', [
            'script'             => $script,
            'DistributionIDList' => $DistributionIDList,
            'Label'              => $Label,
            'Description'        => $Description,
            'isPublic'           => $isPublic,
            'rev_note'           => $rev_note,
        ]);
    }
public function create ( $ script , $ DistributionIDList , $ Label , $ Description = null , $ isPublic = null , $ rev_note = null ) { return $ this -> call ( 'stackscript.create' , [ 'script' => $ script , 'DistributionIDList' => $ DistributionIDList , 'Label' => $ Label , 'Description' => $ Description , 'isPublic' => $ isPublic , 'rev_note' => $ rev_note , ] ) ; }
Create a StackScript.

@param string $script             [required] The actual script
@param string $DistributionIDList [required] Comma delimited list of DistributionIDs that this script works on
@param string $Label              [required] The Label for this StackScript
@param string $Description        [optional]
@param bool   $isPublic           [optional] Whether this StackScript is published in the Library, for everyone to use
@param string $rev_note           [optional]

@return array
Create a StackScript .