Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre GA readiness changes #30685

Merged
merged 4 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"parameters": {
"accountName": "MyAccount",
"api-version": "2024-09-30-preview",
"resource": {
"properties": {
"profileType": "PublicTrust",
"identityValidationId": "00000000-1234-5678-3333-444444444444",
"includePostalCode": true,
"includeStreetAddress": false
}
},
"profileName": "profileA",
"resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"200": {
"body": {
"name": "profileA",
"type": "Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles",
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.CodeSigning/codeSigningAccounts/MyAccount/certificateProfiles/profileA",
"properties": {
"certificates": [
{
"createdDate": "3/14/2023 5:27:49 PM",
"expiryDate": "3/17/2023 5:27:49 PM",
"enhancedKeyUsage": "1.3.6.1.4.1.311.yy.xxxxxxxx.xxxxxxxx.xxxxxxxxx.xxxxxxxx",
"serialNumber": "xxxxxxxxxxxxxxxxxx",
"status": "Active",
"subjectName": "CN=Contoso Inc, O=Contoso Inc, L=New York, S=New York, C=US",
"thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
],
"identityValidationId": "00000000-1234-5678-3333-444444444444",
"includeCity": false,
"includeCountry": false,
"includePostalCode": true,
"includeState": false,
"includeStreetAddress": false,
"profileType": "PublicTrust",
"provisioningState": "Succeeded",
"status": "Active"
}
}
},
"201": {
"body": {
"name": "profileA",
"type": "Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.CodeSigning/codeSigningAccounts/MyAccount/certificateProfiles/profileA",
"properties": {
"certificates": [],
"identityValidationId": "00000000-1234-5678-3333-444444444444",
"includeCity": false,
"includeCountry": false,
"includePostalCode": true,
"includeState": false,
"includeStreetAddress": false,
"profileType": "PublicTrust",
"provisioningState": "Succeeded"
}
}
}
},
"operationId": "CertificateProfiles_Create",
"title": "Create a certificate profile."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"accountName": "MyAccount",
"api-version": "2024-09-30-preview",
"profileName": "profileA",
"resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"204": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
}
},
"operationId": "CertificateProfiles_Delete",
"title": "Delete a certificate profile."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"accountName": "MyAccount",
"api-version": "2024-09-30-preview",
"profileName": "profileA",
"resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"200": {
"body": {
"name": "profileA",
"type": "Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.CodeSigning/codeSigningAccounts/MyAccount/certificateProfiles/profileA",
"properties": {
"certificates": [
{
"createdDate": "3/14/2023 5:27:49 PM",
"expiryDate": "3/17/2023 5:27:49 PM",
"enhancedKeyUsage": "1.3.6.1.4.1.311.yy.xxxxxxxx.xxxxxxxx.xxxxxxxxx.xxxxxxxx",
"serialNumber": "xxxxxxxxxxxxxxxxxx",
"status": "Active",
"subjectName": "CN=Contoso Inc, O=Contoso Inc, L=New York, S=New York, C=US",
"thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
],
"identityValidationId": "123456",
"includeCity": false,
"includeCountry": false,
"includePostalCode": true,
"includeState": false,
"includeStreetAddress": false,
"profileType": "PublicTrust",
"provisioningState": "Succeeded",
"status": "Active"
}
}
}
},
"operationId": "CertificateProfiles_Get",
"title": "Get details of a certificate profile."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"accountName": "MyAccount",
"api-version": "2024-09-30-preview",
"resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "profileA",
"type": "Microsoft.CodeSigning/codeSigningAccounts/certificateProfiles",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.CodeSigning/codeSigningAccounts/profileA",
"properties": {
"certificates": [
{
"createdDate": "3/14/2023 5:27:49 PM",
"expiryDate": "3/17/2023 5:27:49 PM",
"enhancedKeyUsage": "1.3.6.1.4.1.311.yy.xxxxxxxx.xxxxxxxx.xxxxxxxxx.xxxxxxxx",
"serialNumber": "xxxxxxxxxxxxxxxxxx",
"status": "Active",
"subjectName": "CN=Contoso Inc, O=Contoso Inc, L=New York, S=New York, C=US",
"thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
],
"identityValidationId": "123456",
"includeCity": false,
"includeCountry": false,
"includePostalCode": true,
"includeState": false,
"includeStreetAddress": false,
"profileType": "PublicTrust",
"provisioningState": "Succeeded",
"status": "Active"
}
}
]
}
}
},
"operationId": "CertificateProfiles_ListByCodeSigningAccount",
"title": "List certificate profiles under a trusted signing account."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"accountName": "MyAccount",
"api-version": "2024-09-30-preview",
"profileName": "profileA",
"resourceGroupName": "MyResourceGroup",
"body": {
"effectiveAt": "2023-11-12T23:40:25+00:00",
"reason": "KeyCompromised",
"remarks": "test",
"serialNumber": "xxxxxxxxxxxxxxxxxx",
"thumbprint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
},
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"204": {}
},
"operationId": "CertificateProfiles_RevokeCertificate",
"title": "Revoke a certificate under a certificate profile."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"body": {
"name": "sample-account"
},
"api-version": "2024-09-30-preview",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"200": {
"body": {
"nameAvailable": true
}
}
},
"operationId": "CodeSigningAccounts_CheckNameAvailability",
"title": "Checks that the trusted signing account name is available."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"accountName": "MyAccount",
"api-version": "2024-09-30-preview",
"resource": {
"location": "westus",
"properties": {
"sku": {
"name": "Basic"
}
}
},
"resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"200": {
"body": {
"name": "MyAccount",
"type": "Microsoft.CodeSigning/codeSigningAccounts",
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.CodeSigning/codeSigningAccounts/MyAccount",
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"sku": {
"name": "Basic"
}
}
}
},
"201": {
"body": {
"name": "MyAccount",
"type": "Microsoft.CodeSigning/codeSigningAccounts",
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.CodeSigning/codeSigningAccounts/MyAccount",
"location": "westus",
"properties": {
"provisioningState": "Accepted",
"sku": {
"name": "Basic"
}
}
}
}
},
"operationId": "CodeSigningAccounts_Create",
"title": "Create a trusted Signing Account."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"accountName": "MyAccount",
"api-version": "2024-09-30-preview",
"resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status",
"location": "http://azure.async.operation/status"
}
},
"204": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status",
"location": "http://azure.async.operation/status"
}
}
},
"operationId": "CodeSigningAccounts_Delete",
"title": "Delete a trusted signing account."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"accountName": "MyAccount",
"api-version": "2024-09-30-preview",
"resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"200": {
"body": {
"name": "MyAccount",
"type": "Microsoft.CodeSigning/codeSigningAccounts",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.CodeSigning/codeSigningAccounts/MyAccount",
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"sku": {
"name": "Basic"
}
},
"tags": {
"key1": "value1"
}
}
}
},
"operationId": "CodeSigningAccounts_Get",
"title": "Get a Trusted Signing Account"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"api-version": "2024-09-30-preview",
"resourceGroupName": "MyResourceGroup",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "alpha",
"type": "Microsoft.CodeSigning/codeSigningAccounts",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.CodeSigning/codeSigningAccounts/MyAccount",
"location": "westcentralus",
"properties": {
"provisioningState": "Succeeded",
"sku": {
"name": "Basic"
}
},
"tags": {
"key1": "value1"
}
}
]
}
}
},
"operationId": "CodeSigningAccounts_ListByResourceGroup",
"title": "Lists trusted signing accounts within a resource group."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"api-version": "2024-09-30-preview",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "alpha",
"type": "Microsoft.CodeSigning/codeSigningAccounts",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/MyResourceGroup/providers/Microsoft.CodeSigning/codeSigningAccounts/MyAccount",
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"sku": {
"name": "Basic"
}
},
"tags": {
"key1": "value1"
}
}
]
}
}
},
"operationId": "CodeSigningAccounts_ListBySubscription",
"title": "Lists trusted signing accounts within a subscription."
}
Loading