This is the AutoRest configuration file for HybridCompute RP.
To build the SDK for HybridCompute, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
These are the global settings for the HybridCompute API.
openapi-type: arm
tag: package-preview-2024-11
directive:
- from: HybridCompute.json
where: $.definitions.MachineInstallPatchesParameters.properties.maximumDuration
transform: '$[''format''] = ''duration'''
- from: HybridCompute.json
where: $.definitions.MachineUpdateProperties.properties.privateLinkScopeResourceId
transform: '$[''format''] = ''arm-id'''
- from: HybridCompute.json
where: $.definitions.MachineProperties.properties.privateLinkScopeResourceId
transform: '$[''format''] = ''arm-id'''
- from: HybridCompute.json
where: $.definitions.AgentUpgrade.properties.correlationId
transform: '$[''format''] = ''uuid'''
- from: HybridCompute.json
where: $.definitions.AgentUpgrade.properties.lastAttemptTimestamp
transform: '$[''format''] = ''date-time'''
- from: HybridCompute.json
where: $.definitions.MachineProperties.properties.vmUuid
transform: '$[''format''] = ''uuid'''
- from: HybridCompute.json
where: $.definitions.MachineProperties.properties.vmId
transform: '$[''format''] = ''uuid'''
- from: HybridCompute.json
where: $.definitions.MachineUpdateProperties.properties.parentClusterResourceId
transform: '$[''format''] = ''arm-id'''
- from: HybridCompute.json
where: $.definitions.MachineProperties.properties.parentClusterResourceId
transform: '$[''format''] = ''arm-id'''
- from: HybridCompute.json
where: $.definitions.MachineAssessPatchesResult.properties.assessmentActivityId
transform: '$[''format''] = ''uuid'''
- where:
subject: NetworkProfile
remove: true
# internal operations
- remove-operation: AgentVersion_List
- remove-operation: AgentVersion_Get
# we don't use them, remove in the future
- remove-operation: HybridIdentityMetadata_Get
- remove-operation: HybridIdentityMetadata_ListByMachines
# we want to retire them and use setting operations instead
- remove-operation: NetworkConfigurations_Get
- remove-operation: NetworkConfigurations_Update
- remove-operation: NetworkConfigurations_CreateOrUpdate
# we don't want enable PATCH for run command
- remove-operation: MachineRunCommands_Update
These settings apply only when --tag=package-preview-2024-11
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2024-11-10-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2024-11-10-preview/privateLinkScopes.json
These settings apply only when --tag=package-preview-2024-09
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2024-09-10-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2024-09-10-preview/privateLinkScopes.json
These settings apply only when --tag=package-preview-2024-07
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2024-07-31-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2024-07-31-preview/privateLinkScopes.json
These settings apply only when --tag=package-2024-07
is specified on the command line.
input-file:
- Microsoft.HybridCompute/stable/2024-07-10/HybridCompute.json
- Microsoft.HybridCompute/stable/2024-07-10/privateLinkScopes.json
These settings apply only when --tag=package-preview-2024-05
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2024-05-20-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2024-05-20-preview/privateLinkScopes.json
These settings apply only when --tag=package-preview-2024-03
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2024-03-31-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2024-03-31-preview/privateLinkScopes.json
These settings apply only when --tag=package-preview-2023-10
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2023-10-03-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2023-10-03-preview/privateLinkScopes.json
These settings apply only when --tag=package-preview-2023-06
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2023-06-20-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2023-06-20-preview/privateLinkScopes.json
These settings apply only when --tag=package-preview-2023-03
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2023-03-15-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2023-03-15-preview/privateLinkScopes.json
These settings apply only when --tag=package-2022-12
is specified on the command line.
input-file:
- Microsoft.HybridCompute/stable/2022-12-27/HybridCompute.json
- Microsoft.HybridCompute/stable/2022-12-27/privateLinkScopes.json
These settings apply only when --tag=package-preview-2022-12
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2022-12-27-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2022-12-27-preview/privateLinkScopes.json
These settings apply only when --tag=package-2022-11
is specified on the command line.
input-file:
- Microsoft.HybridCompute/stable/2022-11-10/HybridCompute.json
- Microsoft.HybridCompute/stable/2022-11-10/privateLinkScopes.json
These settings apply only when --tag=package-preview-2022-08
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2022-08-11-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2022-08-11-preview/privateLinkScopes.json
These settings apply only when --tag=package-preview-2022-05
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2022-05-10-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2022-05-10-preview/privateLinkScopes.json
These settings apply only when --tag=package-2022-03
is specified on the command line.
input-file:
- Microsoft.HybridCompute/stable/2022-03-10/HybridCompute.json
- Microsoft.HybridCompute/stable/2022-03-10/privateLinkScopes.json
These settings apply only when --tag=package-preview-2021-12
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2021-12-10-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2021-12-10-preview/privateLinkScopes.json
These settings apply only when --tag=package-preview-2021-06
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2021-06-10-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2021-06-10-preview/privateLinkScopes.json
These settings apply only when --tag=package-preview-2021-05
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2021-05-17-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2021-05-17-preview/privateLinkScopes.json
These settings apply only when --tag=package-2021-05
is specified on the command line.
input-file:
- Microsoft.HybridCompute/stable/2021-05-20/HybridCompute.json
- Microsoft.HybridCompute/stable/2021-05-20/privateLinkScopes.json
These settings apply only when --tag=package-preview-2021-04
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2021-04-22-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2021-04-22-preview/privateLinkScopes.json
These settings apply only when --tag=package-preview-2021-03
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2021-03-25-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2021-03-25-preview/privateLinkScopes.json
These settings apply only when --tag=package-preview-2021-01
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2021-01-28-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2021-01-28-preview/privateLinkScopes.json
These settings apply only when --tag=package-preview-2020-08
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2020-08-15-preview/HybridCompute.json
- Microsoft.HybridCompute/preview/2020-08-15-preview/privateLinkScopes.json
These settings apply only when --tag=package-2019-03
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2019-03-18/HybridCompute.json
These settings apply only when --tag=package-2019-08
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2019-08-02/HybridCompute.json
These settings apply only when --tag=package-2019-12
is specified on the command line.
input-file:
- Microsoft.HybridCompute/stable/2019-12-12/HybridCompute.json
These settings apply only when --tag=package-2020-07-30-preview
is specified on the command line.
input-file:
- Microsoft.HybridCompute/preview/2020-07-30-preview/HybridCompute.json
These settings apply only when --tag=package-2020-08-02
is specified on the command line.
input-file:
- Microsoft.HybridCompute/stable/2020-08-02/HybridCompute.json
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-net-track2
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-cli-extensions
- repo: azure-resource-manager-schemas
- repo: azure-powershell
See configuration in readme.az.md and readme.cli.md
See configuration in readme.csharp.md
See configuration in readme.go.md
See configuration in readme.java.md
See configuration in the Azure PowerShell repo
See configuration in readme.python.md
See configuration in readme.ruby.md
See configuration in readme.typescript
suppressions:
- code: EvenSegmentedPathForPutOperation
from: privateLinkScopes.json
reason: False positive
- code: TagsAreNotAllowedForProxyResources
from: HybridCompute.json
reason: False positive
- code: BodyTopLevelProperties
from: HybridCompute.json
where: $.definitions.AgentVersion
reason: Previously approved and released, would require potentially breaking changes
- code: GetCollectionResponseSchema
from: HybridCompute.json
where: $.paths["/subscriptions/{subscriptionId}/providers/Microsoft.HybridCompute/locations/{location}/publishers/{publisher}/extensionTypes/{extensionType}/versions"]
reason: False positive. See https://github.com/Azure/azure-openapi-validator/issues/750