共用方式為


SecurityCenterExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.SecurityCenter.

public static class SecurityCenterExtensions
type SecurityCenterExtensions = class
Public Module SecurityCenterExtensions
Inheritance
SecurityCenterExtensions

Methods

CreateOrUpdateInformationProtectionPolicy(ArmClient, ResourceIdentifier, InformationProtectionPolicyName, InformationProtectionPolicy, CancellationToken)

Details of the information protection policy.

  • Request Path: /{scope}/providers/Microsoft.Security/informationProtectionPolicies/{informationProtectionPolicyName}
  • Operation Id: InformationProtectionPolicies_CreateOrUpdate
  • Default Api Version: 2017-08-01-preview
CreateOrUpdateInformationProtectionPolicyAsync(ArmClient, ResourceIdentifier, InformationProtectionPolicyName, InformationProtectionPolicy, CancellationToken)

Details of the information protection policy.

  • Request Path: /{scope}/providers/Microsoft.Security/informationProtectionPolicies/{informationProtectionPolicyName}
  • Operation Id: InformationProtectionPolicies_CreateOrUpdate
  • Default Api Version: 2017-08-01-preview
GetAdaptiveApplicationControlGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing an AdaptiveApplicationControlGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create an AdaptiveApplicationControlGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAdaptiveApplicationControlGroupResource(ResourceIdentifier) instead.

GetAdaptiveApplicationControlGroups(SubscriptionResource, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

Gets a list of application control machine groups for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/applicationWhitelistings
  • Operation Id: AdaptiveApplicationControls_List
  • Default Api Version: 2020-01-01
  • Resource: AdaptiveApplicationControlGroupResource
GetAdaptiveApplicationControlGroupsAsync(SubscriptionResource, Nullable<Boolean>, Nullable<Boolean>, CancellationToken)

Gets a list of application control machine groups for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/applicationWhitelistings
  • Operation Id: AdaptiveApplicationControls_List
  • Default Api Version: 2020-01-01
  • Resource: AdaptiveApplicationControlGroupResource
GetAdaptiveNetworkHardening(ResourceGroupResource, String, String, String, String, CancellationToken)

Gets a single Adaptive Network Hardening resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/adaptiveNetworkHardenings/{adaptiveNetworkHardeningResourceName}
  • Operation Id: AdaptiveNetworkHardenings_Get
  • Default Api Version: 2020-01-01
  • Resource: AdaptiveNetworkHardeningResource
GetAdaptiveNetworkHardeningAsync(ResourceGroupResource, String, String, String, String, CancellationToken)

Gets a single Adaptive Network Hardening resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/adaptiveNetworkHardenings/{adaptiveNetworkHardeningResourceName}
  • Operation Id: AdaptiveNetworkHardenings_Get
  • Default Api Version: 2020-01-01
  • Resource: AdaptiveNetworkHardeningResource
GetAdaptiveNetworkHardeningResource(ArmClient, ResourceIdentifier)

Gets an object representing an AdaptiveNetworkHardeningResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create an AdaptiveNetworkHardeningResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAdaptiveNetworkHardeningResource(ResourceIdentifier) instead.

GetAdaptiveNetworkHardenings(ResourceGroupResource, String, String, String)

Gets a collection of AdaptiveNetworkHardeningResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAdaptiveNetworkHardenings(String, String, String) instead.

GetAdvancedThreatProtectionSetting(ArmClient, ResourceIdentifier)

Gets an object representing a AdvancedThreatProtectionSettingResource along with the instance operations that can be performed on it in the ArmClient. MockingTo mock this method, please mock GetAdvancedThreatProtectionSetting(ResourceIdentifier) instead.

GetAdvancedThreatProtectionSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing an AdvancedThreatProtectionSettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create an AdvancedThreatProtectionSettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAdvancedThreatProtectionSettingResource(ResourceIdentifier) instead.

GetAlerts(SubscriptionResource, CancellationToken)

List all the alerts that are associated with the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/alerts
  • Operation Id: Alerts_List
  • Default Api Version: 2022-01-01
GetAlertsAsync(SubscriptionResource, CancellationToken)

List all the alerts that are associated with the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/alerts
  • Operation Id: Alerts_List
  • Default Api Version: 2022-01-01
GetAlertsByResourceGroup(ResourceGroupResource, CancellationToken)

List all the alerts that are associated with the resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/alerts
  • Operation Id: Alerts_ListByResourceGroup
  • Default Api Version: 2022-01-01
GetAlertsByResourceGroupAsync(ResourceGroupResource, CancellationToken)

List all the alerts that are associated with the resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/alerts
  • Operation Id: Alerts_ListByResourceGroup
  • Default Api Version: 2022-01-01
GetAllowedConnection(ResourceGroupResource, AzureLocation, SecurityCenterConnectionType, CancellationToken)

Gets the list of all possible traffic between resources for the subscription and location, based on connection type.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/allowedConnections/{connectionType}
  • Operation Id: AllowedConnections_Get
  • Default Api Version: 2020-01-01
GetAllowedConnectionAsync(ResourceGroupResource, AzureLocation, SecurityCenterConnectionType, CancellationToken)

Gets the list of all possible traffic between resources for the subscription and location, based on connection type.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/allowedConnections/{connectionType}
  • Operation Id: AllowedConnections_Get
  • Default Api Version: 2020-01-01
GetAllowedConnections(SubscriptionResource, CancellationToken)

Gets the list of all possible traffic between resources for the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/allowedConnections
  • Operation Id: AllowedConnections_List
  • Default Api Version: 2020-01-01
GetAllowedConnectionsAsync(SubscriptionResource, CancellationToken)

Gets the list of all possible traffic between resources for the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/allowedConnections
  • Operation Id: AllowedConnections_List
  • Default Api Version: 2020-01-01
GetAllSecuritySolutionsReferenceData(SubscriptionResource, CancellationToken)

Gets a list of all supported Security Solutions for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/securitySolutionsReferenceData
  • Operation Id: securitySolutionsReferenceData_List
  • Default Api Version: 2020-01-01
GetAllSecuritySolutionsReferenceDataAsync(SubscriptionResource, CancellationToken)

Gets a list of all supported Security Solutions for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/securitySolutionsReferenceData
  • Operation Id: securitySolutionsReferenceData_List
  • Default Api Version: 2020-01-01
GetAllSubscriptionAssessmentMetadata(SubscriptionResource)

Gets a collection of SubscriptionAssessmentMetadataResources in the SubscriptionResource. MockingTo mock this method, please mock GetAllSubscriptionAssessmentMetadata() instead.

GetAllTenantAssessmentMetadata(TenantResource)

Gets a collection of TenantAssessmentMetadataResources in the TenantResource. MockingTo mock this method, please mock GetAllTenantAssessmentMetadata() instead.

GetAutoProvisioningSetting(SubscriptionResource, String, CancellationToken)

Details of a specific setting

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings/{settingName}
  • Operation Id: AutoProvisioningSettings_Get
  • Default Api Version: 2017-08-01-preview
  • Resource: AutoProvisioningSettingResource
GetAutoProvisioningSettingAsync(SubscriptionResource, String, CancellationToken)

Details of a specific setting

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/autoProvisioningSettings/{settingName}
  • Operation Id: AutoProvisioningSettings_Get
  • Default Api Version: 2017-08-01-preview
  • Resource: AutoProvisioningSettingResource
GetAutoProvisioningSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing an AutoProvisioningSettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create an AutoProvisioningSettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAutoProvisioningSettingResource(ResourceIdentifier) instead.

GetAutoProvisioningSettings(SubscriptionResource)

Gets a collection of AutoProvisioningSettingResources in the SubscriptionResource. MockingTo mock this method, please mock GetAutoProvisioningSettings() instead.

GetComplianceResult(ArmClient, ResourceIdentifier, String, CancellationToken)

Security Compliance Result

  • Request Path: /{resourceId}/providers/Microsoft.Security/complianceResults/{complianceResultName}
  • Operation Id: ComplianceResults_Get
  • Default Api Version: 2017-08-01
  • Resource: ComplianceResultResource
GetComplianceResultAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Security Compliance Result

  • Request Path: /{resourceId}/providers/Microsoft.Security/complianceResults/{complianceResultName}
  • Operation Id: ComplianceResults_Get
  • Default Api Version: 2017-08-01
  • Resource: ComplianceResultResource
GetComplianceResultResource(ArmClient, ResourceIdentifier)

Gets an object representing a ComplianceResultResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a ComplianceResultResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetComplianceResultResource(ResourceIdentifier) instead.

GetComplianceResults(ArmClient, ResourceIdentifier)

Gets a collection of ComplianceResultResources in the ArmClient. MockingTo mock this method, please mock GetComplianceResults(ResourceIdentifier) instead.

GetCustomAssessmentAutomation(ResourceGroupResource, String, CancellationToken)

Gets a single custom assessment automation by name for the provided subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}
  • Operation Id: CustomAssessmentAutomations_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
