SAP Database Instances - Update
Hiermee wordt de databaseresource bijgewerkt.
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}/databaseInstances/{databaseInstanceName}?api-version=2023-04-01
URI-parameters
| Name | In | Vereist | Type | Description |
|---|---|---|---|---|
|
database
|
path | True |
string |
Databaseresourcenaamtekenreeks die is gemodelleerd als parameter voor het automatisch genereren, werkt correct. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig. |
|
sap
|
path | True |
string |
De naam van de resource virtuele exemplaren voor SAP-oplossingen |
|
subscription
|
path | True |
string minLength: 1 |
De id van het doelabonnement. |
|
api-version
|
query | True |
string minLength: 1 |
De API-versie die voor deze bewerking moet worden gebruikt. |
Aanvraagbody
| Name | Type | Description |
|---|---|---|
| tags |
object |
Hiermee haalt u de resourcetags op of stelt u deze in. |
Antwoorden
| Name | Type | Description |
|---|---|---|
| 200 OK |
Beschrijft de databaseresource van het SAP-systeem. |
|
| 201 Created |
Beschrijft de databaseresource van het SAP-systeem. |
|
| Other Status Codes |
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
SAPDatabaseInstances_Update
Voorbeeldaanvraag
Voorbeeldrespons
{
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer",
"name": "databaseServer",
"type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances",
"tags": {
"key1": "value1"
},
"location": "westcentralus",
"systemData": {
"createdBy": "user@xyz.com",
"createdByType": "User",
"createdAt": "2021-08-19T15:10:46.196Z",
"lastModifiedBy": "user@xyz.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-19T15:10:46.196Z"
},
"properties": {
"databaseSid": "X00",
"databaseType": "hdb",
"ipAddress": "10.0.0.5",
"subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
"vmDetails": [
{
"virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm"
}
],
"status": "Running",
"errors": null,
"provisioningState": "Succeeded"
}
}
{
"id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer",
"name": "databaseServer",
"type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances",
"tags": {},
"location": "westcentralus",
"systemData": {
"createdBy": "user@xyz.com",
"createdByType": "User",
"createdAt": "2021-08-19T15:10:46.196Z",
"lastModifiedBy": "user@xyz.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2021-08-19T15:10:46.196Z"
},
"properties": {
"databaseSid": "X00",
"databaseType": "hdb",
"ipAddress": "10.0.0.5",
"subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
"vmDetails": [
{
"virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm"
}
],
"status": "Running",
"errors": null,
"provisioningState": "Succeeded"
}
}
Definities
| Name | Description |
|---|---|
|
created |
Het type identiteit waarmee de resource is gemaakt. |
|
Database |
Database-VM-gegevens. |
|
Error |
Aanvullende informatie over de resourcebeheerfout. |
|
Error |
Foutdefinitie. |
|
Error |
De foutdetails. |
|
Error |
Foutreactie |
|
Load |
De details van de Load Balancer, zoals load balancer-id. |
|
SAPDatabase |
Definieer de databaseresource. |
|
SAPVirtual |
Een foutreactie van het virtuele exemplaar voor de SAP-workloadservice. |
|
Sap |
Definieert de inrichtingsstatussen. |
|
SAPVirtual |
Hiermee definieert u de status van het SAP-exemplaar. |
|
Storage |
Opslagdetails van alle opslagaccounts die zijn gekoppeld aan de virtuele machine. Voor bijvoorbeeld NFS op gedeelde AFS-opslag. |
|
system |
Metagegevens met betrekking tot het maken en de laatste wijziging van de resource. |
|
Update |
Hiermee definieert u de aanvraagbody voor het bijwerken van het SAP Database-exemplaar. |
createdByType
Het type identiteit waarmee de resource is gemaakt.
| Waarde | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
DatabaseVmDetails
Database-VM-gegevens.
| Name | Type | Description |
|---|---|---|
| status |
Hiermee definieert u de status van het SAP-exemplaar. |
|
| storageDetails |
Opslagdetails van alle opslagaccounts die zijn gekoppeld aan de virtuele databasemachine. Voor bijvoorbeeld NFS op gedeelde AFS-opslag. |
|
| virtualMachineId |
string |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
| Name | Type | Description |
|---|---|---|
| info |
object |
De aanvullende informatie. |
| type |
string |
Het extra informatietype. |
ErrorDefinition
Foutdefinitie.
| Name | Type | Description |
|---|---|---|
| code |
string |
Servicespecifieke foutcode die fungeert als de substatus voor de HTTP-foutcode. |
| details |
Interne foutdetails. |
|
| message |
string |
Beschrijving van de fout. |
ErrorDetail
De foutdetails.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
De fout bevat aanvullende informatie. |
|
| code |
string |
De foutcode. |
| details |
De foutdetails. |
|
| message |
string |
Het foutbericht. |
| target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
| Name | Type | Description |
|---|---|---|
| error |
Het foutobject. |
LoadBalancerDetails
De details van de Load Balancer, zoals load balancer-id.
| Name | Type | Description |
|---|---|---|
| id |
string |
SAPDatabaseInstance
Definieer de databaseresource.
| Name | Type | Description |
|---|---|---|
| id |
string |
Volledig gekwalificeerde resource-id voor de resource. Vb.: - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| location |
string |
De geografische locatie waar de resource zich bevindt |
| name |
string |
De naam van de resource |
| properties.databaseSid |
string |
Database-SID-naam. |
| properties.databaseType |
string |
Het databasetype is HANA, DB2, Oracle, SAP ASE, Max DB of MS SQL Server. |
| properties.errors |
Definieert de fouten met betrekking tot databaseresource. |
|
| properties.ipAddress |
string |
IP-adres van database. |
| properties.loadBalancerDetails |
De details van de load balancer, zoals de loadbalancer-id die is gekoppeld aan virtuele databasemachines |
|
| properties.provisioningState |
Definieert de inrichtingsstatussen. |
|
| properties.status |
Hiermee definieert u de status van het SAP-exemplaar. |
|
| properties.subnet |
string |
Databasesubnet. |
| properties.vmDetails |
De lijst met virtuele machines die overeenkomen met de databaseresource. |
|
| systemData |
Azure Resource Manager-metagegevens met createdBy- en modifiedBy-gegevens. |
|
| tags |
object |
Resourcetags. |
| type |
string |
Het type resource. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts' |
SAPVirtualInstanceError
Een foutreactie van het virtuele exemplaar voor de SAP-workloadservice.
| Name | Type | Description |
|---|---|---|
| properties |
De hoofdtekst van de virtuele instantie voor SAP-fouten. |
SapVirtualInstanceProvisioningState
Definieert de inrichtingsstatussen.
| Waarde | Description |
|---|---|
| Succeeded | |
| Updating | |
| Creating | |
| Failed | |
| Deleting |
SAPVirtualInstanceStatus
Hiermee definieert u de status van het SAP-exemplaar.
| Waarde | Description |
|---|---|
| Starting | |
| Running | |
| Stopping | |
| Offline | |
| PartiallyRunning | |
| Unavailable | |
| SoftShutdown |
StorageInformation
Opslagdetails van alle opslagaccounts die zijn gekoppeld aan de virtuele machine. Voor bijvoorbeeld NFS op gedeelde AFS-opslag.
| Name | Type | Description |
|---|---|---|
| id |
string |
systemData
Metagegevens met betrekking tot het maken en de laatste wijziging van de resource.
| Name | Type | Description |
|---|---|---|
| createdAt |
string (date-time) |
De tijdstempel van het maken van resources (UTC). |
| createdBy |
string |
De identiteit waarmee de resource is gemaakt. |
| createdByType |
Het type identiteit waarmee de resource is gemaakt. |
|
| lastModifiedAt |
string (date-time) |
De tijdstempel van de laatste wijziging van de resource (UTC) |
| lastModifiedBy |
string |
De identiteit die de resource voor het laatst heeft gewijzigd. |
| lastModifiedByType |
Het type identiteit dat de resource voor het laatst heeft gewijzigd. |
UpdateSAPDatabaseInstanceRequest
Hiermee definieert u de aanvraagbody voor het bijwerken van het SAP Database-exemplaar.
| Name | Type | Description |
|---|---|---|
| tags |
object |
Hiermee haalt u de resourcetags op of stelt u deze in. |