다음을 통해 공유


MockableSecurityCenterArmClient Class

Definition

A class to add extension methods to ArmClient.

public class MockableSecurityCenterArmClient : Azure.ResourceManager.ArmResource
type MockableSecurityCenterArmClient = class
    inherit ArmResource
Public Class MockableSecurityCenterArmClient
Inherits ArmResource
Inheritance
MockableSecurityCenterArmClient

Constructors

MockableSecurityCenterArmClient()

Initializes a new instance of the MockableSecurityCenterArmClient class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmResource)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmResource)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmResource)
Id

Gets the resource identifier.

(Inherited from ArmResource)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmResource)

Methods

CanUseTagResource(CancellationToken)

Checks to see if the TagResource API is deployed in the current environment.

(Inherited from ArmResource)
CanUseTagResourceAsync(CancellationToken)

Checks to see if the TagResource API is deployed in the current environment.

(Inherited from ArmResource)
CreateOrUpdateInformationProtectionPolicy(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(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(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.

GetAdaptiveNetworkHardeningResource(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.

GetAdvancedThreatProtectionSetting(ResourceIdentifier)

Gets an object representing a AdvancedThreatProtectionSettingResource along with the instance operations that can be performed on it in the ArmClient.

GetAdvancedThreatProtectionSettingResource(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.

GetAutoProvisioningSettingResource(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.

GetAvailableLocations(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetAvailableLocationsAsync(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetComplianceResult(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(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(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.

GetComplianceResults(ResourceIdentifier)

Gets a collection of ComplianceResultResources in the ArmClient.

GetCustomAssessmentAutomationResource(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.

GetCustomEntityStoreAssignmentResource(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.

GetDefenderForStorageSetting(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(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(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.

GetDefenderForStorageSettings(ResourceIdentifier)

Gets a collection of DefenderForStorageSettingResources in the ArmClient.

GetDeviceSecurityGroup(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(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(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.

GetDeviceSecurityGroups(ResourceIdentifier)

Gets a collection of DeviceSecurityGroupResources in the ArmClient.

GetDevOpsConfigurationResource(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.

GetDevOpsOrgResource(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.

GetDevOpsProjectResource(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.

GetDevOpsRepositoryResource(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.

GetGovernanceAssignmentResource(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.

GetGovernanceRule(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(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(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.

GetGovernanceRules(ResourceIdentifier)

Gets a collection of GovernanceRuleResources in the ArmClient.

GetInformationProtectionPolicies(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(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
GetIotSecurityAggregatedAlertResource(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.

GetIotSecurityAggregatedRecommendationResource(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.

GetIotSecuritySolutionAnalyticsModelResource(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.

GetIotSecuritySolutionResource(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.

GetJitNetworkAccessPolicyResource(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.

GetManagementLock(String, CancellationToken)

Get a management lock by scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • Operation Id: ManagementLocks_GetByScope
  • Default Api Version: 2020-05-01
  • Resource: ManagementLockResource
(Inherited from ArmResource)
GetManagementLockAsync(String, CancellationToken)

Get a management lock by scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • Operation Id: ManagementLocks_GetByScope
  • Default Api Version: 2020-05-01
  • Resource: ManagementLockResource
(Inherited from ArmResource)
GetManagementLocks()

Gets a collection of ManagementLockResources in the ArmResource.

(Inherited from ArmResource)
GetPolicyAssignment(String, CancellationToken)

This operation retrieves a single policy assignment, given its name and the scope it was created at.

  • Request Path: /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • Operation Id: PolicyAssignments_Get
  • Default Api Version: 2022-06-01
  • Resource: PolicyAssignmentResource
(Inherited from ArmResource)
GetPolicyAssignmentAsync(String, CancellationToken)

This operation retrieves a single policy assignment, given its name and the scope it was created at.

  • Request Path: /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • Operation Id: PolicyAssignments_Get
  • Default Api Version: 2022-06-01
  • Resource: PolicyAssignmentResource
(Inherited from ArmResource)
GetPolicyAssignments()

Gets a collection of PolicyAssignmentResources in the ArmResource.

(Inherited from ArmResource)
GetRegulatoryComplianceAssessmentResource(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.

GetRegulatoryComplianceControlResource(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.

GetRegulatoryComplianceStandardResource(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.

GetResourceGroupSecurityAlertResource(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.

GetResourceGroupSecurityTaskResource(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.

GetSecureScoreResource(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.

GetSecurityAlertsSuppressionRuleResource(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.

GetSecurityAssessment(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(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(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.

GetSecurityAssessments(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(ResourceIdentifier)

Gets a collection of SecurityAssessmentResources in the ArmClient.

GetSecurityAssessmentsAsync(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
GetSecurityAutomationResource(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.

GetSecurityCenterApiCollectionResource(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.

GetSecurityCenterLocationResource(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.

GetSecurityCenterPricingResource(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.

GetSecurityCloudConnectorResource(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.

GetSecurityCompliance(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(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(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.

GetSecurityCompliances(ResourceIdentifier)

Gets a collection of SecurityComplianceResources in the ArmClient.

GetSecurityConnectorApplicationResource(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.

GetSecurityConnectorGitHubOwnerResource(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.

GetSecurityConnectorGitHubRepositoryResource(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.

GetSecurityConnectorGitLabGroupResource(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.

GetSecurityConnectorGitLabProjectResource(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.

GetSecurityConnectorResource(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.

GetSecurityContactResource(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.

GetSecurityHealthReport(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(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(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.

GetSecurityHealthReports(ResourceIdentifier)

Gets a collection of SecurityHealthReportResources in the ArmClient.

GetSecurityOperatorResource(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.

GetSecuritySettingResource(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.

GetSecuritySubAssessmentResource(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.

GetSecuritySubAssessments(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(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
GetSecurityWorkspaceSettingResource(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.

GetSensitivitySettingResource(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.

GetServerVulnerabilityAssessmentResource(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.

GetServerVulnerabilityAssessmentsSettingResource(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.

GetSoftwareInventoryResource(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.

GetSqlVulnerabilityAssessmentBaselineRule(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(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(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.

GetSqlVulnerabilityAssessmentBaselineRules(ResourceIdentifier)

Gets a collection of SqlVulnerabilityAssessmentBaselineRuleResources in the ArmClient.

GetSqlVulnerabilityAssessmentScan(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(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(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.

GetSqlVulnerabilityAssessmentScans(ResourceIdentifier)

Gets a collection of SqlVulnerabilityAssessmentScanResources in the ArmClient.

GetSubscriptionAssessmentMetadataResource(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.

GetSubscriptionSecurityAlertResource(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.

GetSubscriptionSecurityApplicationResource(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.

GetSubscriptionSecurityTaskResource(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.

GetTagResource()

Gets an object representing a TagResource along with the instance operations that can be performed on it in the ArmResource.

(Inherited from ArmResource)
GetTenantAssessmentMetadataResource(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.

TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmResource)

Extension Methods

GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken)

Get role definition by name (GUID).

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Operation Id: RoleDefinitions_Get
  • Default Api Version: 2022-04-01
  • Resource: AuthorizationRoleDefinitionResource
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken)

Get role definition by name (GUID).

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Operation Id: RoleDefinitions_Get
  • Default Api Version: 2022-04-01
  • Resource: AuthorizationRoleDefinitionResource
GetAuthorizationRoleDefinitions(ArmResource)

Gets a collection of AuthorizationRoleDefinitionResources in the ArmResource. MockingTo mock this method, please mock GetAuthorizationRoleDefinitions() instead.

GetDenyAssignment(ArmResource, String, CancellationToken)

Get the specified deny assignment.

  • Request Path: /{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • Operation Id: DenyAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: DenyAssignmentResource
GetDenyAssignmentAsync(ArmResource, String, CancellationToken)

Get the specified deny assignment.

  • Request Path: /{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • Operation Id: DenyAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: DenyAssignmentResource
GetDenyAssignments(ArmResource)

Gets a collection of DenyAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetDenyAssignments() instead.

GetRoleAssignment(ArmResource, String, String, CancellationToken)

Get a role assignment by scope and name.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • Operation Id: RoleAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: RoleAssignmentResource
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken)

Get a role assignment by scope and name.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • Operation Id: RoleAssignments_Get
  • Default Api Version: 2022-04-01
  • Resource: RoleAssignmentResource
GetRoleAssignments(ArmResource)

Gets a collection of RoleAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignments() instead.

GetRoleAssignmentSchedule(ArmResource, String, CancellationToken)

Get the specified role assignment schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • Operation Id: RoleAssignmentSchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleResource
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken)

Get the specified role assignment schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • Operation Id: RoleAssignmentSchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleResource
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken)

Gets the specified role assignment schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken)

Gets the specified role assignment schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Operation Id: RoleAssignmentScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleInstanceResource
GetRoleAssignmentScheduleInstances(ArmResource)

Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances() instead.

GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken)

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

Get the specified role assignment schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Operation Id: RoleAssignmentScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleAssignmentScheduleRequestResource
GetRoleAssignmentScheduleRequests(ArmResource)

Gets a collection of RoleAssignmentScheduleRequestResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentScheduleRequests() instead.

GetRoleAssignmentSchedules(ArmResource)

Gets a collection of RoleAssignmentScheduleResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentSchedules() instead.

GetRoleEligibilitySchedule(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Operation Id: RoleEligibilitySchedules_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleResource
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken)

Gets the specified role eligibility schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken)

Gets the specified role eligibility schedule instance.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Operation Id: RoleEligibilityScheduleInstances_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleInstanceResource
GetRoleEligibilityScheduleInstances(ArmResource)

Gets a collection of RoleEligibilityScheduleInstanceResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilityScheduleInstances() instead.

GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken)

Get the specified role eligibility schedule request.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Operation Id: RoleEligibilityScheduleRequests_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleEligibilityScheduleRequestResource
GetRoleEligibilityScheduleRequests(ArmResource)

Gets a collection of RoleEligibilityScheduleRequestResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilityScheduleRequests() instead.

GetRoleEligibilitySchedules(ArmResource)

Gets a collection of RoleEligibilityScheduleResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilitySchedules() instead.

GetRoleManagementPolicies(ArmResource)

Gets a collection of RoleManagementPolicyResources in the ArmResource. MockingTo mock this method, please mock GetRoleManagementPolicies() instead.

GetRoleManagementPolicy(ArmResource, String, CancellationToken)

Get the specified role management policy for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • Operation Id: RoleManagementPolicies_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyResource
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken)

Get the specified role management policy assignment for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • Operation Id: RoleManagementPolicyAssignments_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyAssignmentResource
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken)

Get the specified role management policy assignment for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • Operation Id: RoleManagementPolicyAssignments_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyAssignmentResource
GetRoleManagementPolicyAssignments(ArmResource)

Gets a collection of RoleManagementPolicyAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetRoleManagementPolicyAssignments() instead.

GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken)

Get the specified role management policy for a resource scope

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • Operation Id: RoleManagementPolicies_Get
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyResource
GetSystemAssignedIdentity(ArmResource)

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

GetLinkerResource(ArmResource, String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
GetLinkerResourceAsync(ArmResource, String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
GetLinkerResources(ArmResource)

Gets a collection of LinkerResources in the ArmResource. MockingTo mock this method, please mock GetLinkerResources() instead.

Applies to