GetCustomAssessmentAutomationAsync(ResourceGroupResource, String, CancellationToken)

Gets a single custom assessment automation by name for the provided subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customAssessmentAutomations/{customAssessmentAutomationName}
  • Operation Id: CustomAssessmentAutomations_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
GetCustomAssessmentAutomationResource(ArmClient, ResourceIdentifier)

Gets an object representing a CustomAssessmentAutomationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a CustomAssessmentAutomationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCustomAssessmentAutomationResource(ResourceIdentifier) instead.

GetCustomAssessmentAutomations(ResourceGroupResource)

Gets a collection of CustomAssessmentAutomationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetCustomAssessmentAutomations() instead.

GetCustomAssessmentAutomations(SubscriptionResource, CancellationToken)

List custom assessment automations by provided subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/customAssessmentAutomations
  • Operation Id: CustomAssessmentAutomations_ListBySubscription
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
GetCustomAssessmentAutomationsAsync(SubscriptionResource, CancellationToken)

List custom assessment automations by provided subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/customAssessmentAutomations
  • Operation Id: CustomAssessmentAutomations_ListBySubscription
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomAssessmentAutomationResource
GetCustomEntityStoreAssignment(ResourceGroupResource, String, CancellationToken)

Gets a single custom entity store assignment by name for the provided subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}
  • Operation Id: CustomEntityStoreAssignments_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
GetCustomEntityStoreAssignmentAsync(ResourceGroupResource, String, CancellationToken)

Gets a single custom entity store assignment by name for the provided subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Security/customEntityStoreAssignments/{customEntityStoreAssignmentName}
  • Operation Id: CustomEntityStoreAssignments_Get
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
GetCustomEntityStoreAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a CustomEntityStoreAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a CustomEntityStoreAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetCustomEntityStoreAssignmentResource(ResourceIdentifier) instead.

GetCustomEntityStoreAssignments(ResourceGroupResource)

Gets a collection of CustomEntityStoreAssignmentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetCustomEntityStoreAssignments() instead.

GetCustomEntityStoreAssignments(SubscriptionResource, CancellationToken)

List custom entity store assignments by provided subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/customEntityStoreAssignments
  • Operation Id: CustomEntityStoreAssignments_ListBySubscription
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
GetCustomEntityStoreAssignmentsAsync(SubscriptionResource, CancellationToken)

List custom entity store assignments by provided subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/customEntityStoreAssignments
  • Operation Id: CustomEntityStoreAssignments_ListBySubscription
  • Default Api Version: 2021-07-01-preview
  • Resource: CustomEntityStoreAssignmentResource
GetDefenderForStorageSetting(ArmClient, ResourceIdentifier, DefenderForStorageSettingName, CancellationToken)

Gets the Defender for Storage settings for the specified storage account.

  • Request Path: /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}
  • Operation Id: DefenderForStorage_Get
  • Default Api Version: 2022-12-01-preview
  • Resource: DefenderForStorageSettingResource
GetDefenderForStorageSettingAsync(ArmClient, ResourceIdentifier, DefenderForStorageSettingName, CancellationToken)

Gets the Defender for Storage settings for the specified storage account.

  • Request Path: /{resourceId}/providers/Microsoft.Security/defenderForStorageSettings/{settingName}
  • Operation Id: DefenderForStorage_Get
  • Default Api Version: 2022-12-01-preview
  • Resource: DefenderForStorageSettingResource
GetDefenderForStorageSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a DefenderForStorageSettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, DefenderForStorageSettingName) to create a DefenderForStorageSettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDefenderForStorageSettingResource(ResourceIdentifier) instead.

GetDefenderForStorageSettings(ArmClient, ResourceIdentifier)

Gets a collection of DefenderForStorageSettingResources in the ArmClient. MockingTo mock this method, please mock GetDefenderForStorageSettings(ResourceIdentifier) instead.

GetDeviceSecurityGroup(ArmClient, ResourceIdentifier, String, CancellationToken)

Use this method to get the device security group for the specified IoT Hub resource.

  • Request Path: /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}
  • Operation Id: DeviceSecurityGroups_Get
  • Default Api Version: 2019-08-01
  • Resource: DeviceSecurityGroupResource
GetDeviceSecurityGroupAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Use this method to get the device security group for the specified IoT Hub resource.

  • Request Path: /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}
  • Operation Id: DeviceSecurityGroups_Get
  • Default Api Version: 2019-08-01
  • Resource: DeviceSecurityGroupResource
GetDeviceSecurityGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a DeviceSecurityGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a DeviceSecurityGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDeviceSecurityGroupResource(ResourceIdentifier) instead.

GetDeviceSecurityGroups(ArmClient, ResourceIdentifier)

Gets a collection of DeviceSecurityGroupResources in the ArmClient. MockingTo mock this method, please mock GetDeviceSecurityGroups(ResourceIdentifier) instead.

GetDevOpsConfigurationResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevOpsConfigurationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DevOpsConfigurationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevOpsConfigurationResource(ResourceIdentifier) instead.

GetDevOpsOrgResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevOpsOrgResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DevOpsOrgResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevOpsOrgResource(ResourceIdentifier) instead.

GetDevOpsProjectResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevOpsProjectResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a DevOpsProjectResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevOpsProjectResource(ResourceIdentifier) instead.

GetDevOpsRepositoryResource(ArmClient, ResourceIdentifier)

Gets an object representing a DevOpsRepositoryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a DevOpsRepositoryResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDevOpsRepositoryResource(ResourceIdentifier) instead.

GetDiscoveredSecuritySolution(ResourceGroupResource, AzureLocation, String, CancellationToken)

Gets a specific discovered Security Solution.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/discoveredSecuritySolutions/{discoveredSecuritySolutionName}
  • Operation Id: DiscoveredSecuritySolutions_Get
  • Default Api Version: 2020-01-01
GetDiscoveredSecuritySolutionAsync(ResourceGroupResource, AzureLocation, String, CancellationToken)

Gets a specific discovered Security Solution.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/discoveredSecuritySolutions/{discoveredSecuritySolutionName}
  • Operation Id: DiscoveredSecuritySolutions_Get
  • Default Api Version: 2020-01-01
GetDiscoveredSecuritySolutions(SubscriptionResource, CancellationToken)

Gets a list of discovered Security Solutions for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/discoveredSecuritySolutions
  • Operation Id: DiscoveredSecuritySolutions_List
  • Default Api Version: 2020-01-01
GetDiscoveredSecuritySolutionsAsync(SubscriptionResource, CancellationToken)

