Skip to main content

operations

Creates, updates, deletes, gets or lists an operations resource.

Overview

Nameoperations
TypeResource
Idazure_isv.sap_workloads.operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
actionTypestringEnum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
displayobjectLocalized display information for this particular operation.
isDataActionbooleanWhether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
originstringThe intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectLists all the available API operations under this PR
sap_sizing_recommendationsexecsubscriptionId, location, appLocation, environment, sapProduct, deploymentType, saps, dbMemory, databaseTypeGet SAP sizing recommendations by providing input SAPS for application tier and memory required for database tier
sap_supported_skuexecsubscriptionId, location, appLocation, environment, sapProduct, databaseType, deploymentTypeGet a list of SAP supported SKUs for ASCS, Application and Database tier.
sap_disk_configurationsexecsubscriptionId, location, appLocation, environment, sapProduct, databaseType, deploymentType, dbVmSkuGet the SAP Disk Configuration Layout prod/non-prod SAP System.
sap_availability_zone_detailsexecsubscriptionId, location, appLocation, sapProduct, databaseTypeGet the recommended SAP Availability Zone Pair Details for your region.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationstringThe name of Azure region.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Lists all the available API operations under this PR

SELECT
name,
actionType,
display,
isDataAction,
origin
FROM azure_isv.sap_workloads.operations
;

Lifecycle Methods

Get SAP sizing recommendations by providing input SAPS for application tier and memory required for database tier

EXEC azure_isv.sap_workloads.operations.sap_sizing_recommendations 
@subscriptionId='{{ subscriptionId }}' --required,
@location='{{ location }}' --required
@@json=
'{
"appLocation": "{{ appLocation }}",
"environment": "{{ environment }}",
"sapProduct": "{{ sapProduct }}",
"deploymentType": "{{ deploymentType }}",
"saps": {{ saps }},
"dbMemory": {{ dbMemory }},
"databaseType": "{{ databaseType }}",
"dbScaleMethod": "{{ dbScaleMethod }}",
"highAvailabilityType": "{{ highAvailabilityType }}"
}'
;