-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* base commit * added 2024-09-30 api version * fixed tsv validation * fixed prettier failures --------- Co-authored-by: Manish Patil (from Dev Box) <mapatil@microsoft.com>
- Loading branch information
1 parent
a6c483b
commit d00f699
Showing
31 changed files
with
2,327 additions
and
4 deletions.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
...igning/CodeSigning.Management/examples/2024-09-30-preview/CertificateProfiles_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |
23 changes: 23 additions & 0 deletions
23
...igning/CodeSigning.Management/examples/2024-09-30-preview/CertificateProfiles_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |
42 changes: 42 additions & 0 deletions
42
...designing/CodeSigning.Management/examples/2024-09-30-preview/CertificateProfiles_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |
45 changes: 45 additions & 0 deletions
45
....Management/examples/2024-09-30-preview/CertificateProfiles_ListByCodeSigningAccount.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |
21 changes: 21 additions & 0 deletions
21
...Signing.Management/examples/2024-09-30-preview/CertificateProfiles_RevokeCertificate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |
18 changes: 18 additions & 0 deletions
18
...ing.Management/examples/2024-09-30-preview/CodeSigningAccounts_CheckNameAvailability.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |
48 changes: 48 additions & 0 deletions
48
...igning/CodeSigning.Management/examples/2024-09-30-preview/CodeSigningAccounts_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |
24 changes: 24 additions & 0 deletions
24
...igning/CodeSigning.Management/examples/2024-09-30-preview/CodeSigningAccounts_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |
29 changes: 29 additions & 0 deletions
29
...designing/CodeSigning.Management/examples/2024-09-30-preview/CodeSigningAccounts_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
32 changes: 32 additions & 0 deletions
32
...gning.Management/examples/2024-09-30-preview/CodeSigningAccounts_ListByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |
31 changes: 31 additions & 0 deletions
31
...igning.Management/examples/2024-09-30-preview/CodeSigningAccounts_ListBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | ||
} |
Oops, something went wrong.