azure-rest-api-specs-1/specification/service-map/resource-manager
kazrael2119 d93f6382d9
update typescript.md in service-map (#21961)
* update typescript.md in service-map

* update files
2022-12-22 12:41:18 +08:00
..
Microsoft.OperationalInsights/preview/2015-11-01-preview Add x-ms-identifiers to service-map/resource-manager. (#17774) 2022-02-25 08:00:54 +08:00
readme.go.md change the value of license header (#13886) 2021-04-12 13:58:05 -07:00
readme.md update typescript.md in service-map (#21961) 2022-12-22 12:41:18 +08:00
readme.nodejs.md
readme.typescript.md update typescript.md in service-map (#21961) 2022-12-22 12:41:18 +08:00

readme.md

ServiceMap

see https://aka.ms/autorest

This is the AutoRest configuration file for ServiceMap.


Getting Started

To build the SDK for ServiceMap, simply Install AutoRest and in this folder, run:

autorest

To see additional help and options, run:

autorest --help


Configuration

Following are the settings for using this specification with AutoRest tool to validation and optionally generate SDK.

Azure Validator Suppressions

Suppressed Rule Reason
R3023 OperationsAPIImplementation Service map is sharing RP with Log Analytics, so this operation won't reach ServiceMap's service endpoint. Hence this rule is not applicable.
model-validator: true
semantic-validator: true
azure-validator: true
directive:
  suppress:
    - R3023

Basic Information

These are the global settings for the ServiceMap API.

openapi-type: arm
tag: package-2015-11-preview

Tag: package-2015-11-preview

These settings apply only when --tag=package-2015-11-preview is specified on the command line.

input-file:
- Microsoft.OperationalInsights/preview/2015-11-01-preview/arm-service-map.json

Code Generation

Swagger to SDK

This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.

swagger-to-sdk:
  - repo: azure-sdk-for-js
  - repo: azure-sdk-for-node
  - repo: azure-resource-manager-schemas

Go

See configuration in readme.go.md

Java

These settings apply only when --java is specified on the command line. Please also specify --azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>.

azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.operationalinsights.servicemap
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-operationalinsights/servicemap

Java multi-api

batch:
  - tag: package-2015-11-preview

Tag: package-2015-11-preview and java

These settings apply only when --tag=package-2015-11-preview --java is specified on the command line. Please also specify --azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>.

java:
  namespace: com.microsoft.azure.management.servicemap.v2015_11_01_preview
  output-folder: $(azure-libraries-for-java-folder)/sdk/servicemap/mgmt-v2015_11_01_preview
regenerate-manager: true
generate-interface: true