Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb25maWRlbnRpYWxsZWRnZXIvbGVkZ2Vycy97fS9iYWNrdXA=/2024-09-19-preview.xml (75 lines of code) (raw):

<?xml version='1.0' encoding='utf-8'?> <CodeGen plane="mgmt-plane"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.confidentialledger/ledgers/{}/backup" version="2024-09-19-preview" swagger="mgmt-plane/confidentialledger/ResourceProviders/Microsoft.ConfidentialLedger/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29uZmlkZW50aWFsTGVkZ2VyL2xlZGdlcnMve2xlZGdlck5hbWV9L2JhY2t1cA==/V/MjAyNC0wOS0xOS1wcmV2aWV3"/> <commandGroup name="confidentialledger"> <command name="backup" version="2024-09-19-preview" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.confidentialledger/ledgers/{}/backup" version="2024-09-19-preview" swagger="mgmt-plane/confidentialledger/ResourceProviders/Microsoft.ConfidentialLedger/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29uZmlkZW50aWFsTGVkZ2VyL2xlZGdlcnMve2xlZGdlck5hbWV9L2JhY2t1cA==/V/MjAyNC0wOS0xOS1wcmV2aWV3"/> <argGroup name=""> <arg type="string" var="$Path.ledgerName" options="ledger-name" required="True" idPart="name"> <help short="Name of the Confidential Ledger"/> <format pattern="^[a-zA-Z0-9]"/> </arg> <arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/> </argGroup> <argGroup name="ConfidentialLedger"> <arg type="string" var="$confidentialLedger.restoreRegion" options="restore-region" group="ConfidentialLedger"> <help short="The region where the backup of the ledger will eventually be restored to."/> </arg> <arg type="string" var="$confidentialLedger.uri" options="uri" required="True" group="ConfidentialLedger"> <help short="SAS URI used to access the backup Fileshare."/> </arg> </argGroup> <operation operationId="Ledger_Backup"> <longRunning finalStateVia="azure-async-operation"/> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/ledgers/{ledgerName}/backup"> <request method="post"> <path> <param type="string" name="ledgerName" arg="$Path.ledgerName" required="True"> <format pattern="^[a-zA-Z0-9]"/> </param> <param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True"> <format maxLength="90" minLength="1"/> </param> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> <format minLength="1"/> </param> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2024-09-19-preview&quot;"/> <format minLength="1"/> </const> </query> <body> <json> <schema type="object" name="confidentialLedger" required="True" clientFlatten="True"> <prop type="string" name="restoreRegion" arg="$confidentialLedger.restoreRegion"/> <prop type="string" name="uri" arg="$confidentialLedger.uri" required="True" secret="True"/> </schema> </json> </body> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object"> <prop readOnly="True" type="string" name="message"/> </schema> </json> </body> </response> <response statusCode="202"/> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <output type="object" ref="$Instance" clientFlatten="True"/> </command> </commandGroup> </CodeGen>