For Agents
Create, update, snapshot, and grant SAS access to Azure managed disks and snapshots in any subscription, resource group, or region.
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the DiskResourceProviderClient, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with DiskResourceProviderClient API.
Provision a managed disk in a chosen size, SKU, and region
Take a point-in-time snapshot of an existing managed disk
Grant temporary SAS read or write access to a disk for direct blob copy
Restore or clone a disk by creating a new disk from an existing snapshot
GET STARTED
Use for: I need to provision a 1TB managed disk for a new VM, Take a snapshot of the OS disk before applying patches, Grant temporary SAS access to a disk so I can copy it to another region, List all unattached managed disks in my subscription
Not supported: Does not manage virtual machines, virtual networks, or attached file shares — use for Azure managed disks and snapshots only.
Jentic publishes the only available OpenAPI document for DiskResourceProviderClient, keeping it validated and agent-ready.
Jentic publishes the only available OpenAPI specification for DiskResourceProviderClient, keeping it validated and agent-ready. The Azure Disk Resource Provider Client manages Azure managed disks and snapshots through the Microsoft.Compute resource provider. It exposes 16 endpoints covering disk and snapshot CRUD, plus grant and revoke access operations that issue short-lived SAS URIs for direct blob-level read or write. Use it to provision data disks for virtual machines, take and restore snapshots, and copy disk content between subscriptions or regions.
List every disk or snapshot in a subscription or scoped to a resource group
Delete unattached disks and snapshots to reclaim quota
Patch disk size, SKU, or tags without recreating the resource
Patterns agents use DiskResourceProviderClient API for, with concrete tasks.
★ Automated VM Backup via Snapshots
Operations teams need point-in-time copies of VM disks before risky changes such as OS upgrades or schema migrations. The Disk Resource Provider exposes Snapshots_CreateOrUpdate and Disks_Get so a script or agent can enumerate the disks attached to a VM, snapshot each one in parallel, tag the snapshots with a retention date, and revert by creating a new disk from the snapshot if the change fails. The whole flow is API-driven and avoids the manual portal click-through.
Snapshot the disk named vm01-osdisk in resource group prod-rg, tag the snapshot with retention=14d, and return the snapshot resource ID.
Cross-Region Disk Migration
Moving a disk between regions or subscriptions traditionally requires the Azure portal copy flow. With Disks_GrantAccess the API issues a short-lived SAS URI that points at the underlying blob, so an agent can call AzCopy or the Storage REST API to stream the disk content into a new region, then create a destination disk and revoke access. This lets DR runbooks and lift-and-shift jobs run unattended.
Call Disks_GrantAccess on disk db01-data with a 60 minute lease, then issue Disks_RevokeAccess once the copy completes.
Disk Hygiene and Cost Reclamation
Unattached managed disks accrue cost silently. By listing all disks in a subscription and filtering for diskState equals Unattached, a finance or platform team can identify reclaim candidates, snapshot them for safety, and delete the originals. Combined with snapshot age filtering, this drives steady monthly savings without human review of every disk.
List every disk in subscription 11111111-2222-3333-4444-555555555555 where diskState equals Unattached, snapshot each one, then delete the disk.
AI Agent Disk Provisioning via Jentic
An infrastructure agent integrated through Jentic can fulfil a request like provision a 512GB Premium SSD for the analytics VM end-to-end. It searches Jentic for create azure managed disk, loads the Disks_CreateOrUpdate schema, fills in the SKU and size, and returns the disk resource ID. Because Jentic holds the Azure service principal credentials in its vault, the agent never sees the underlying secret.
Through Jentic, search for create an azure managed disk, load Disks_CreateOrUpdate, and create a 512GB Premium_LRS disk in eastus2 attached to resource group analytics-rg.
16 endpoints — jentic publishes the only available openapi specification for diskresourceproviderclient, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
Create or update a managed disk
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
Get a managed disk
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
Delete a managed disk
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess
Grant temporary SAS access to a disk
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
Create or update a snapshot
/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks
List all managed disks in a subscription
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
Create or update a managed disk
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
Get a managed disk
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
Delete a managed disk
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess
Grant temporary SAS access to a disk
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
Three things that make agents converge on Jentic-routed access.
Credential isolation
The Azure service principal client secret or certificate is stored encrypted in the Jentic vault (MAXsystem). The agent receives a bearer token scoped to management.azure.com only, so it cannot exfiltrate the underlying credential.
Intent-based discovery
Agents search by intent (e.g. 'create an azure managed disk' or 'snapshot a disk') and Jentic returns the matching Disks_* or Snapshots_* operation along with its full input schema, so the agent calls the right endpoint without browsing ARM docs.
Time to first call
Direct integration: 1-2 days for AAD token flow, ARM URL construction, async LRO polling, and SAS handling. Through Jentic: under 30 minutes — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
Diagnostics API Client
Diagnose App Service workloads that may run alongside disks managed here
Use when the issue is App Service rather than VM storage
DNS Management Client
Manage DNS zones and records that front the VMs whose disks live here
Choose when the agent needs to update DNS for a VM or service rather than touch storage
EventGrid Management Client
Subscribe to Azure resource events including disk and snapshot lifecycle changes
Use to react to disk events rather than poll Disks_Get
Specific to using DiskResourceProviderClient API through Jentic.
Why is there no official OpenAPI spec for DiskResourceProviderClient?
Microsoft Azure does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call DiskResourceProviderClient via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the DiskResourceProviderClient use?
It uses Azure Active Directory OAuth 2.0 (azure_auth) against https://management.azure.com/. The caller must be a service principal or managed identity with at least Disk Contributor or Virtual Machine Contributor on the target subscription or resource group. Through Jentic, Azure credentials live in the Jentic vault and the agent only sees a scoped bearer token.
Can I copy an Azure managed disk to another region with this API?
Indirectly. Call POST .../disks/{diskName}/beginGetAccess to obtain a short-lived SAS URI, stream the underlying VHD blob into the destination region with AzCopy or the Storage REST API, then call POST .../disks/{diskName}/endGetAccess to revoke the lease. The Disk Resource Provider issues the SAS but does not perform the copy itself.
What are the rate limits for the DiskResourceProviderClient?
Azure Resource Manager applies subscription-scoped throttling — broadly 12,000 reads per hour and 1,200 writes per hour per subscription, plus per-resource-provider limits. Disk and snapshot create or update operations are asynchronous: the API returns 202 with an Azure-AsyncOperation URL to poll. Always honour x-ms-ratelimit-remaining-* headers before bursting.
How do I provision a managed disk through Jentic?
Run pip install jentic, search for create an azure managed disk, load the Disks_CreateOrUpdate schema, supply diskName, location, sku.name (e.g. Premium_LRS), and creationData.createOption (Empty), then execute. The response includes the provisioning state — poll Disks_Get until it reads Succeeded.
Does this API manage virtual machines or virtual networks?
No. DiskResourceProviderClient only manages disks and snapshots under Microsoft.Compute. To attach a disk to a VM, scale a VM, or change its network configuration, use the separate Compute and Network resource provider APIs.
Create or update a snapshot
/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks
List all managed disks in a subscription