Gets a list of discovered Security Solutions for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/discoveredSecuritySolutions
  • Operation Id: DiscoveredSecuritySolutions_List
  • Default Api Version: 2020-01-01
GetExternalSecuritySolution(ResourceGroupResource, AzureLocation, String, CancellationToken)

Gets a specific external Security Solution.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/ExternalSecuritySolutions/{externalSecuritySolutionsName}
  • Operation Id: ExternalSecuritySolutions_Get
  • Default Api Version: 2020-01-01
GetExternalSecuritySolutionAsync(ResourceGroupResource, AzureLocation, String, CancellationToken)

Gets a specific external Security Solution.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/ExternalSecuritySolutions/{externalSecuritySolutionsName}
  • Operation Id: ExternalSecuritySolutions_Get
  • Default Api Version: 2020-01-01
GetExternalSecuritySolutions(SubscriptionResource, CancellationToken)

Gets a list of external security solutions for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/externalSecuritySolutions
  • Operation Id: ExternalSecuritySolutions_List
  • Default Api Version: 2020-01-01
GetExternalSecuritySolutionsAsync(SubscriptionResource, CancellationToken)

Gets a list of external security solutions for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/externalSecuritySolutions
  • Operation Id: ExternalSecuritySolutions_List
  • Default Api Version: 2020-01-01
GetGovernanceAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a GovernanceAssignmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a GovernanceAssignmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGovernanceAssignmentResource(ResourceIdentifier) instead.

GetGovernanceRule(ArmClient, ResourceIdentifier, String, CancellationToken)

Get a specific governance rule for the requested scope by ruleId

  • Request Path: /{scope}/providers/Microsoft.Security/governanceRules/{ruleId}
  • Operation Id: GovernanceRules_Get
  • Default Api Version: 2022-01-01-preview
  • Resource: GovernanceRuleResource
GetGovernanceRuleAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get a specific governance rule for the requested scope by ruleId

  • Request Path: /{scope}/providers/Microsoft.Security/governanceRules/{ruleId}
  • Operation Id: GovernanceRules_Get
  • Default Api Version: 2022-01-01-preview
  • Resource: GovernanceRuleResource
GetGovernanceRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a GovernanceRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a GovernanceRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetGovernanceRuleResource(ResourceIdentifier) instead.

GetGovernanceRules(ArmClient, ResourceIdentifier)

Gets a collection of GovernanceRuleResources in the ArmClient. MockingTo mock this method, please mock GetGovernanceRules(ResourceIdentifier) instead.

GetInformationProtectionPolicies(ArmClient, ResourceIdentifier, CancellationToken)

Information protection policies of a specific management group.

  • Request Path: /{scope}/providers/Microsoft.Security/informationProtectionPolicies
  • Operation Id: InformationProtectionPolicies_List
  • Default Api Version: 2017-08-01-preview
GetInformationProtectionPoliciesAsync(ArmClient, ResourceIdentifier, CancellationToken)

Information protection policies of a specific management group.

  • Request Path: /{scope}/providers/Microsoft.Security/informationProtectionPolicies
  • Operation Id: InformationProtectionPolicies_List
  • Default Api Version: 2017-08-01-preview
GetIngestionSetting(SubscriptionResource, String, CancellationToken)

Settings for ingesting security data and logs to correlate with resources associated with the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/ingestionSettings/{ingestionSettingName}
  • Operation Id: IngestionSettings_Get
GetIngestionSettingAsync(SubscriptionResource, String, CancellationToken)

Settings for ingesting security data and logs to correlate with resources associated with the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/ingestionSettings/{ingestionSettingName}
  • Operation Id: IngestionSettings_Get
GetIngestionSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing an IngestionSettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create an IngestionSettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock Azure.ResourceManager.SecurityCenter.Mocking.MockableSecurityCenterArmClient.GetIngestionSettingResource(Azure.Core.ResourceIdentifier) instead.

GetIngestionSettings(SubscriptionResource)

Gets a collection of IngestionSettingResources in the SubscriptionResource. MockingTo mock this method, please mock Azure.ResourceManager.SecurityCenter.Mocking.MockableSecurityCenterSubscriptionResource.GetIngestionSettings instead.

GetIotSecurityAggregatedAlertResource(ArmClient, ResourceIdentifier)

Gets an object representing an IotSecurityAggregatedAlertResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an IotSecurityAggregatedAlertResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetIotSecurityAggregatedAlertResource(ResourceIdentifier) instead.

GetIotSecurityAggregatedRecommendationResource(ArmClient, ResourceIdentifier)

Gets an object representing an IotSecurityAggregatedRecommendationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an IotSecurityAggregatedRecommendationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetIotSecurityAggregatedRecommendationResource(ResourceIdentifier) instead.

GetIotSecuritySolution(ResourceGroupResource, String, CancellationToken)

User this method to get details of a specific IoT Security solution based on solution name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}
  • Operation Id: IotSecuritySolution_Get
  • Default Api Version: 2019-08-01
  • Resource: IotSecuritySolutionResource
GetIotSecuritySolutionAnalyticsModelResource(ArmClient, ResourceIdentifier)

Gets an object representing an IotSecuritySolutionAnalyticsModelResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an IotSecuritySolutionAnalyticsModelResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetIotSecuritySolutionAnalyticsModelResource(ResourceIdentifier) instead.

GetIotSecuritySolutionAsync(ResourceGroupResource, String, CancellationToken)

User this method to get details of a specific IoT Security solution based on solution name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}
  • Operation Id: IotSecuritySolution_Get
  • Default Api Version: 2019-08-01
  • Resource: IotSecuritySolutionResource
GetIotSecuritySolutionResource(ArmClient, ResourceIdentifier)

Gets an object representing an IotSecuritySolutionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an IotSecuritySolutionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetIotSecuritySolutionResource(ResourceIdentifier) instead.

GetIotSecuritySolutions(ResourceGroupResource)

Gets a collection of IotSecuritySolutionResources in the ResourceGroupResource. MockingTo mock this method, please mock GetIotSecuritySolutions() instead.

GetIotSecuritySolutions(SubscriptionResource, String, CancellationToken)

Use this method to get the list of IoT Security solutions by subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/iotSecuritySolutions
  • Operation Id: IotSecuritySolution_ListBySubscription
  • Default Api Version: 2019-08-01
  • Resource: IotSecuritySolutionResource
GetIotSecuritySolutionsAsync(SubscriptionResource, String, CancellationToken)

Use this method to get the list of IoT Security solutions by subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/iotSecuritySolutions
  • Operation Id: IotSecuritySolution_ListBySubscription
  • Default Api Version: 2019-08-01
  • Resource: IotSecuritySolutionResource
GetJitNetworkAccessPolicies(ResourceGroupResource, AzureLocation)

Gets a collection of JitNetworkAccessPolicyResources in the ResourceGroupResource. MockingTo mock this method, please mock GetJitNetworkAccessPolicies(AzureLocation) instead.

GetJitNetworkAccessPolicies(ResourceGroupResource, CancellationToken)

Policies for protecting resources using Just-in-Time access control for the subscription, location

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/jitNetworkAccessPolicies
  • Operation Id: JitNetworkAccessPolicies_ListByResourceGroup
  • Default Api Version: 2020-01-01
  • Resource: JitNetworkAccessPolicyResource
GetJitNetworkAccessPolicies(SubscriptionResource, CancellationToken)

Policies for protecting resources using Just-in-Time access control.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/jitNetworkAccessPolicies
  • Operation Id: JitNetworkAccessPolicies_List
  • Default Api Version: 2020-01-01
  • Resource: JitNetworkAccessPolicyResource
GetJitNetworkAccessPoliciesAsync(ResourceGroupResource, CancellationToken)

Policies for protecting resources using Just-in-Time access control for the subscription, location

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/jitNetworkAccessPolicies
  • Operation Id: JitNetworkAccessPolicies_ListByResourceGroup
  • Default Api Version: 2020-01-01
  • Resource: JitNetworkAccessPolicyResource
