Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vdGFibGVzL3t9/2022-10-01.xml (1,014 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="2022-10-01" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS90YWJsZXMve3RhYmxlTmFtZX0=/V/MjAyMi0xMC0wMQ=="/> <commandGroup name="monitor log-analytics workspace table"> <command name="show" version="2022-10-01"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{}" version="2022-10-01" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS90YWJsZXMve3RhYmxlTmFtZX0=/V/MjAyMi0xMC0wMQ=="/> <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="&quot;2022-10-01&quot;"/> <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="&quot;Analytics&quot;"/> <item value="&quot;Basic&quot;"/> </enum> </prop> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Deleting&quot;"/> <item value="&quot;InProgress&quot;"/> <item value="&quot;Succeeded&quot;"/> <item value="&quot;Updating&quot;"/> </enum> </prop> <prop type="object" name="restoredLogs"> <prop readOnly="True" type="string" name="azureAsyncOperationId"/> <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 readOnly="True" type="float" name="scannedGb"> <format multipleOf="0.01"/> </prop> </prop> <prop type="integer32" name="retentionInDays"> <format maximum="730" minimum="4"/> </prop> <prop readOnly="True" type="boolean" name="retentionInDaysAsDefault"/> <prop type="object" name="schema"> <prop readOnly="True" type="array<string>" name="categories"> <item type="string"/> </prop> <prop type="array<object>" name="columns" identifiers="name"> <item type="object" cls="Column_read"> <prop type="string" name="dataTypeHint"> <enum> <item value="&quot;armPath&quot;"/> <item value="&quot;guid&quot;"/> <item value="&quot;ip&quot;"/> <item value="&quot;uri&quot;"/> </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="&quot;boolean&quot;"/> <item value="&quot;dateTime&quot;"/> <item value="&quot;dynamic&quot;"/> <item value="&quot;guid&quot;"/> <item value="&quot;int&quot;"/> <item value="&quot;long&quot;"/> <item value="&quot;real&quot;"/> <item value="&quot;string&quot;"/> </enum> </prop> </item> </prop> <prop type="string" name="description"/> <prop type="string" name="displayName"/> <prop readOnly="True" type="array<string>" name="labels"> <item type="string"/> </prop> <prop type="string" name="name"/> <prop readOnly="True" type="array<string>" name="solutions"> <item type="string"/> </prop> <prop readOnly="True" type="string" name="source"> <enum> <item value="&quot;customer&quot;"/> <item value="&quot;microsoft&quot;"/> </enum> </prop> <prop readOnly="True" type="array<@Column_read>" name="standardColumns" identifiers="name"> <item type="@Column_read"/> </prop> <prop readOnly="True" type="string" name="tableSubType"> <enum> <item value="&quot;Any&quot;"/> <item value="&quot;Classic&quot;"/> <item value="&quot;DataCollectionRuleBased&quot;"/> </enum> </prop> <prop readOnly="True" type="string" name="tableType"> <enum> <item value="&quot;CustomLog&quot;"/> <item value="&quot;Microsoft&quot;"/> <item value="&quot;RestoredLogs&quot;"/> <item value="&quot;SearchResults&quot;"/> </enum> </prop> </prop> <prop type="object" name="searchResults"> <prop readOnly="True" type="string" name="azureAsyncOperationId"/> <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="4383" minimum="4"/> </prop> <prop readOnly="True" type="boolean" name="totalRetentionInDaysAsDefault"/> </prop> <prop readOnly="True" type="object" name="systemData"> <prop type="dateTime" name="createdAt"/> <prop type="string" name="createdBy"/> <prop 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 type="dateTime" name="lastModifiedAt"/> <prop type="string" name="lastModifiedBy"/> <prop 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"/> </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="2022-10-01" confirmation="Are you sure you want to perform this operation?"> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{}" version="2022-10-01" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS90YWJsZXMve3RhYmxlTmFtZX0=/V/MjAyMi0xMC0wMQ=="/> <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="&quot;2022-10-01&quot;"/> <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="2022-10-01" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{}" version="2022-10-01" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS90YWJsZXMve3RhYmxlTmFtZX0=/V/MjAyMi0xMC0wMQ=="/> <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="&quot;Analytics&quot;"/> <item name="Basic" value="&quot;Basic&quot;"/> </enum> </arg> <arg type="object" var="$parameters.properties.restoredLogs" options="restored-logs" 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-in-days" group="Properties"> <help short="The table retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention."/> <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="&quot;armPath&quot;"/> <item name="guid" value="&quot;guid&quot;"/> <item name="ip" value="&quot;ip&quot;"/> <item name="uri" value="&quot;uri&quot;"/> </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="&quot;boolean&quot;"/> <item name="dateTime" value="&quot;dateTime&quot;"/> <item name="dynamic" value="&quot;dynamic&quot;"/> <item name="guid" value="&quot;guid&quot;"/> <item name="int" value="&quot;int&quot;"/> <item name="long" value="&quot;long&quot;"/> <item name="real" value="&quot;real&quot;"/> <item name="string" value="&quot;string&quot;"/> </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-results" 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-in-days" group="Properties"> <help short="The table total retention in days, between 4 and 4383. Setting this property to -1 will default to table retention."/> <format maximum="4383" 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="&quot;2022-10-01&quot;"/> <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="&quot;Analytics&quot;"/> <item value="&quot;Basic&quot;"/> </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" identifiers="name"> <item type="object"> <prop type="string" name="dataTypeHint" arg="$parameters.properties.schema.columns[].dataTypeHint"> <enum> <item value="&quot;armPath&quot;"/> <item value="&quot;guid&quot;"/> <item value="&quot;ip&quot;"/> <item value="&quot;uri&quot;"/> </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="&quot;boolean&quot;"/> <item value="&quot;dateTime&quot;"/> <item value="&quot;dynamic&quot;"/> <item value="&quot;guid&quot;"/> <item value="&quot;int&quot;"/> <item value="&quot;long&quot;"/> <item value="&quot;real&quot;"/> <item value="&quot;string&quot;"/> </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="4383" 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="&quot;Analytics&quot;"/> <item value="&quot;Basic&quot;"/> </enum> </prop> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Deleting&quot;"/> <item value="&quot;InProgress&quot;"/> <item value="&quot;Succeeded&quot;"/> <item value="&quot;Updating&quot;"/> </enum> </prop> <prop type="object" name="restoredLogs"> <prop readOnly="True" type="string" name="azureAsyncOperationId"/> <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 readOnly="True" type="float" name="scannedGb"> <format multipleOf="0.01"/> </prop> </prop> <prop type="integer32" name="retentionInDays"> <format maximum="730" minimum="4"/> </prop> <prop readOnly="True" type="boolean" name="retentionInDaysAsDefault"/> <prop type="object" name="schema"> <prop readOnly="True" type="array<string>" name="categories"> <item type="string"/> </prop> <prop type="array<object>" name="columns" identifiers="name"> <item type="object" cls="Column_read"> <prop type="string" name="dataTypeHint"> <enum> <item value="&quot;armPath&quot;"/> <item value="&quot;guid&quot;"/> <item value="&quot;ip&quot;"/> <item value="&quot;uri&quot;"/> </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="&quot;boolean&quot;"/> <item value="&quot;dateTime&quot;"/> <item value="&quot;dynamic&quot;"/> <item value="&quot;guid&quot;"/> <item value="&quot;int&quot;"/> <item value="&quot;long&quot;"/> <item value="&quot;real&quot;"/> <item value="&quot;string&quot;"/> </enum> </prop> </item> </prop> <prop type="string" name="description"/> <prop type="string" name="displayName"/> <prop readOnly="True" type="array<string>" name="labels"> <item type="string"/> </prop> <prop type="string" name="name"/> <prop readOnly="True" type="array<string>" name="solutions"> <item type="string"/> </prop> <prop readOnly="True" type="string" name="source"> <enum> <item value="&quot;customer&quot;"/> <item value="&quot;microsoft&quot;"/> </enum> </prop> <prop readOnly="True" type="array<@Column_read>" name="standardColumns" identifiers="name"> <item type="@Column_read"/> </prop> <prop readOnly="True" type="string" name="tableSubType"> <enum> <item value="&quot;Any&quot;"/> <item value="&quot;Classic&quot;"/> <item value="&quot;DataCollectionRuleBased&quot;"/> </enum> </prop> <prop readOnly="True" type="string" name="tableType"> <enum> <item value="&quot;CustomLog&quot;"/> <item value="&quot;Microsoft&quot;"/> <item value="&quot;RestoredLogs&quot;"/> <item value="&quot;SearchResults&quot;"/> </enum> </prop> </prop> <prop type="object" name="searchResults"> <prop readOnly="True" type="string" name="azureAsyncOperationId"/> <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="4383" minimum="4"/> </prop> <prop readOnly="True" type="boolean" name="totalRetentionInDaysAsDefault"/> </prop> <prop readOnly="True" type="object" name="systemData"> <prop type="dateTime" name="createdAt"/> <prop type="string" name="createdBy"/> <prop 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 type="dateTime" name="lastModifiedAt"/> <prop type="string" name="lastModifiedBy"/> <prop 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"/> </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="2022-10-01" confirmation=""> <resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/tables/{}" version="2022-10-01" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS90YWJsZXMve3RhYmxlTmFtZX0=/V/MjAyMi0xMC0wMQ=="/> <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 nullable="True" 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="&quot;Analytics&quot;"/> <item name="Basic" value="&quot;Basic&quot;"/> </enum> </arg> <arg nullable="True" type="object" var="$parameters.properties.restoredLogs" options="restored-logs" group="Properties"> <help short="Parameters of the restore operation that initiated this table."/> <arg nullable="True" type="dateTime" var="$parameters.properties.restoredLogs.endRestoreTime" options="end-restore-time"> <help short="The timestamp to end the restore by (UTC)."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.restoredLogs.sourceTable" options="source-table"> <help short="The table to restore data from."/> </arg> <arg nullable="True" type="dateTime" var="$parameters.properties.restoredLogs.startRestoreTime" options="start-restore-time"> <help short="The timestamp to start the restore from (UTC)."/> </arg> </arg> <arg nullable="True" type="integer32" var="$parameters.properties.retentionInDays" options="retention-in-days" group="Properties"> <help short="The table retention in days, between 4 and 730. Setting this property to -1 will default to the workspace retention."/> <format maximum="730" minimum="4"/> </arg> <arg nullable="True" type="object" var="$parameters.properties.schema" options="schema" group="Properties"> <help short="Table schema."/> <arg nullable="True" type="array<object>" var="$parameters.properties.schema.columns" options="columns"> <help short="A list of table custom columns."/> <item nullable="True" type="object"> <arg nullable="True" type="string" var="$parameters.properties.schema.columns[].dataTypeHint" options="data-type-hint"> <help short="Column data type logical hint."/> <enum> <item name="armPath" value="&quot;armPath&quot;"/> <item name="guid" value="&quot;guid&quot;"/> <item name="ip" value="&quot;ip&quot;"/> <item name="uri" value="&quot;uri&quot;"/> </enum> </arg> <arg nullable="True" type="string" var="$parameters.properties.schema.columns[].description" options="description"> <help short="Column description."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.schema.columns[].displayName" options="display-name"> <help short="Column display name."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.schema.columns[].name" options="name"> <help short="Column name."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.schema.columns[].type" options="type"> <help short="Column data type."/> <enum> <item name="boolean" value="&quot;boolean&quot;"/> <item name="dateTime" value="&quot;dateTime&quot;"/> <item name="dynamic" value="&quot;dynamic&quot;"/> <item name="guid" value="&quot;guid&quot;"/> <item name="int" value="&quot;int&quot;"/> <item name="long" value="&quot;long&quot;"/> <item name="real" value="&quot;real&quot;"/> <item name="string" value="&quot;string&quot;"/> </enum> </arg> </item> </arg> <arg nullable="True" type="string" var="$parameters.properties.schema.description" options="description"> <help short="Table description."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.schema.displayName" options="display-name"> <help short="Table display name."/> </arg> <arg nullable="True" type="string" var="$parameters.properties.schema.name" options="name"> <help short="Table name."/> </arg> </arg> <arg nullable="True" type="object" var="$parameters.properties.searchResults" options="search-results" group="Properties"> <help short="Parameters of the search job that initiated this table."/> <arg nullable="True" type="string" var="$parameters.properties.searchResults.description" options="description"> <help short="Search job Description."/> </arg> <arg nullable="True" type="dateTime" var="$parameters.properties.searchResults.endSearchTime" options="end-search-time"> <help short="The timestamp to end the search by (UTC)"/> </arg> <arg nullable="True" 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 nullable="True" type="string" var="$parameters.properties.searchResults.query" options="query"> <help short="Search job query."/> </arg> <arg nullable="True" type="dateTime" var="$parameters.properties.searchResults.startSearchTime" options="start-search-time"> <help short="The timestamp to start the search from (UTC)"/> </arg> </arg> <arg nullable="True" type="integer32" var="$parameters.properties.totalRetentionInDays" options="total-retention-in-days" group="Properties"> <help short="The table total retention in days, between 4 and 4383. Setting this property to -1 will default to table retention."/> <format maximum="4383" minimum="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="&quot;2022-10-01&quot;"/> <format minLength="1"/> </const> </query> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="object" cls="Table_read"> <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="&quot;Analytics&quot;"/> <item value="&quot;Basic&quot;"/> </enum> </prop> <prop readOnly="True" type="string" name="provisioningState"> <enum> <item value="&quot;Deleting&quot;"/> <item value="&quot;InProgress&quot;"/> <item value="&quot;Succeeded&quot;"/> <item value="&quot;Updating&quot;"/> </enum> </prop> <prop type="object" name="restoredLogs"> <prop readOnly="True" type="string" name="azureAsyncOperationId"/> <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 readOnly="True" type="float" name="scannedGb"> <format multipleOf="0.01"/> </prop> </prop> <prop type="integer32" name="retentionInDays"> <format maximum="730" minimum="4"/> </prop> <prop readOnly="True" type="boolean" name="retentionInDaysAsDefault"/> <prop type="object" name="schema"> <prop readOnly="True" type="array<string>" name="categories"> <item type="string"/> </prop> <prop type="array<object>" name="columns" identifiers="name"> <item type="object" cls="Column_read"> <prop type="string" name="dataTypeHint"> <enum> <item value="&quot;armPath&quot;"/> <item value="&quot;guid&quot;"/> <item value="&quot;ip&quot;"/> <item value="&quot;uri&quot;"/> </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="&quot;boolean&quot;"/> <item value="&quot;dateTime&quot;"/> <item value="&quot;dynamic&quot;"/> <item value="&quot;guid&quot;"/> <item value="&quot;int&quot;"/> <item value="&quot;long&quot;"/> <item value="&quot;real&quot;"/> <item value="&quot;string&quot;"/> </enum> </prop> </item> </prop> <prop type="string" name="description"/> <prop type="string" name="displayName"/> <prop readOnly="True" type="array<string>" name="labels"> <item type="string"/> </prop> <prop type="string" name="name"/> <prop readOnly="True" type="array<string>" name="solutions"> <item type="string"/> </prop> <prop readOnly="True" type="string" name="source"> <enum> <item value="&quot;customer&quot;"/> <item value="&quot;microsoft&quot;"/> </enum> </prop> <prop readOnly="True" type="array<@Column_read>" name="standardColumns" identifiers="name"> <item type="@Column_read"/> </prop> <prop readOnly="True" type="string" name="tableSubType"> <enum> <item value="&quot;Any&quot;"/> <item value="&quot;Classic&quot;"/> <item value="&quot;DataCollectionRuleBased&quot;"/> </enum> </prop> <prop readOnly="True" type="string" name="tableType"> <enum> <item value="&quot;CustomLog&quot;"/> <item value="&quot;Microsoft&quot;"/> <item value="&quot;RestoredLogs&quot;"/> <item value="&quot;SearchResults&quot;"/> </enum> </prop> </prop> <prop type="object" name="searchResults"> <prop readOnly="True" type="string" name="azureAsyncOperationId"/> <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="4383" minimum="4"/> </prop> <prop readOnly="True" type="boolean" name="totalRetentionInDaysAsDefault"/> </prop> <prop readOnly="True" type="object" name="systemData"> <prop type="dateTime" name="createdAt"/> <prop type="string" name="createdBy"/> <prop 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 type="dateTime" name="lastModifiedAt"/> <prop type="string" name="lastModifiedBy"/> <prop 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"/> </schema> </json> </body> </response> <response isError="True"> <body> <json> <schema type="@MgmtErrorFormat"/> </json> </body> </response> </http> </operation> <operation> <instanceUpdate ref="$Instance"> <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="&quot;Analytics&quot;"/> <item value="&quot;Basic&quot;"/> </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" identifiers="name"> <item type="object"> <prop type="string" name="dataTypeHint" arg="$parameters.properties.schema.columns[].dataTypeHint"> <enum> <item value="&quot;armPath&quot;"/> <item value="&quot;guid&quot;"/> <item value="&quot;ip&quot;"/> <item value="&quot;uri&quot;"/> </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="&quot;boolean&quot;"/> <item value="&quot;dateTime&quot;"/> <item value="&quot;dynamic&quot;"/> <item value="&quot;guid&quot;"/> <item value="&quot;int&quot;"/> <item value="&quot;long&quot;"/> <item value="&quot;real&quot;"/> <item value="&quot;string&quot;"/> </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="4383" minimum="4"/> </prop> </prop> </schema> </json> </instanceUpdate> </operation> <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="&quot;2022-10-01&quot;"/> <format minLength="1"/> </const> </query> <body> <json ref="$Instance"/> </body> </request> <response statusCode="200"> <body> <json var="$Instance"> <schema type="@Table_read"/> </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>