Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5vcGVyYXRpb25hbGluc2lnaHRzL3dvcmtzcGFjZXMve30vbGlua2Vkc2VydmljZXMve30=/2020-08-01.xml (452 lines of code) (raw):
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/linkedservices/{}" version="2020-08-01" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9saW5rZWRTZXJ2aWNlcy97bGlua2VkU2VydmljZU5hbWV9/V/MjAyMC0wOC0wMQ=="/>
<commandGroup name="monitor log-analytics workspace linked-service">
<command name="show" version="2020-08-01">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/linkedservices/{}" version="2020-08-01" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9saW5rZWRTZXJ2aWNlcy97bGlua2VkU2VydmljZU5hbWV9/V/MjAyMC0wOC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.linkedServiceName" options="linked-service-name name n" required="True" idPart="child_name_1">
<help short="Name of the linkedServices resource. Supported values: cluster, automation."/>
</arg>
<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.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="LinkedServices_Get">
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}">
<request method="get">
<path>
<param type="string" name="linkedServiceName" arg="$Path.linkedServiceName" 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 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 readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourcegroups/{}/providers/Microsoft.OperationalInsights/workspaces/{}/linkedServices/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="provisioningState">
<enum>
<item value=""Deleting""/>
<item value=""ProvisioningAccount""/>
<item value=""Succeeded""/>
<item value=""Updating""/>
</enum>
</prop>
<prop type="string" name="resourceId"/>
<prop type="string" name="writeAccessResourceId"/>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</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="2020-08-01" confirmation="Are you sure you want to perform this operation?">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/linkedservices/{}" version="2020-08-01" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9saW5rZWRTZXJ2aWNlcy97bGlua2VkU2VydmljZU5hbWV9/V/MjAyMC0wOC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.linkedServiceName" options="linked-service-name name n" required="True" idPart="child_name_1">
<help short="Name of the linkedServices resource. Supported values: cluster, automation."/>
</arg>
<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.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="LinkedServices_Delete">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}">
<request method="delete">
<path>
<param type="string" name="linkedServiceName" arg="$Path.linkedServiceName" 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 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 readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourcegroups/{}/providers/Microsoft.OperationalInsights/workspaces/{}/linkedServices/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="provisioningState">
<enum>
<item value=""Deleting""/>
<item value=""ProvisioningAccount""/>
<item value=""Succeeded""/>
<item value=""Updating""/>
</enum>
</prop>
<prop type="string" name="resourceId"/>
<prop type="string" name="writeAccessResourceId"/>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop readOnly="True" type="string" name="type"/>
</schema>
</json>
</body>
</response>
<response statusCode="202"/>
<response statusCode="204"/>
<response isError="True">
<body>
<json>
<schema type="@MgmtErrorFormat"/>
</json>
</body>
</response>
</http>
</operation>
<output type="object" ref="$Instance" clientFlatten="True"/>
</command>
<command name="create" version="2020-08-01">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/linkedservices/{}" version="2020-08-01" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9saW5rZWRTZXJ2aWNlcy97bGlua2VkU2VydmljZU5hbWV9/V/MjAyMC0wOC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.linkedServiceName" options="linked-service-name name n" required="True" idPart="child_name_1">
<help short="Name of the linkedServices resource. Supported values: cluster, automation."/>
</arg>
<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.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>
<arg type="object" var="$parameters.tags" options="tags">
<help short="Resource tags."/>
<additionalProp>
<item type="string"/>
</additionalProp>
</arg>
</argGroup>
<argGroup name="Properties">
<arg type="string" var="$parameters.properties.provisioningState" options="provisioning-state" hide="True" group="Properties">
<help short="The provisioning state of the linked service."/>
<enum>
<item name="Deleting" value=""Deleting""/>
<item name="ProvisioningAccount" value=""ProvisioningAccount""/>
<item name="Succeeded" value=""Succeeded""/>
<item name="Updating" value=""Updating""/>
</enum>
</arg>
<arg type="string" var="$parameters.properties.resourceId" options="resource-id" group="Properties">
<help short="The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access"/>
</arg>
<arg type="string" var="$parameters.properties.writeAccessResourceId" options="write-access-resource-id" group="Properties">
<help short="The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access"/>
</arg>
</argGroup>
<operation operationId="LinkedServices_CreateOrUpdate">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}">
<request method="put">
<path>
<param type="string" name="linkedServiceName" arg="$Path.linkedServiceName" 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 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>
<body>
<json>
<schema type="object" name="parameters" required="True" clientFlatten="True">
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="provisioningState" arg="$parameters.properties.provisioningState">
<enum>
<item value=""Deleting""/>
<item value=""ProvisioningAccount""/>
<item value=""Succeeded""/>
<item value=""Updating""/>
</enum>
</prop>
<prop type="string" name="resourceId" arg="$parameters.properties.resourceId"/>
<prop type="string" name="writeAccessResourceId" arg="$parameters.properties.writeAccessResourceId"/>
</prop>
<prop type="object" name="tags" arg="$parameters.tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
</schema>
</json>
</body>
</request>
<response statusCode="200 201">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourcegroups/{}/providers/Microsoft.OperationalInsights/workspaces/{}/linkedServices/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="provisioningState">
<enum>
<item value=""Deleting""/>
<item value=""ProvisioningAccount""/>
<item value=""Succeeded""/>
<item value=""Updating""/>
</enum>
</prop>
<prop type="string" name="resourceId"/>
<prop type="string" name="writeAccessResourceId"/>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</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="2020-08-01">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.operationalinsights/workspaces/{}/linkedservices/{}" version="2020-08-01" swagger="mgmt-plane/operationalinsights/ResourceProviders/Microsoft.OperationalInsights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZWdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuT3BlcmF0aW9uYWxJbnNpZ2h0cy93b3Jrc3BhY2VzL3t3b3Jrc3BhY2VOYW1lfS9saW5rZWRTZXJ2aWNlcy97bGlua2VkU2VydmljZU5hbWV9/V/MjAyMC0wOC0wMQ=="/>
<argGroup name="">
<arg type="string" var="$Path.linkedServiceName" options="linked-service-name name n" required="True" idPart="child_name_1">
<help short="Name of the linkedServices resource. Supported values: cluster, automation."/>
</arg>
<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.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>
<arg nullable="True" type="object" var="$parameters.tags" options="tags">
<help short="Resource tags."/>
<additionalProp>
<item nullable="True" type="string"/>
</additionalProp>
</arg>
</argGroup>
<argGroup name="Properties">
<arg nullable="True" type="string" var="$parameters.properties.provisioningState" options="provisioning-state" hide="True" group="Properties">
<help short="The provisioning state of the linked service."/>
<enum>
<item name="Deleting" value=""Deleting""/>
<item name="ProvisioningAccount" value=""ProvisioningAccount""/>
<item name="Succeeded" value=""Succeeded""/>
<item name="Updating" value=""Updating""/>
</enum>
</arg>
<arg nullable="True" type="string" var="$parameters.properties.resourceId" options="resource-id" group="Properties">
<help short="The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access"/>
</arg>
<arg nullable="True" type="string" var="$parameters.properties.writeAccessResourceId" options="write-access-resource-id" group="Properties">
<help short="The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access"/>
</arg>
</argGroup>
<operation operationId="LinkedServices_Get">
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}">
<request method="get">
<path>
<param type="string" name="linkedServiceName" arg="$Path.linkedServiceName" 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 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" cls="LinkedService_read">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourcegroups/{}/providers/Microsoft.OperationalInsights/workspaces/{}/linkedServices/{}"/>
</prop>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="provisioningState">
<enum>
<item value=""Deleting""/>
<item value=""ProvisioningAccount""/>
<item value=""Succeeded""/>
<item value=""Updating""/>
</enum>
</prop>
<prop type="string" name="resourceId"/>
<prop type="string" name="writeAccessResourceId"/>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</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 instance="$Instance">
<json>
<schema type="object" name="parameters" required="True" clientFlatten="True">
<prop type="object" name="properties" required="True" clientFlatten="True">
<prop type="string" name="provisioningState" arg="$parameters.properties.provisioningState">
<enum>
<item value=""Deleting""/>
<item value=""ProvisioningAccount""/>
<item value=""Succeeded""/>
<item value=""Updating""/>
</enum>
</prop>
<prop type="string" name="resourceId" arg="$parameters.properties.resourceId"/>
<prop type="string" name="writeAccessResourceId" arg="$parameters.properties.writeAccessResourceId"/>
</prop>
<prop type="object" name="tags" arg="$parameters.tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
</schema>
</json>
</instanceUpdate>
</operation>
<operation operationId="LinkedServices_CreateOrUpdate">
<longRunning finalStateVia="azure-async-operation"/>
<http path="/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}">
<request method="put">
<path>
<param type="string" name="linkedServiceName" arg="$Path.linkedServiceName" 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 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>
<body>
<json ref="$Instance"/>
</body>
</request>
<response statusCode="200 201">
<body>
<json var="$Instance">
<schema type="@LinkedService_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>