GetJitNetworkAccessPoliciesAsync(SubscriptionResource, CancellationToken)

Policies for protecting resources using Just-in-Time access control.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/jitNetworkAccessPolicies
  • Operation Id: JitNetworkAccessPolicies_List
  • Default Api Version: 2020-01-01
  • Resource: JitNetworkAccessPolicyResource
GetJitNetworkAccessPolicy(ResourceGroupResource, AzureLocation, String, CancellationToken)

Policies for protecting resources using Just-in-Time access control for the subscription, location

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}
  • Operation Id: JitNetworkAccessPolicies_Get
  • Default Api Version: 2020-01-01
  • Resource: JitNetworkAccessPolicyResource
GetJitNetworkAccessPolicyAsync(ResourceGroupResource, AzureLocation, String, CancellationToken)

Policies for protecting resources using Just-in-Time access control for the subscription, location

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/jitNetworkAccessPolicies/{jitNetworkAccessPolicyName}
  • Operation Id: JitNetworkAccessPolicies_Get
  • Default Api Version: 2020-01-01
  • Resource: JitNetworkAccessPolicyResource
GetJitNetworkAccessPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a JitNetworkAccessPolicyResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, AzureLocation, String) to create a JitNetworkAccessPolicyResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetJitNetworkAccessPolicyResource(ResourceIdentifier) instead.

GetMdeOnboarding(SubscriptionResource, CancellationToken)

The default configuration or data needed to onboard the machine to MDE

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/mdeOnboardings/default
  • Operation Id: MdeOnboardings_Get
  • Default Api Version: 2021-10-01-preview
GetMdeOnboardingAsync(SubscriptionResource, CancellationToken)

The default configuration or data needed to onboard the machine to MDE

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/mdeOnboardings/default
  • Operation Id: MdeOnboardings_Get
  • Default Api Version: 2021-10-01-preview
GetMdeOnboardings(SubscriptionResource, CancellationToken)

The configuration or data needed to onboard the machine to MDE

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/mdeOnboardings
  • Operation Id: MdeOnboardings_List
  • Default Api Version: 2021-10-01-preview
GetMdeOnboardingsAsync(SubscriptionResource, CancellationToken)

The configuration or data needed to onboard the machine to MDE

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/mdeOnboardings
  • Operation Id: MdeOnboardings_List
  • Default Api Version: 2021-10-01-preview
GetRegulatoryComplianceAssessmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a RegulatoryComplianceAssessmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a RegulatoryComplianceAssessmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRegulatoryComplianceAssessmentResource(ResourceIdentifier) instead.

GetRegulatoryComplianceControlResource(ArmClient, ResourceIdentifier)

Gets an object representing a RegulatoryComplianceControlResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a RegulatoryComplianceControlResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRegulatoryComplianceControlResource(ResourceIdentifier) instead.

GetRegulatoryComplianceStandard(SubscriptionResource, String, CancellationToken)

Supported regulatory compliance details state for selected standard

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}
  • Operation Id: RegulatoryComplianceStandards_Get
  • Default Api Version: 2019-01-01-preview
  • Resource: RegulatoryComplianceStandardResource
GetRegulatoryComplianceStandardAsync(SubscriptionResource, String, CancellationToken)

Supported regulatory compliance details state for selected standard

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/regulatoryComplianceStandards/{regulatoryComplianceStandardName}
  • Operation Id: RegulatoryComplianceStandards_Get
  • Default Api Version: 2019-01-01-preview
  • Resource: RegulatoryComplianceStandardResource
GetRegulatoryComplianceStandardResource(ArmClient, ResourceIdentifier)

Gets an object representing a RegulatoryComplianceStandardResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a RegulatoryComplianceStandardResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRegulatoryComplianceStandardResource(ResourceIdentifier) instead.

GetRegulatoryComplianceStandards(SubscriptionResource)

Gets a collection of RegulatoryComplianceStandardResources in the SubscriptionResource. MockingTo mock this method, please mock GetRegulatoryComplianceStandards() instead.

GetResourceGroupSecurityAlert(ResourceGroupResource, AzureLocation, String, CancellationToken)

Get an alert that is associated a resource group or a resource in a resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • Operation Id: Alerts_GetResourceGroupLevel
  • Default Api Version: 2022-01-01
  • Resource: ResourceGroupSecurityAlertResource
GetResourceGroupSecurityAlertAsync(ResourceGroupResource, AzureLocation, String, CancellationToken)

Get an alert that is associated a resource group or a resource in a resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • Operation Id: Alerts_GetResourceGroupLevel
  • Default Api Version: 2022-01-01
  • Resource: ResourceGroupSecurityAlertResource
GetResourceGroupSecurityAlertResource(ArmClient, ResourceIdentifier)

Gets an object representing a ResourceGroupSecurityAlertResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, AzureLocation, String) to create a ResourceGroupSecurityAlertResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetResourceGroupSecurityAlertResource(ResourceIdentifier) instead.

GetResourceGroupSecurityAlerts(ResourceGroupResource, AzureLocation)

Gets a collection of ResourceGroupSecurityAlertResources in the ResourceGroupResource. MockingTo mock this method, please mock GetResourceGroupSecurityAlerts(AzureLocation) instead.

GetResourceGroupSecurityTask(ResourceGroupResource, AzureLocation, String, CancellationToken)

Recommended tasks that will help improve the security of the subscription proactively

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}
  • Operation Id: Tasks_GetResourceGroupLevelTask
  • Default Api Version: 2015-06-01-preview
  • Resource: ResourceGroupSecurityTaskResource
GetResourceGroupSecurityTaskAsync(ResourceGroupResource, AzureLocation, String, CancellationToken)

Recommended tasks that will help improve the security of the subscription proactively

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}
  • Operation Id: Tasks_GetResourceGroupLevelTask
  • Default Api Version: 2015-06-01-preview
  • Resource: ResourceGroupSecurityTaskResource
GetResourceGroupSecurityTaskResource(ArmClient, ResourceIdentifier)

Gets an object representing a ResourceGroupSecurityTaskResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, AzureLocation, String) to create a ResourceGroupSecurityTaskResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetResourceGroupSecurityTaskResource(ResourceIdentifier) instead.

GetResourceGroupSecurityTasks(ResourceGroupResource, AzureLocation)

Gets a collection of ResourceGroupSecurityTaskResources in the ResourceGroupResource. MockingTo mock this method, please mock GetResourceGroupSecurityTasks(AzureLocation) instead.

GetSecureScore(SubscriptionResource, String, CancellationToken)

Get secure score for a specific Microsoft Defender for Cloud initiative within your current scope. For the ASC Default initiative, use 'ascScore'.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores/{secureScoreName}
  • Operation Id: SecureScores_Get
  • Default Api Version: 2020-01-01
  • Resource: SecureScoreResource
GetSecureScoreAsync(SubscriptionResource, String, CancellationToken)

Get secure score for a specific Microsoft Defender for Cloud initiative within your current scope. For the ASC Default initiative, use 'ascScore'.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScores/{secureScoreName}
  • Operation Id: SecureScores_Get
  • Default Api Version: 2020-01-01
  • Resource: SecureScoreResource
GetSecureScoreControlDefinitions(TenantResource, CancellationToken)

List the available security controls, their assessments, and the max score

  • Request Path: /providers/Microsoft.Security/secureScoreControlDefinitions
  • Operation Id: SecureScoreControlDefinitions_List
  • Default Api Version: 2020-01-01
GetSecureScoreControlDefinitionsAsync(TenantResource, CancellationToken)

List the available security controls, their assessments, and the max score

  • Request Path: /providers/Microsoft.Security/secureScoreControlDefinitions
  • Operation Id: SecureScoreControlDefinitions_List
  • Default Api Version: 2020-01-01
