Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVzL3t9/2021-12-01-preview.xml (953 lines of code) (raw):
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{}" version="2021-12-01-preview" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS90YWJsZXMve3RhYmxlTmFtZX0=/V/MjAyMS0xMi0wMS1wcmV2aWV3"/>
<commandGroup name="monitor log-analytics workspace table">
<command name="show" version="2021-12-01-preview">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{}" version="2021-12-01-preview" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS90YWJsZXMve3RhYmxlTmFtZX0=/V/MjAyMS0xMi0wMS1wcmV2aWV3"/>
<argGroup name="">
<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"/>
<arg type="string" var="$Path.tableName" options="table-name name n" required="True" idPart="child_name_1">
<help short="The name of the table."/>
</arg>
<arg type="string" var="$Path.workspaceName" options="workspace-name" required="True" idPart="name">
<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="Tables_Get">
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}">
<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="tableName" arg="$Path.tableName" required="True"/>
<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=""2021-12-01-preview""/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourcegroups/{}/providers/Microsoft.OperationalInsights/workspaces/{}/tables/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="integer32" name="archiveRetentionInDays"/>
<prop readOnly="True" type="string" name="lastPlanModifiedDate"/>
<prop type="string" name="plan">
<enum>
<item value=""Analytics""/>
<item value=""Basic""/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value=""InProgress""/>
<item value=""Succeeded""/>
<item value=""Updating""/>
</enum>
</prop>
<prop type="object" name="restoredLogs" cls="RestoredLogs_read">
<prop type="dateTime" name="endRestoreTime"/>
<prop type="string" name="sourceTable"/>
<prop type="dateTime" name="startRestoreTime"/>
</prop>
<prop type="object" name="resultStatistics">
<prop readOnly="True" type="integer32" name="ingestedRecords"/>
<prop readOnly="True" type="float" name="progress">
<format multipleOf="0.01"/>
</prop>
</prop>
<prop type="integer32" name="retentionInDays">
<format maximum="730" minimum="4"/>
</prop>
<prop type="object" name="schema">
<prop readOnly="True" type="array<string>" name="categories">
<item readOnly="True" type="string"/>
</prop>
<prop type="array<object>" name="columns">
<item type="object" cls="Column_read">
<prop type="string" name="dataTypeHint">
<enum>
<item value=""armPath""/>
<item value=""guid""/>
<item value=""ip""/>
<item value=""uri""/>
</enum>
</prop>
<prop type="string" name="description"/>
<prop type="string" name="displayName"/>
<prop readOnly="True" type="boolean" name="isDefaultDisplay"/>
<prop readOnly="True" type="boolean" name="isHidden"/>
<prop type="string" name="name"/>
<prop type="string" name="type">
<enum>
<item value=""boolean""/>
<item value=""dateTime""/>
<item value=""dynamic""/>
<item value=""guid""/>
<item value=""int""/>
<item value=""long""/>
<item value=""real""/>
<item value=""string""/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="description"/>
<prop type="string" name="displayName"/>
<prop readOnly="True" type="array<string>" name="labels">
<item readOnly="True" type="string"/>
</prop>
<prop type="string" name="name"/>
<prop readOnly="True" type="@RestoredLogs_read" name="restoredLogs"/>
<prop readOnly="True" type="@SearchResults_read" name="searchResults"/>
<prop readOnly="True" type="array<string>" name="solutions">
<item readOnly="True" type="string"/>
</prop>
<prop readOnly="True" type="string" name="source">
<enum>
<item value=""customer""/>
<item value=""microsoft""/>
</enum>
</prop>
<prop readOnly="True" type="array<@Column_read>" name="standardColumns">
<item readOnly="True" type="@Column_read"/>
</prop>
<prop readOnly="True" type="string" name="tableSubType">
<enum>
<item value=""Any""/>
<item value=""Classic""/>
<item value=""DataCollectionRuleBased""/>
</enum>
</prop>
<prop readOnly="True" type="string" name="tableType">
<enum>
<item value=""CustomLog""/>
<item value=""Microsoft""/>
<item value=""RestoredLogs""/>
<item value=""SearchResults""/>
</enum>
</prop>
</prop>
<prop type="object" name="searchResults" cls="SearchResults_read">
<prop type="string" name="description"/>
<prop type="dateTime" name="endSearchTime"/>
<prop type="integer32" name="limit"/>
<prop type="string" name="query"/>
<prop readOnly="True" type="string" name="sourceTable"/>
<prop type="dateTime" name="startSearchTime"/>
</prop>
<prop type="integer32" name="totalRetentionInDays">
<format maximum="2555" minimum="4"/>
</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=""Application""/>
<item value=""Key""/>
<item value=""ManagedIdentity""/>
<item value=""User""/>
</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=""Application""/>
<item value=""Key""/>
<item value=""ManagedIdentity""/>
<item value=""User""/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</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>
<command name="delete" version="2021-12-01-preview" confirmation="Are you sure you want to perform this operation?">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{}" version="2021-12-01-preview" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS90YWJsZXMve3RhYmxlTmFtZX0=/V/MjAyMS0xMi0wMS1wcmV2aWV3"/>
<argGroup name="">
<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"/>
<arg type="string" var="$Path.tableName" options="table-name name n" required="True" idPart="child_name_1">
<help short="The name of the table."/>
</arg>
<arg type="string" var="$Path.workspaceName" options="workspace-name" required="True" idPart="name">
<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="Tables_Delete">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}">
<request method="delete">
<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="tableName" arg="$Path.tableName" required="True"/>
<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=""2021-12-01-preview""/>
<format minLength="1"/>
</const>
</query>
</request>
<response statusCode="200"/>
<response statusCode="202"/>
<response statusCode="204"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
</command>
<command name="create" version="2021-12-01-preview">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{}" version="2021-12-01-preview" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS90YWJsZXMve3RhYmxlTmFtZX0=/V/MjAyMS0xMi0wMS1wcmV2aWV3"/>
<argGroup name="">
<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"/>
<arg type="string" var="$Path.tableName" options="table-name name n" required="True" idPart="child_name_1">
<help short="The name of the table."/>
</arg>
<arg type="string" var="$Path.workspaceName" options="workspace-name" required="True" idPart="name">
<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>
<argGroup name="Properties">
<arg type="string" var="$parameters.properties.plan" options="plan" group="Properties">
<help short="Instruct the system how to handle and charge the logs ingested to this table."/>
<enum>
<item name="Analytics" value=""Analytics""/>
<item name="Basic" value=""Basic""/>
</enum>
</arg>
<arg type="object" var="$parameters.properties.restoredLogs" options="restore" group="Properties">
<help short="Parameters of the restore operation that initiated this table."/>
<arg type="dateTime" var="$parameters.properties.restoredLogs.endRestoreTime" options="end-restore-time">
<help short="The timestamp to end the restore by (UTC)."/>
</arg>
<arg type="string" var="$parameters.properties.restoredLogs.sourceTable" options="source-table">
<help short="The table to restore data from."/>
</arg>
<arg type="dateTime" var="$parameters.properties.restoredLogs.startRestoreTime" options="start-restore-time">
<help short="The timestamp to start the restore from (UTC)."/>
</arg>
</arg>
<arg type="integer32" var="$parameters.properties.retentionInDays" options="retention-time" group="Properties">
<help short="The table retention in days, between 4 and 730."/>
<format maximum="730" minimum="4"/>
</arg>
<arg type="object" var="$parameters.properties.schema" options="schema" group="Properties">
<help short="Table schema."/>
<arg type="array<object>" var="$parameters.properties.schema.columns" options="columns">
<help short="A list of table custom columns."/>
<item type="object">
<arg type="string" var="$parameters.properties.schema.columns[].dataTypeHint" options="data-type-hint">
<help short="Column data type logical hint."/>
<enum>
<item name="armPath" value=""armPath""/>
<item name="guid" value=""guid""/>
<item name="ip" value=""ip""/>
<item name="uri" value=""uri""/>
</enum>
</arg>
<arg type="string" var="$parameters.properties.schema.columns[].description" options="description">
<help short="Column description."/>
</arg>
<arg type="string" var="$parameters.properties.schema.columns[].displayName" options="display-name">
<help short="Column display name."/>
</arg>
<arg type="string" var="$parameters.properties.schema.columns[].name" options="name">
<help short="Column name."/>
</arg>
<arg type="string" var="$parameters.properties.schema.columns[].type" options="type">
<help short="Column data type."/>
<enum>
<item name="boolean" value=""boolean""/>
<item name="dateTime" value=""dateTime""/>
<item name="dynamic" value=""dynamic""/>
<item name="guid" value=""guid""/>
<item name="int" value=""int""/>
<item name="long" value=""long""/>
<item name="real" value=""real""/>
<item name="string" value=""string""/>
</enum>
</arg>
</item>
</arg>
<arg type="string" var="$parameters.properties.schema.description" options="description">
<help short="Table description."/>
</arg>
<arg type="string" var="$parameters.properties.schema.displayName" options="display-name">
<help short="Table display name."/>
</arg>
<arg type="string" var="$parameters.properties.schema.name" options="name">
<help short="Table name."/>
</arg>
</arg>
<arg type="object" var="$parameters.properties.searchResults" options="search-job" group="Properties">
<help short="Parameters of the search job that initiated this table."/>
<arg type="string" var="$parameters.properties.searchResults.description" options="description">
<help short="Search job Description."/>
</arg>
<arg type="dateTime" var="$parameters.properties.searchResults.endSearchTime" options="end-search-time">
<help short="The timestamp to end the search by (UTC)"/>
</arg>
<arg type="integer32" var="$parameters.properties.searchResults.limit" options="limit">
<help short="Limit the search job to return up to specified number of rows."/>
</arg>
<arg type="string" var="$parameters.properties.searchResults.query" options="query">
<help short="Search job query."/>
</arg>
<arg type="dateTime" var="$parameters.properties.searchResults.startSearchTime" options="start-search-time">
<help short="The timestamp to start the search from (UTC)"/>
</arg>
</arg>
<arg type="integer32" var="$parameters.properties.totalRetentionInDays" options="total-retention-time" group="Properties">
<help short="The table total retention in days, between 4 and 2555."/>
<format maximum="2555" minimum="4"/>
</arg>
</argGroup>
<operation operationId="Tables_CreateOrUpdate">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}">
<request method="put">
<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="tableName" arg="$Path.tableName" required="True"/>
<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=""2021-12-01-preview""/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="parameters" required="True" clientFlatten="True">
<prop type="object" name="properties" clientFlatten="True">
<prop type="string" name="plan" arg="$parameters.properties.plan">
<enum>
<item value=""Analytics""/>
<item value=""Basic""/>
</enum>
</prop>
<prop type="object" name="restoredLogs" arg="$parameters.properties.restoredLogs">
<prop type="dateTime" name="endRestoreTime" arg="$parameters.properties.restoredLogs.endRestoreTime"/>
<prop type="string" name="sourceTable" arg="$parameters.properties.restoredLogs.sourceTable"/>
<prop type="dateTime" name="startRestoreTime" arg="$parameters.properties.restoredLogs.startRestoreTime"/>
</prop>
<prop type="integer32" name="retentionInDays" arg="$parameters.properties.retentionInDays">
<format maximum="730" minimum="4"/>
</prop>
<prop type="object" name="schema" arg="$parameters.properties.schema">
<prop type="array<object>" name="columns" arg="$parameters.properties.schema.columns">
<item type="object">
<prop type="string" name="dataTypeHint" arg="$parameters.properties.schema.columns[].dataTypeHint">
<enum>
<item value=""armPath""/>
<item value=""guid""/>
<item value=""ip""/>
<item value=""uri""/>
</enum>
</prop>
<prop type="string" name="description" arg="$parameters.properties.schema.columns[].description"/>
<prop type="string" name="displayName" arg="$parameters.properties.schema.columns[].displayName"/>
<prop type="string" name="name" arg="$parameters.properties.schema.columns[].name"/>
<prop type="string" name="type" arg="$parameters.properties.schema.columns[].type">
<enum>
<item value=""boolean""/>
<item value=""dateTime""/>
<item value=""dynamic""/>
<item value=""guid""/>
<item value=""int""/>
<item value=""long""/>
<item value=""real""/>
<item value=""string""/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="description" arg="$parameters.properties.schema.description"/>
<prop type="string" name="displayName" arg="$parameters.properties.schema.displayName"/>
<prop type="string" name="name" arg="$parameters.properties.schema.name"/>
</prop>
<prop type="object" name="searchResults" arg="$parameters.properties.searchResults">
<prop type="string" name="description" arg="$parameters.properties.searchResults.description"/>
<prop type="dateTime" name="endSearchTime" arg="$parameters.properties.searchResults.endSearchTime"/>
<prop type="integer32" name="limit" arg="$parameters.properties.searchResults.limit"/>
<prop type="string" name="query" arg="$parameters.properties.searchResults.query"/>
<prop type="dateTime" name="startSearchTime" arg="$parameters.properties.searchResults.startSearchTime"/>
</prop>
<prop type="integer32" name="totalRetentionInDays" arg="$parameters.properties.totalRetentionInDays">
<format maximum="2555" minimum="4"/>
</prop>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourcegroups/{}/providers/Microsoft.OperationalInsights/workspaces/{}/tables/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="integer32" name="archiveRetentionInDays"/>
<prop readOnly="True" type="string" name="lastPlanModifiedDate"/>
<prop type="string" name="plan">
<enum>
<item value=""Analytics""/>
<item value=""Basic""/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value=""InProgress""/>
<item value=""Succeeded""/>
<item value=""Updating""/>
</enum>
</prop>
<prop type="object" name="restoredLogs" cls="RestoredLogs_read">
<prop type="dateTime" name="endRestoreTime"/>
<prop type="string" name="sourceTable"/>
<prop type="dateTime" name="startRestoreTime"/>
</prop>
<prop type="object" name="resultStatistics">
<prop readOnly="True" type="integer32" name="ingestedRecords"/>
<prop readOnly="True" type="float" name="progress">
<format multipleOf="0.01"/>
</prop>
</prop>
<prop type="integer32" name="retentionInDays">
<format maximum="730" minimum="4"/>
</prop>
<prop type="object" name="schema">
<prop readOnly="True" type="array<string>" name="categories">
<item readOnly="True" type="string"/>
</prop>
<prop type="array<object>" name="columns">
<item type="object" cls="Column_read">
<prop type="string" name="dataTypeHint">
<enum>
<item value=""armPath""/>
<item value=""guid""/>
<item value=""ip""/>
<item value=""uri""/>
</enum>
</prop>
<prop type="string" name="description"/>
<prop type="string" name="displayName"/>
<prop readOnly="True" type="boolean" name="isDefaultDisplay"/>
<prop readOnly="True" type="boolean" name="isHidden"/>
<prop type="string" name="name"/>
<prop type="string" name="type">
<enum>
<item value=""boolean""/>
<item value=""dateTime""/>
<item value=""dynamic""/>
<item value=""guid""/>
<item value=""int""/>
<item value=""long""/>
<item value=""real""/>
<item value=""string""/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="description"/>
<prop type="string" name="displayName"/>
<prop readOnly="True" type="array<string>" name="labels">
<item readOnly="True" type="string"/>
</prop>
<prop type="string" name="name"/>
<prop readOnly="True" type="@RestoredLogs_read" name="restoredLogs"/>
<prop readOnly="True" type="@SearchResults_read" name="searchResults"/>
<prop readOnly="True" type="array<string>" name="solutions">
<item readOnly="True" type="string"/>
</prop>
<prop readOnly="True" type="string" name="source">
<enum>
<item value=""customer""/>
<item value=""microsoft""/>
</enum>
</prop>
<prop readOnly="True" type="array<@Column_read>" name="standardColumns">
<item readOnly="True" type="@Column_read"/>
</prop>
<prop readOnly="True" type="string" name="tableSubType">
<enum>
<item value=""Any""/>
<item value=""Classic""/>
<item value=""DataCollectionRuleBased""/>
</enum>
</prop>
<prop readOnly="True" type="string" name="tableType">
<enum>
<item value=""CustomLog""/>
<item value=""Microsoft""/>
<item value=""RestoredLogs""/>
<item value=""SearchResults""/>
</enum>
</prop>
</prop>
<prop type="object" name="searchResults" cls="SearchResults_read">
<prop type="string" name="description"/>
<prop type="dateTime" name="endSearchTime"/>
<prop type="integer32" name="limit"/>
<prop type="string" name="query"/>
<prop readOnly="True" type="string" name="sourceTable"/>
<prop type="dateTime" name="startSearchTime"/>
</prop>
<prop type="integer32" name="totalRetentionInDays">
<format maximum="2555" minimum="4"/>
</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=""Application""/>
<item value=""Key""/>
<item value=""ManagedIdentity""/>
<item value=""User""/>
</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=""Application""/>
<item value=""Key""/>
<item value=""ManagedIdentity""/>
<item value=""User""/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</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>
<command name="update" version="2021-12-01-preview">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{}" version="2021-12-01-preview" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS90YWJsZXMve3RhYmxlTmFtZX0=/V/MjAyMS0xMi0wMS1wcmV2aWV3"/>
<argGroup name="">
<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"/>
<arg type="string" var="$Path.tableName" options="table-name name n" required="True" idPart="child_name_1">
<help short="The name of the table."/>
</arg>
<arg type="string" var="$Path.workspaceName" options="workspace-name" required="True" idPart="name">
<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>
<argGroup name="Properties">
<arg type="string" var="$parameters.properties.plan" options="plan" group="Properties">
<help short="Instruct the system how to handle and charge the logs ingested to this table."/>
<enum>
<item name="Analytics" value=""Analytics""/>
<item name="Basic" value=""Basic""/>
</enum>
</arg>
<arg type="object" var="$parameters.properties.restoredLogs" options="restore" group="Properties">
<help short="Parameters of the restore operation that initiated this table."/>
<arg type="dateTime" var="$parameters.properties.restoredLogs.endRestoreTime" options="end-restore-time">
<help short="The timestamp to end the restore by (UTC)."/>
</arg>
<arg type="string" var="$parameters.properties.restoredLogs.sourceTable" options="source-table">
<help short="The table to restore data from."/>
</arg>
<arg type="dateTime" var="$parameters.properties.restoredLogs.startRestoreTime" options="start-restore-time">
<help short="The timestamp to start the restore from (UTC)."/>
</arg>
</arg>
<arg type="integer32" var="$parameters.properties.retentionInDays" options="retention-time" group="Properties">
<help short="The table retention in days, between 4 and 730."/>
<format maximum="730" minimum="4"/>
</arg>
<arg type="object" var="$parameters.properties.schema" options="schema" group="Properties">
<help short="Table schema."/>
<arg type="array<object>" var="$parameters.properties.schema.columns" options="columns">
<help short="A list of table custom columns."/>
<item type="object">
<arg type="string" var="$parameters.properties.schema.columns[].dataTypeHint" options="data-type-hint">
<help short="Column data type logical hint."/>
<enum>
<item name="armPath" value=""armPath""/>
<item name="guid" value=""guid""/>
<item name="ip" value=""ip""/>
<item name="uri" value=""uri""/>
</enum>
</arg>
<arg type="string" var="$parameters.properties.schema.columns[].description" options="description">
<help short="Column description."/>
</arg>
<arg type="string" var="$parameters.properties.schema.columns[].displayName" options="display-name">
<help short="Column display name."/>
</arg>
<arg type="string" var="$parameters.properties.schema.columns[].name" options="name">
<help short="Column name."/>
</arg>
<arg type="string" var="$parameters.properties.schema.columns[].type" options="type">
<help short="Column data type."/>
<enum>
<item name="boolean" value=""boolean""/>
<item name="dateTime" value=""dateTime""/>
<item name="dynamic" value=""dynamic""/>
<item name="guid" value=""guid""/>
<item name="int" value=""int""/>
<item name="long" value=""long""/>
<item name="real" value=""real""/>
<item name="string" value=""string""/>
</enum>
</arg>
</item>
</arg>
<arg type="string" var="$parameters.properties.schema.description" options="description">
<help short="Table description."/>
</arg>
<arg type="string" var="$parameters.properties.schema.displayName" options="display-name">
<help short="Table display name."/>
</arg>
<arg type="string" var="$parameters.properties.schema.name" options="name">
<help short="Table name."/>
</arg>
</arg>
<arg type="object" var="$parameters.properties.searchResults" options="search-job" group="Properties">
<help short="Parameters of the search job that initiated this table."/>
<arg type="string" var="$parameters.properties.searchResults.description" options="description">
<help short="Search job Description."/>
</arg>
<arg type="dateTime" var="$parameters.properties.searchResults.endSearchTime" options="end-search-time">
<help short="The timestamp to end the search by (UTC)"/>
</arg>
<arg type="integer32" var="$parameters.properties.searchResults.limit" options="limit">
<help short="Limit the search job to return up to specified number of rows."/>
</arg>
<arg type="string" var="$parameters.properties.searchResults.query" options="query">
<help short="Search job query."/>
</arg>
<arg type="dateTime" var="$parameters.properties.searchResults.startSearchTime" options="start-search-time">
<help short="The timestamp to start the search from (UTC)"/>
</arg>
</arg>
<arg type="integer32" var="$parameters.properties.totalRetentionInDays" options="total-retention-time" group="Properties">
<help short="The table total retention in days, between 4 and 2555."/>
<format maximum="2555" minimum="4"/>
</arg>
</argGroup>
<operation operationId="Tables_Update">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}">
<request method="patch">
<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="tableName" arg="$Path.tableName" required="True"/>
<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=""2021-12-01-preview""/>
<format minLength="1"/>
</const>
</query>
<body>
<json>
<schema type="object" name="parameters" required="True" clientFlatten="True">
<prop type="object" name="properties" clientFlatten="True">
<prop type="string" name="plan" arg="$parameters.properties.plan">
<enum>
<item value=""Analytics""/>
<item value=""Basic""/>
</enum>
</prop>
<prop type="object" name="restoredLogs" arg="$parameters.properties.restoredLogs">
<prop type="dateTime" name="endRestoreTime" arg="$parameters.properties.restoredLogs.endRestoreTime"/>
<prop type="string" name="sourceTable" arg="$parameters.properties.restoredLogs.sourceTable"/>
<prop type="dateTime" name="startRestoreTime" arg="$parameters.properties.restoredLogs.startRestoreTime"/>
</prop>
<prop type="integer32" name="retentionInDays" arg="$parameters.properties.retentionInDays">
<format maximum="730" minimum="4"/>
</prop>
<prop type="object" name="schema" arg="$parameters.properties.schema">
<prop type="array<object>" name="columns" arg="$parameters.properties.schema.columns">
<item type="object">
<prop type="string" name="dataTypeHint" arg="$parameters.properties.schema.columns[].dataTypeHint">
<enum>
<item value=""armPath""/>
<item value=""guid""/>
<item value=""ip""/>
<item value=""uri""/>
</enum>
</prop>
<prop type="string" name="description" arg="$parameters.properties.schema.columns[].description"/>
<prop type="string" name="displayName" arg="$parameters.properties.schema.columns[].displayName"/>
<prop type="string" name="name" arg="$parameters.properties.schema.columns[].name"/>
<prop type="string" name="type" arg="$parameters.properties.schema.columns[].type">
<enum>
<item value=""boolean""/>
<item value=""dateTime""/>
<item value=""dynamic""/>
<item value=""guid""/>
<item value=""int""/>
<item value=""long""/>
<item value=""real""/>
<item value=""string""/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="description" arg="$parameters.properties.schema.description"/>
<prop type="string" name="displayName" arg="$parameters.properties.schema.displayName"/>
<prop type="string" name="name" arg="$parameters.properties.schema.name"/>
</prop>
<prop type="object" name="searchResults" arg="$parameters.properties.searchResults">
<prop type="string" name="description" arg="$parameters.properties.searchResults.description"/>
<prop type="dateTime" name="endSearchTime" arg="$parameters.properties.searchResults.endSearchTime"/>
<prop type="integer32" name="limit" arg="$parameters.properties.searchResults.limit"/>
<prop type="string" name="query" arg="$parameters.properties.searchResults.query"/>
<prop type="dateTime" name="startSearchTime" arg="$parameters.properties.searchResults.startSearchTime"/>
</prop>
<prop type="integer32" name="totalRetentionInDays" arg="$parameters.properties.totalRetentionInDays">
<format maximum="2555" minimum="4"/>
</prop>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourcegroups/{}/providers/Microsoft.OperationalInsights/workspaces/{}/tables/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="integer32" name="archiveRetentionInDays"/>
<prop readOnly="True" type="string" name="lastPlanModifiedDate"/>
<prop type="string" name="plan">
<enum>
<item value=""Analytics""/>
<item value=""Basic""/>
</enum>
</prop>
<prop readOnly="True" type="string" name="provisioningState">
<enum>
<item value=""InProgress""/>
<item value=""Succeeded""/>
<item value=""Updating""/>
</enum>
</prop>
<prop type="object" name="restoredLogs" cls="RestoredLogs_read">
<prop type="dateTime" name="endRestoreTime"/>
<prop type="string" name="sourceTable"/>
<prop type="dateTime" name="startRestoreTime"/>
</prop>
<prop type="object" name="resultStatistics">
<prop readOnly="True" type="integer32" name="ingestedRecords"/>
<prop readOnly="True" type="float" name="progress">
<format multipleOf="0.01"/>
</prop>
</prop>
<prop type="integer32" name="retentionInDays">
<format maximum="730" minimum="4"/>
</prop>
<prop type="object" name="schema">
<prop readOnly="True" type="array<string>" name="categories">
<item readOnly="True" type="string"/>
</prop>
<prop type="array<object>" name="columns">
<item type="object" cls="Column_read">
<prop type="string" name="dataTypeHint">
<enum>
<item value=""armPath""/>
<item value=""guid""/>
<item value=""ip""/>
<item value=""uri""/>
</enum>
</prop>
<prop type="string" name="description"/>
<prop type="string" name="displayName"/>
<prop readOnly="True" type="boolean" name="isDefaultDisplay"/>
<prop readOnly="True" type="boolean" name="isHidden"/>
<prop type="string" name="name"/>
<prop type="string" name="type">
<enum>
<item value=""boolean""/>
<item value=""dateTime""/>
<item value=""dynamic""/>
<item value=""guid""/>
<item value=""int""/>
<item value=""long""/>
<item value=""real""/>
<item value=""string""/>
</enum>
</prop>
</item>
</prop>
<prop type="string" name="description"/>
<prop type="string" name="displayName"/>
<prop readOnly="True" type="array<string>" name="labels">
<item readOnly="True" type="string"/>
</prop>
<prop type="string" name="name"/>
<prop readOnly="True" type="@RestoredLogs_read" name="restoredLogs"/>
<prop readOnly="True" type="@SearchResults_read" name="searchResults"/>
<prop readOnly="True" type="array<string>" name="solutions">
<item readOnly="True" type="string"/>
</prop>
<prop readOnly="True" type="string" name="source">
<enum>
<item value=""customer""/>
<item value=""microsoft""/>
</enum>
</prop>
<prop readOnly="True" type="array<@Column_read>" name="standardColumns">
<item readOnly="True" type="@Column_read"/>
</prop>
<prop readOnly="True" type="string" name="tableSubType">
<enum>
<item value=""Any""/>
<item value=""Classic""/>
<item value=""DataCollectionRuleBased""/>
</enum>
</prop>
<prop readOnly="True" type="string" name="tableType">
<enum>
<item value=""CustomLog""/>
<item value=""Microsoft""/>
<item value=""RestoredLogs""/>
<item value=""SearchResults""/>
</enum>
</prop>
</prop>
<prop type="object" name="searchResults" cls="SearchResults_read">
<prop type="string" name="description"/>
<prop type="dateTime" name="endSearchTime"/>
<prop type="integer32" name="limit"/>
<prop type="string" name="query"/>
<prop readOnly="True" type="string" name="sourceTable"/>
<prop type="dateTime" name="startSearchTime"/>
</prop>
<prop type="integer32" name="totalRetentionInDays">
<format maximum="2555" minimum="4"/>
</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=""Application""/>
<item value=""Key""/>
<item value=""ManagedIdentity""/>
<item value=""User""/>
</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=""Application""/>
<item value=""Key""/>
<item value=""ManagedIdentity""/>
<item value=""User""/>
</enum>
</prop>
</prop>
<prop readOnly="True" type="string" name="type"/>
</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>