-
Notifications
You must be signed in to change notification settings - Fork 46
Get OctopusResourceModel
Dalmiro edited this page Jun 1, 2015
·
16 revisions
###Summary Returns an empty object from the Octopus Model that can later on be piped down to New-OctopusResource
###Parameters
Name | DataType | Description |
---|---|---|
Resource | String | Resource object model Lists all the available resource types [parameter(ParameterSetName='ListResourceType')] [switch]$ListAvailable |
###Syntax
Get-OctopusResourceModel [-Resource <String>] [<CommonParameters>]
###Examples EXAMPLE 1
Creates an instance of an Environment Resource object
PS C:\>$EnvironmentObj = Get-OctopusResourceModel -Resource "Environment"
EXAMPLE 2
Create Project Resource object instance
PS C:\>$ProjectObj = Get-OctopusResourceModel -Resource "Project"
EXAMPLE 3
Create Project Group resource object instance
PS C:\>$pg = Get-OctopusResourceModel -Resource ProjectGroup
Getting Started
Cmdlets & Examples
- Get-OctopusChannel
- Get-OctopusConnectionInfo
- Get-OctopusDashboard
- Get-OctopusDeployment
- Get-OctopusEnvironment
- Get-OctopusFeed
- Get-OctopusLifecycle
- Get-OctopusMachine
- Get-OctopusProject
- Get-OctopusProjectGroup
- Get-OctopusRelease
- Get-OctopusResourceModel
- Get-OctopusServerThumbprint
- Get-OctopusTagSet
- Get-OctopusTeam
- Get-OctopusTenant
- Get-OctopusToolPath
- Get-OctopusToolsFolder
- Get-OctopusToolVersion
- Get-OctopusUser
- Get-OctopusVariableSet
- Install-OctopusTool
- New-OctopusConnection
- New-OctopusResource
- Remove-OctopusResource
- Set-OctopusConnectionInfo
- Set-OctopusReleaseStatus
- Set-OctopusToolPath
- Set-OctopusToolsFolder
- Update-OctopusResource
Advanced Examples
Real Life Scenarios
Release Notes