com.azure.resourcemanager.security.fluent.SoftwareInventoriesClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-security Show documentation
Show all versions of azure-resourcemanager-security Show documentation
This package contains Microsoft Azure SDK for Security Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-composite-v3.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.security.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.security.fluent.models.SoftwareInner;
/**
* An instance of this class provides access to all the operations defined in SoftwareInventoriesClient.
*/
public interface SoftwareInventoriesClient {
/**
* Gets the software inventory of the virtual machine.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param resourceNamespace The namespace of the resource.
* @param resourceType The type of the resource.
* @param resourceName Name of the resource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the software inventory of the virtual machine as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByExtendedResource(String resourceGroupName, String resourceNamespace,
String resourceType, String resourceName);
/**
* Gets the software inventory of the virtual machine.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param resourceNamespace The namespace of the resource.
* @param resourceType The type of the resource.
* @param resourceName Name of the resource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the software inventory of the virtual machine as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByExtendedResource(String resourceGroupName, String resourceNamespace,
String resourceType, String resourceName, Context context);
/**
* Gets the software inventory of all virtual machines in the subscriptions.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the software inventory of all virtual machines in the subscriptions as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
* Gets the software inventory of all virtual machines in the subscriptions.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the software inventory of all virtual machines in the subscriptions as paginated response with
* {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
/**
* Gets a single software data of the virtual machine.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param resourceNamespace The namespace of the resource.
* @param resourceType The type of the resource.
* @param resourceName Name of the resource.
* @param softwareName Name of the installed software.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a single software data of the virtual machine along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String resourceNamespace, String resourceType,
String resourceName, String softwareName, Context context);
/**
* Gets a single software data of the virtual machine.
*
* @param resourceGroupName The name of the resource group within the user's subscription. The name is case
* insensitive.
* @param resourceNamespace The namespace of the resource.
* @param resourceType The type of the resource.
* @param resourceName Name of the resource.
* @param softwareName Name of the installed software.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a single software data of the virtual machine.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SoftwareInner get(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName,
String softwareName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy