Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jaGFuZ2VhbmFseXNpcy9jaGFuZ2Vz/2021-04-01.xml (220 lines of code) (raw):

<?xml version='1.0' encoding='utf-8'?> <CodeGen plane="mgmt-plane"> <resource id="/subscriptions/{}/providers/microsoft.changeanalysis/changes" version="2021-04-01" swagger="mgmt-plane/changeanalysis/ResourceProviders/Microsoft.ChangeAnalysis/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNoYW5nZUFuYWx5c2lzL2NoYW5nZXM=/V/MjAyMS0wNC0wMQ=="/> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.changeanalysis/changes" version="2021-04-01" swagger="mgmt-plane/changeanalysis/ResourceProviders/Microsoft.ChangeAnalysis/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhbmdlQW5hbHlzaXMvY2hhbmdlcw==/V/MjAyMS0wNC0wMQ=="/> <commandGroup name="change-analysis"> <command name="list" version="2021-04-01"> <resource id="/subscriptions/{}/providers/microsoft.changeanalysis/changes" version="2021-04-01" swagger="mgmt-plane/changeanalysis/ResourceProviders/Microsoft.ChangeAnalysis/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNoYW5nZUFuYWx5c2lzL2NoYW5nZXM=/V/MjAyMS0wNC0wMQ=="/> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.changeanalysis/changes" version="2021-04-01" swagger="mgmt-plane/changeanalysis/ResourceProviders/Microsoft.ChangeAnalysis/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ2hhbmdlQW5hbHlzaXMvY2hhbmdlcw==/V/MjAyMS0wNC0wMQ=="/> <argGroup name=""> <arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g"/> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True"/> <arg type="dateTime" var="$Query.endTime" options="end-time" required="True"> <help short="Specifies the end time of the changes request."/> </arg> <arg type="string" var="$Query.skipToken" options="skip-token"> <help short="A skip token is used to continue retrieving items after an operation returns a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls."/> </arg> <arg type="dateTime" var="$Query.startTime" options="start-time" required="True"> <help short="Specifies the start time of the changes request."/> </arg> </argGroup> <condition var="$Condition_Changes_ListChangesByResourceGroup"> <operator type="and"> <operator type="hasValue" arg="$Path.resourceGroupName"/> <operator type="hasValue" arg="$Path.subscriptionId"/> <operator type="hasValue" arg="$Query.endTime"/> <operator type="hasValue" arg="$Query.startTime"/> </operator> </condition> <condition var="$Condition_Changes_ListChangesBySubscription"> <operator type="and"> <operator type="hasValue" arg="$Path.subscriptionId"/> <operator type="hasValue" arg="$Query.endTime"/> <operator type="hasValue" arg="$Query.startTime"/> <operator type="not"> <operator type="hasValue" arg="$Path.resourceGroupName"/> </operator> </operator> </condition> <operation when="$Condition_Changes_ListChangesByResourceGroup" operationId="Changes_ListChangesByResourceGroup"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ChangeAnalysis/changes"> <request method="get"> <path> <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> <param type="dateTime" name="$endTime" arg="$Query.endTime" required="True"/> <param type="string" name="$skipToken" arg="$Query.skipToken"/> <param type="dateTime" name="$startTime" arg="$Query.startTime" required="True"/> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2021-04-01&quot;"/> <format minLength="1"/> </const> </query> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object"> <prop type="string" name="nextLink"/> <prop type="array<object>" name="value"> <item type="object"> <prop readOnly="True" type="string" name="id"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties"> <prop type="string" name="changeType"> <enum> <item value="&quot;Add&quot;"/> <item value="&quot;Remove&quot;"/> <item value="&quot;Update&quot;"/> </enum> </prop> <prop type="array<string>" name="initiatedByList"> <item type="string"/> </prop> <prop type="array<object>" name="propertyChanges"> <item type="object"> <prop type="string" name="changeCategory"> <enum> <item value="&quot;System&quot;"/> <item value="&quot;User&quot;"/> </enum> </prop> <prop type="string" name="changeType"> <enum> <item value="&quot;Add&quot;"/> <item value="&quot;Remove&quot;"/> <item value="&quot;Update&quot;"/> </enum> </prop> <prop type="string" name="description"/> <prop type="string" name="displayName"/> <prop type="boolean" name="isDataMasked"/> <prop type="string" name="jsonPath"/> <prop type="string" name="level"> <enum> <item value="&quot;Important&quot;"/> <item value="&quot;Noisy&quot;"/> <item value="&quot;Normal&quot;"/> </enum> </prop> <prop type="string" name="newValue"/> <prop type="string" name="oldValue"/> </item> </prop> <prop type="string" name="resourceId"/> <prop type="dateTime" name="timeStamp"/> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> </schema> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <operation when="$Condition_Changes_ListChangesBySubscription" operationId="Changes_ListChangesBySubscription"> <http path="/subscriptions/{subscriptionId}/providers/Microsoft.ChangeAnalysis/changes"> <request method="get"> <path> <param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"> <format minLength="1"/> </param> </path> <query> <param type="dateTime" name="$endTime" arg="$Query.endTime" required="True"/> <param type="string" name="$skipToken" arg="$Query.skipToken"/> <param type="dateTime" name="$startTime" arg="$Query.startTime" required="True"/> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2021-04-01&quot;"/> <format minLength="1"/> </const> </query> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object"> <prop type="string" name="nextLink"/> <prop type="array<object>" name="value"> <item type="object"> <prop readOnly="True" type="string" name="id"/> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties"> <prop type="string" name="changeType"> <enum> <item value="&quot;Add&quot;"/> <item value="&quot;Remove&quot;"/> <item value="&quot;Update&quot;"/> </enum> </prop> <prop type="array<string>" name="initiatedByList"> <item type="string"/> </prop> <prop type="array<object>" name="propertyChanges"> <item type="object"> <prop type="string" name="changeCategory"> <enum> <item value="&quot;System&quot;"/> <item value="&quot;User&quot;"/> </enum> </prop> <prop type="string" name="changeType"> <enum> <item value="&quot;Add&quot;"/> <item value="&quot;Remove&quot;"/> <item value="&quot;Update&quot;"/> </enum> </prop> <prop type="string" name="description"/> <prop type="string" name="displayName"/> <prop type="boolean" name="isDataMasked"/> <prop type="string" name="jsonPath"/> <prop type="string" name="level"> <enum> <item value="&quot;Important&quot;"/> <item value="&quot;Noisy&quot;"/> <item value="&quot;Normal&quot;"/> </enum> </prop> <prop type="string" name="newValue"/> <prop type="string" name="oldValue"/> </item> </prop> <prop type="string" name="resourceId"/> <prop type="dateTime" name="timeStamp"/> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> </schema> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/> </command> </commandGroup> </CodeGen>