GetSecureScoreControlDefinitionsBySubscription(SubscriptionResource, CancellationToken)

For a specified subscription, list the available security controls, their assessments, and the max score

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScoreControlDefinitions
  • Operation Id: SecureScoreControlDefinitions_ListBySubscription
  • Default Api Version: 2020-01-01
GetSecureScoreControlDefinitionsBySubscriptionAsync(SubscriptionResource, CancellationToken)

For a specified subscription, list the available security controls, their assessments, and the max score

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScoreControlDefinitions
  • Operation Id: SecureScoreControlDefinitions_ListBySubscription
  • Default Api Version: 2020-01-01
GetSecureScoreControls(SubscriptionResource, Nullable<SecurityScoreODataExpand>, CancellationToken)

Get all security controls within a scope

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScoreControls
  • Operation Id: SecureScoreControls_List
  • Default Api Version: 2020-01-01
GetSecureScoreControlsAsync(SubscriptionResource, Nullable<SecurityScoreODataExpand>, CancellationToken)

Get all security controls within a scope

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/secureScoreControls
  • Operation Id: SecureScoreControls_List
  • Default Api Version: 2020-01-01
GetSecureScoreResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecureScoreResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SecureScoreResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecureScoreResource(ResourceIdentifier) instead.

GetSecureScores(SubscriptionResource)

Gets a collection of SecureScoreResources in the SubscriptionResource. MockingTo mock this method, please mock GetSecureScores() instead.

GetSecurityAlertsSuppressionRule(SubscriptionResource, String, CancellationToken)

Get dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/alertsSuppressionRules/{alertsSuppressionRuleName}
  • Operation Id: AlertsSuppressionRules_Get
  • Default Api Version: 2019-01-01-preview
  • Resource: SecurityAlertsSuppressionRuleResource
GetSecurityAlertsSuppressionRuleAsync(SubscriptionResource, String, CancellationToken)

Get dismiss rule, with name: {alertsSuppressionRuleName}, for the given subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/alertsSuppressionRules/{alertsSuppressionRuleName}
  • Operation Id: AlertsSuppressionRules_Get
  • Default Api Version: 2019-01-01-preview
  • Resource: SecurityAlertsSuppressionRuleResource
GetSecurityAlertsSuppressionRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityAlertsSuppressionRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SecurityAlertsSuppressionRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityAlertsSuppressionRuleResource(ResourceIdentifier) instead.

GetSecurityAlertsSuppressionRules(SubscriptionResource)

Gets a collection of SecurityAlertsSuppressionRuleResources in the SubscriptionResource. MockingTo mock this method, please mock GetSecurityAlertsSuppressionRules() instead.

GetSecurityAssessment(ArmClient, ResourceIdentifier, String, Nullable<SecurityAssessmentODataExpand>, CancellationToken)

Get a security assessment on your scanned resource

  • Request Path: /{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • Operation Id: Assessments_Get
  • Default Api Version: 2021-06-01
  • Resource: SecurityAssessmentResource
GetSecurityAssessmentAsync(ArmClient, ResourceIdentifier, String, Nullable<SecurityAssessmentODataExpand>, CancellationToken)

Get a security assessment on your scanned resource

  • Request Path: /{resourceId}/providers/Microsoft.Security/assessments/{assessmentName}
  • Operation Id: Assessments_Get
  • Default Api Version: 2021-06-01
  • Resource: SecurityAssessmentResource
GetSecurityAssessmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityAssessmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SecurityAssessmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityAssessmentResource(ResourceIdentifier) instead.

GetSecurityAssessments(ArmClient, ResourceIdentifier, CancellationToken)

Get security assessments on all your scanned resources inside a scope

  • Request Path: /{scope}/providers/Microsoft.Security/assessments
  • Operation Id: Assessments_List
  • Default Api Version: 2021-06-01
  • Resource: SecurityAssessmentResource
GetSecurityAssessments(ArmClient, ResourceIdentifier)

Gets a collection of SecurityAssessmentResources in the ArmClient. MockingTo mock this method, please mock GetSecurityAssessments(ResourceIdentifier) instead.

GetSecurityAssessmentsAsync(ArmClient, ResourceIdentifier, CancellationToken)

Get security assessments on all your scanned resources inside a scope

  • Request Path: /{scope}/providers/Microsoft.Security/assessments
  • Operation Id: Assessments_List
  • Default Api Version: 2021-06-01
  • Resource: SecurityAssessmentResource
GetSecurityAutomation(ResourceGroupResource, String, CancellationToken)

Retrieves information about the model of a security automation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}
  • Operation Id: Automations_Get
  • Default Api Version: 2019-01-01-preview
  • Resource: SecurityAutomationResource
GetSecurityAutomationAsync(ResourceGroupResource, String, CancellationToken)

Retrieves information about the model of a security automation.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/automations/{automationName}
  • Operation Id: Automations_Get
  • Default Api Version: 2019-01-01-preview
  • Resource: SecurityAutomationResource
GetSecurityAutomationResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityAutomationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a SecurityAutomationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityAutomationResource(ResourceIdentifier) instead.

GetSecurityAutomations(ResourceGroupResource)

Gets a collection of SecurityAutomationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSecurityAutomations() instead.

GetSecurityAutomations(SubscriptionResource, CancellationToken)

Lists all the security automations in the specified subscription. Use the 'nextLink' property in the response to get the next page of security automations for the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/automations
  • Operation Id: Automations_List
  • Default Api Version: 2019-01-01-preview
  • Resource: SecurityAutomationResource
GetSecurityAutomationsAsync(SubscriptionResource, CancellationToken)

Lists all the security automations in the specified subscription. Use the 'nextLink' property in the response to get the next page of security automations for the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/automations
  • Operation Id: Automations_List
  • Default Api Version: 2019-01-01-preview
  • Resource: SecurityAutomationResource
GetSecurityCenterApiCollection(ResourceGroupResource, String, String, CancellationToken)

Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs. If an Azure API Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}
  • Operation Id: APICollections_GetByAzureApiManagementService
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
GetSecurityCenterApiCollectionAsync(ResourceGroupResource, String, String, CancellationToken)

Gets an Azure API Management API if it has been onboarded to Microsoft Defender for APIs. If an Azure API Management API is onboarded to Microsoft Defender for APIs, the system will monitor the operations within the Azure API Management API for intrusive behaviors and provide alerts for attacks that have been detected.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/providers/Microsoft.Security/apiCollections/{apiId}
  • Operation Id: APICollections_GetByAzureApiManagementService
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
GetSecurityCenterApiCollectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityCenterApiCollectionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a SecurityCenterApiCollectionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityCenterApiCollectionResource(ResourceIdentifier) instead.

GetSecurityCenterApiCollections(ResourceGroupResource, CancellationToken)

Gets a list of API collections within a resource group that have been onboarded to Microsoft Defender for APIs.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/apiCollections
  • Operation Id: APICollections_ListByResourceGroup
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
GetSecurityCenterApiCollections(ResourceGroupResource, String)

Gets a collection of SecurityCenterApiCollectionResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSecurityCenterApiCollections(String) instead.

GetSecurityCenterApiCollections(SubscriptionResource, CancellationToken)

Gets a list of API collections within a subscription that have been onboarded to Microsoft Defender for APIs.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/apiCollections
  • Operation Id: APICollections_ListBySubscription
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
GetSecurityCenterApiCollectionsAsync(ResourceGroupResource, CancellationToken)

Gets a list of API collections within a resource group that have been onboarded to Microsoft Defender for APIs.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/apiCollections
  • Operation Id: APICollections_ListByResourceGroup
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
GetSecurityCenterApiCollectionsAsync(SubscriptionResource, CancellationToken)

