Skip to content

Latest commit

 

History

History
75 lines (54 loc) · 2.6 KB

File metadata and controls

75 lines (54 loc) · 2.6 KB

portal

see https://aka.ms/autorest

This is the AutoRest configuration file for portal.

Getting Started

To build the SDKs for My API, simply install AutoRest via npm (npm install -g autorest) and then run:

autorest readme.md

To see additional help and options, run:

autorest --help

For other options on installation see Installing AutoRest on the AutoRest github page.


Configuration

Basic Information

These are the global settings for the portal.

openapi-type: arm
openapi-subtype: rpaas
tag: package-2024-04-01-preview

Tag: package-2024-04-01-preview

These settings apply only when --tag=package-2024-04-01-preview is specified on the command line.

input-file:
  - Microsoft.PortalServices/copilotSettings/preview/2024-04-01-preview/copilotSettings.json
  - Microsoft.PortalServices/extensions/preview/2024-04-01-preview/extensions.json
suppressions:
  - code: EvenSegmentedPathForPutOperation
    reason: The resource type CopilotSettings in the Microsoft.PortalServices resource provider is @singleton (OpenAPI path ends with /default). This is a false positive. Related issue:https://github.com/Azure/azure-openapi-validator/issues/646
    from:
      - copilotSettings.json
    where:
      - $.paths["/providers/Microsoft.PortalServices/copilotSettings/default"]
  - code: XmsPageableForListCalls
    reason: The resource type CopilotSettings in the Microsoft.PortalServices resource provider @singleton (OpenAPI path ends with /default). This is a false positive. Related issue:https://github.com/Azure/azure-openapi-validator/issues/646
    from:
      - copilotSettings.json
  - code: TopLevelResourcesListBySubscription
    reason: The resource type CopilotSettings in the Microsoft.PortalServices resource provider is @tenantResource, so subscription list operation is not valid. This is a false positive.
    from:
      - copilotSettings.json
  - code: TenantLevelAPIsNotAllowed
    reason: The resource type CopilotSettings in the Microsoft.PortalServices resource provider is @tenantResource, and has received exception sign-off approval by PAS team and ARM team.
    from:
      - copilotSettings.json
    where:
      - $.paths["/providers/Microsoft.PortalServices/copilotSettings/default"]

Tag: package-2023-01-01-preview

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

input-file:
  - Microsoft.PortalServices/extensions/preview/2023-01-01-preview/extensions.json

Code Generation