Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vc2NoZW1h/2020-08-01.xml (106 lines of code) (raw):
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/schema" version="2020-08-01" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9zY2hlbWE=/V/MjAyMC0wOC0wMQ=="/>
<commandGroup name="monitor log-analytics workspace">
<command name="get-schema" version="2020-08-01">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/schema" version="2020-08-01" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9zY2hlbWE=/V/MjAyMC0wOC0wMQ=="/>
<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 name n" required="True">
<help short="The name of the workspace."/>
<format pattern="^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$" maxLength="63" minLength="4"/>
</arg>
</argGroup>
<operation operationId="Schema_Get">
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/schema">
<request method="post">
<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 pattern="^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$" maxLength="63" minLength="4"/>
</param>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value=""2020-08-01""/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="object" name="metadata">
<prop type="string" name="aggregatedGroupingFields"/>
<prop type="string" name="aggregatedValueField"/>
<prop type="array<object>" name="coreSummaries">
<item type="object">
<prop type="integer64" name="numberOfDocuments" required="True"/>
<prop type="string" name="status"/>
</item>
</prop>
<prop type="string" name="eTag"/>
<prop type="string" name="id"/>
<prop type="dateTime" name="lastUpdated"/>
<prop type="integer64" name="max"/>
<prop type="string" name="requestId"/>
<prop type="integer64" name="requestTime"/>
<prop type="string" name="resultType"/>
<prop type="object" name="schema">
<prop type="string" name="name"/>
<prop type="integer32" name="version"/>
</prop>
<prop type="array<object>" name="sort">
<item type="object">
<prop type="string" name="name"/>
<prop type="string" name="order">
<enum>
<item value=""asc""/>
<item value=""desc""/>
</enum>
</prop>
</item>
</prop>
<prop type="dateTime" name="startTime"/>
<prop type="string" name="status"/>
<prop type="integer64" name="sum"/>
<prop type="integer64" name="top"/>
<prop type="integer64" name="total"/>
</prop>
<prop type="array<object>" name="value">
<item type="object">
<prop type="string" name="displayName"/>
<prop type="boolean" name="facet" required="True"/>
<prop type="boolean" name="indexed" required="True"/>
<prop type="string" name="name"/>
<prop type="array<string>" name="ownerType">
<item type="string"/>
</prop>
<prop type="boolean" name="stored" required="True"/>
<prop 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="object" ref="$Instance" clientFlatten="True"/>
</command>
</commandGroup>
</CodeGen>