Delen via


Advanced Threat Protection - Get

Hiermee haalt u de Advanced Threat Protection-instellingen voor de opgegeven resource op.

GET https://management.azure.com/{resourceId}/providers/Microsoft.Security/advancedThreatProtectionSettings/current?api-version=2017-08-01-preview

URI-parameters

Name In Vereist Type Description
resourceId
path True

string

De id van de resource.

settingName
path True

string

De naam van de instelling Advanced Threat Protection.

api-version
query True

string

API-versie voor de bewerking

Antwoorden

Name Type Description
200 OK

AdvancedThreatProtectionSetting

Geslaagde aanvraag om Advanced Threat Protection-instellingen op te halen.

Other Status Codes

CloudError

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation Uw gebruikersaccount imiteren

Voorbeelden

Gets the Advanced Threat Protection settings for the specified resource.

Voorbeeldaanvraag

GET https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount/providers/Microsoft.Security/advancedThreatProtectionSettings/current?api-version=2017-08-01-preview

Voorbeeldrespons

{
  "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/SampleRG/providers/Microsoft.Storage/storageAccounts/samplestorageaccount/providers/Microsoft.Security/advancedThreatProtectionSettings/current",
  "name": "current",
  "type": "Microsoft.Security/advancedThreatProtectionSettings",
  "properties": {
    "isEnabled": true
  }
}

Definities

Name Description
AdvancedThreatProtectionSetting

De Advanced Threat Protection-resource.

CloudError

Veelvoorkomende foutreactie voor alle Azure Resource Manager-API's om foutdetails te retourneren voor mislukte bewerkingen. (Dit volgt ook de OData-foutreactieindeling.)

CloudErrorBody

De foutdetails.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

AdvancedThreatProtectionSetting

De Advanced Threat Protection-resource.

Name Type Description
id

string

Resource-id

name

string

Resourcenaam

properties.isEnabled

boolean

Geeft aan of Advanced Threat Protection is ingeschakeld.

type

string

Type hulpbron

CloudError

Veelvoorkomende foutreactie voor alle Azure Resource Manager-API's om foutdetails te retourneren voor mislukte bewerkingen. (Dit volgt ook de OData-foutreactieindeling.)

Name Type Description
error.additionalInfo

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

error.code

string

De foutcode.

error.details

CloudErrorBody[]

De foutdetails.

error.message

string

Het foutbericht.

error.target

string

Het foutdoel.

CloudErrorBody

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

De foutcode.

details

CloudErrorBody[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het extra informatietype.