Deployment Assignments

Prev Next

Get-LiquitDeploymentAssignment

Synopsis

This command displays a list of all assignments of a defined deployment, or you can select a specific deployment assignment.

Syntax

 Get-LiquitDeploymentAssignment
	[-Deployment] <Deployment> 
	[-LiquitContext <LiquitContext>]  
	[<CommonParameters>]

 Get-LiquitDeploymentAssignment 
	[-Deployment] <Deployment>
	[-ID] <string[]> 
	[-LiquitContext <LiquitContext>]  
	[<CommonParameters>]

Example

 $deployment = Get-LiquitDeployment -id 00000000-0000-0000-0000-000000000000
 Get-LiquitDeploymentAssignment-Deployment $deployment 

This command lists all deployment assignments belonging to the specified deployment.

New-LiquitDeploymentAssignment

Synopsis

This command assigns an identity to a deployment.

Syntax

 New-LiquitDeploymentAssignment 
    [-Deployment] <Deployment> 
    [-Identity] <Identity> 
    [-Stage {Development | Test | Acceptance | Production}] 
    [-LiquitContext <LiquitContext>] 
    [ -Context] <Context>]
    [-WhatIf] 
    [-Confirm]  
    [<CommonParameters>]
    
New-LiquitDeploymentAssignment 
    [-Deployment] <Deployment> 
    [-Device] <Device> 
    [-Stage {Development | Test | Acceptance | Production}]
    [-LiquitContext <LiquitContext>]
    [-WhatIf] 
    [-Confirm]
    [<CommonParameters>]

New-LiquitDeploymentAssignment 
    [-Deployment] <Deployment>
    [-DeviceCollection] <DeviceCollection> 
    [-Stage {Development | Test | Acceptance | Production}] 
    [-LiquitContext <LiquitContext>]
    [-WhatIf]
    [-Confirm]  
    [<CommonParameters>]

New-LiquitDeploymentAssignment 
    [-Deployment] <Deployment> 
    [-Context] <Context> 
    [-Stage {Development | Test | Acceptance | Production}]
    [-LiquitContext <LiquitContext>] 
    [-WhatIf] 
    [-Confirm]
    [<CommonParameters>] 

Examples

Example 1: New-LiquitDeploymentAssignment

 $deployment = Get-LiquitDeployment -id 00000000-0000-0000-0000-000000000000
 $device = Get-LiquitDevice -id 00000000-0000-0000-0000-000000000000
 New-LiquitDeploymentAssignment -Deployment $deployment -Identity $device

Example 2: New-LiquitDeploymentAssignment

 $deployment = Get-LiquitDeployment -id 00000000-0000-0000-0000-000000000000
 $context = Get-LiquitContext -id 00000000-0000-0000-0000-000000000000
 New-LiquitDeploymentAssignment -Deployment $deployment -Context $context

This command creates a new assignment in the selected deployment.

Parameters

Name Value Description Required Default value
Deployment <Deployment> The deployment to which the assignment is appended. Yes
Identity <Identity> The identity to be assigned, which can be either devices or device collections. If context is not supplied
Context <Context> The context to be assigned. If identity is not supplied
Device <Device> The device to be assigned.
DeviceCollection <DeviceCollection> The device collection to be assigned.
Stage <bool> The stage of the deployment actions that should be published to the identity. No True
LiquitContext <LiquitContext> Determines the selected zone. No Default

Set-LiquitDeploymentAssignment

Synopsis

This command lets you edit the properties of a deployment.

Syntax

 Set-LiquitDeploymentAssignment 
	[-Assignment] <DeploymentAssignment[]> 
	[-Stage {Development | Test | Acceptance | Production}] 
	[-LiquitContext <LiquitContext>] 
	[-WhatIf] 
	[-Confirm]  
	[<CommonParameters>]

Example

 $deployment = Get-LiquitDeployment -id 00000000-0000-0000-0000-000000000000
 $deploymentAssignment = Get-LiquitDeploymentAssignment -Deployment $deployment -id 00000000-0000-0000-0000-000000000000
 Set-LiquitDeploymentAssignment -Assignment $deploymentAssignment -Stage Test

This command changes the deployment assignment to the "Test" stage.

Parameters

Name Value Description Required Default value
Assignment <DeploymentAssignment[]> The deployment assignment to be updated. Yes
Stage {Development | Test | Acceptance | Production} Determines which stages will be published to the assignment. No
LiquitContext <LiquitContext> Determines the selected zone. No Default

Remove-LiquitDeploymentAssignment

Synopsis

Removes a defined deployment assignment.

Syntax

 Remove-LiquitDeploymentAssignment 
	[-Assignment] <DeploymentAssignment[]> 
	[-LiquitContext <LiquitContext>] 
	[-WhatIf] 
	[-Confirm]  
	[<CommonParameters>]

Example

 $deployment = Get-LiquitDeployment -id 00000000-0000-0000-0000-000000000000
 $deploymentAssignment = Get-LiquitDeploymentAssignment -Deployment $deployment -id 00000000-0000-0000-0000-000000000000
 Remove-LiquitDeploymentAssignment -Assignment $deploymentAssignment 

This command removes the selected deployment assignment from the Application Workspace.

Parameters

Name Value Description Required Default value
Assignment <DeploymentAssignment[]> The deployment assignment you wish to remove. Yes
LiquitContext <LiquitContext> Determines the selected zone. No Default