AdaptiveNetworkHardenings interface

Interface representing a AdaptiveNetworkHardenings.

Methods

beginEnforce(string, string, string, string, string, AdaptiveNetworkHardeningEnforceRequest, AdaptiveNetworkHardeningsEnforceOptionalParams)

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

beginEnforceAndWait(string, string, string, string, string, AdaptiveNetworkHardeningEnforceRequest, AdaptiveNetworkHardeningsEnforceOptionalParams)

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

get(string, string, string, string, string, AdaptiveNetworkHardeningsGetOptionalParams)

Gets a single Adaptive Network Hardening resource

listByExtendedResource(string, string, string, string, AdaptiveNetworkHardeningsListByExtendedResourceOptionalParams)

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

Method Details

beginEnforce(string, string, string, string, string, AdaptiveNetworkHardeningEnforceRequest, AdaptiveNetworkHardeningsEnforceOptionalParams)

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

function beginEnforce(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, adaptiveNetworkHardeningResourceName: string, body: AdaptiveNetworkHardeningEnforceRequest, options?: AdaptiveNetworkHardeningsEnforceOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

resourceNamespace

string

The Namespace of the resource.

resourceType

string

The type of the resource.

resourceName

string

Name of the resource.

adaptiveNetworkHardeningResourceName

string

The name of the Adaptive Network Hardening resource.

options
AdaptiveNetworkHardeningsEnforceOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginEnforceAndWait(string, string, string, string, string, AdaptiveNetworkHardeningEnforceRequest, AdaptiveNetworkHardeningsEnforceOptionalParams)

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

function beginEnforceAndWait(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, adaptiveNetworkHardeningResourceName: string, body: AdaptiveNetworkHardeningEnforceRequest, options?: AdaptiveNetworkHardeningsEnforceOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

resourceNamespace

string

The Namespace of the resource.

resourceType

string

The type of the resource.

resourceName

string

Name of the resource.

adaptiveNetworkHardeningResourceName

string

The name of the Adaptive Network Hardening resource.

options
AdaptiveNetworkHardeningsEnforceOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, string, AdaptiveNetworkHardeningsGetOptionalParams)

Gets a single Adaptive Network Hardening resource

function get(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, adaptiveNetworkHardeningResourceName: string, options?: AdaptiveNetworkHardeningsGetOptionalParams): Promise<AdaptiveNetworkHardening>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

resourceNamespace

string

The Namespace of the resource.

resourceType

string

The type of the resource.

resourceName

string

Name of the resource.

adaptiveNetworkHardeningResourceName

string

The name of the Adaptive Network Hardening resource.

options
AdaptiveNetworkHardeningsGetOptionalParams

The options parameters.

Returns

listByExtendedResource(string, string, string, string, AdaptiveNetworkHardeningsListByExtendedResourceOptionalParams)

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

function listByExtendedResource(resourceGroupName: string, resourceNamespace: string, resourceType: string, resourceName: string, options?: AdaptiveNetworkHardeningsListByExtendedResourceOptionalParams): PagedAsyncIterableIterator<AdaptiveNetworkHardening, AdaptiveNetworkHardening[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

resourceNamespace

string

The Namespace of the resource.

resourceType

string

The type of the resource.

resourceName

string

Name of the resource.

Returns