Interface SoftwareInventories
public interface SoftwareInventories
Resource collection API of SoftwareInventories.
-
Method Summary
Modifier and TypeMethodDescriptionget
(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, String softwareName) Gets a single software data of the virtual machine.com.azure.core.http.rest.Response<Software>
getWithResponse
(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, String softwareName, com.azure.core.util.Context context) Gets a single software data of the virtual machine.com.azure.core.http.rest.PagedIterable<Software>
list()
Gets the software inventory of all virtual machines in the subscriptions.com.azure.core.http.rest.PagedIterable<Software>
list
(com.azure.core.util.Context context) Gets the software inventory of all virtual machines in the subscriptions.com.azure.core.http.rest.PagedIterable<Software>
listByExtendedResource
(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName) Gets the software inventory of the virtual machine.com.azure.core.http.rest.PagedIterable<Software>
listByExtendedResource
(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, com.azure.core.util.Context context) Gets the software inventory of the virtual machine.
-
Method Details
-
listByExtendedResource
com.azure.core.http.rest.PagedIterable<Software> listByExtendedResource(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName) Gets the software inventory of the virtual machine.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.resourceNamespace
- The namespace of the resource.resourceType
- The type of the resource.resourceName
- Name of the resource.- Returns:
- the software inventory of the virtual machine as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByExtendedResource
com.azure.core.http.rest.PagedIterable<Software> listByExtendedResource(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, com.azure.core.util.Context context) Gets the software inventory of the virtual machine.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.resourceNamespace
- The namespace of the resource.resourceType
- The type of the resource.resourceName
- Name of the resource.context
- The context to associate with this operation.- Returns:
- the software inventory of the virtual machine as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<Software> list()Gets the software inventory of all virtual machines in the subscriptions.- Returns:
- the software inventory of all virtual machines in the subscriptions as paginated response with
PagedIterable
. - Throws:
com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
Gets the software inventory of all virtual machines in the subscriptions.- Parameters:
context
- The context to associate with this operation.- Returns:
- the software inventory of all virtual machines in the subscriptions as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Software get(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, String softwareName) Gets a single software data of the virtual machine.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.resourceNamespace
- The namespace of the resource.resourceType
- The type of the resource.resourceName
- Name of the resource.softwareName
- Name of the installed software.- Returns:
- a single software data of the virtual machine.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<Software> getWithResponse(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, String softwareName, com.azure.core.util.Context context) Gets a single software data of the virtual machine.- Parameters:
resourceGroupName
- The name of the resource group within the user's subscription. The name is case insensitive.resourceNamespace
- The namespace of the resource.resourceType
- The type of the resource.resourceName
- Name of the resource.softwareName
- Name of the installed software.context
- The context to associate with this operation.- Returns:
- a single software data of the virtual machine along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-