你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ListManagementImages Interface
public interface ListManagementImages
An instance of this class provides access to all the operations defined in ListManagementImages.
Method Summary
Modifier and Type | Method and Description |
---|---|
ListManagementImagesAddImageDefinitionStages.WithListId |
addImage()
Add an image to the list with list Id equal to list Id passed. |
Image |
addImage(String listId, AddImageOptionalParameter addImageOptionalParameter)
Add an image to the list with list Id equal to list Id passed. |
Observable<Image> |
addImageAsync(String listId, AddImageOptionalParameter addImageOptionalParameter)
Add an image to the list with list Id equal to list Id passed. |
ListManagementImagesAddImageFileInputDefinitionStages.WithListId |
addImageFileInput()
Add an image to the list with list Id equal to list Id passed. |
Image |
addImageFileInput(String listId, byte[] imageStream, AddImageFileInputOptionalParameter addImageFileInputOptionalParameter)
Add an image to the list with list Id equal to list Id passed. |
Observable<Image> |
addImageFileInputAsync(String listId, byte[] imageStream, AddImageFileInputOptionalParameter addImageFileInputOptionalParameter)
Add an image to the list with list Id equal to list Id passed. |
ListManagementImagesAddImageUrlInputDefinitionStages.WithListId |
addImageUrlInput()
Add an image to the list with list Id equal to list Id passed. |
Image |
addImageUrlInput(String listId, String contentType, BodyModelModel imageUrl, AddImageUrlInputOptionalParameter addImageUrlInputOptionalParameter)
Add an image to the list with list Id equal to list Id passed. |
Observable<Image> |
addImageUrlInputAsync(String listId, String contentType, BodyModelModel imageUrl, AddImageUrlInputOptionalParameter addImageUrlInputOptionalParameter)
Add an image to the list with list Id equal to list Id passed. |
String |
deleteAllImages(String listId)
Deletes all images from the list with list Id equal to list Id passed. |
Observable<String> |
deleteAllImagesAsync(String listId)
Deletes all images from the list with list Id equal to list Id passed. |
String |
deleteImage(String listId, String imageId)
Deletes an image from the list with list Id and image Id passed. |
Observable<String> |
deleteImageAsync(String listId, String imageId)
Deletes an image from the list with list Id and image Id passed. |
Image |
getAllImageIds(String listId)
Gets all image Ids from the list with list Id equal to list Id passed. |
Observable<Image |
getAllImageIdsAsync(String listId)
Gets all image Ids from the list with list Id equal to list Id passed. |
Method Details
addImage
public ListManagementImagesAddImageDefinitionStages.WithListId addImage()
Add an image to the list with list Id equal to list Id passed.
Returns:
addImage
public Image addImage(String listId, AddImageOptionalParameter addImageOptionalParameter)
Add an image to the list with list Id equal to list Id passed.
Parameters:
Returns:
Throws:
addImageAsync
public Observable addImageAsync(String listId, AddImageOptionalParameter addImageOptionalParameter)
Add an image to the list with list Id equal to list Id passed.
Parameters:
Returns:
Throws:
addImageFileInput
public ListManagementImagesAddImageFileInputDefinitionStages.WithListId addImageFileInput()
Add an image to the list with list Id equal to list Id passed.
Returns:
addImageFileInput
public Image addImageFileInput(String listId, byte[] imageStream, AddImageFileInputOptionalParameter addImageFileInputOptionalParameter)
Add an image to the list with list Id equal to list Id passed.
Parameters:
Returns:
Throws:
addImageFileInputAsync
public Observable addImageFileInputAsync(String listId, byte[] imageStream, AddImageFileInputOptionalParameter addImageFileInputOptionalParameter)
Add an image to the list with list Id equal to list Id passed.
Parameters:
Returns:
Throws:
addImageUrlInput
public ListManagementImagesAddImageUrlInputDefinitionStages.WithListId addImageUrlInput()
Add an image to the list with list Id equal to list Id passed.
Returns:
addImageUrlInput
public Image addImageUrlInput(String listId, String contentType, BodyModelModel imageUrl, AddImageUrlInputOptionalParameter addImageUrlInputOptionalParameter)
Add an image to the list with list Id equal to list Id passed.
Parameters:
Returns:
Throws:
addImageUrlInputAsync
public Observable addImageUrlInputAsync(String listId, String contentType, BodyModelModel imageUrl, AddImageUrlInputOptionalParameter addImageUrlInputOptionalParameter)
Add an image to the list with list Id equal to list Id passed.
Parameters:
Returns:
Throws:
deleteAllImages
public String deleteAllImages(String listId)
Deletes all images from the list with list Id equal to list Id passed.
Parameters:
Returns:
Throws:
deleteAllImagesAsync
public Observable
Deletes all images from the list with list Id equal to list Id passed.
Parameters:
Returns:
Throws:
deleteImage
public String deleteImage(String listId, String imageId)
Deletes an image from the list with list Id and image Id passed.
Parameters:
Returns:
Throws:
deleteImageAsync
public Observable
Deletes an image from the list with list Id and image Id passed.
Parameters:
Returns:
Throws:
getAllImageIds
public ImageIds getAllImageIds(String listId)
Gets all image Ids from the list with list Id equal to list Id passed.
Parameters:
Returns:
Throws:
getAllImageIdsAsync
public Observable
Gets all image Ids from the list with list Id equal to list Id passed.
Parameters:
Returns:
Throws: