Dela via


Fabric Agent - Delete

Tar bort infrastrukturagenten.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationFabrics/{fabricName}/fabricAgents/{fabricAgentName}?api-version=2024-09-01

URI-parametrar

Name I Obligatorisk Typ Description
fabricAgentName
path True

string

pattern: ^[a-zA-Z0-9]*$

Namnet på tygagenten.

fabricName
path True

string

pattern: ^[a-zA-Z0-9]*$

Infrastrukturresursens namn.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

Namnet på resursgruppen. Namnet är skiftlägesokänsligt.

subscriptionId
path True

string (uuid)

ID för målprenumerationen. Värdet måste vara ett UUID.

api-version
query True

string

minLength: 1

Den API-version som ska användas för den här åtgärden.

Svar

Name Typ Description
202 Accepted

Borttagning av resurs accepteras.

Sidhuvuden

  • Location: string
  • Retry-After: integer
204 No Content

Resursen finns inte.

Other Status Codes

ErrorResponse

Ett oväntat felsvar.

Säkerhet

azure_auth

Azure Active Directory OAuth2-flöde.

Typ: oauth2
Flow: implicit
Auktoriseringswebbadress: https://login.microsoftonline.com/common/oauth2/authorize

Omfattningar

Name Description
user_impersonation personifiera ditt användarkonto

Exempel

Deletes the Fabric Agent

Exempelbegäran

DELETE https://management.azure.com/subscriptions/930CEC23-4430-4513-B855-DBA237E2F3BF/resourceGroups/rgswagger_2024-09-01/providers/Microsoft.DataReplication/replicationFabrics/wPR/fabricAgents/M?api-version=2024-09-01

Exempelsvar

location: https://contoso.com/operationstatus

Definitioner

Name Description
ErrorAdditionalInfo

Ytterligare information om resurshanteringsfelet.

ErrorDetail

Felinformationen.

ErrorResponse

Felsvar

ErrorAdditionalInfo

Ytterligare information om resurshanteringsfelet.

Name Typ Description
info

object

Ytterligare information.

type

string

Ytterligare informationstyp.

ErrorDetail

Felinformationen.

Name Typ Description
additionalInfo

ErrorAdditionalInfo[]

Ytterligare information om felet.

code

string

Felkoden.

details

ErrorDetail[]

Felinformationen.

message

string

Felmeddelandet.

target

string

Felmålet.

ErrorResponse

Felsvar

Name Typ Description
error

ErrorDetail

Felobjektet.