< Back

Get-OctopusResourceModel

Sat Jan 18, 2020 5:29 pm

NAME Get-OctopusResourceModel



SYNOPSIS

This cmdlet creates instances of Octopus Resource Objects





SYNTAX

Get-OctopusResourceModel -Resource <string> [<CommonParameters>]





DESCRIPTION





PARAMETERS

-Resource <string>

Resource object model



Required? true

Position? named

Default value

Accept pipeline input? false

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



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





---------- EXAMPLE 1 ----------



PS C:\\> $EnvironmentObj = Get-OctopusResourceModel -Resource Environment



Creates an Environment Resource object



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