MockableSecurityCenterArmClient Class

Definition

Provides a compatibility shim for the MockableSecurityCenterArmClient class.

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

Constructors

Name Description
MockableSecurityCenterArmClient()

Initializes a new instance of MockableSecurityCenterArmClient for mocking.

Properties

Name Description
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

Name Description
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)
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 a AdvancedThreatProtectionSettingResource along with the instance operations that can be performed on it but with no data.

GetAll(ResourceIdentifier, CancellationToken)

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

  • Request Path. : /{scope}/providers/Microsoft.Security/subAssessments.
  • Operation Id. : SubAssessmentsOperationGroup_ListAll.
  • Default Api Version. : 2019-01-01-preview.
GetAllAsync(ResourceIdentifier, CancellationToken)

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

  • Request Path. : /{scope}/providers/Microsoft.Security/subAssessments.
  • Operation Id. : SubAssessmentsOperationGroup_ListAll.
  • Default Api Version. : 2019-01-01-preview.
GetApiCollection(ResourceIdentifier, 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.

GetApiCollectionAsync(ResourceIdentifier, 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.

GetApiCollectionResource(ResourceIdentifier)

Gets an object representing a ApiCollectionResource along with the instance operations that can be performed on it but with no data.

GetApiCollections(ResourceIdentifier)

Gets a collection of ApiCollectionCollection objects within the specified scope.

GetAutoProvisioningSettingResource(ResourceIdentifier)

Gets an object representing a AutoProvisioningSettingResource along with the instance operations that can be performed on it but with no data.

GetAvailableLocations(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetAvailableLocationsAsync(CancellationToken)

Lists all available geo-locations.

(Inherited from ArmResource)
GetAzureDevOpsOrgResource(ResourceIdentifier)

Gets an object representing a AzureDevOpsOrgResource along with the instance operations that can be performed on it but with no data.

GetAzureDevOpsProjectResource(ResourceIdentifier)

Gets an object representing a AzureDevOpsProjectResource along with the instance operations that can be performed on it but with no data.

GetAzureDevOpsRepositoryResource(ResourceIdentifier)

Gets an object representing a AzureDevOpsRepositoryResource along with the instance operations that can be performed on it but with no data.

GetByExtendedResource(ResourceIdentifier, CancellationToken)

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

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments.
  • Operation Id. : ServerVulnerabilityAssessments_ListByExtendedResource.
  • Default Api Version. : 2020-01-01.
GetByExtendedResourceAsync(ResourceIdentifier, CancellationToken)

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

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/serverVulnerabilityAssessments.
  • Operation Id. : ServerVulnerabilityAssessments_ListByExtendedResource.
  • Default Api Version. : 2020-01-01.
GetComplianceResult(ResourceIdentifier, String, CancellationToken)

Security Compliance Result.

GetComplianceResultAsync(ResourceIdentifier, String, CancellationToken)

Security Compliance Result.

GetComplianceResultResource(ResourceIdentifier)

Gets an object representing a ComplianceResultResource along with the instance operations that can be performed on it but with no data.

GetComplianceResults(ResourceIdentifier)

Gets a collection of ComplianceResultCollection objects within the specified scope.

GetCustomRecommendation(ResourceIdentifier, String, CancellationToken)

Get a specific custom recommendation for the requested scope by customRecommendationName.

GetCustomRecommendationAsync(ResourceIdentifier, String, CancellationToken)

Get a specific custom recommendation for the requested scope by customRecommendationName.

GetCustomRecommendationResource(ResourceIdentifier)

Gets an object representing a CustomRecommendationResource along with the instance operations that can be performed on it but with no data.

GetCustomRecommendations(ResourceIdentifier)

Gets a collection of CustomRecommendationCollection objects within the specified scope.

GetDefenderForStorageSetting(ResourceIdentifier, SettingName, CancellationToken)

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

GetDefenderForStorageSettingAsync(ResourceIdentifier, SettingName, CancellationToken)

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

GetDefenderForStorageSettingResource(ResourceIdentifier)

Gets an object representing a DefenderForStorageSettingResource along with the instance operations that can be performed on it but with no data.

GetDefenderForStorageSettings(ResourceIdentifier)

Gets a collection of DefenderForStorageSettingCollection objects within the specified scope.

GetDeviceSecurityGroup(ResourceIdentifier, String, CancellationToken)

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

GetDeviceSecurityGroupAsync(ResourceIdentifier, String, CancellationToken)

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

GetDeviceSecurityGroupResource(ResourceIdentifier)

Gets an object representing a DeviceSecurityGroupResource along with the instance operations that can be performed on it but with no data.

GetDeviceSecurityGroups(ResourceIdentifier)

Gets a collection of DeviceSecurityGroupCollection objects within the specified scope.

GetDevOpsConfigurationResource(ResourceIdentifier)

Gets an object representing a DevOpsConfigurationResource along with the instance operations that can be performed on it but with no data.

GetDiscoveredSecuritySolutionResource(ResourceIdentifier)

Gets an object representing a DiscoveredSecuritySolutionResource along with the instance operations that can be performed on it but with no data.

GetGitHubOwnerResource(ResourceIdentifier)

Gets an object representing a GitHubOwnerResource along with the instance operations that can be performed on it but with no data.

GetGitHubRepositoryResource(ResourceIdentifier)

Gets an object representing a GitHubRepositoryResource along with the instance operations that can be performed on it but with no data.

GetGitLabGroupResource(ResourceIdentifier)

Gets an object representing a GitLabGroupResource along with the instance operations that can be performed on it but with no data.

GetGitLabProjectResource(ResourceIdentifier)

Gets an object representing a GitLabProjectResource along with the instance operations that can be performed on it but with no data.

GetGovernanceAssignment(ResourceIdentifier, String, CancellationToken)

Get a specific governanceAssignment for the requested scope by AssignmentKey.

GetGovernanceAssignmentAsync(ResourceIdentifier, String, CancellationToken)

Get a specific governanceAssignment for the requested scope by AssignmentKey.

GetGovernanceAssignmentResource(ResourceIdentifier)

Gets an object representing a GovernanceAssignmentResource along with the instance operations that can be performed on it but with no data.

GetGovernanceAssignments(ResourceIdentifier)

Gets a collection of GovernanceAssignmentCollection objects within the specified scope.

GetGovernanceRule(ResourceIdentifier, String, CancellationToken)

Get a specific governance rule for the requested scope by ruleId.

GetGovernanceRuleAsync(ResourceIdentifier, String, CancellationToken)

Get a specific governance rule for the requested scope by ruleId.

GetGovernanceRuleResource(ResourceIdentifier)

Gets an object representing a GovernanceRuleResource along with the instance operations that can be performed on it but with no data.

GetGovernanceRules(ResourceIdentifier)

Gets a collection of GovernanceRuleCollection objects within the specified scope.

GetHealthReport(ResourceIdentifier, String, CancellationToken)

Get health report of resource.

GetHealthReportAsync(ResourceIdentifier, String, CancellationToken)

Get health report of resource.

GetHealthReportResource(ResourceIdentifier)

Gets an object representing a HealthReportResource along with the instance operations that can be performed on it but with no data.

GetHealthReports(ResourceIdentifier)

Gets a collection of HealthReportCollection objects within the specified scope.

GetInformationProtectionPolicies(ResourceIdentifier)

Gets a collection of InformationProtectionPolicyCollection objects within the specified scope.

GetInformationProtectionPolicy(ResourceIdentifier, InformationProtectionPolicyName, CancellationToken)

Details of the information protection policy.

GetInformationProtectionPolicyAsync(ResourceIdentifier, InformationProtectionPolicyName, CancellationToken)

Details of the information protection policy.

GetInformationProtectionPolicyResource(ResourceIdentifier)

Gets an object representing a InformationProtectionPolicyResource along with the instance operations that can be performed on it but with no data.

GetIotSecurityAggregatedAlertResource(ResourceIdentifier)

Gets an object representing a IotSecurityAggregatedAlertResource along with the instance operations that can be performed on it but with no data.

GetIotSecurityAggregatedRecommendationResource(ResourceIdentifier)

Gets an object representing a IotSecurityAggregatedRecommendationResource along with the instance operations that can be performed on it but with no data.

GetIotSecuritySolutionAnalyticsModelResource(ResourceIdentifier)

Gets an object representing a IotSecuritySolutionAnalyticsModelResource along with the instance operations that can be performed on it but with no data.

GetIotSecuritySolutionResource(ResourceIdentifier)

Gets an object representing a IotSecuritySolutionResource along with the instance operations that can be performed on it but with no data.

GetJitNetworkAccessPolicyResource(ResourceIdentifier)

Gets an object representing a JitNetworkAccessPolicyResource along with the instance operations that can be performed on it but with no data.

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

Gets an object representing a MdeOnboardingDataResource along with the instance operations that can be performed on it but with no data.

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

Gets an object representing a PrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data.

GetPrivateLinkGroupResource(ResourceIdentifier)

Gets an object representing a PrivateLinkGroupResource along with the instance operations that can be performed on it but with no data.

GetPrivateLinkResource(ResourceIdentifier)

Gets an object representing a PrivateLinkResource along with the instance operations that can be performed on it but with no data.

GetRegulatoryComplianceAssessmentResource(ResourceIdentifier)

Gets an object representing a RegulatoryComplianceAssessmentResource along with the instance operations that can be performed on it but with no data.

GetRegulatoryComplianceControlResource(ResourceIdentifier)

Gets an object representing a RegulatoryComplianceControlResource along with the instance operations that can be performed on it but with no data.

GetRegulatoryComplianceStandardResource(ResourceIdentifier)

Gets an object representing a RegulatoryComplianceStandardResource along with the instance operations that can be performed on it but with no data.

GetResourceGroupSecurityAlertResource(ResourceIdentifier)

Gets an object representing a ResourceGroupSecurityAlertResource along with the instance operations that can be performed on it but with no data.

GetResourceGroupSecurityTaskResource(ResourceIdentifier)

Gets an object representing a ResourceGroupSecurityTaskResource along with the instance operations that can be performed on it but with no data.

GetSecureScoreResource(ResourceIdentifier)

Gets an object representing a SecureScoreResource along with the instance operations that can be performed on it but with no data.

GetSecurityAlertsSuppressionRuleResource(ResourceIdentifier)

Gets an object representing a SecurityAlertsSuppressionRuleResource along with the instance operations that can be performed on it but with no data.

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

Get a security assessment on your scanned resource.

GetSecurityAssessmentAsync(ResourceIdentifier, String, Nullable<SecurityAssessmentODataExpand>, CancellationToken)

Get a security assessment on your scanned resource.

GetSecurityAssessmentResource(ResourceIdentifier)

Gets an object representing a SecurityAssessmentResource along with the instance operations that can be performed on it but with no data.

GetSecurityAssessments(ResourceIdentifier)

Gets a collection of SecurityAssessmentCollection objects within the specified scope.

GetSecurityAutomationResource(ResourceIdentifier)

Gets an object representing a SecurityAutomationResource along with the instance operations that can be performed on it but with no data.

GetSecurityCenterAllowedConnectionResource(ResourceIdentifier)

Gets an object representing a SecurityCenterAllowedConnectionResource along with the instance operations that can be performed on it but with no data.

GetSecurityCenterAssignmentResource(ResourceIdentifier)

Gets an object representing a SecurityCenterAssignmentResource along with the instance operations that can be performed on it but with no data.

GetSecurityCenterLocationResource(ResourceIdentifier)

Gets an object representing a SecurityCenterLocationResource along with the instance operations that can be performed on it but with no data.

GetSecurityCenterPricing(ResourceIdentifier, String, CancellationToken)

Get the Defender plans pricing configurations of the selected scope (valid scopes are resource id or a subscription id). At the resource level, supported resource types are 'VirtualMachines, VMSS and ARC Machines'.

GetSecurityCenterPricingAsync(ResourceIdentifier, String, CancellationToken)

Get the Defender plans pricing configurations of the selected scope (valid scopes are resource id or a subscription id). At the resource level, supported resource types are 'VirtualMachines, VMSS and ARC Machines'.

GetSecurityCenterPricingResource(ResourceIdentifier)

Gets an object representing a SecurityCenterPricingResource along with the instance operations that can be performed on it but with no data.

GetSecurityCenterPricings(ResourceIdentifier)

Gets a collection of SecurityCenterPricingCollection objects within the specified scope.

GetSecurityCenterStandardResource(ResourceIdentifier)

Gets an object representing a SecurityCenterStandardResource along with the instance operations that can be performed on it but with no data.

GetSecurityCompliance(ResourceIdentifier, String, CancellationToken)

Details of a specific Compliance.

GetSecurityComplianceAsync(ResourceIdentifier, String, CancellationToken)

Details of a specific Compliance.

GetSecurityComplianceResource(ResourceIdentifier)

Gets an object representing a SecurityComplianceResource along with the instance operations that can be performed on it but with no data.

GetSecurityCompliances(ResourceIdentifier)

Gets a collection of SecurityComplianceCollection objects within the specified scope.

GetSecurityConnectorApplication(ResourceIdentifier, String, CancellationToken)

Get a specific application for the requested scope by applicationId.

GetSecurityConnectorApplicationAsync(ResourceIdentifier, String, CancellationToken)

Get a specific application for the requested scope by applicationId.

GetSecurityConnectorApplicationResource(ResourceIdentifier)

Gets an object representing a SecurityConnectorApplicationResource along with the instance operations that can be performed on it but with no data.

GetSecurityConnectorApplications(ResourceIdentifier)

Gets a collection of SecurityConnectorApplicationCollection objects within the specified scope.

GetSecurityConnectorGovernanceRuleResource(ResourceIdentifier)
Obsolete.

Gets an object representing a security connector governance rule resource.

GetSecurityConnectorResource(ResourceIdentifier)

Gets an object representing a SecurityConnectorResource along with the instance operations that can be performed on it but with no data.

GetSecurityContactResource(ResourceIdentifier)

Gets an object representing a SecurityContactResource along with the instance operations that can be performed on it but with no data.

GetSecurityOperatorResource(ResourceIdentifier)

Gets an object representing a SecurityOperatorResource along with the instance operations that can be performed on it but with no data.

GetSecuritySettingResource(ResourceIdentifier)

Gets an object representing a SecuritySettingResource along with the instance operations that can be performed on it but with no data.

GetSecuritySolutionResource(ResourceIdentifier)

Gets an object representing a SecuritySolutionResource along with the instance operations that can be performed on it but with no data.

GetSecurityStandard(ResourceIdentifier, String, CancellationToken)

Get a specific security standard for the requested scope by standardId.

GetSecurityStandardAsync(ResourceIdentifier, String, CancellationToken)

Get a specific security standard for the requested scope by standardId.

GetSecurityStandardResource(ResourceIdentifier)

Gets an object representing a SecurityStandardResource along with the instance operations that can be performed on it but with no data.

GetSecurityStandards(ResourceIdentifier)

Gets a collection of SecurityStandardCollection objects within the specified scope.

GetSecuritySubAssessment(ResourceIdentifier, String, CancellationToken)

Get a security sub-assessment on your scanned resource.

GetSecuritySubAssessmentAsync(ResourceIdentifier, String, CancellationToken)

Get a security sub-assessment on your scanned resource.

GetSecuritySubAssessmentResource(ResourceIdentifier)

Gets an object representing a SecuritySubAssessmentResource along with the instance operations that can be performed on it but with no data.

GetSecuritySubAssessments(ResourceIdentifier)

Gets a collection of SecuritySubAssessmentCollection objects within the specified scope.

GetSecurityTopologyResource(ResourceIdentifier)

Gets an object representing a SecurityTopologyResource along with the instance operations that can be performed on it but with no data.

GetSecurityWorkspaceSettingResource(ResourceIdentifier)

Gets an object representing a SecurityWorkspaceSettingResource along with the instance operations that can be performed on it but with no data.

GetSensitivitySettingResource(ResourceIdentifier)

Gets an object representing a SensitivitySettingResource along with the instance operations that can be performed on it but with no data.

GetServerVulnerabilityAssessment(ResourceIdentifier)

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

GetServerVulnerabilityAssessmentResource(ResourceIdentifier)

Gets an object representing a ServerVulnerabilityAssessmentResource along with the instance operations that can be performed on it but with no data.

GetServerVulnerabilityAssessmentsSettingResource(ResourceIdentifier)

Gets an object representing a ServerVulnerabilityAssessmentsSettingResource along with the instance operations that can be performed on it but with no data.

GetSqlVulnerabilityAssessmentBaselineRule(ResourceIdentifier, String, Guid, CancellationToken)

Gets a SQL vulnerability assessment baseline rule.

GetSqlVulnerabilityAssessmentBaselineRule(ResourceIdentifier, String, String, CancellationToken)

Gets the results for a given rule in the Baseline.

GetSqlVulnerabilityAssessmentBaselineRuleAsync(ResourceIdentifier, String, Guid, CancellationToken)

Gets a SQL vulnerability assessment baseline rule.

GetSqlVulnerabilityAssessmentBaselineRuleAsync(ResourceIdentifier, String, String, CancellationToken)

Gets the results for a given rule in the Baseline.

GetSqlVulnerabilityAssessmentBaselineRuleResource(ResourceIdentifier)

Gets an object representing a SqlVulnerabilityAssessmentBaselineRuleResource along with the instance operations that can be performed on it but with no data.

GetSqlVulnerabilityAssessmentBaselineRules(ResourceIdentifier)

Gets a collection of SqlVulnerabilityAssessmentBaselineRuleCollection objects within the specified scope.

GetSqlVulnerabilityAssessmentScan(ResourceIdentifier, String, Guid, CancellationToken)

Gets a SQL vulnerability assessment scan.

GetSqlVulnerabilityAssessmentScan(ResourceIdentifier, String, String, CancellationToken)

Gets the scan details of a single scan record.

GetSqlVulnerabilityAssessmentScanAsync(ResourceIdentifier, String, Guid, CancellationToken)

Gets a SQL vulnerability assessment scan.

GetSqlVulnerabilityAssessmentScanAsync(ResourceIdentifier, String, String, CancellationToken)

Gets the scan details of a single scan record.

GetSqlVulnerabilityAssessmentScanResource(ResourceIdentifier)

Gets an object representing a SqlVulnerabilityAssessmentScanResource along with the instance operations that can be performed on it but with no data.

GetSqlVulnerabilityAssessmentScanResultResource(ResourceIdentifier)

Gets an object representing a SqlVulnerabilityAssessmentScanResultResource along with the instance operations that can be performed on it but with no data.

GetSqlVulnerabilityAssessmentScanResults(ResourceIdentifier)

Gets a collection of SqlVulnerabilityAssessmentScanResultCollection objects within the specified scope.

GetSqlVulnerabilityAssessmentScans(ResourceIdentifier)

Gets a collection of SqlVulnerabilityAssessmentScanCollection objects within the specified scope.

GetSqlVulnerabilityAssessmentSettings(ResourceIdentifier)

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

GetSqlVulnerabilityAssessmentSettingsResource(ResourceIdentifier)

Gets an object representing a SqlVulnerabilityAssessmentSettingsResource along with the instance operations that can be performed on it but with no data.

GetStandardAssignment(ResourceIdentifier, String, CancellationToken)

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

GetStandardAssignmentAsync(ResourceIdentifier, String, CancellationToken)

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

GetStandardAssignmentResource(ResourceIdentifier)

Gets an object representing a StandardAssignmentResource along with the instance operations that can be performed on it but with no data.

GetStandardAssignments(ResourceIdentifier)

Gets a collection of StandardAssignmentCollection objects within the specified scope.

GetSubscriptionAssessmentMetadataResource(ResourceIdentifier)

Gets an object representing a SubscriptionAssessmentMetadataResource along with the instance operations that can be performed on it but with no data.

GetSubscriptionGovernanceRuleResource(ResourceIdentifier)
Obsolete.

Gets an object representing a subscription governance rule resource.

GetSubscriptionSecurityAlertResource(ResourceIdentifier)

Gets an object representing a SubscriptionSecurityAlertResource along with the instance operations that can be performed on it but with no data.

GetSubscriptionSecurityApplicationResource(ResourceIdentifier)

Gets an object representing a SubscriptionSecurityApplicationResource along with the instance operations that can be performed on it but with no data.

GetSubscriptionSecurityTaskResource(ResourceIdentifier)

Gets an object representing a SubscriptionSecurityTaskResource along with the instance operations that can be performed on it but with no data.

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.

TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmResource)

Extension Methods

Name Description
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
<item>MockingTo mock this method, please mock GetAuthorizationRoleDefinition(ResourceIdentifier, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetAuthorizationRoleDefinitionAsync(ResourceIdentifier, CancellationToken) instead.</item>
GetAuthorizationRoleDefinitions(ArmResource)

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

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
<item>MockingTo mock this method, please mock GetDenyAssignment(String, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetDenyAssignmentAsync(String, CancellationToken) instead.</item>
GetDenyAssignments(ArmResource)

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

GetLinkerResource(ArmResource, String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
  • Default Api Version: 2022-05-01
  • Resource: LinkerResource
<item>MockingTo mock this method, please mock GetLinkerResource(String, CancellationToken) instead.</item>
GetLinkerResourceAsync(ArmResource, String, CancellationToken)

Returns Linker resource for a given name.

  • Request Path: /{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Operation Id: Linker_Get
  • Default Api Version: 2022-05-01
  • Resource: LinkerResource
<item>MockingTo mock this method, please mock GetLinkerResourceAsync(String, CancellationToken) instead.</item>
GetLinkerResources(ArmResource)

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

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
<item>MockingTo mock this method, please mock GetRoleAssignment(String, String, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetRoleAssignmentAsync(String, String, CancellationToken) instead.</item>
GetRoleAssignments(ArmResource)

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

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
<item>MockingTo mock this method, please mock GetRoleAssignmentSchedule(String, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleAsync(String, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleInstance(String, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleInstanceAsync(String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleInstances(ArmResource)

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

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
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleRequest(String, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetRoleAssignmentScheduleRequestAsync(String, CancellationToken) instead.</item>
GetRoleAssignmentScheduleRequests(ArmResource)

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

GetRoleAssignmentSchedules(ArmResource)

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

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
<item>MockingTo mock this method, please mock GetRoleEligibilitySchedule(String, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleAsync(String, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleInstance(String, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleInstanceAsync(String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleInstances(ArmResource)

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

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
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleRequest(String, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetRoleEligibilityScheduleRequestAsync(String, CancellationToken) instead.</item>
GetRoleEligibilityScheduleRequests(ArmResource)

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

GetRoleEligibilitySchedules(ArmResource)

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

GetRoleManagementPolicies(ArmResource)

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

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
<item>MockingTo mock this method, please mock GetRoleManagementPolicy(String, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetRoleManagementPolicyAssignment(String, CancellationToken) instead.</item>
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
<item>MockingTo mock this method, please mock GetRoleManagementPolicyAssignmentAsync(String, CancellationToken) instead.</item>
GetRoleManagementPolicyAssignments(ArmResource)

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

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
<item>MockingTo mock this method, please mock GetRoleManagementPolicyAsync(String, CancellationToken) instead.</item>
GetSystemAssignedIdentity(ArmResource)

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

Applies to