< Back
New-OctopusResource
Post
NAME New-OctopusResource
SYNOPSIS
Creates a new Octopus Resource. This is an advanced cmdlet and all its examples involve multiple lines of code.
Please check the advanced examples for a better reference:
https://github.com/Dalmirog/OctoPosh/wi ... d-Examples
SYNTAX
New-OctopusResource [[-Resource] <Resource>] [<CommonParameters>]
DESCRIPTION
Creates a new Octopus Resource. This is an advanced cmdlet and all its examples involve multiple lines of code.
Please check the advanced examples for a better reference:
https://github.com/Dalmirog/OctoPosh/wi ... d-Examples
PARAMETERS
-Resource <Resource>
Resource Object
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Octopus.Client.Model.Resource
Resource Object
OUTPUTS
Octopus.Client.Model.ChannelResource
Octopus.Client.Model.EnvironmentResource
Octopus.Client.Model.LibraryVariableSetResource
Octopus.Client.Model.LifecycleResource
Octopus.Client.Model.MachineResource
Octopus.Client.Model.NuGetFeedResource
Octopus.Client.Model.ProjectGroupResource
Octopus.Client.Model.ProjectResource
Octopus.Client.Model.TagSetResource
Octopus.Client.Model.TeamResource
Octopus.Client.Model.TenantResource
Octopus.Client.Model.UserResource
Octopus.Client.Model.UserRoleResource
---------- EXAMPLE 1 ----------
PS C:\\> $pg = Get-OctopusResourceModel -Resource ProjectGroup ; $pg.name = "NewProjectGroup" ; New-OctopusResource
-Resource $pg
Creates a new Project Group called "NewProjectGroup" on Octopus
RELATED LINKS
WebSite: http://Octoposh.net
Github Project: https://github.com/Dalmirog/OctoPosh/
Wiki: http://octoposh.readthedocs.io
QA and Feature requests: https://gitter.im/Dalmirog/OctoPosh#initial
SYNOPSIS
Creates a new Octopus Resource. This is an advanced cmdlet and all its examples involve multiple lines of code.
Please check the advanced examples for a better reference:
https://github.com/Dalmirog/OctoPosh/wi ... d-Examples
SYNTAX
New-OctopusResource [[-Resource] <Resource>] [<CommonParameters>]
DESCRIPTION
Creates a new Octopus Resource. This is an advanced cmdlet and all its examples involve multiple lines of code.
Please check the advanced examples for a better reference:
https://github.com/Dalmirog/OctoPosh/wi ... d-Examples
PARAMETERS
-Resource <Resource>
Resource Object
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Octopus.Client.Model.Resource
Resource Object
OUTPUTS
Octopus.Client.Model.ChannelResource
Octopus.Client.Model.EnvironmentResource
Octopus.Client.Model.LibraryVariableSetResource
Octopus.Client.Model.LifecycleResource
Octopus.Client.Model.MachineResource
Octopus.Client.Model.NuGetFeedResource
Octopus.Client.Model.ProjectGroupResource
Octopus.Client.Model.ProjectResource
Octopus.Client.Model.TagSetResource
Octopus.Client.Model.TeamResource
Octopus.Client.Model.TenantResource
Octopus.Client.Model.UserResource
Octopus.Client.Model.UserRoleResource
---------- EXAMPLE 1 ----------
PS C:\\> $pg = Get-OctopusResourceModel -Resource ProjectGroup ; $pg.name = "NewProjectGroup" ; New-OctopusResource
-Resource $pg
Creates a new Project Group called "NewProjectGroup" on Octopus
RELATED LINKS
WebSite: http://Octoposh.net
Github Project: https://github.com/Dalmirog/OctoPosh/
Wiki: http://octoposh.readthedocs.io
QA and Feature requests: https://gitter.im/Dalmirog/OctoPosh#initial