Megosztás a következőn keresztül:


MockableSecurityCenterSubscriptionResource Class

Definition

A class to add extension methods to SubscriptionResource.

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

Constructors

MockableSecurityCenterSubscriptionResource()

Initializes a new instance of the MockableSecurityCenterSubscriptionResource 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)
GetAdaptiveApplicationControlGroups(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(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
GetAlerts(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(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
GetAllowedConnections(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(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(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(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()

Gets a collection of SubscriptionAssessmentMetadataResources in the SubscriptionResource.

GetAutoProvisioningSetting(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(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
GetAutoProvisioningSettings()

Gets a collection of AutoProvisioningSettingResources in the SubscriptionResource.

GetAvailableLocations(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetAvailableLocationsAsync(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetCustomAssessmentAutomations(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(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
GetCustomEntityStoreAssignments(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(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
GetDiscoveredSecuritySolutions(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(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
GetExternalSecuritySolutions(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(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
GetIotSecuritySolutions(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(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(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(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
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)
GetMdeOnboarding(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(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(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(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
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)
GetRegulatoryComplianceStandard(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(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
GetRegulatoryComplianceStandards()

Gets a collection of RegulatoryComplianceStandardResources in the SubscriptionResource.

GetSecureScore(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(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
GetSecureScoreControlDefinitionsBySubscription(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(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(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(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
GetSecureScores()

Gets a collection of SecureScoreResources in the SubscriptionResource.

GetSecurityAlertsSuppressionRule(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(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
GetSecurityAlertsSuppressionRules()

Gets a collection of SecurityAlertsSuppressionRuleResources in the SubscriptionResource.

GetSecurityAutomations(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(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
GetSecurityCenterApiCollections(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(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(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(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
GetSecurityCenterLocations()

Gets a collection of SecurityCenterLocationResources in the SubscriptionResource.

GetSecurityCenterPricing(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(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
GetSecurityCenterPricings()

Gets a collection of SecurityCenterPricingResources in the SubscriptionResource.

GetSecurityCloudConnector(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(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
GetSecurityCloudConnectors()

Gets a collection of SecurityCloudConnectorResources in the SubscriptionResource.

GetSecurityConnectors(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(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(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(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
GetSecurityContacts()

Gets a collection of SecurityContactResources in the SubscriptionResource.

GetSecuritySetting(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(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
GetSecuritySettings()

Gets a collection of SecuritySettingResources in the SubscriptionResource.

GetSecuritySolutions(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(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
GetSecurityWorkspaceSetting(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(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
GetSecurityWorkspaceSettings()

Gets a collection of SecurityWorkspaceSettingResources in the SubscriptionResource.

GetServerVulnerabilityAssessmentsSetting(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(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
GetServerVulnerabilityAssessmentsSettings()

Gets a collection of ServerVulnerabilityAssessmentsSettingResources in the SubscriptionResource.

GetSoftwareInventories(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(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
GetSubscriptionAssessmentMetadata(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(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
GetSubscriptionSecurityApplication(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(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
GetSubscriptionSecurityApplications()

Gets a collection of SubscriptionSecurityApplicationResources in the SubscriptionResource.

GetTagResource()

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

(Inherited from ArmResource)
GetTasks(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(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
GetTopologies(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(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
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