diff --git a/specification/edgeorderpartner/resource-manager/Microsoft.EdgeOrderPartner/preview/2020-12-01-preview/edgeorderpartner.json b/specification/edgeorderpartner/resource-manager/Microsoft.EdgeOrderPartner/preview/2020-12-01-preview/edgeorderpartner.json index f36549599067..4fca851c13aa 100644 --- a/specification/edgeorderpartner/resource-manager/Microsoft.EdgeOrderPartner/preview/2020-12-01-preview/edgeorderpartner.json +++ b/specification/edgeorderpartner/resource-manager/Microsoft.EdgeOrderPartner/preview/2020-12-01-preview/edgeorderpartner.json @@ -414,14 +414,6 @@ "$ref": "#/definitions/BillingDetails", "description": "Represents additional details about billing for the inventory", "readOnly": true - }, - "inventorySecrets": { - "description": "Represents secrets on the inventory", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "readOnly": true } } }, diff --git a/specification/edgeorderpartner/resource-manager/Microsoft.EdgeOrderPartner/preview/2020-12-01-preview/examples/SearchInventoriesDetails.json b/specification/edgeorderpartner/resource-manager/Microsoft.EdgeOrderPartner/preview/2020-12-01-preview/examples/SearchInventoriesDetails.json index 46191693dbae..653f87617773 100644 --- a/specification/edgeorderpartner/resource-manager/Microsoft.EdgeOrderPartner/preview/2020-12-01-preview/examples/SearchInventoriesDetails.json +++ b/specification/edgeorderpartner/resource-manager/Microsoft.EdgeOrderPartner/preview/2020-12-01-preview/examples/SearchInventoriesDetails.json @@ -88,9 +88,6 @@ "billing": { "billingType": "Pav2", "status": "InProgress" - }, - "inventorySecrets": { - "PublicCert": "" } } } diff --git a/specification/edgeorderpartner/resource-manager/readme.go.md b/specification/edgeorderpartner/resource-manager/readme.go.md new file mode 100644 index 000000000000..4ab7725b4be4 --- /dev/null +++ b/specification/edgeorderpartner/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_MIT_NO_VERSION + clear-output-folder: true + namespace: edgeorderpartner +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2020-12-preview +``` + +### Tag: package-2020-12-preview and go + +These settings apply only when `--tag=package-2020-12-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2020-12-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-12-01-preview/$(namespace) +``` \ No newline at end of file diff --git a/specification/edgeorderpartner/resource-manager/readme.md b/specification/edgeorderpartner/resource-manager/readme.md index e6f66db1535b..8928b97f37b3 100644 --- a/specification/edgeorderpartner/resource-manager/readme.md +++ b/specification/edgeorderpartner/resource-manager/readme.md @@ -25,7 +25,8 @@ To see additional help and options, run: These are the global settings for the EdgeOrderPartner API. ``` yaml -title: Edge Order Partner API's +title: EdgeOrderPartnerManagementClient +description: Edge Order Partner API's openapi-type: arm tag: package-2020-12-preview ``` @@ -38,4 +39,41 @@ These settings apply only when `--tag=package-2020-12-preview` is specified on t input-file: - Microsoft.EdgeOrderPartner/preview/2020-12-01-preview/edgeorderpartner.json ``` ---- \ No newline at end of file +--- +--- +# 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-net + - repo: azure-sdk-for-python-track2 + - repo: azure-sdk-for-go +``` + +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Azure.Management.EdgeOrderPartner + output-folder: $(csharp-sdks-folder)/edgeorder/Microsoft.Azure.Management.EdgeOrderPartner/src/Generated + clear-output-folder: true +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file diff --git a/specification/edgeorderpartner/resource-manager/readme.python.md b/specification/edgeorderpartner/resource-manager/readme.python.md new file mode 100644 index 000000000000..0c5067e281f5 --- /dev/null +++ b/specification/edgeorderpartner/resource-manager/readme.python.md @@ -0,0 +1,27 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. +These settings apply only when `--track2` is specified on the command line. + +``` yaml $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-edgeorderpartner +no-namespace-folders: true +package-version: 1.0.0 +payload-flattening-threshold: 1 +title: EdgeOrderPartnerClient +description: Edge-Order Partner Client +clear-output-folder: true +``` + +```yaml $(python) && $(python-mode) == 'update' && $(track2) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/edgeorder/azure-mgmt-edgeorder/azure/mgmt/edgeorderpartner +``` + +```yaml $(python) && $(python-mode) == 'create' && $(track2) +basic-setup-py: true +output-folder: $(python-sdks-folder)/edgeorder/azure-mgmt-edgeorder \ No newline at end of file