Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zZWN1cml0eWluc2lnaHRzL3NvdXJjZWNvbnRyb2xz/2022-06-01-preview.xml (176 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/sourcecontrols" version="2022-06-01-preview" swagger="mgmt-plane/securityinsights/ResourceProviders/Microsoft.SecurityInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5SW5zaWdodHMvc291cmNlY29udHJvbHM=/V/MjAyMi0wNi0wMS1wcmV2aWV3"/> <commandGroup name="sentinel source-control"> <command name="list" version="2022-06-01-preview"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/providers/microsoft.securityinsights/sourcecontrols" version="2022-06-01-preview" swagger="mgmt-plane/securityinsights/ResourceProviders/Microsoft.SecurityInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9wcm92aWRlcnMvTWljcm9zb2Z0LlNlY3VyaXR5SW5zaWdodHMvc291cmNlY29udHJvbHM=/V/MjAyMi0wNi0wMS1wcmV2aWV3"/> <argGroup name=""> <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="SourceControls_List"> <http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols"> <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> <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 readOnly="True" type="string" name="nextLink"/> <prop type="array<object>" name="value" required="True"> <item type="object"> <prop type="string" name="etag"/> <prop readOnly="True" type="ResourceId" name="id"> <format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.OperationalInsights/workspaces/{}/providers/Microsoft.SecurityInsights/sourcecontrols/{}"/> </prop> <prop readOnly="True" type="string" name="name"/> <prop type="object" name="properties" clientFlatten="True"> <prop type="array<string>" name="contentTypes" required="True"> <item type="string"> <enum> <item value="&quot;AnalyticRule&quot;"/> <item value="&quot;Workbook&quot;"/> </enum> </item> </prop> <prop type="string" name="description"/> <prop type="string" name="displayName" required="True"/> <prop type="string" name="id"/> <prop type="object" name="lastDeploymentInfo"> <prop type="object" name="deployment"> <prop type="string" name="deploymentId"/> <prop type="string" name="deploymentLogsUrl"/> <prop type="string" name="deploymentResult"> <enum> <item value="&quot;Canceled&quot;"/> <item value="&quot;Failed&quot;"/> <item value="&quot;Success&quot;"/> </enum> </prop> <prop type="string" name="deploymentState"> <enum> <item value="&quot;Canceling&quot;"/> <item value="&quot;Completed&quot;"/> <item value="&quot;In_Progress&quot;"/> <item value="&quot;Queued&quot;"/> </enum> </prop> <prop type="dateTime" name="deploymentTime"/> </prop> <prop type="string" name="deploymentFetchStatus"> <enum> <item value="&quot;NotFound&quot;"/> <item value="&quot;Success&quot;"/> <item value="&quot;Unauthorized&quot;"/> </enum> </prop> <prop type="string" name="message"/> </prop> <prop type="string" name="repoType" required="True"> <enum> <item value="&quot;DevOps&quot;"/> <item value="&quot;Github&quot;"/> </enum> </prop> <prop type="object" name="repository" required="True"> <prop type="string" name="branch"/> <prop type="string" name="deploymentLogsUrl"/> <prop type="string" name="displayUrl"/> <prop type="array<object>" name="pathMapping"> <item type="object"> <prop type="string" name="contentType"> <enum> <item value="&quot;AnalyticRule&quot;"/> <item value="&quot;Workbook&quot;"/> </enum> </prop> <prop type="string" name="path"/> </item> </prop> <prop type="string" name="url"/> </prop> <prop type="object" name="repositoryResourceInfo"> <prop type="object" name="azureDevOpsResourceInfo"> <prop type="string" name="pipelineId"/> <prop type="string" name="serviceConnectionId"/> </prop> <prop type="object" name="gitHubResourceInfo"> <prop type="string" name="appInstallationId"/> </prop> <prop type="object" name="webhook"> <prop type="boolean" name="rotateWebhookSecret"/> <prop type="string" name="webhookId"/> <prop type="string" name="webhookSecretUpdateTime"/> <prop type="string" name="webhookUrl"/> </prop> </prop> <prop type="string" name="version"> <enum> <item value="&quot;V1&quot;"/> <item value="&quot;V2&quot;"/> </enum> </prop> </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="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/> </command> </commandGroup> </CodeGen>