Gets a list of API collections within a subscription that have been onboarded to Microsoft Defender for APIs.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/apiCollections
  • Operation Id: APICollections_ListBySubscription
  • Default Api Version: 2023-11-15
  • Resource: SecurityCenterApiCollectionResource
GetSecurityCenterLocation(SubscriptionResource, AzureLocation, CancellationToken)

Details of a specific location

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}
  • Operation Id: Locations_Get
  • Default Api Version: 2015-06-01-preview
  • Resource: SecurityCenterLocationResource
GetSecurityCenterLocationAsync(SubscriptionResource, AzureLocation, CancellationToken)

Details of a specific location

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}
  • Operation Id: Locations_Get
  • Default Api Version: 2015-06-01-preview
  • Resource: SecurityCenterLocationResource
GetSecurityCenterLocationResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityCenterLocationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation) to create a SecurityCenterLocationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityCenterLocationResource(ResourceIdentifier) instead.

GetSecurityCenterLocations(SubscriptionResource)

Gets a collection of SecurityCenterLocationResources in the SubscriptionResource. MockingTo mock this method, please mock GetSecurityCenterLocations() instead.

GetSecurityCenterPricing(SubscriptionResource, String, CancellationToken)

Gets a provided Microsoft Defender for Cloud pricing configuration in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}
  • Operation Id: Pricings_Get
  • Default Api Version: 2023-01-01
  • Resource: SecurityCenterPricingResource
GetSecurityCenterPricingAsync(SubscriptionResource, String, CancellationToken)

Gets a provided Microsoft Defender for Cloud pricing configuration in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/pricings/{pricingName}
  • Operation Id: Pricings_Get
  • Default Api Version: 2023-01-01
  • Resource: SecurityCenterPricingResource
GetSecurityCenterPricingResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityCenterPricingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SecurityCenterPricingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityCenterPricingResource(ResourceIdentifier) instead.

GetSecurityCenterPricings(SubscriptionResource)

Gets a collection of SecurityCenterPricingResources in the SubscriptionResource. MockingTo mock this method, please mock GetSecurityCenterPricings() instead.

GetSecurityCloudConnector(SubscriptionResource, String, CancellationToken)

Details of a specific cloud account connector

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}
  • Operation Id: Connectors_Get
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityCloudConnectorResource
GetSecurityCloudConnectorAsync(SubscriptionResource, String, CancellationToken)

Details of a specific cloud account connector

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/connectors/{connectorName}
  • Operation Id: Connectors_Get
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityCloudConnectorResource
GetSecurityCloudConnectorResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityCloudConnectorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SecurityCloudConnectorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityCloudConnectorResource(ResourceIdentifier) instead.

GetSecurityCloudConnectors(SubscriptionResource)

Gets a collection of SecurityCloudConnectorResources in the SubscriptionResource. MockingTo mock this method, please mock GetSecurityCloudConnectors() instead.

GetSecurityCompliance(ArmClient, ResourceIdentifier, String, CancellationToken)

Details of a specific Compliance.

  • Request Path: /{scope}/providers/Microsoft.Security/compliances/{complianceName}
  • Operation Id: Compliances_Get
  • Default Api Version: 2017-08-01-preview
  • Resource: SecurityComplianceResource
GetSecurityComplianceAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Details of a specific Compliance.

  • Request Path: /{scope}/providers/Microsoft.Security/compliances/{complianceName}
  • Operation Id: Compliances_Get
  • Default Api Version: 2017-08-01-preview
  • Resource: SecurityComplianceResource
GetSecurityComplianceResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityComplianceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SecurityComplianceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityComplianceResource(ResourceIdentifier) instead.

GetSecurityCompliances(ArmClient, ResourceIdentifier)

Gets a collection of SecurityComplianceResources in the ArmClient. MockingTo mock this method, please mock GetSecurityCompliances(ResourceIdentifier) instead.

GetSecurityConnector(ResourceGroupResource, String, CancellationToken)

Retrieves details of a specific security connector

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}
  • Operation Id: SecurityConnectors_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
GetSecurityConnectorApplicationResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityConnectorApplicationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a SecurityConnectorApplicationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityConnectorApplicationResource(ResourceIdentifier) instead.

GetSecurityConnectorAsync(ResourceGroupResource, String, CancellationToken)

Retrieves details of a specific security connector

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}
  • Operation Id: SecurityConnectors_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
GetSecurityConnectorGitHubOwnerResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityConnectorGitHubOwnerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a SecurityConnectorGitHubOwnerResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityConnectorGitHubOwnerResource(ResourceIdentifier) instead.

GetSecurityConnectorGitHubRepositoryResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityConnectorGitHubRepositoryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a SecurityConnectorGitHubRepositoryResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityConnectorGitHubRepositoryResource(ResourceIdentifier) instead.

GetSecurityConnectorGitLabGroupResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityConnectorGitLabGroupResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a SecurityConnectorGitLabGroupResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityConnectorGitLabGroupResource(ResourceIdentifier) instead.

GetSecurityConnectorGitLabProjectResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityConnectorGitLabProjectResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a SecurityConnectorGitLabProjectResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityConnectorGitLabProjectResource(ResourceIdentifier) instead.

GetSecurityConnectorResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityConnectorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a SecurityConnectorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityConnectorResource(ResourceIdentifier) instead.

GetSecurityConnectors(ResourceGroupResource)

Gets a collection of SecurityConnectorResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSecurityConnectors() instead.

GetSecurityConnectors(SubscriptionResource, CancellationToken)

Lists all the security connectors in the specified subscription. Use the 'nextLink' property in the response to get the next page of security connectors for the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/securityConnectors
  • Operation Id: SecurityConnectors_List
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
GetSecurityConnectorsAsync(SubscriptionResource, CancellationToken)

Lists all the security connectors in the specified subscription. Use the 'nextLink' property in the response to get the next page of security connectors for the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/securityConnectors
  • Operation Id: SecurityConnectors_List
  • Default Api Version: 2023-10-01-preview
  • Resource: SecurityConnectorResource
GetSecurityContact(SubscriptionResource, String, CancellationToken)

Get Default Security contact configurations for the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts/{securityContactName}
  • Operation Id: SecurityContacts_Get
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityContactResource
GetSecurityContactAsync(SubscriptionResource, String, CancellationToken)

Get Default Security contact configurations for the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/securityContacts/{securityContactName}
  • Operation Id: SecurityContacts_Get
  • Default Api Version: 2020-01-01-preview
  • Resource: SecurityContactResource
GetSecurityContactResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityContactResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SecurityContactResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityContactResource(ResourceIdentifier) instead.

GetSecurityContacts(SubscriptionResource)

Gets a collection of SecurityContactResources in the SubscriptionResource. MockingTo mock this method, please mock GetSecurityContacts() instead.

GetSecurityHealthReport(ArmClient, ResourceIdentifier, String, CancellationToken)

Get health report of resource

  • Request Path: /{resourceId}/providers/Microsoft.Security/healthReports/{healthReportName}
  • Operation Id: HealthReports_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: SecurityHealthReportResource
GetSecurityHealthReportAsync(ArmClient, ResourceIdentifier, String, CancellationToken)

Get health report of resource

  • Request Path: /{resourceId}/providers/Microsoft.Security/healthReports/{healthReportName}
  • Operation Id: HealthReports_Get
  • Default Api Version: 2023-05-01-preview
  • Resource: SecurityHealthReportResource
GetSecurityHealthReportResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityHealthReportResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SecurityHealthReportResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityHealthReportResource(ResourceIdentifier) instead.

GetSecurityHealthReports(ArmClient, ResourceIdentifier)

