From f0356ad28dd559e4d52b2aa679242a42fa3dc176 Mon Sep 17 00:00:00 2001 From: Larry Osterman Date: Fri, 13 Nov 2020 15:27:53 -0800 Subject: [PATCH] Try renaming preview API version again (#11619) * Try renaming preview API version again * Added preview swagger version * Another try at adding back the preview apis * Next try at putting -preview API back * Fixed typo * Added Java and Typescript generators to resource manager * Revert typescript.md to original * Added js and java languages * Removed SevSnpVm until we have a stronger confidential VM story * Removed other SevSnpVm vestiges --- .../attestation.json | 2 +- .../examples/Add_PolicyCertificate.json | 0 .../examples/Get_Certs.json | 0 .../examples/Get_MetadataConfiguration.json | 0 .../examples/Get_Policy.json | 0 .../examples/Get_PolicyCertificates.json | 0 .../examples/Remove_PolicyCertificate.json | 0 .../examples/Reset_Policy.json | 0 .../examples/Set_Policy.json | 0 .../examples/UpdatePolicy.json | 0 .../stable/2020-10-01/attestation.json | 93 ++----------------- .../2020-10-01/examples/AttestSevSnpVm.json | 17 ---- .../attestation/data-plane/readme.md | 4 +- .../attestation.json | 2 +- .../examples/Create_AttestationProvider.json | 0 .../examples/Delete_AttestationProvider.json | 0 .../examples/Get_AttestationProvider.json | 0 .../Get_AttestationProvidersList.json | 0 ...testationProvidersListByResourceGroup.json | 0 .../Get_DefaultProviderByLocation.json | 0 .../examples/Get_DefaultProviders.json | 0 .../examples/Operations_List.json | 0 .../examples/Update_AttestationProvider.json | 0 .../readme.azureresourceschema.md | 2 +- .../resource-manager/readme.java.md | 42 +++++++++ .../attestation/resource-manager/readme.md | 4 +- 26 files changed, 56 insertions(+), 110 deletions(-) rename specification/attestation/data-plane/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/attestation.json (99%) rename specification/attestation/data-plane/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Add_PolicyCertificate.json (100%) rename specification/attestation/data-plane/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Get_Certs.json (100%) rename specification/attestation/data-plane/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Get_MetadataConfiguration.json (100%) rename specification/attestation/data-plane/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Get_Policy.json (100%) rename specification/attestation/data-plane/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Get_PolicyCertificates.json (100%) rename specification/attestation/data-plane/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Remove_PolicyCertificate.json (100%) rename specification/attestation/data-plane/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Reset_Policy.json (100%) rename specification/attestation/data-plane/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Set_Policy.json (100%) rename specification/attestation/data-plane/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/UpdatePolicy.json (100%) delete mode 100644 specification/attestation/data-plane/Microsoft.Attestation/stable/2020-10-01/examples/AttestSevSnpVm.json rename specification/attestation/resource-manager/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/attestation.json (99%) rename specification/attestation/resource-manager/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Create_AttestationProvider.json (100%) rename specification/attestation/resource-manager/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Delete_AttestationProvider.json (100%) rename specification/attestation/resource-manager/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Get_AttestationProvider.json (100%) rename specification/attestation/resource-manager/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Get_AttestationProvidersList.json (100%) rename specification/attestation/resource-manager/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Get_AttestationProvidersListByResourceGroup.json (100%) rename specification/attestation/resource-manager/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Get_DefaultProviderByLocation.json (100%) rename specification/attestation/resource-manager/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Get_DefaultProviders.json (100%) rename specification/attestation/resource-manager/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Operations_List.json (100%) rename specification/attestation/resource-manager/Microsoft.Attestation/stable/{2018-09-01 => 2018-09-01-preview}/examples/Update_AttestationProvider.json (100%) create mode 100644 specification/attestation/resource-manager/readme.java.md diff --git a/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/attestation.json b/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/attestation.json similarity index 99% rename from specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/attestation.json rename to specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/attestation.json index 111f26c59183..d3fb1ff922ae 100644 --- a/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/attestation.json +++ b/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/attestation.json @@ -3,7 +3,7 @@ "info": { "title": "AttestationClient", "description": "Describes the interface for the per-tenant enclave service.", - "version": "2018-09-01" + "version": "2018-09-01-preview" }, "x-ms-parameterized-host": { "hostTemplate": "{tenantBaseUrl}", diff --git a/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Add_PolicyCertificate.json b/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Add_PolicyCertificate.json similarity index 100% rename from specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Add_PolicyCertificate.json rename to specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Add_PolicyCertificate.json diff --git a/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Get_Certs.json b/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_Certs.json similarity index 100% rename from specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Get_Certs.json rename to specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_Certs.json diff --git a/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Get_MetadataConfiguration.json b/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_MetadataConfiguration.json similarity index 100% rename from specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Get_MetadataConfiguration.json rename to specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_MetadataConfiguration.json diff --git a/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Get_Policy.json b/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_Policy.json similarity index 100% rename from specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Get_Policy.json rename to specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_Policy.json diff --git a/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Get_PolicyCertificates.json b/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_PolicyCertificates.json similarity index 100% rename from specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Get_PolicyCertificates.json rename to specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_PolicyCertificates.json diff --git a/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Remove_PolicyCertificate.json b/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Remove_PolicyCertificate.json similarity index 100% rename from specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Remove_PolicyCertificate.json rename to specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Remove_PolicyCertificate.json diff --git a/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Reset_Policy.json b/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Reset_Policy.json similarity index 100% rename from specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Reset_Policy.json rename to specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Reset_Policy.json diff --git a/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Set_Policy.json b/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Set_Policy.json similarity index 100% rename from specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/Set_Policy.json rename to specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/Set_Policy.json diff --git a/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/UpdatePolicy.json b/specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/UpdatePolicy.json similarity index 100% rename from specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01/examples/UpdatePolicy.json rename to specification/attestation/data-plane/Microsoft.Attestation/stable/2018-09-01-preview/examples/UpdatePolicy.json diff --git a/specification/attestation/data-plane/Microsoft.Attestation/stable/2020-10-01/attestation.json b/specification/attestation/data-plane/Microsoft.Attestation/stable/2020-10-01/attestation.json index 9d97af18a55d..e82086d63342 100644 --- a/specification/attestation/data-plane/Microsoft.Attestation/stable/2020-10-01/attestation.json +++ b/specification/attestation/data-plane/Microsoft.Attestation/stable/2020-10-01/attestation.json @@ -419,49 +419,6 @@ } } }, - "/attest/SevSnpVm": { - "post": { - "tags": [ - "attestation" - ], - "summary": "Attest to an SEV SNP Virtual Machine.", - "description": "Processes a SEV SNP Boot chain. The type of artifact produced is dependent upon attestation policy.", - "operationId": "Attestation_AttestSevSnpVm", - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "request", - "in": "body", - "description": "Request object containing the quote", - "required": true, - "schema": { - "$ref": "#/definitions/AttestSevSnpVmRequest" - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/AttestationResponse" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-examples": { - "Attest SevSnpVm": { - "$ref": "./examples/AttestSevSnpVm.json" - } - } - } - }, "/certs": { "get": { "tags": [ @@ -823,6 +780,12 @@ "type": "string", "format": "base64url" }, + "maa-ehd": { + "description": "DEPRECATED: Private Preview version of x-ms-sgx-ehd claim.", + "x-ms-client-name": "DeprecatedEnclaveHeldData2", + "type": "string", + "format": "base64url" + }, "product-id": { "description": "DEPRECATED: Private Preview version of x-ms-sgx-product-id", "x-ms-client-name": "DeprecatedProductId", @@ -995,45 +958,6 @@ "format": "base64url" } } - }, - "AttestSevSnpVmRequest": { - "type": "object", - "description": "Attestation request for AMD SEV SNP Virtual Machine", - "properties": { - "reportType": { - "description": "Type of the report payload", - "type": "string", - "x-ms-enum": { - "name": "SevSnpReportType", - "modelAsString": true, - "values": [ - { - "value": "HclHyperV", - "description": "SEV SNP report generated by HCL running on HyperV platform" - } - ] - }, - "enum": [ - "HclHyperV" - ] - }, - "report": { - "description": "Hardware rooted report of the virtual machine being attested", - "type": "string" - }, - "runtimeData": { - "description": "Runtime data provided by the enclave at the time of report generation. The MAA will verify that the run time data is known to the attestation target.", - "$ref": "#/definitions/RuntimeData" - }, - "initTimeData": { - "description": "Initialization data provided by the enclave at the time of report generation. The MAA will verify that the init time data is known to the attestation target.", - "$ref": "#/definitions/InitTimeData" - }, - "draftPolicyForAttestation": { - "description": "Attest against the provided draft policy. Note that the resulting token cannot be validated.", - "type": "string" - } - } } }, "parameters": { @@ -1063,10 +987,6 @@ "value": "OpenEnclave", "description": "OpenEnclave extensions to SGX" }, - { - "value": "SevSnpVm", - "description": "AMD SEV SNP Virtual Machine" - }, { "value": "Tpm", "description": "Edge TPM Virtualization Based Security" @@ -1076,7 +996,6 @@ "enum": [ "SgxEnclave", "OpenEnclave", - "SevSnpVm", "Tpm" ] } diff --git a/specification/attestation/data-plane/Microsoft.Attestation/stable/2020-10-01/examples/AttestSevSnpVm.json b/specification/attestation/data-plane/Microsoft.Attestation/stable/2020-10-01/examples/AttestSevSnpVm.json deleted file mode 100644 index 7582bcafb214..000000000000 --- a/specification/attestation/data-plane/Microsoft.Attestation/stable/2020-10-01/examples/AttestSevSnpVm.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "instanceUrl": "https://instance.attest.azure.net", - "api-version": "2020-10-01", - "request": { - "reportType": "HclHyperV", - "report": "SENMQQEAAADRBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAB8ACwAAAAAAAQAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAzAAAAAAAAAAAAAAAAAAAAAEnvia-3paqOjvL4Y8aHoLAoSwEYpvlScPVCZ8gW6rLhAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADnP2W0CtgI1rBtW9JGy-oWJ1wXGdWBxSZvfByn3I_q0TR15ClWSygU8tWs55Qb5OkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKZM6OS5EHwe7c8bQDMX4yFEux95df07UvWho7e2LsAGAHZ5VUxQWAfFADYFwDOU0gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKYGr2SRklnMdzWWfDQhDg0RrDYfRLzSTD1SZLj-k7uupgavZJGSWcx3NZZ8NCEODRGsNh9EvNJMPVJkuP6Tu64AAAAAAAAAMwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAObIZ5bNRLC8a3wNT9qzPigH4UtfxFOLN1CSEWnZe89ER8fTqyp8JfdMFkHiiFwQEdAlzFNvXJolBHExNseHf0gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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IEenhux3EH_H9lb-fgchR4uEw" - } - } - } -} diff --git a/specification/attestation/data-plane/readme.md b/specification/attestation/data-plane/readme.md index 04bbc57467bc..bea2cdf7952f 100644 --- a/specification/attestation/data-plane/readme.md +++ b/specification/attestation/data-plane/readme.md @@ -34,7 +34,7 @@ These settings apply only when `--tag=package-2018-09-01` is specified on the co ``` yaml $(tag) == 'package-2018-09-01' input-file: -- Microsoft.Attestation/stable/2018-09-01/attestation.json +- Microsoft.Attestation/stable/2018-09-01-preview/attestation.json ``` ### Tag: package-2020-10-01 @@ -96,7 +96,7 @@ require: $(this-folder)/../../../profiles/readme.md # all the input files across all versions input-file: - - $(this-folder)/Microsoft.Attestation/stable/2018-09-01/attestation.json + - $(this-folder)/Microsoft.Attestation/stable/2018-09-01-preview/attestation.json - $(this-folder)/Microsoft.Attestation/stable/2020-10-01/attestation.json ``` diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/attestation.json b/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/attestation.json similarity index 99% rename from specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/attestation.json rename to specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/attestation.json index 8fb100b1cad8..cf2fa31d9945 100644 --- a/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/attestation.json +++ b/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/attestation.json @@ -3,7 +3,7 @@ "info": { "title": "AttestationManagementClient", "description": "Various APIs for managing resources in attestation service. This primarily encompasses per-tenant instance management.", - "version": "2018-09-01" + "version": "2018-09-01-preview" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Create_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Create_AttestationProvider.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Create_AttestationProvider.json rename to specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Create_AttestationProvider.json diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Delete_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Delete_AttestationProvider.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Delete_AttestationProvider.json rename to specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Delete_AttestationProvider.json diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Get_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_AttestationProvider.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Get_AttestationProvider.json rename to specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_AttestationProvider.json diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Get_AttestationProvidersList.json b/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_AttestationProvidersList.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Get_AttestationProvidersList.json rename to specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_AttestationProvidersList.json diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Get_AttestationProvidersListByResourceGroup.json b/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Get_AttestationProvidersListByResourceGroup.json rename to specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_AttestationProvidersListByResourceGroup.json diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Get_DefaultProviderByLocation.json b/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_DefaultProviderByLocation.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Get_DefaultProviderByLocation.json rename to specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_DefaultProviderByLocation.json diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Get_DefaultProviders.json b/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_DefaultProviders.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Get_DefaultProviders.json rename to specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Get_DefaultProviders.json diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Operations_List.json b/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Operations_List.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Operations_List.json rename to specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Operations_List.json diff --git a/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Update_AttestationProvider.json b/specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Update_AttestationProvider.json similarity index 100% rename from specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01/examples/Update_AttestationProvider.json rename to specification/attestation/resource-manager/Microsoft.Attestation/stable/2018-09-01-preview/examples/Update_AttestationProvider.json diff --git a/specification/attestation/resource-manager/readme.azureresourceschema.md b/specification/attestation/resource-manager/readme.azureresourceschema.md index 2a2df1ab405a..17a7d1312379 100644 --- a/specification/attestation/resource-manager/readme.azureresourceschema.md +++ b/specification/attestation/resource-manager/readme.azureresourceschema.md @@ -19,7 +19,7 @@ output-folder: $(azureresourceschema-folder)/schemas # all the input files in this apiVersion input-file: - - Microsoft.Attestation/stable/2018-09-01/attestation.json + - Microsoft.Attestation/stable/2018-09-01-preview/attestation.json - Microsoft.Attestation/stable/2020-10-01/attestation.json ``` diff --git a/specification/attestation/resource-manager/readme.java.md b/specification/attestation/resource-manager/readme.java.md new file mode 100644 index 000000000000..0dacef3e7237 --- /dev/null +++ b/specification/attestation/resource-manager/readme.java.md @@ -0,0 +1,42 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +namespace: com.microsoft.azure.management.attestation +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-attestation +``` + +### Java multi-api + +```yaml $(java) && $(multiapi) +batch: + - tag: profile-2020-10-01 +``` + +### Tag: profile-2020-09-01 and java + +These settings apply only when `--tag=profile-2020-10-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'profile--2020-10-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.attestation.v2019_09_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/attestation/mgmt-v2020_10_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: profile-2020-10-01 + +These settings apply only when `--tag=profile-2020-10-01` is specified on the command line. +Creating this tag to pick proper resources from the hybrid profile. + +``` yaml $(tag) == 'profile-20-10-01' +input-file: +- Microsoft.Attestation/stable/2020-10-01/attestation.json +``` diff --git a/specification/attestation/resource-manager/readme.md b/specification/attestation/resource-manager/readme.md index 681eae848d28..4bbefc59fcd5 100644 --- a/specification/attestation/resource-manager/readme.md +++ b/specification/attestation/resource-manager/readme.md @@ -35,7 +35,7 @@ These settings apply only when `--tag=package-2018-09-01` is specified on the co ``` yaml $(tag) == 'package-2018-09-01' input-file: -- Microsoft.Attestation/stable/2018-09-01/attestation.json +- Microsoft.Attestation/stable/2018-09-01-preview/attestation.json ``` ### Tag: package-2020-10-01 @@ -61,6 +61,8 @@ swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-sdk-for-java - repo: azure-resource-manager-schemas after_scripts: - node sdkauto_afterscript.js attestation/resource-manager