Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZWN1cml0eWluc2lnaHRzL2luY2lkZW50cy97fS9ib29rbWFya3M=/2022-06-01-preview.xml (152 lines of code) (raw):

<?xml version='1.0' encoding='utf-8'?> <CodeGen plane="mgmt-plane"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/bookmarks" version="2022-06-01-preview" swagger="mgmt-plane/securityinsights/ResourceProviders/Microsoft.SecurityInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5SW5zaWdodHMvaW5jaWRlbnRzL3tpbmNpZGVudElkfS9ib29rbWFya3M=/V/MjAyMi0wNi0wMS1wcmV2aWV3"/> <commandGroup name="sentinel incident"> <command name="list-bookmark" version="2022-06-01-preview"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/incidents/{}/bookmarks" version="2022-06-01-preview" swagger="mgmt-plane/securityinsights/ResourceProviders/Microsoft.SecurityInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5SW5zaWdodHMvaW5jaWRlbnRzL3tpbmNpZGVudElkfS9ib29rbWFya3M=/V/MjAyMi0wNi0wMS1wcmV2aWV3"/> <argGroup name=""> <arg type="string" var="$Path.incidentId" options="incident-id" required="True"> <help short="Incident ID"/> </arg> <arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True"/> <arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True"/> <arg type="string" var="$Path.workspaceName" options="workspace-name w" required="True" stage="Experimental"> <help short="The name of the workspace."/> <format maxLength="90" minLength="1"/> </arg> </argGroup> <operation operationId="Incidents_ListBookmarks"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/bookmarks"> <request method="post"> <path> <param type="string" name="incidentId" arg="$Path.incidentId" required="True"/> <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> <param type="string" name="workspaceName" arg="$Path.workspaceName" required="True"> <format maxLength="90" minLength="1"/> </param> </path> <query> <const readOnly="True" const="True" type="string" name="api-version" required="True"> <default value="&quot;2022-06-01-preview&quot;"/> <format minLength="1"/> </const> </query> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object"> <prop type="array<object>" name="value" required="True"> <item type="object"> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.OperationalInsights/workspaces/{}/providers/Microsoft.SecurityInsights/entities/{}"/> </prop> <prop const="True" type="string" name="kind" required="True"> <default value="&quot;Bookmark&quot;"/> <enum> <item value="&quot;Account&quot;"/> <item value="&quot;AzureResource&quot;"/> <item value="&quot;Bookmark&quot;"/> <item value="&quot;CloudApplication&quot;"/> <item value="&quot;DnsResolution&quot;"/> <item value="&quot;File&quot;"/> <item value="&quot;FileHash&quot;"/> <item value="&quot;Host&quot;"/> <item value="&quot;IoTDevice&quot;"/> <item value="&quot;Ip&quot;"/> <item value="&quot;MailCluster&quot;"/> <item value="&quot;MailMessage&quot;"/> <item value="&quot;Mailbox&quot;"/> <item value="&quot;Malware&quot;"/> <item value="&quot;Process&quot;"/> <item value="&quot;RegistryKey&quot;"/> <item value="&quot;RegistryValue&quot;"/> <item value="&quot;SecurityAlert&quot;"/> <item value="&quot;SecurityGroup&quot;"/> <item value="&quot;SubmissionMail&quot;"/> <item value="&quot;Url&quot;"/> </enum> </prop> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop readOnly="True" type="object" name="additionalData"> <additionalProp readOnly="True"/> </prop> <prop type="dateTime" name="created"/> <prop type="object" name="createdBy" cls="UserInfo_read"> <prop readOnly="True" type="string" name="email"/> <prop readOnly="True" type="string" name="name"/> <prop nullable="True" type="uuid" name="objectId"/> </prop> <prop type="string" name="displayName" required="True"/> <prop type="dateTime" name="eventTime"/> <prop readOnly="True" type="string" name="friendlyName"/> <prop type="object" name="incidentInfo"> <prop type="string" name="incidentId"/> <prop type="string" name="relationName"/> <prop type="string" name="severity"> <enum> <item value="&quot;High&quot;"/> <item value="&quot;Informational&quot;"/> <item value="&quot;Low&quot;"/> <item value="&quot;Medium&quot;"/> </enum> </prop> <prop type="string" name="title"/> </prop> <prop type="array<string>" name="labels"> <item type="string"/> </prop> <prop type="string" name="notes"/> <prop type="string" name="query" required="True"/> <prop type="string" name="queryResult"/> <prop type="dateTime" name="updated"/> <prop type="@UserInfo_read" name="updatedBy"/> </prop> <prop readOnly="True" type="object" name="systemData"> <prop readOnly="True" type="dateTime" name="createdAt"/> <prop readOnly="True" type="string" name="createdBy"/> <prop readOnly="True" type="string" name="createdByType"> <enum> <item value="&quot;Application&quot;"/> <item value="&quot;Key&quot;"/> <item value="&quot;ManagedIdentity&quot;"/> <item value="&quot;User&quot;"/> </enum> </prop> <prop readOnly="True" type="dateTime" name="lastModifiedAt"/> <prop readOnly="True" type="string" name="lastModifiedBy"/> <prop readOnly="True" type="string" name="lastModifiedByType"> <enum> <item value="&quot;Application&quot;"/> <item value="&quot;Key&quot;"/> <item value="&quot;ManagedIdentity&quot;"/> <item value="&quot;User&quot;"/> </enum> </prop> </prop> <prop readOnly="True" type="string" name="type"/> </item> </prop> </schema> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@ODataV4Format"/> </json> </body> </response> </http> </operation> <output type="object" ref="$Instance" clientFlatten="True"/> </command> </commandGroup> </CodeGen>