Gets a collection of SecurityHealthReportResources in the ArmClient. MockingTo mock this method, please mock GetSecurityHealthReports(ResourceIdentifier) instead.

GetSecurityOperatorResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityOperatorResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a SecurityOperatorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityOperatorResource(ResourceIdentifier) instead.

GetSecuritySetting(SubscriptionResource, SecuritySettingName, CancellationToken)

Settings of different configurations in Microsoft Defender for Cloud

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • Operation Id: Settings_Get
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
GetSecuritySettingAsync(SubscriptionResource, SecuritySettingName, CancellationToken)

Settings of different configurations in Microsoft Defender for Cloud

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/settings/{settingName}
  • Operation Id: Settings_Get
  • Default Api Version: 2022-05-01
  • Resource: SecuritySettingResource
GetSecuritySettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecuritySettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, SecuritySettingName) to create a SecuritySettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecuritySettingResource(ResourceIdentifier) instead.

GetSecuritySettings(SubscriptionResource)

Gets a collection of SecuritySettingResources in the SubscriptionResource. MockingTo mock this method, please mock GetSecuritySettings() instead.

GetSecuritySolution(ResourceGroupResource, AzureLocation, String, CancellationToken)

Gets a specific Security Solution.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/securitySolutions/{securitySolutionName}
  • Operation Id: SecuritySolutions_Get
  • Default Api Version: 2020-01-01
GetSecuritySolutionAsync(ResourceGroupResource, AzureLocation, String, CancellationToken)

Gets a specific Security Solution.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/securitySolutions/{securitySolutionName}
  • Operation Id: SecuritySolutions_Get
  • Default Api Version: 2020-01-01
GetSecuritySolutions(SubscriptionResource, CancellationToken)

Gets a list of Security Solutions for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/securitySolutions
  • Operation Id: SecuritySolutions_List
  • Default Api Version: 2020-01-01
GetSecuritySolutionsAsync(SubscriptionResource, CancellationToken)

Gets a list of Security Solutions for the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/securitySolutions
  • Operation Id: SecuritySolutions_List
  • Default Api Version: 2020-01-01
GetSecuritySubAssessmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecuritySubAssessmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a SecuritySubAssessmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecuritySubAssessmentResource(ResourceIdentifier) instead.

GetSecuritySubAssessments(ArmClient, ResourceIdentifier, CancellationToken)

Get security sub-assessments on all your scanned resources inside a subscription scope

  • Request Path: /{scope}/providers/Microsoft.Security/subAssessments
  • Operation Id: SubAssessments_ListAll
  • Default Api Version: 2019-01-01-preview
  • Resource: SecuritySubAssessmentResource
GetSecuritySubAssessmentsAsync(ArmClient, ResourceIdentifier, CancellationToken)

Get security sub-assessments on all your scanned resources inside a subscription scope

  • Request Path: /{scope}/providers/Microsoft.Security/subAssessments
  • Operation Id: SubAssessments_ListAll
  • Default Api Version: 2019-01-01-preview
  • Resource: SecuritySubAssessmentResource
GetSecurityWorkspaceSetting(SubscriptionResource, String, CancellationToken)

Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}
  • Operation Id: WorkspaceSettings_Get
  • Default Api Version: 2017-08-01-preview
  • Resource: SecurityWorkspaceSettingResource
GetSecurityWorkspaceSettingAsync(SubscriptionResource, String, CancellationToken)

Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/workspaceSettings/{workspaceSettingName}
  • Operation Id: WorkspaceSettings_Get
  • Default Api Version: 2017-08-01-preview
  • Resource: SecurityWorkspaceSettingResource
GetSecurityWorkspaceSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a SecurityWorkspaceSettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SecurityWorkspaceSettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSecurityWorkspaceSettingResource(ResourceIdentifier) instead.

GetSecurityWorkspaceSettings(SubscriptionResource)

Gets a collection of SecurityWorkspaceSettingResources in the SubscriptionResource. MockingTo mock this method, please mock GetSecurityWorkspaceSettings() instead.

GetSensitivitySetting(TenantResource)

Gets an object representing a SensitivitySettingResource along with the instance operations that can be performed on it in the TenantResource. MockingTo mock this method, please mock GetSensitivitySetting() instead.

GetSensitivitySettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a SensitivitySettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier() to create a SensitivitySettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSensitivitySettingResource(ResourceIdentifier) instead.

GetServerVulnerabilityAssessment(ResourceGroupResource, String, String, String, CancellationToken)

Gets a server vulnerability assessment onboarding statuses on a given resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments/{serverVulnerabilityAssessment}
  • Operation Id: ServerVulnerabilityAssessment_Get
  • Default Api Version: 2020-01-01
  • Resource: ServerVulnerabilityAssessmentResource
GetServerVulnerabilityAssessmentAsync(ResourceGroupResource, String, String, String, CancellationToken)

Gets a server vulnerability assessment onboarding statuses on a given resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments/{serverVulnerabilityAssessment}
  • Operation Id: ServerVulnerabilityAssessment_Get
  • Default Api Version: 2020-01-01
  • Resource: ServerVulnerabilityAssessmentResource
GetServerVulnerabilityAssessmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServerVulnerabilityAssessmentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create a ServerVulnerabilityAssessmentResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetServerVulnerabilityAssessmentResource(ResourceIdentifier) instead.

GetServerVulnerabilityAssessments(ResourceGroupResource, String, String, String)

Gets a collection of ServerVulnerabilityAssessmentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetServerVulnerabilityAssessments(String, String, String) instead.

GetServerVulnerabilityAssessmentsSetting(SubscriptionResource, ServerVulnerabilityAssessmentsSettingKindName, CancellationToken)

Get a server vulnerability assessments setting of the requested kind, that is set on the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}
  • Operation Id: ServerVulnerabilityAssessmentsSettings_Get
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
GetServerVulnerabilityAssessmentsSettingAsync(SubscriptionResource, ServerVulnerabilityAssessmentsSettingKindName, CancellationToken)

Get a server vulnerability assessments setting of the requested kind, that is set on the subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/serverVulnerabilityAssessmentsSettings/{settingKind}
  • Operation Id: ServerVulnerabilityAssessmentsSettings_Get
  • Default Api Version: 2023-05-01
  • Resource: ServerVulnerabilityAssessmentsSettingResource
GetServerVulnerabilityAssessmentsSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a ServerVulnerabilityAssessmentsSettingResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, ServerVulnerabilityAssessmentsSettingKindName) to create a ServerVulnerabilityAssessmentsSettingResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetServerVulnerabilityAssessmentsSettingResource(ResourceIdentifier) instead.

GetServerVulnerabilityAssessmentsSettings(SubscriptionResource)

Gets a collection of ServerVulnerabilityAssessmentsSettingResources in the SubscriptionResource. MockingTo mock this method, please mock GetServerVulnerabilityAssessmentsSettings() instead.

GetSoftwareInventories(ResourceGroupResource, String, String, String)

Gets a collection of SoftwareInventoryResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSoftwareInventories(String, String, String) instead.

GetSoftwareInventories(SubscriptionResource, CancellationToken)

Gets the software inventory of all virtual machines in the subscriptions.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/softwareInventories
  • Operation Id: SoftwareInventories_ListBySubscription
  • Default Api Version: 2021-05-01-preview
  • Resource: SoftwareInventoryResource
GetSoftwareInventoriesAsync(SubscriptionResource, CancellationToken)

Gets the software inventory of all virtual machines in the subscriptions.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/softwareInventories
  • Operation Id: SoftwareInventories_ListBySubscription
  • Default Api Version: 2021-05-01-preview
  • Resource: SoftwareInventoryResource
GetSoftwareInventory(ResourceGroupResource, String, String, String, String, CancellationToken)

Gets a single software data of the virtual machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/softwareInventories/{softwareName}
  • Operation Id: SoftwareInventories_Get
  • Default Api Version: 2021-05-01-preview
  • Resource: SoftwareInventoryResource
