From b52c8d2ff71ae559621102cbda0503f62bb79620 Mon Sep 17 00:00:00 2001 From: hc-github-team-tf-azure <> Date: Thu, 17 Oct 2024 08:16:16 +0000 Subject: [PATCH] data: regenerating based on the latest Swagger --- .../ApiVersionDefinition.json | 10 ++ .../Constant-CertificateProfileStatus.json | 18 ++ .../Constant-CertificateStatus.json | 18 ++ .../Constant-ProfileType.json | 26 +++ .../Constant-ProvisioningState.json | 30 ++++ .../Constant-RevocationStatus.json | 18 ++ .../Model-Certificate.json | 126 ++++++++++++++ .../Model-CertificateProfile.json | 81 +++++++++ .../Model-CertificateProfileProperties.json | 162 ++++++++++++++++++ .../CertificateProfiles/Model-Revocation.json | 98 +++++++++++ .../Model-RevokeCertificate.json | 82 +++++++++ .../CertificateProfiles/Operation-Create.json | 24 +++ .../CertificateProfiles/Operation-Delete.json | 12 ++ .../CertificateProfiles/Operation-Get.json | 17 ++ .../Operation-ListByCodeSigningAccount.json | 19 ++ .../Operation-RevokeCertificate.json | 18 ++ .../ResourceId-CertificateProfileId.json | 62 +++++++ .../ResourceId-CodeSigningAccountId.json | 51 ++++++ .../Constant-NameUnavailabilityReason.json | 14 ++ .../Constant-ProvisioningState.json | 30 ++++ .../CodeSigningAccounts/Constant-SkuName.json | 14 ++ .../CodeSigningAccounts/Model-AccountSku.json | 21 +++ .../Model-AccountSkuPatch.json | 21 +++ .../Model-CheckNameAvailability.json | 21 +++ .../Model-CheckNameAvailabilityResult.json | 51 ++++++ .../Model-CodeSigningAccount.json | 111 ++++++++++++ .../Model-CodeSigningAccountPatch.json | 36 ++++ ...del-CodeSigningAccountPatchProperties.json | 21 +++ .../Model-CodeSigningAccountProperties.json | 51 ++++++ .../Operation-CheckNameAvailability.json | 24 +++ .../CodeSigningAccounts/Operation-Create.json | 24 +++ .../CodeSigningAccounts/Operation-Delete.json | 12 ++ .../CodeSigningAccounts/Operation-Get.json | 17 ++ .../Operation-ListByResourceGroup.json | 19 ++ .../Operation-ListBySubscription.json | 19 ++ .../CodeSigningAccounts/Operation-Update.json | 24 +++ .../ResourceId-CodeSigningAccountId.json | 51 ++++++ .../ResourceId-ResourceGroupId.json | 29 ++++ .../ResourceId-SubscriptionId.json | 18 ++ .../CodeSigning/ServiceDefinition.json | 5 + 40 files changed, 1505 insertions(+) create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/ApiVersionDefinition.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-CertificateProfileStatus.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-CertificateStatus.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-ProfileType.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-ProvisioningState.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-RevocationStatus.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-Certificate.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-CertificateProfile.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-CertificateProfileProperties.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-Revocation.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-RevokeCertificate.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-Create.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-Delete.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-Get.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-ListByCodeSigningAccount.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-RevokeCertificate.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/ResourceId-CertificateProfileId.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/ResourceId-CodeSigningAccountId.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Constant-NameUnavailabilityReason.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Constant-ProvisioningState.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Constant-SkuName.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-AccountSku.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-AccountSkuPatch.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CheckNameAvailability.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CheckNameAvailabilityResult.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccount.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccountPatch.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccountPatchProperties.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccountProperties.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-CheckNameAvailability.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Create.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Delete.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Get.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-ListByResourceGroup.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-ListBySubscription.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Update.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/ResourceId-CodeSigningAccountId.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/ResourceId-ResourceGroupId.json create mode 100644 api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/ResourceId-SubscriptionId.json create mode 100644 api-definitions/resource-manager/CodeSigning/ServiceDefinition.json diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/ApiVersionDefinition.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/ApiVersionDefinition.json new file mode 100644 index 00000000000..50043d2a146 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/ApiVersionDefinition.json @@ -0,0 +1,10 @@ +{ + "apiVersion": "2024-09-30-preview", + "isPreview": true, + "generate": true, + "resources": [ + "CertificateProfiles", + "CodeSigningAccounts" + ], + "source": "Azure/azure-rest-api-specs" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-CertificateProfileStatus.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-CertificateProfileStatus.json new file mode 100644 index 00000000000..be25f0597b2 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-CertificateProfileStatus.json @@ -0,0 +1,18 @@ +{ + "name": "CertificateProfileStatus", + "type": "String", + "values": [ + { + "key": "Active", + "value": "Active" + }, + { + "key": "Disabled", + "value": "Disabled" + }, + { + "key": "Suspended", + "value": "Suspended" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-CertificateStatus.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-CertificateStatus.json new file mode 100644 index 00000000000..b9952b4e8fb --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-CertificateStatus.json @@ -0,0 +1,18 @@ +{ + "name": "CertificateStatus", + "type": "String", + "values": [ + { + "key": "Active", + "value": "Active" + }, + { + "key": "Expired", + "value": "Expired" + }, + { + "key": "Revoked", + "value": "Revoked" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-ProfileType.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-ProfileType.json new file mode 100644 index 00000000000..fbfeffa5bdf --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-ProfileType.json @@ -0,0 +1,26 @@ +{ + "name": "ProfileType", + "type": "String", + "values": [ + { + "key": "PrivateTrust", + "value": "PrivateTrust" + }, + { + "key": "PrivateTrustCIPolicy", + "value": "PrivateTrustCIPolicy" + }, + { + "key": "PublicTrust", + "value": "PublicTrust" + }, + { + "key": "PublicTrustTest", + "value": "PublicTrustTest" + }, + { + "key": "VBSEnclave", + "value": "VBSEnclave" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-ProvisioningState.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-ProvisioningState.json new file mode 100644 index 00000000000..185871d533d --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-ProvisioningState.json @@ -0,0 +1,30 @@ +{ + "name": "ProvisioningState", + "type": "String", + "values": [ + { + "key": "Accepted", + "value": "Accepted" + }, + { + "key": "Canceled", + "value": "Canceled" + }, + { + "key": "Deleting", + "value": "Deleting" + }, + { + "key": "Failed", + "value": "Failed" + }, + { + "key": "Succeeded", + "value": "Succeeded" + }, + { + "key": "Updating", + "value": "Updating" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-RevocationStatus.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-RevocationStatus.json new file mode 100644 index 00000000000..660d9e788a6 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Constant-RevocationStatus.json @@ -0,0 +1,18 @@ +{ + "name": "RevocationStatus", + "type": "String", + "values": [ + { + "key": "Failed", + "value": "Failed" + }, + { + "key": "InProgress", + "value": "InProgress" + }, + { + "key": "Succeeded", + "value": "Succeeded" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-Certificate.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-Certificate.json new file mode 100644 index 00000000000..ea0a3437eae --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-Certificate.json @@ -0,0 +1,126 @@ +{ + "name": "Certificate", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "createdDate", + "name": "CreatedDate", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "enhancedKeyUsage", + "name": "EnhancedKeyUsage", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "expiryDate", + "name": "ExpiryDate", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "revocation", + "name": "Revocation", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "Revocation", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "serialNumber", + "name": "SerialNumber", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "status", + "name": "Status", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "CertificateStatus", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "subjectName", + "name": "SubjectName", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "thumbprint", + "name": "Thumbprint", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-CertificateProfile.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-CertificateProfile.json new file mode 100644 index 00000000000..02374f3bf4e --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-CertificateProfile.json @@ -0,0 +1,81 @@ +{ + "name": "CertificateProfile", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "id", + "name": "Id", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "properties", + "name": "Properties", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "CertificateProfileProperties", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "systemData", + "name": "SystemData", + "objectDefinition": { + "type": "SystemData", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "type", + "name": "Type", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-CertificateProfileProperties.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-CertificateProfileProperties.json new file mode 100644 index 00000000000..3ff318de3ee --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-CertificateProfileProperties.json @@ -0,0 +1,162 @@ +{ + "name": "CertificateProfileProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "certificates", + "name": "Certificates", + "objectDefinition": { + "type": "List", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null, + "nestedItem": { + "type": "Reference", + "nullable": false, + "referenceName": "Certificate", + "referenceNameIsCommonType": null + } + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "identityValidationId", + "name": "IdentityValidationId", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "includeCity", + "name": "IncludeCity", + "objectDefinition": { + "type": "Boolean", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "includeCountry", + "name": "IncludeCountry", + "objectDefinition": { + "type": "Boolean", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "includePostalCode", + "name": "IncludePostalCode", + "objectDefinition": { + "type": "Boolean", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "includeState", + "name": "IncludeState", + "objectDefinition": { + "type": "Boolean", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "includeStreetAddress", + "name": "IncludeStreetAddress", + "objectDefinition": { + "type": "Boolean", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "profileType", + "name": "ProfileType", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "ProfileType", + "referenceNameIsCommonType": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "provisioningState", + "name": "ProvisioningState", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "ProvisioningState", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "status", + "name": "Status", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "CertificateProfileStatus", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-Revocation.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-Revocation.json new file mode 100644 index 00000000000..9369a595cee --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-Revocation.json @@ -0,0 +1,98 @@ +{ + "name": "Revocation", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "dateFormat": "RFC3339", + "jsonName": "effectiveAt", + "name": "EffectiveAt", + "objectDefinition": { + "type": "DateTime", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "failureReason", + "name": "FailureReason", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "reason", + "name": "Reason", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "remarks", + "name": "Remarks", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "dateFormat": "RFC3339", + "jsonName": "requestedAt", + "name": "RequestedAt", + "objectDefinition": { + "type": "DateTime", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "status", + "name": "Status", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "RevocationStatus", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-RevokeCertificate.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-RevokeCertificate.json new file mode 100644 index 00000000000..47275ea9312 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Model-RevokeCertificate.json @@ -0,0 +1,82 @@ +{ + "name": "RevokeCertificate", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "dateFormat": "RFC3339", + "jsonName": "effectiveAt", + "name": "EffectiveAt", + "objectDefinition": { + "type": "DateTime", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "reason", + "name": "Reason", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "remarks", + "name": "Remarks", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "serialNumber", + "name": "SerialNumber", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "thumbprint", + "name": "Thumbprint", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-Create.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-Create.json new file mode 100644 index 00000000000..011270e54f4 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-Create.json @@ -0,0 +1,24 @@ +{ + "name": "Create", + "contentType": "application/json; charset=utf-8", + "description": "", + "expectedStatusCodes": [ + 200, + 201 + ], + "longRunning": true, + "httpMethod": "PUT", + "resourceIdName": "CertificateProfileId", + "requestObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CertificateProfile", + "referenceNameIsCommonType": null + }, + "responseObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CertificateProfile", + "referenceNameIsCommonType": null + } +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-Delete.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-Delete.json new file mode 100644 index 00000000000..3a5813fb5b9 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-Delete.json @@ -0,0 +1,12 @@ +{ + "name": "Delete", + "contentType": "application/json; charset=utf-8", + "description": "", + "expectedStatusCodes": [ + 202, + 204 + ], + "longRunning": true, + "httpMethod": "DELETE", + "resourceIdName": "CertificateProfileId" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-Get.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-Get.json new file mode 100644 index 00000000000..e71fa561861 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-Get.json @@ -0,0 +1,17 @@ +{ + "name": "Get", + "contentType": "application/json; charset=utf-8", + "description": "", + "expectedStatusCodes": [ + 200 + ], + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "CertificateProfileId", + "responseObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CertificateProfile", + "referenceNameIsCommonType": null + } +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-ListByCodeSigningAccount.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-ListByCodeSigningAccount.json new file mode 100644 index 00000000000..19d7c9959d9 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-ListByCodeSigningAccount.json @@ -0,0 +1,19 @@ +{ + "name": "ListByCodeSigningAccount", + "contentType": "application/json; charset=utf-8", + "description": "", + "expectedStatusCodes": [ + 200 + ], + "fieldContainingPaginationDetails": "nextLink", + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "CodeSigningAccountId", + "responseObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CertificateProfile", + "referenceNameIsCommonType": null + }, + "uriSuffix": "/certificateProfiles" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-RevokeCertificate.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-RevokeCertificate.json new file mode 100644 index 00000000000..5a0f91b03c7 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/Operation-RevokeCertificate.json @@ -0,0 +1,18 @@ +{ + "name": "RevokeCertificate", + "contentType": "application/json; charset=utf-8", + "description": "", + "expectedStatusCodes": [ + 204 + ], + "longRunning": false, + "httpMethod": "POST", + "resourceIdName": "CertificateProfileId", + "requestObject": { + "type": "Reference", + "nullable": false, + "referenceName": "RevokeCertificate", + "referenceNameIsCommonType": null + }, + "uriSuffix": "/revokeCertificate" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/ResourceId-CertificateProfileId.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/ResourceId-CertificateProfileId.json new file mode 100644 index 00000000000..51a218713ea --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/ResourceId-CertificateProfileId.json @@ -0,0 +1,62 @@ +{ + "name": "CertificateProfileId", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{codeSigningAccountName}/certificateProfiles/{certificateProfileName}", + "segments": [ + { + "exampleValue": "", + "name": "staticSubscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "exampleValue": "", + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "exampleValue": "", + "name": "staticResourceGroups", + "type": "Static", + "value": "resourceGroups" + }, + { + "exampleValue": "", + "name": "resourceGroupName", + "type": "ResourceGroup" + }, + { + "exampleValue": "", + "name": "staticProviders", + "type": "Static", + "value": "providers" + }, + { + "exampleValue": "", + "name": "staticMicrosoftCodeSigning", + "type": "ResourceProvider", + "value": "Microsoft.CodeSigning" + }, + { + "exampleValue": "", + "name": "staticCodeSigningAccounts", + "type": "Static", + "value": "codeSigningAccounts" + }, + { + "exampleValue": "codeSigningAccountName", + "name": "codeSigningAccountName", + "type": "UserSpecified" + }, + { + "exampleValue": "", + "name": "staticCertificateProfiles", + "type": "Static", + "value": "certificateProfiles" + }, + { + "exampleValue": "certificateProfileName", + "name": "certificateProfileName", + "type": "UserSpecified" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/ResourceId-CodeSigningAccountId.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/ResourceId-CodeSigningAccountId.json new file mode 100644 index 00000000000..2461e302280 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CertificateProfiles/ResourceId-CodeSigningAccountId.json @@ -0,0 +1,51 @@ +{ + "name": "CodeSigningAccountId", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{codeSigningAccountName}", + "segments": [ + { + "exampleValue": "", + "name": "staticSubscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "exampleValue": "", + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "exampleValue": "", + "name": "staticResourceGroups", + "type": "Static", + "value": "resourceGroups" + }, + { + "exampleValue": "", + "name": "resourceGroupName", + "type": "ResourceGroup" + }, + { + "exampleValue": "", + "name": "staticProviders", + "type": "Static", + "value": "providers" + }, + { + "exampleValue": "", + "name": "staticMicrosoftCodeSigning", + "type": "ResourceProvider", + "value": "Microsoft.CodeSigning" + }, + { + "exampleValue": "", + "name": "staticCodeSigningAccounts", + "type": "Static", + "value": "codeSigningAccounts" + }, + { + "exampleValue": "codeSigningAccountName", + "name": "codeSigningAccountName", + "type": "UserSpecified" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Constant-NameUnavailabilityReason.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Constant-NameUnavailabilityReason.json new file mode 100644 index 00000000000..c98cc023698 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Constant-NameUnavailabilityReason.json @@ -0,0 +1,14 @@ +{ + "name": "NameUnavailabilityReason", + "type": "String", + "values": [ + { + "key": "AccountNameInvalid", + "value": "AccountNameInvalid" + }, + { + "key": "AlreadyExists", + "value": "AlreadyExists" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Constant-ProvisioningState.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Constant-ProvisioningState.json new file mode 100644 index 00000000000..185871d533d --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Constant-ProvisioningState.json @@ -0,0 +1,30 @@ +{ + "name": "ProvisioningState", + "type": "String", + "values": [ + { + "key": "Accepted", + "value": "Accepted" + }, + { + "key": "Canceled", + "value": "Canceled" + }, + { + "key": "Deleting", + "value": "Deleting" + }, + { + "key": "Failed", + "value": "Failed" + }, + { + "key": "Succeeded", + "value": "Succeeded" + }, + { + "key": "Updating", + "value": "Updating" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Constant-SkuName.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Constant-SkuName.json new file mode 100644 index 00000000000..a16e419face --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Constant-SkuName.json @@ -0,0 +1,14 @@ +{ + "name": "SkuName", + "type": "String", + "values": [ + { + "key": "Basic", + "value": "Basic" + }, + { + "key": "Premium", + "value": "Premium" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-AccountSku.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-AccountSku.json new file mode 100644 index 00000000000..d0ab3ebe8b5 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-AccountSku.json @@ -0,0 +1,21 @@ +{ + "name": "AccountSku", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "SkuName", + "referenceNameIsCommonType": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-AccountSkuPatch.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-AccountSkuPatch.json new file mode 100644 index 00000000000..62765db3b06 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-AccountSkuPatch.json @@ -0,0 +1,21 @@ +{ + "name": "AccountSkuPatch", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "SkuName", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CheckNameAvailability.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CheckNameAvailability.json new file mode 100644 index 00000000000..0c503d12ded --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CheckNameAvailability.json @@ -0,0 +1,21 @@ +{ + "name": "CheckNameAvailability", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CheckNameAvailabilityResult.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CheckNameAvailabilityResult.json new file mode 100644 index 00000000000..c413592233c --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CheckNameAvailabilityResult.json @@ -0,0 +1,51 @@ +{ + "name": "CheckNameAvailabilityResult", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "message", + "name": "Message", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "nameAvailable", + "name": "NameAvailable", + "objectDefinition": { + "type": "Boolean", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "reason", + "name": "Reason", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "NameUnavailabilityReason", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccount.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccount.json new file mode 100644 index 00000000000..52841de241b --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccount.json @@ -0,0 +1,111 @@ +{ + "name": "CodeSigningAccount", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "id", + "name": "Id", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "location", + "name": "Location", + "objectDefinition": { + "type": "Location", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": false, + "readOnly": false, + "required": true, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "name", + "name": "Name", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "properties", + "name": "Properties", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "CodeSigningAccountProperties", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "systemData", + "name": "SystemData", + "objectDefinition": { + "type": "SystemData", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "tags", + "name": "Tags", + "objectDefinition": { + "type": "Tags", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "type", + "name": "Type", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccountPatch.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccountPatch.json new file mode 100644 index 00000000000..054f5686f50 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccountPatch.json @@ -0,0 +1,36 @@ +{ + "name": "CodeSigningAccountPatch", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "properties", + "name": "Properties", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "CodeSigningAccountPatchProperties", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "tags", + "name": "Tags", + "objectDefinition": { + "type": "Tags", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccountPatchProperties.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccountPatchProperties.json new file mode 100644 index 00000000000..f5c43b7e521 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccountPatchProperties.json @@ -0,0 +1,21 @@ +{ + "name": "CodeSigningAccountPatchProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sku", + "name": "Sku", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "AccountSkuPatch", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccountProperties.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccountProperties.json new file mode 100644 index 00000000000..51bb15d76c7 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Model-CodeSigningAccountProperties.json @@ -0,0 +1,51 @@ +{ + "name": "CodeSigningAccountProperties", + "fields": [ + { + "containsDiscriminatedTypeValue": false, + "jsonName": "accountUri", + "name": "AccountUri", + "objectDefinition": { + "type": "String", + "nullable": false, + "referenceName": null, + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "provisioningState", + "name": "ProvisioningState", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "ProvisioningState", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + }, + { + "containsDiscriminatedTypeValue": false, + "jsonName": "sku", + "name": "Sku", + "objectDefinition": { + "type": "Reference", + "nullable": false, + "referenceName": "AccountSku", + "referenceNameIsCommonType": null + }, + "optional": true, + "readOnly": false, + "required": false, + "sensitive": false + } + ], + "IsParent": false +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-CheckNameAvailability.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-CheckNameAvailability.json new file mode 100644 index 00000000000..d7aa137cdb6 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-CheckNameAvailability.json @@ -0,0 +1,24 @@ +{ + "name": "CheckNameAvailability", + "contentType": "application/json; charset=utf-8", + "description": "", + "expectedStatusCodes": [ + 200 + ], + "longRunning": false, + "httpMethod": "POST", + "resourceIdName": "SubscriptionId", + "requestObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CheckNameAvailability", + "referenceNameIsCommonType": null + }, + "responseObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CheckNameAvailabilityResult", + "referenceNameIsCommonType": null + }, + "uriSuffix": "/providers/Microsoft.CodeSigning/checkNameAvailability" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Create.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Create.json new file mode 100644 index 00000000000..95d2cb31bda --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Create.json @@ -0,0 +1,24 @@ +{ + "name": "Create", + "contentType": "application/json; charset=utf-8", + "description": "", + "expectedStatusCodes": [ + 200, + 201 + ], + "longRunning": true, + "httpMethod": "PUT", + "resourceIdName": "CodeSigningAccountId", + "requestObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CodeSigningAccount", + "referenceNameIsCommonType": null + }, + "responseObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CodeSigningAccount", + "referenceNameIsCommonType": null + } +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Delete.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Delete.json new file mode 100644 index 00000000000..ba334b5f93f --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Delete.json @@ -0,0 +1,12 @@ +{ + "name": "Delete", + "contentType": "application/json; charset=utf-8", + "description": "", + "expectedStatusCodes": [ + 202, + 204 + ], + "longRunning": true, + "httpMethod": "DELETE", + "resourceIdName": "CodeSigningAccountId" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Get.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Get.json new file mode 100644 index 00000000000..3cab6ccb7b6 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Get.json @@ -0,0 +1,17 @@ +{ + "name": "Get", + "contentType": "application/json; charset=utf-8", + "description": "", + "expectedStatusCodes": [ + 200 + ], + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "CodeSigningAccountId", + "responseObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CodeSigningAccount", + "referenceNameIsCommonType": null + } +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-ListByResourceGroup.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-ListByResourceGroup.json new file mode 100644 index 00000000000..cc4c96294f3 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-ListByResourceGroup.json @@ -0,0 +1,19 @@ +{ + "name": "ListByResourceGroup", + "contentType": "application/json; charset=utf-8", + "description": "", + "expectedStatusCodes": [ + 200 + ], + "fieldContainingPaginationDetails": "nextLink", + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "ResourceGroupId", + "responseObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CodeSigningAccount", + "referenceNameIsCommonType": null + }, + "uriSuffix": "/providers/Microsoft.CodeSigning/codeSigningAccounts" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-ListBySubscription.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-ListBySubscription.json new file mode 100644 index 00000000000..2f4e24a6f3d --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-ListBySubscription.json @@ -0,0 +1,19 @@ +{ + "name": "ListBySubscription", + "contentType": "application/json; charset=utf-8", + "description": "", + "expectedStatusCodes": [ + 200 + ], + "fieldContainingPaginationDetails": "nextLink", + "longRunning": false, + "httpMethod": "GET", + "resourceIdName": "SubscriptionId", + "responseObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CodeSigningAccount", + "referenceNameIsCommonType": null + }, + "uriSuffix": "/providers/Microsoft.CodeSigning/codeSigningAccounts" +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Update.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Update.json new file mode 100644 index 00000000000..0a2791fc801 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/Operation-Update.json @@ -0,0 +1,24 @@ +{ + "name": "Update", + "contentType": "application/json; charset=utf-8", + "description": "", + "expectedStatusCodes": [ + 200, + 202 + ], + "longRunning": true, + "httpMethod": "PATCH", + "resourceIdName": "CodeSigningAccountId", + "requestObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CodeSigningAccountPatch", + "referenceNameIsCommonType": null + }, + "responseObject": { + "type": "Reference", + "nullable": false, + "referenceName": "CodeSigningAccount", + "referenceNameIsCommonType": null + } +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/ResourceId-CodeSigningAccountId.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/ResourceId-CodeSigningAccountId.json new file mode 100644 index 00000000000..2461e302280 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/ResourceId-CodeSigningAccountId.json @@ -0,0 +1,51 @@ +{ + "name": "CodeSigningAccountId", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{codeSigningAccountName}", + "segments": [ + { + "exampleValue": "", + "name": "staticSubscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "exampleValue": "", + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "exampleValue": "", + "name": "staticResourceGroups", + "type": "Static", + "value": "resourceGroups" + }, + { + "exampleValue": "", + "name": "resourceGroupName", + "type": "ResourceGroup" + }, + { + "exampleValue": "", + "name": "staticProviders", + "type": "Static", + "value": "providers" + }, + { + "exampleValue": "", + "name": "staticMicrosoftCodeSigning", + "type": "ResourceProvider", + "value": "Microsoft.CodeSigning" + }, + { + "exampleValue": "", + "name": "staticCodeSigningAccounts", + "type": "Static", + "value": "codeSigningAccounts" + }, + { + "exampleValue": "codeSigningAccountName", + "name": "codeSigningAccountName", + "type": "UserSpecified" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/ResourceId-ResourceGroupId.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/ResourceId-ResourceGroupId.json new file mode 100644 index 00000000000..60318116e67 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/ResourceId-ResourceGroupId.json @@ -0,0 +1,29 @@ +{ + "name": "ResourceGroupId", + "commonAlias": "ResourceGroup", + "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}", + "segments": [ + { + "exampleValue": "", + "name": "subscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "exampleValue": "", + "name": "subscriptionId", + "type": "SubscriptionId" + }, + { + "exampleValue": "", + "name": "resourceGroups", + "type": "Static", + "value": "resourceGroups" + }, + { + "exampleValue": "", + "name": "resourceGroupName", + "type": "ResourceGroup" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/ResourceId-SubscriptionId.json b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/ResourceId-SubscriptionId.json new file mode 100644 index 00000000000..cba7e639167 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/2024-09-30-preview/CodeSigningAccounts/ResourceId-SubscriptionId.json @@ -0,0 +1,18 @@ +{ + "name": "SubscriptionId", + "commonAlias": "Subscription", + "id": "/subscriptions/{subscriptionId}", + "segments": [ + { + "exampleValue": "", + "name": "subscriptions", + "type": "Static", + "value": "subscriptions" + }, + { + "exampleValue": "", + "name": "subscriptionId", + "type": "SubscriptionId" + } + ] +} \ No newline at end of file diff --git a/api-definitions/resource-manager/CodeSigning/ServiceDefinition.json b/api-definitions/resource-manager/CodeSigning/ServiceDefinition.json new file mode 100644 index 00000000000..0ed57347291 --- /dev/null +++ b/api-definitions/resource-manager/CodeSigning/ServiceDefinition.json @@ -0,0 +1,5 @@ +{ + "name": "CodeSigning", + "resourceProvider": "Microsoft.CodeSigning", + "generate": true +} \ No newline at end of file