repository/configuration/list/configuration-detail.component.ts
selector | c8y-configuration-detail |
templateUrl | ./configuration-detail.component.html |
Properties |
Methods |
constructor(repositoryService: RepositoryService, bsModalRef: BsModalRef, alert: AlertService)
|
||||||||||||
Parameters :
|
cancel |
cancel()
|
Returns :
void
|
Async ngOnInit |
ngOnInit()
|
Returns :
any
|
onFile | ||||||
onFile(dropped: PickedFiles)
|
||||||
Parameters :
Returns :
void
|
Async save |
save()
|
Returns :
any
|
setPipe | ||||||
setPipe(filterStr: string)
|
||||||
Parameters :
Returns :
void
|
binary |
Type : literal type
|
Default value : {
file: undefined,
url: undefined
}
|
configs |
configurationForm |
Type : NgForm
|
Decorators :
@ViewChild('configurationForm', {static: true})
|
configurationTypeMO |
Type : Partial<IManagedObject>
|
description |
Type : string
|
deviceType |
Type : string
|
existingBinary |
Type : File
|
filterPipe |
Type : ForOfFilterPipe
|
mo |
Type : Partial<IManagedObject>
|
Default value : {}
|
pattern |
Type : string
|
Default value : ''
|
result |
Type : Promise<void>
|
Default value : new Promise((resolve, reject) => {
this._save = resolve;
this._cancel = reject;
})
|
saving |
Default value : false
|
submitButtonTitle |
Type : string
|
textForConfigurationUrlPopover |
Type : string
|
Default value : gettext(`Path for binaries can vary depending on device agent implementation, for example:
/configuration/binaries/configuration1.bin
https://configuration/binary/123
ftp://configuration/binary/123.tar.gz
Configurations with external URLs only work with the configuration typed devices (file-based configuration), not with devices with a legacy configuration.
`)
|
uploadChoice |
Type : "uploadBinary" | "uploadUrl"
|
Default value : 'uploadBinary'
|
ValidationPattern |
Default value : ValidationPattern
|
version |
Type : string
|