< Back

New-OAOImage

Sat Jan 18, 2020 5:55 pm

NAME New-OAOImage



SYNTAX

New-OAOImage [-ServerId] <string> [[-Description] <string>] [-Frequency] {ONCE | DAILY | WEEKLY | Null} [-Name]

<string> [-NumImages] <int> [[-DatacetnerId] <string>] [-Source] {server | image | iso | Null} [[-Url] <string>]

[[-OsId] <string>] [[-Type] {os | app | Null}] [<CommonParameters>]





PARAMETERS

-DatacetnerId <string>

ID of the datacenter where the shared storage will be created.



Required? false

Position? 5

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-Description <string>

Image description.



Required? false

Position? 1

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-Frequency <ImageFrequency>

Creation policy frequency.



Required? true

Position? 2

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-Name <string>

Image name.



Required? true

Position? 3

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-NumImages <int>

Maximum number of images



Required? true

Position? 4

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-OsId <string>

ID of the Operative System you want to import. You can get a list of the available ones with the method

/iamges/os..



Required? false

Position? 8

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-ServerId <string>

The ID of the Image.



Required? true

Position? 0

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-Source <ImageSource>

Source of the new image: server (from an existing server), image (from an imported image) or iso (from an

imported iso).



Required? true

Position? 6

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-Type <ImageType>

Type of the ISO you want to import: os (Operative System) or app (Application). It is required when the

source is iso.



Required? false

Position? 9

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



-Url <string>

URL where the image can be downloaded. It is required when the source is image or iso.



Required? false

Position? 7

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? 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

System.String

OneAndOne.POCO.Requests.Images.ImageFrequency

System.Int32

OneAndOne.POCO.Requests.Images.ImageSource

OneAndOne.POCO.Requests.Images.ImageType





OUTPUTS

OneAndOne.POCO.Response.Images.ImagesResponse





ALIASES

None





REMARKS

None