GetSoftwareInventoryAsync(ResourceGroupResource, String, String, String, String, CancellationToken)

Gets a single software data of the virtual machine.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/softwareInventories/{softwareName}
  • Operation Id: SoftwareInventories_Get
  • Default Api Version: 2021-05-01-preview
  • Resource: SoftwareInventoryResource
GetSoftwareInventoryResource(ArmClient, ResourceIdentifier)

Gets an object representing a SoftwareInventoryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a SoftwareInventoryResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSoftwareInventoryResource(ResourceIdentifier) instead.

GetSqlVulnerabilityAssessmentBaselineRule(ArmClient, ResourceIdentifier, String, Guid, CancellationToken)

Gets the results for a given rule in the Baseline.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_Get
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentBaselineRuleResource
GetSqlVulnerabilityAssessmentBaselineRuleAsync(ArmClient, ResourceIdentifier, String, Guid, CancellationToken)

Gets the results for a given rule in the Baseline.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/baselineRules/{ruleId}
  • Operation Id: SqlVulnerabilityAssessmentBaselineRules_Get
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentBaselineRuleResource
GetSqlVulnerabilityAssessmentBaselineRuleResource(ArmClient, ResourceIdentifier)

Gets an object representing a SqlVulnerabilityAssessmentBaselineRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SqlVulnerabilityAssessmentBaselineRuleResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSqlVulnerabilityAssessmentBaselineRuleResource(ResourceIdentifier) instead.

GetSqlVulnerabilityAssessmentBaselineRules(ArmClient, ResourceIdentifier)

Gets a collection of SqlVulnerabilityAssessmentBaselineRuleResources in the ArmClient. MockingTo mock this method, please mock GetSqlVulnerabilityAssessmentBaselineRules(ResourceIdentifier) instead.

GetSqlVulnerabilityAssessmentScan(ArmClient, ResourceIdentifier, String, Guid, CancellationToken)

Gets the scan details of a single scan record.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}
  • Operation Id: SqlVulnerabilityAssessmentScans_Get
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentScanResource
GetSqlVulnerabilityAssessmentScanAsync(ArmClient, ResourceIdentifier, String, Guid, CancellationToken)

Gets the scan details of a single scan record.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}
  • Operation Id: SqlVulnerabilityAssessmentScans_Get
  • Default Api Version: 2023-02-01-preview
  • Resource: SqlVulnerabilityAssessmentScanResource
GetSqlVulnerabilityAssessmentScanResource(ArmClient, ResourceIdentifier)

Gets an object representing a SqlVulnerabilityAssessmentScanResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SqlVulnerabilityAssessmentScanResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSqlVulnerabilityAssessmentScanResource(ResourceIdentifier) instead.

GetSqlVulnerabilityAssessmentScans(ArmClient, ResourceIdentifier)

Gets a collection of SqlVulnerabilityAssessmentScanResources in the ArmClient. MockingTo mock this method, please mock GetSqlVulnerabilityAssessmentScans(ResourceIdentifier) instead.

GetSubscriptionAssessmentMetadata(SubscriptionResource, String, CancellationToken)

Get metadata information on an assessment type in a specific subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}
  • Operation Id: AssessmentsMetadata_GetInSubscription
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionAssessmentMetadataResource
GetSubscriptionAssessmentMetadataAsync(SubscriptionResource, String, CancellationToken)

Get metadata information on an assessment type in a specific subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}
  • Operation Id: AssessmentsMetadata_GetInSubscription
  • Default Api Version: 2021-06-01
  • Resource: SubscriptionAssessmentMetadataResource
GetSubscriptionAssessmentMetadataResource(ArmClient, ResourceIdentifier)

Gets an object representing a SubscriptionAssessmentMetadataResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SubscriptionAssessmentMetadataResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSubscriptionAssessmentMetadataResource(ResourceIdentifier) instead.

GetSubscriptionSecurityAlertResource(ArmClient, ResourceIdentifier)

Gets an object representing a SubscriptionSecurityAlertResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a SubscriptionSecurityAlertResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSubscriptionSecurityAlertResource(ResourceIdentifier) instead.

GetSubscriptionSecurityApplication(SubscriptionResource, String, CancellationToken)

Get a specific application for the requested scope by applicationId

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/applications/{applicationId}
  • Operation Id: Application_Get
  • Default Api Version: 2022-07-01-preview
  • Resource: SubscriptionSecurityApplicationResource
GetSubscriptionSecurityApplicationAsync(SubscriptionResource, String, CancellationToken)

Get a specific application for the requested scope by applicationId

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/applications/{applicationId}
  • Operation Id: Application_Get
  • Default Api Version: 2022-07-01-preview
  • Resource: SubscriptionSecurityApplicationResource
GetSubscriptionSecurityApplicationResource(ArmClient, ResourceIdentifier)

Gets an object representing a SubscriptionSecurityApplicationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a SubscriptionSecurityApplicationResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSubscriptionSecurityApplicationResource(ResourceIdentifier) instead.

GetSubscriptionSecurityApplications(SubscriptionResource)

Gets a collection of SubscriptionSecurityApplicationResources in the SubscriptionResource. MockingTo mock this method, please mock GetSubscriptionSecurityApplications() instead.

GetSubscriptionSecurityTaskResource(ArmClient, ResourceIdentifier)

Gets an object representing a SubscriptionSecurityTaskResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a SubscriptionSecurityTaskResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetSubscriptionSecurityTaskResource(ResourceIdentifier) instead.

GetTasks(SubscriptionResource, String, CancellationToken)

Recommended tasks that will help improve the security of the subscription proactively

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/tasks
  • Operation Id: Tasks_List
  • Default Api Version: 2015-06-01-preview
GetTasksAsync(SubscriptionResource, String, CancellationToken)

Recommended tasks that will help improve the security of the subscription proactively

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/tasks
  • Operation Id: Tasks_List
  • Default Api Version: 2015-06-01-preview
GetTenantAssessmentMetadata(TenantResource, String, CancellationToken)

Get metadata information on an assessment type

  • Request Path: /providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}
  • Operation Id: AssessmentsMetadata_Get
  • Default Api Version: 2021-06-01
  • Resource: TenantAssessmentMetadataResource
GetTenantAssessmentMetadataAsync(TenantResource, String, CancellationToken)

Get metadata information on an assessment type

  • Request Path: /providers/Microsoft.Security/assessmentMetadata/{assessmentMetadataName}
  • Operation Id: AssessmentsMetadata_Get
  • Default Api Version: 2021-06-01
  • Resource: TenantAssessmentMetadataResource
GetTenantAssessmentMetadataResource(ArmClient, ResourceIdentifier)

Gets an object representing a TenantAssessmentMetadataResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String) to create a TenantAssessmentMetadataResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetTenantAssessmentMetadataResource(ResourceIdentifier) instead.

GetTopologies(SubscriptionResource, CancellationToken)

Gets a list that allows to build a topology view of a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/topologies
  • Operation Id: Topology_List
  • Default Api Version: 2020-01-01
GetTopologiesAsync(SubscriptionResource, CancellationToken)

Gets a list that allows to build a topology view of a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/topologies
  • Operation Id: Topology_List
  • Default Api Version: 2020-01-01
GetTopology(ResourceGroupResource, AzureLocation, String, CancellationToken)

Gets a specific topology component.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/topologies/{topologyResourceName}
  • Operation Id: Topology_Get
  • Default Api Version: 2020-01-01
GetTopologyAsync(ResourceGroupResource, AzureLocation, String, CancellationToken)

Gets a specific topology component.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/topologies/{topologyResourceName}
  • Operation Id: Topology_Get
  • Default Api Version: 2020-01-01

Applies to