AdaptiveNetworkHardenings Interface

public interface AdaptiveNetworkHardenings

Resource collection API of AdaptiveNetworkHardenings.

Method Summary

Modifier and Type Method and Description
abstract void enforce(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, String adaptiveNetworkHardeningResourceName, AdaptiveNetworkHardeningEnforceRequest body)

Enforces the given rules on the NSG(s) listed in the request.

abstract void enforce(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, String adaptiveNetworkHardeningResourceName, AdaptiveNetworkHardeningEnforceRequest body, Context context)

Enforces the given rules on the NSG(s) listed in the request.

abstract AdaptiveNetworkHardening get(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, String adaptiveNetworkHardeningResourceName)

Gets a single Adaptive Network Hardening resource.

abstract Response<AdaptiveNetworkHardening> getWithResponse(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, String adaptiveNetworkHardeningResourceName, Context context)

Gets a single Adaptive Network Hardening resource.

abstract PagedIterable<AdaptiveNetworkHardening> listByExtendedResource(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName)

Gets a list of Adaptive Network Hardenings resources in scope of an extended resource.

abstract PagedIterable<AdaptiveNetworkHardening> listByExtendedResource(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context)

Gets a list of Adaptive Network Hardenings resources in scope of an extended resource.

Method Details

enforce

public abstract void enforce(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, String adaptiveNetworkHardeningResourceName, AdaptiveNetworkHardeningEnforceRequest body)

Enforces the given rules on the NSG(s) listed in the request.

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.
adaptiveNetworkHardeningResourceName - The name of the Adaptive Network Hardening resource.
body - The body parameter.

enforce

public abstract void enforce(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, String adaptiveNetworkHardeningResourceName, AdaptiveNetworkHardeningEnforceRequest body, Context context)

Enforces the given rules on the NSG(s) listed in the request.

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.
adaptiveNetworkHardeningResourceName - The name of the Adaptive Network Hardening resource.
body - The body parameter.
context - The context to associate with this operation.

get

public abstract AdaptiveNetworkHardening get(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, String adaptiveNetworkHardeningResourceName)

Gets a single Adaptive Network Hardening resource.

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.
adaptiveNetworkHardeningResourceName - The name of the Adaptive Network Hardening resource.

Returns:

a single Adaptive Network Hardening resource.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, String adaptiveNetworkHardeningResourceName, Context context)

Gets a single Adaptive Network Hardening resource.

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.
adaptiveNetworkHardeningResourceName - The name of the Adaptive Network Hardening resource.
context - The context to associate with this operation.

Returns:

a single Adaptive Network Hardening resource along with Response<T>.

listByExtendedResource

public abstract PagedIterable listByExtendedResource(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName)

Gets a list of Adaptive Network Hardenings resources in scope of an extended resource.

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:

a list of Adaptive Network Hardenings resources in scope of an extended resource as paginated response with PagedIterable<T>.

listByExtendedResource

public abstract PagedIterable listByExtendedResource(String resourceGroupName, String resourceNamespace, String resourceType, String resourceName, Context context)

Gets a list of Adaptive Network Hardenings resources in scope of an extended resource.

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:

a list of Adaptive Network Hardenings resources in scope of an extended resource as paginated response with PagedIterable<T>.

Applies to