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 0000000000..50043d2a14 --- /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 0000000000..be25f0597b --- /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 0000000000..b9952b4e8f --- /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 0000000000..fbfeffa5bd --- /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 0000000000..185871d533 --- /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 0000000000..660d9e788a --- /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 0000000000..ea0a3437ea --- /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 0000000000..02374f3bf4 --- /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 0000000000..3ff318de3e --- /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 0000000000..9369a595ce --- /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 0000000000..47275ea931 --- /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 0000000000..011270e54f --- /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 0000000000..3a5813fb5b --- /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 0000000000..e71fa56186 --- /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 0000000000..19d7c9959d --- /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 0000000000..5a0f91b03c --- /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 0000000000..51a218713e --- /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 0000000000..2461e30228 --- /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 0000000000..c98cc02369 --- /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 0000000000..185871d533 --- /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 0000000000..a16e419fac --- /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 0000000000..d0ab3ebe8b --- /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 0000000000..62765db3b0 --- /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 0000000000..0c503d12de --- /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 0000000000..c413592233 --- /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 0000000000..52841de241 --- /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 0000000000..054f5686f5 --- /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 0000000000..f5c43b7e52 --- /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 0000000000..51bb15d76c --- /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 0000000000..d7aa137cdb --- /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 0000000000..95d2cb31bd --- /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 0000000000..ba334b5f93 --- /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 0000000000..3cab6ccb7b --- /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 0000000000..cc4c96294f --- /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 0000000000..2f4e24a6f3 --- /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 0000000000..0a2791fc80 --- /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 0000000000..2461e30228 --- /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 0000000000..60318116e6 --- /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 0000000000..cba7e63916 --- /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 0000000000..0ed5734729 --- /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