Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
5c83392
Update package.json and scripts
mikeharder Apr 3, 2024
0056e46
Merge branch 'main' into typespec-next
mikeharder May 16, 2024
417cff4
Add typespec-azure-portal-core
mikeharder May 16, 2024
91cbb69
Merge branch 'main' into typespec-next
mikeharder May 16, 2024
2cfedcb
Fix some deprecations from valueof PR (#29126)
timotheeguerin May 16, 2024
2a704c0
Merge branch 'main' into typespec-next
mikeharder May 17, 2024
167b367
Merge branch 'main' into typespec-next
mikeharder May 23, 2024
f2c7599
[apicenter] Regen swagger to add "title" properties
mikeharder May 23, 2024
2813c23
[cognitiveservices] Use TypeSpec array (#[]) instead of tuple ([]) (#…
mikeharder May 23, 2024
2aad62a
Merge branch 'main' into typespec-next
mikeharder May 23, 2024
db37ac1
Merge branch 'main' into typespec-next
mikeharder May 29, 2024
b273517
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
timotheeguerin Jun 3, 2024
33c7eb3
fix
timotheeguerin Jun 3, 2024
276d658
Suppress failing rules
timotheeguerin Jun 4, 2024
c146c26
Fix shouldn't have `Content-Type` header
timotheeguerin Jun 4, 2024
0a493c9
Pin typespec versioning to 0.57.0-dev.6
timotheeguerin Jun 5, 2024
f07c71d
Switch back to next tag for versioning library
timotheeguerin Jun 6, 2024
eefab8e
Add new networking code owner (#29281)
Joanna-Yang-Art Jun 3, 2024
80b0e88
Sherylueen appcomplianceautomation microsoft.app compliance automatio…
Sherylueen Jun 3, 2024
1b5e457
Microsoft.ScVmm TypeSpec onboarding (#26644)
tadelesh Jun 4, 2024
a8ccd9d
Imagebuilder API Release 2024-02-01 (#28896)
zdelacerda-microsoft Jun 4, 2024
a29e111
Update readme.md to show up documentation for preview version (#29165)
raghumunukutla Jun 4, 2024
a3bb584
Update readme.python.md (#29309)
ChenxiJiang333 Jun 4, 2024
872e780
Update readme.md (#29313)
ChenxiJiang333 Jun 4, 2024
a953dc6
Add info about `SDK azure-sdk-for-*` checks and `SDK azure-powershell…
Jun 4, 2024
3ea5f2a
Update ci-fix.md: clarify that `SDK azure-powershell` is owned by `Az…
Jun 4, 2024
f56df1e
RouteMatrix 2024-06-01-preview (#29153)
koyasu221b Jun 4, 2024
521dfb0
[OAI-Assistant] Added Missing annotation and delete unnecessary anno…
mssfang Jun 4, 2024
26820f9
[OpenAI] [Inference] TSP definition updates for `v2024_05_01_preview`…
jpalvarezl Jun 4, 2024
b33a64f
Add v3.2 for Speech to text (3.2p2 as base) (#28664)
bexxx Jun 4, 2024
fdc94ba
Add new api-version 2024-02-01-preview to main (#29105)
shraddhasun Jun 4, 2024
59d0deb
Storage STG 94 (#28327)
seanmcc-msft Jun 4, 2024
05ca7a9
Storage Task Assignment Swagger Updates (#29050)
triciarosario Jun 5, 2024
3a7392f
Update virtualMachine.json (#29112)
jaclin1111 Jun 5, 2024
efda639
Merge release api management 2023 09 01 preview - Active (#29184)
solankisamir Jun 5, 2024
3ec922d
Fixed typo in documentation (#29341)
jpalvarezl Jun 5, 2024
b40f2e2
Update 2023-12-01 Microsoft.Web functionAppConfig definition (#29226)
Francisco-Gamino Jun 5, 2024
9cbaac8
Update `securityPostureReference` in VMScaleSet API (#28891)
martinezdylan Jun 5, 2024
7dd8113
[Microsoft.AzureStackHCI] Add 2024-04-01 for StackHCI (#29110)
priyjain358 Jun 5, 2024
a25b233
Enable stream-stype serialization for Java Communication Job Router (…
alzimmermsft Jun 6, 2024
eaf0cce
Azure Map Rendering 20240401 (#27950)
miaxzhitong Jun 6, 2024
9b53351
Update directory-structure.md: clarify service, service group, unifor…
Jun 6, 2024
3e6dc80
[ACS][Communication][Chat] 2024-06-05-preview public preview API spec…
jimchou-dev Jun 7, 2024
68d51e2
Update for autorest lro support
markcowl Jun 11, 2024
74397ba
Format
timotheeguerin Jun 11, 2024
a5879d4
Merge branch 'main' into typespec-next
markcowl Jun 12, 2024
1fda920
Fix issues with oracle spec from main
markcowl Jun 12, 2024
cc2a21e
Update format
markcowl Jun 12, 2024
1996b29
Update for latest dev version
markcowl Jun 13, 2024
55ef0dd
Fixing typespec-next for June 2024 release (#29427)
allenjzhang Jun 13, 2024
fe08424
Merge branch 'typespec-next' of https://github.com/Azure/azure-rest-a…
allenjzhang Jun 13, 2024
02b541d
Update package.json
allenjzhang Jun 14, 2024
495ee87
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
allenjzhang Jun 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Microsoft.AzureStackHCI] Add 2024-04-01 for StackHCI (#29110)
* Add 2024-04-01 for StackHCI

* add missing properties

* add log collection job type

* changes in sdk suppressions

* sdk suppression changes
  • Loading branch information
priyjain358 authored and markcowl committed Jun 7, 2024
commit 7dd8113db973d93c6e045ac42fea4b3290fd4f99
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## AzureResourceSchema

These settings apply only when `--azureresourceschema` is specified on the command line.

### AzureResourceSchema multi-api

```yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: package-2020-11-01
```

Please also specify `--azureresourceschema-folder=<path to the root directory of your azure-resource-manager-schemas clone>`.

### Tag: package-2020-11-01 and azureresourceschema

```yaml $(tag) == '2020-11-01-preview' && $(azureresourceschema)
output-folder: $(azureresourceschema-folder)/schemas
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## C

These settings apply only when `--csharp` is specified on the command line.
Please also specify `--csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>`.

```yaml $(csharp)
csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 1
clear-output-folder: true
client-side-validation: false
namespace: Microsoft.AzureStackHCI
output-folder: $(csharp-sdks-folder)/azurestackhci/management/Microsoft.AzureStackHCI/GeneratedProtocol
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## Go

These settings apply only when `--go` is specified on the command line.

```yaml $(go) && $(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/azurestackhci/armazurestackhci
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
# azurestackhci

> see https://aka.ms/autorest

This is the AutoRest configuration file for azurestackhci.

## 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](https://aka.ms/autorest/install) on the AutoRest github page.

---

## Configuration

### Basic Information

These are the global settings for the azurestackhci.

``` yaml
title: AzureStackHCIClient
description: Azure Stack HCI management service
openapi-type: arm
openapi-subtype: rpaas
tag: package-2024-04
```

## Suppression

``` yaml
directive:
- suppress: R3020
from:
- arcSettings.json
- clusters.json
- extensions.json
- operations.json
- offers.json
- publishers.json
- skus.json
- updates.json
- updateRuns.json
- updateSummaries.json
- deploymentSettings.json
- edgeDevices.json
- securitySettings.json
- hciCommon.json

reason: Microsoft.AzureStackHCI is the correct name for our RP.
suppressions:
- code: PathResourceProviderNamePascalCase
reason: Microsoft.AzureStackHCI was chosen over Microsoft.AzureStackHci or Microsoft.AzureStackHyperConvergedInfrastructure
from:
- arcSettings.json
- clusters.json
- extensions.json
- operations.json
- offers.json
- publishers.json
- skus.json
- updates.json
- updateRuns.json
- updateSummaries.json
- deploymentSettings.json
- edgeDevices.json
- securitySettings.json

- code: ResourceNameRestriction
reason: ClusterName didn't have a pattern initially, adding the constraint now will cause a breaking change
from:
- deploymentSettings.json
- clusters.json
- securitySettings.json
- arcSettings.json
- extensions.json
- offers.json
- publishers.json
- skus.json
- updateRuns.json
- updates.json
- updateSummaries.json

- code: ParametersInPointGet
reason: already used in GA api version, fixing it will cause a breaking change
from:
- offers.json
- skus.json

- code: PatchPropertiesCorrespondToPutProperties
reason: already used in GA api version, fixing it will cause breaking change
from:
- clusters.json

- code: PatchBodyParametersSchema
reason: already used in GA api version, fixing it will cause breaking change
from:
- clusters.json

- code: PutResponseCodes
reason: already used in GA api version, fixing it will cause breaking change
from:
- clusters.json
- arcSettings.json
- updateRuns.json
- updates.json
- updateSummaries.json

- code: ConsistentPatchProperties
reason: already used in GA api version, fixing it will cause breaking change
from:
- arcSettings.json

- code: PostResponseCodes
reason: already used in GA api version, fixing it will cause breaking change
from:
- arcSettings.json
- updates.json

- code: DeleteResponseCodes
reason: already used in GA api version, fixing it will cause breaking change
from:
- clusters.json
- extensions.json
- arcSettings.json
- updateRuns.json
- updates.json
- updateSummaries.json

- code: LroLocationHeader
reason: already used in GA api version, fixing it will cause breaking change
from:
- extensions.json
- clusters.json
- arcSettings.json
- updateRuns.json
- updates.json
- updateSummaries.json

- code: ProvisioningStateSpecifiedForLROPut
reason: already working without the properties section, adding it will break polymorphism
from:
- edgeDevices.json

- code: XmsPageableForListCalls
reason: already used in GA api version, fixing it will cause breaking change
from:
- operations.json
- updateSummaries.json

- code: RequestSchemaForTrackedResourcesMustHaveTags
reason: these are not tracked resources, so tags are not needed
from:
- updates.json
- updateRuns.json
- updateSummaries.json

- code: TrackedResourcePatchOperation
reason: these are not tracked resources, so no tags and corresponding patch operation is needed
from:
- updates.json
- updateRuns.json
- updateSummaries.json

- code: AvoidAdditionalProperties
reason: already used in GA api version, fixing it will cause breaking change
from:
- updates.json

- code: EvenSegmentedPathForPutOperation
reason: already used in GA api version, fixing it will cause breaking change
from:
- updateSummaries.json

- code: DefinitionsPropertiesNamesCamelCase
reason: We have a dependency on other team which is already using these values, changing it will break backward compatibility
from:
- deploymentSettings.json
where:
- $.definitions.QosPolicyOverrides.properties.priorityValue8021Action_Cluster
- $.definitions.QosPolicyOverrides.properties.priorityValue8021Action_SMB
- $.definitions.QosPolicyOverrides.properties.bandwidthPercentage_SMB
- $.definitions.SetInformationJobProperties.properties.priorityValue8021Action_Cluster
- $.definitions.SetInformationJobProperties.properties.priorityValue8021Action_SMB
- $.definitions.SetInformationJobProperties.properties.bandwidthPercentage_SMB

- code: TopLevelResourcesListBySubscription
reason: It is reporting issue for proxy extension resource which doesn't have use case to ListBySubscription as this resource will always tied to one parent resource only. Additionally, there is a 1:1 relationship between HybridCompute Machines and AzureStackHCI VirtualMachineInstances.
```


### Tag: package-2024-04

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

```yaml $(tag) == 'package-2024-04'
input-file:
- stable/2024-04-01/arcSettings.json
- stable/2024-04-01/clusters.json
- stable/2024-04-01/deploymentSettings.json
- stable/2024-04-01/edgeDevices.json
- stable/2024-04-01/extensions.json
- stable/2024-04-01/hciCommon.json
- stable/2024-04-01/offers.json
- ../operations/stable/2024-04-01/operations.json
- stable/2024-04-01/publishers.json
- stable/2024-04-01/securitySettings.json
- stable/2024-04-01/skus.json
- stable/2024-04-01/updateRuns.json
- stable/2024-04-01/updateSummaries.json
- stable/2024-04-01/updates.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.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_azurestackhci']
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js azurestackhci/resource-manager
- repo: azure-powershell
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Python

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

```yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-azurestackhci
namespace: azure.mgmt.azurestackhci
package-version: 1.0.0b1
clear-output-folder: true
```

```yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azurestackhci/azure-mgmt-azurestackhci/azure/mgmt/azurestackhci
```


``` yaml $(python)
modelerfour:
lenient-model-deduplication: true
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## TypeScript

These settings apply only when `--typescript` is specified on the command line.
Please also specify `--typescript-sdks-folder=<path to root folder of your azure-sdk-for-js clone>`.

```yaml $(typescript)
typescript:
azure-arm: true
package-name: "@azure/arm-azurestackhci"
output-folder: "$(typescript-sdks-folder)/sdk/azurestackhci/arm-azurestackhci"
payload-flattening-threshold: 1
generate-metadata: true
```
Loading