Property | Type | Description |
---|
Method | Description | |
---|---|---|
AddMetadata ( Metadata metadata ) : bool |
Updates the metadata for the specified image. For each item in metadata, if the key exists, the value is updated; otherwise, the item is added. |
|
AddMetadata ( string key, string value ) : bool |
Sets the value for the specified metadata item. If the key already exists, it is updated; otherwise, a new metadata item is added.
|
|
DeleteMetadata ( Metadata metadata ) : bool |
Deletes the specified metadata items from the image. |
|
DeleteMetadataItem ( string key ) : bool |
Deletes the specified metadata item from the image.
|
|
GetMetadata ( ) : Metadata |
Gets the metadata associated with the specified image.
|
|
SetMetadata ( Metadata metadata ) : bool |
Sets the metadata associated with the specified image, replacing any existing metadata.
|
|
UpdateMetadata ( Metadata metadata ) : bool |
Updates the metadata for the specified image. For each item in metadata, if the key exists, the value is updated; otherwise, the item is added. |
|
UpdateMetadataItem ( string key, string value ) : bool |
Sets the value for the specified metadata item. If the key already exists, it is updated; otherwise, a new metadata item is added.
|
Method | Description | |
---|---|---|
UpdateThis ( SimpleServerImage serverImage ) : void |
public AddMetadata ( Metadata metadata ) : bool | ||
metadata | Metadata | The image metadata to update. |
return | bool |
public AddMetadata ( string key, string value ) : bool | ||
key | string | The metadata key. |
value | string | The new value for the metadata item. |
return | bool |
public DeleteMetadata ( Metadata metadata ) : bool | ||
metadata | Metadata | A collection of metadata items to delete. |
return | bool |
public DeleteMetadataItem ( string key ) : bool | ||
key | string | The metadata key. |
return | bool |
public SetMetadata ( Metadata metadata ) : bool | ||
metadata | Metadata | The metadata to associate with the image. |
return | bool |
public UpdateMetadata ( Metadata metadata ) : bool | ||
metadata | Metadata | The image metadata to update. |
return | bool |
public UpdateMetadataItem ( string key, string value ) : bool | ||
key | string | The metadata key. |
value | string | The new value for the metadata item. |
return | bool |
protected UpdateThis ( SimpleServerImage serverImage ) : void | ||
serverImage | SimpleServerImage | |
return | void |