VMware vCloud Suite SDK for .NET 6.0.0
|
Remote stub implementation of the File API service. More...
Inherits vmware::content::library::item::downloadsession::File.
Public Member Functions | |
FileStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config) | |
global::System.Collections.Generic.List < vmware.content.library.item.downloadsession.FileTypes.Info > | List (string downloadSessionId) |
Lists the information of all the files in the library item associated with the download session. | |
global::System.Collections.Generic.List < vmware.content.library.item.downloadsession.FileTypes.Info > | List (string downloadSessionId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Lists the information of all the files in the library item associated with the download session. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < vmware.content.library.item.downloadsession.FileTypes.Info > > | ListAsync (string downloadSessionId) |
Lists the information of all the files in the library item associated with the download session. | |
global::System.Threading.Tasks.Task < global::System.Collections.Generic.List < vmware.content.library.item.downloadsession.FileTypes.Info > > | ListAsync (string downloadSessionId, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Lists the information of all the files in the library item associated with the download session. | |
vmware.content.library.item.downloadsession.FileTypes.Info | Prepare (string downloadSessionId, string fileName, vmware.content.library.item.downloadsession.FileTypes.EndpointType endpointType) |
Requests a file to be prepared for download. | |
vmware.content.library.item.downloadsession.FileTypes.Info | Prepare (string downloadSessionId, string fileName, vmware.content.library.item.downloadsession.FileTypes.EndpointType endpointType, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Requests a file to be prepared for download. | |
global::System.Threading.Tasks.Task < vmware.content.library.item.downloadsession.FileTypes.Info > | PrepareAsync (string downloadSessionId, string fileName, vmware.content.library.item.downloadsession.FileTypes.EndpointType endpointType) |
Requests a file to be prepared for download. | |
global::System.Threading.Tasks.Task < vmware.content.library.item.downloadsession.FileTypes.Info > | PrepareAsync (string downloadSessionId, string fileName, vmware.content.library.item.downloadsession.FileTypes.EndpointType endpointType, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Requests a file to be prepared for download. | |
vmware.content.library.item.downloadsession.FileTypes.Info | Get (string downloadSessionId, string fileName) |
Retrieves file download information for a specific file. | |
vmware.content.library.item.downloadsession.FileTypes.Info | Get (string downloadSessionId, string fileName, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Retrieves file download information for a specific file. | |
global::System.Threading.Tasks.Task < vmware.content.library.item.downloadsession.FileTypes.Info > | GetAsync (string downloadSessionId, string fileName) |
Retrieves file download information for a specific file. | |
global::System.Threading.Tasks.Task < vmware.content.library.item.downloadsession.FileTypes.Info > | GetAsync (string downloadSessionId, string fileName, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig) |
Retrieves file download information for a specific file. |
Remote stub implementation of the File API service.
vmware::content::library::item::downloadsession::FileStub::FileStub | ( | vmware.vapi.core.IApiProvider | iApiProvider, |
vmware.vapi.bindings.IStubConfiguration | config | ||
) | [inline] |
vmware.content.library.item.downloadsession.FileTypes.Info vmware::content::library::item::downloadsession::FileStub::Get | ( | string | downloadSessionId, |
string | fileName | ||
) | [inline] |
Retrieves file download information for a specific file.
vmware.vapi.std.errors.NotFound | if the download session associated with downloadSessionId does not exist. |
vmware.vapi.std.errors.InvalidArgument | if there is no file with the specified fileName . |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
downloadSessionId | Identifier of the download session. The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession . |
fileName | Name of the file requested. |
Implements vmware::content::library::item::downloadsession::File.
vmware.content.library.item.downloadsession.FileTypes.Info vmware::content::library::item::downloadsession::FileStub::Get | ( | string | downloadSessionId, |
string | fileName, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Retrieves file download information for a specific file.
vmware.vapi.std.errors.NotFound | if the download session associated with downloadSessionId does not exist. |
vmware.vapi.std.errors.InvalidArgument | if there is no file with the specified fileName . |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
downloadSessionId | Identifier of the download session. The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession . |
fileName | Name of the file requested. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::content::library::item::downloadsession::File.
global::System.Threading.Tasks.Task<vmware.content.library.item.downloadsession.FileTypes.Info> vmware::content::library::item::downloadsession::FileStub::GetAsync | ( | string | downloadSessionId, |
string | fileName | ||
) | [inline] |
Retrieves file download information for a specific file.
vmware.vapi.std.errors.NotFound | if the download session associated with downloadSessionId does not exist. |
vmware.vapi.std.errors.InvalidArgument | if there is no file with the specified fileName . |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
downloadSessionId | Identifier of the download session. The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession . |
fileName | Name of the file requested. |
Implements vmware::content::library::item::downloadsession::File.
global::System.Threading.Tasks.Task<vmware.content.library.item.downloadsession.FileTypes.Info> vmware::content::library::item::downloadsession::FileStub::GetAsync | ( | string | downloadSessionId, |
string | fileName, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Retrieves file download information for a specific file.
vmware.vapi.std.errors.NotFound | if the download session associated with downloadSessionId does not exist. |
vmware.vapi.std.errors.InvalidArgument | if there is no file with the specified fileName . |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
downloadSessionId | Identifier of the download session. The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession . |
fileName | Name of the file requested. |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::content::library::item::downloadsession::File.
global::System.Collections.Generic.List<vmware.content.library.item.downloadsession.FileTypes.Info> vmware::content::library::item::downloadsession::FileStub::List | ( | string | downloadSessionId, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Lists the information of all the files in the library item associated with the download session.
vmware.vapi.std.errors.NotFound | if the download session associated with downloadSessionId doesn't exist. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
downloadSessionId | Identifier of the download session. The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::content::library::item::downloadsession::File.
global::System.Collections.Generic.List<vmware.content.library.item.downloadsession.FileTypes.Info> vmware::content::library::item::downloadsession::FileStub::List | ( | string | downloadSessionId | ) | [inline] |
Lists the information of all the files in the library item associated with the download session.
vmware.vapi.std.errors.NotFound | if the download session associated with downloadSessionId doesn't exist. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
downloadSessionId | Identifier of the download session. The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession . |
Implements vmware::content::library::item::downloadsession::File.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.content.library.item.downloadsession.FileTypes.Info> > vmware::content::library::item::downloadsession::FileStub::ListAsync | ( | string | downloadSessionId, |
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Lists the information of all the files in the library item associated with the download session.
vmware.vapi.std.errors.NotFound | if the download session associated with downloadSessionId doesn't exist. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
downloadSessionId | Identifier of the download session. The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::content::library::item::downloadsession::File.
global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.content.library.item.downloadsession.FileTypes.Info> > vmware::content::library::item::downloadsession::FileStub::ListAsync | ( | string | downloadSessionId | ) | [inline] |
Lists the information of all the files in the library item associated with the download session.
vmware.vapi.std.errors.NotFound | if the download session associated with downloadSessionId doesn't exist. |
vmware.vapi.std.errors.Unauthorized | if you do not have all of the privileges described as follows:
|
downloadSessionId | Identifier of the download session. The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession . |
Implements vmware::content::library::item::downloadsession::File.
vmware.content.library.item.downloadsession.FileTypes.Info vmware::content::library::item::downloadsession::FileStub::Prepare | ( | string | downloadSessionId, |
string | fileName, | ||
vmware.content.library.item.downloadsession.FileTypes.EndpointType | endpointType, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Requests a file to be prepared for download.
vmware.vapi.std.errors.NotFound | if the download session does not exist. |
vmware.vapi.std.errors.InvalidArgument | if there is no file with the specified fileName . |
vmware.vapi.std.errors.Unauthorized | if the the download session wasn't created with the ContentLibrary.ReadStorage privilege and the caller requested a File.EndpointType.DIRECT endpoint type. |
downloadSessionId | Identifier of the download session. The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession . |
fileName | Name of the file requested for download. |
endpointType | Endpoint type request, one of HTTPS, DIRECT. This will determine the type of the File.Info.downloadEndpoint that is generated when the file is prepared. The File.EndpointType.DIRECT is only available to users who have the ContentLibrary.ReadStorage privilege. If not specified the default is File.EndpointType.HTTPS . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::content::library::item::downloadsession::File.
vmware.content.library.item.downloadsession.FileTypes.Info vmware::content::library::item::downloadsession::FileStub::Prepare | ( | string | downloadSessionId, |
string | fileName, | ||
vmware.content.library.item.downloadsession.FileTypes.EndpointType | endpointType | ||
) | [inline] |
Requests a file to be prepared for download.
vmware.vapi.std.errors.NotFound | if the download session does not exist. |
vmware.vapi.std.errors.InvalidArgument | if there is no file with the specified fileName . |
vmware.vapi.std.errors.Unauthorized | if the the download session wasn't created with the ContentLibrary.ReadStorage privilege and the caller requested a File.EndpointType.DIRECT endpoint type. |
downloadSessionId | Identifier of the download session. The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession . |
fileName | Name of the file requested for download. |
endpointType | Endpoint type request, one of HTTPS, DIRECT. This will determine the type of the File.Info.downloadEndpoint that is generated when the file is prepared. The File.EndpointType.DIRECT is only available to users who have the ContentLibrary.ReadStorage privilege. If not specified the default is File.EndpointType.HTTPS . |
Implements vmware::content::library::item::downloadsession::File.
global::System.Threading.Tasks.Task<vmware.content.library.item.downloadsession.FileTypes.Info> vmware::content::library::item::downloadsession::FileStub::PrepareAsync | ( | string | downloadSessionId, |
string | fileName, | ||
vmware.content.library.item.downloadsession.FileTypes.EndpointType | endpointType, | ||
global::System.Action< vmware.vapi.std.Progress > | _progress, | ||
vmware.vapi.bindings.client.InvocationConfig | _invocationConfig | ||
) | [inline] |
Requests a file to be prepared for download.
vmware.vapi.std.errors.NotFound | if the download session does not exist. |
vmware.vapi.std.errors.InvalidArgument | if there is no file with the specified fileName . |
vmware.vapi.std.errors.Unauthorized | if the the download session wasn't created with the ContentLibrary.ReadStorage privilege and the caller requested a File.EndpointType.DIRECT endpoint type. |
downloadSessionId | Identifier of the download session. The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession . |
fileName | Name of the file requested for download. |
endpointType | Endpoint type request, one of HTTPS, DIRECT. This will determine the type of the File.Info.downloadEndpoint that is generated when the file is prepared. The File.EndpointType.DIRECT is only available to users who have the ContentLibrary.ReadStorage privilege. If not specified the default is File.EndpointType.HTTPS . |
_progress | Progress notification call back |
_invocationConfig | Configuration for the method invocation |
Implements vmware::content::library::item::downloadsession::File.
global::System.Threading.Tasks.Task<vmware.content.library.item.downloadsession.FileTypes.Info> vmware::content::library::item::downloadsession::FileStub::PrepareAsync | ( | string | downloadSessionId, |
string | fileName, | ||
vmware.content.library.item.downloadsession.FileTypes.EndpointType | endpointType | ||
) | [inline] |
Requests a file to be prepared for download.
vmware.vapi.std.errors.NotFound | if the download session does not exist. |
vmware.vapi.std.errors.InvalidArgument | if there is no file with the specified fileName . |
vmware.vapi.std.errors.Unauthorized | if the the download session wasn't created with the ContentLibrary.ReadStorage privilege and the caller requested a File.EndpointType.DIRECT endpoint type. |
downloadSessionId | Identifier of the download session. The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession . |
fileName | Name of the file requested for download. |
endpointType | Endpoint type request, one of HTTPS, DIRECT. This will determine the type of the File.Info.downloadEndpoint that is generated when the file is prepared. The File.EndpointType.DIRECT is only available to users who have the ContentLibrary.ReadStorage privilege. If not specified the default is File.EndpointType.HTTPS . |
Implements vmware::content::library::item::downloadsession::File.