Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,11 @@ public partial interface INetAppManagementClient : System.IDisposable
/// </summary>
IBackupsUnderVolumeOperations BackupsUnderVolume { get; }

/// <summary>
/// Gets the IRansomwareReportsOperations
/// </summary>
IRansomwareReportsOperations RansomwareReports { get; }

/// <summary>
/// Gets the ISnapshotsOperations
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Microsoft.Azure.Management.NetApp
{
using Microsoft.Rest.Azure;
using Models;

/// <summary>
/// RansomwareReportsOperations operations.
/// </summary>
public partial interface IRansomwareReportsOperations
{
/// <summary>
/// List all ransomware reports for the volume
/// Returns a list of the Advanced Ransomware Protection (ARP) reports for the
/// volume.
/// ARP reports are created with a list of suspected files when it detects any
/// combination of high data entropy, abnormal volume activity with data
/// encryption, and unusual file extensions.
/// ARP creates snapshots named Anti_ransomware_backup when it detects a
/// potential ransomware threat. You can use one of these ARP snapshots or
/// another snapshot of your volume to restore data&#34;
/// </summary>
/// <remarks>
/// List all ransomware reports for the volume
/// Returns a list of the Advanced Ransomware Protection (ARP) reports for the
/// volume.
/// ARP reports are created with a list of suspected files when it detects any
/// combination of high data entropy, abnormal volume activity with data
/// encryption, and unusual file extensions.
/// ARP creates snapshots named Anti_ransomware_backup when it detects a
/// potential ransomware threat. You can use one of these ARP snapshots or
/// another snapshot of your volume to restore data&#34;
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='accountName'>
/// The name of the NetApp account
/// </param>
/// <param name='poolName'>
/// The name of the capacity pool
/// </param>
/// <param name='volumeName'>
/// The name of the volume
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<RansomwareReport>>> ListWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, string volumeName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Get details of the specified ransomware report (ARP)
/// ARP reports are created with a list of suspected files when it detects any
/// combination of high data entropy, abnormal volume activity with data
/// encryption, and unusual file extensions.
/// ARP creates snapshots named Anti_ransomware_backup when it detects a
/// potential ransomware threat. You can use one of these ARP snapshots or
/// another snapshot of your volume to restore data.
/// </summary>
/// <remarks>
/// Get details of the specified ransomware report (ARP)
/// ARP reports are created with a list of suspected files when it detects any
/// combination of high data entropy, abnormal volume activity with data
/// encryption, and unusual file extensions.
/// ARP creates snapshots named Anti_ransomware_backup when it detects a
/// potential ransomware threat. You can use one of these ARP snapshots or
/// another snapshot of your volume to restore data.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='accountName'>
/// The name of the NetApp account
/// </param>
/// <param name='poolName'>
/// The name of the capacity pool
/// </param>
/// <param name='volumeName'>
/// The name of the volume
/// </param>
/// <param name='ransomwareReportName'>
/// The name of the ransomware report
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<RansomwareReport>> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, string volumeName, string ransomwareReportName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Clear ransomware suspects for the given Advanced Ransomware Protection
/// report. You should evaluate the report to determine whether the activity is
/// acceptable (false positive) or whether an attack seems malicious.
/// ARP creates snapshots named Anti_ransomware_backup when it detects a
/// potential ransomware threat. You can use one of these ARP snapshots or
/// another snapshot of your volume to restore data&#34;,
/// </summary>
/// <remarks>
/// Clear ransomware suspects for the given Advanced Ransomware Protection
/// report. You should evaluate the report to determine whether the activity is
/// acceptable (false positive) or whether an attack seems malicious.
/// ARP creates snapshots named Anti_ransomware_backup when it detects a
/// potential ransomware threat. You can use one of these ARP snapshots or
/// another snapshot of your volume to restore data&#34;,
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='accountName'>
/// The name of the NetApp account
/// </param>
/// <param name='poolName'>
/// The name of the capacity pool
/// </param>
/// <param name='volumeName'>
/// The name of the volume
/// </param>
/// <param name='ransomwareReportName'>
/// The name of the ransomware report
/// </param>
/// <param name='body'>
/// Clear suspects request object supplied in the body of the operation.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<RansomwareReportsClearSuspectsHeaders>> ClearSuspectsWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, string volumeName, string ransomwareReportName, RansomwareSuspectsClearRequest body, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Clear ransomware suspects for the given Advanced Ransomware Protection
/// report. You should evaluate the report to determine whether the activity is
/// acceptable (false positive) or whether an attack seems malicious.
/// ARP creates snapshots named Anti_ransomware_backup when it detects a
/// potential ransomware threat. You can use one of these ARP snapshots or
/// another snapshot of your volume to restore data&#34;,
/// </summary>
/// <remarks>
/// Clear ransomware suspects for the given Advanced Ransomware Protection
/// report. You should evaluate the report to determine whether the activity is
/// acceptable (false positive) or whether an attack seems malicious.
/// ARP creates snapshots named Anti_ransomware_backup when it detects a
/// potential ransomware threat. You can use one of these ARP snapshots or
/// another snapshot of your volume to restore data&#34;,
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='accountName'>
/// The name of the NetApp account
/// </param>
/// <param name='poolName'>
/// The name of the capacity pool
/// </param>
/// <param name='volumeName'>
/// The name of the volume
/// </param>
/// <param name='ransomwareReportName'>
/// The name of the ransomware report
/// </param>
/// <param name='body'>
/// Clear suspects request object supplied in the body of the operation.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationHeaderResponse<RansomwareReportsClearSuspectsHeaders>> BeginClearSuspectsWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, string volumeName, string ransomwareReportName, RansomwareSuspectsClearRequest body, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// List all ransomware reports for the volume
/// Returns a list of the Advanced Ransomware Protection (ARP) reports for the
/// volume.
/// ARP reports are created with a list of suspected files when it detects any
/// combination of high data entropy, abnormal volume activity with data
/// encryption, and unusual file extensions.
/// ARP creates snapshots named Anti_ransomware_backup when it detects a
/// potential ransomware threat. You can use one of these ARP snapshots or
/// another snapshot of your volume to restore data&#34;
/// </summary>
/// <remarks>
/// List all ransomware reports for the volume
/// Returns a list of the Advanced Ransomware Protection (ARP) reports for the
/// volume.
/// ARP reports are created with a list of suspected files when it detects any
/// combination of high data entropy, abnormal volume activity with data
/// encryption, and unusual file extensions.
/// ARP creates snapshots named Anti_ransomware_backup when it detects a
/// potential ransomware threat. You can use one of these ARP snapshots or
/// another snapshot of your volume to restore data&#34;
/// </remarks>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<RansomwareReport>>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,41 @@ public partial interface IVolumesOperations
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<GetGroupIdListForLdapUserResponse,VolumesListGetGroupIdListForLdapUserHeaders>> ListGetGroupIdListForLdapUserWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, string volumeName, GetGroupIdListForLdapUserRequest body, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Get quota report for volume (with filter support)
/// </summary>
/// <remarks>
/// Get quota report for volume (with filter support)
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='accountName'>
/// The name of the NetApp account
/// </param>
/// <param name='poolName'>
/// The name of the capacity pool
/// </param>
/// <param name='volumeName'>
/// The name of the volume
/// </param>
/// <param name='body'>
/// The content of the action request
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<ListQuotaReportResponse,VolumesListQuotaReportHeaders>> ListQuotaReportWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, string volumeName, QuotaReportFilterRequest body = default(QuotaReportFilterRequest), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// List all replications for a specified volume
/// </summary>
Expand Down Expand Up @@ -1243,6 +1278,41 @@ public partial interface IVolumesOperations
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<GetGroupIdListForLdapUserResponse,VolumesListGetGroupIdListForLdapUserHeaders>> BeginListGetGroupIdListForLdapUserWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, string volumeName, GetGroupIdListForLdapUserRequest body, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Get quota report for volume (with filter support)
/// </summary>
/// <remarks>
/// Get quota report for volume (with filter support)
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group. The name is case insensitive.
/// </param>
/// <param name='accountName'>
/// The name of the NetApp account
/// </param>
/// <param name='poolName'>
/// The name of the capacity pool
/// </param>
/// <param name='volumeName'>
/// The name of the volume
/// </param>
/// <param name='body'>
/// The content of the action request
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<ListQuotaReportResponse,VolumesListQuotaReportHeaders>> BeginListQuotaReportWithHttpMessagesAsync(string resourceGroupName, string accountName, string poolName, string volumeName, QuotaReportFilterRequest body = default(QuotaReportFilterRequest), System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Starts peering the external cluster for this migration volume
/// </summary>
Expand Down
Loading
Loading