Skip to content

Commit f7c9c94

Browse files
author
SDKAuto
committed
CodeGen from PR 32282 in Azure/azure-rest-api-specs
Merge 3f8b2c6b438fc8bfb90100e29a602e69d8319bd5 into e0ef299f475a972c2856175014bf4f1e9873dda0
1 parent 7656cf2 commit f7c9c94

File tree

50 files changed

+784
-727
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+784
-727
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"CrossLanguagePackageId": "Microsoft.CodeSigning",
3+
"CrossLanguageDefinitionId": {
4+
"microsoft.codesigning.models.AccountSku": "Microsoft.CodeSigning.AccountSku",
5+
"microsoft.codesigning.models.AccountSkuPatch": "Microsoft.CodeSigning.AccountSkuPatch",
6+
"microsoft.codesigning.models.Certificate": "Microsoft.CodeSigning.Certificate",
7+
"microsoft.codesigning.models.Resource": "Azure.ResourceManager.CommonTypes.Resource",
8+
"microsoft.codesigning.models.ProxyResource": "Azure.ResourceManager.CommonTypes.ProxyResource",
9+
"microsoft.codesigning.models.CertificateProfile": "Microsoft.CodeSigning.CertificateProfile",
10+
"microsoft.codesigning.models.CertificateProfileProperties": "Microsoft.CodeSigning.CertificateProfileProperties",
11+
"microsoft.codesigning.models.CheckNameAvailability": "Microsoft.CodeSigning.CheckNameAvailability",
12+
"microsoft.codesigning.models.CheckNameAvailabilityResult": "Microsoft.CodeSigning.CheckNameAvailabilityResult",
13+
"microsoft.codesigning.models.TrackedResource": "Azure.ResourceManager.CommonTypes.TrackedResource",
14+
"microsoft.codesigning.models.CodeSigningAccount": "Microsoft.CodeSigning.CodeSigningAccount",
15+
"microsoft.codesigning.models.CodeSigningAccountPatch": "Microsoft.CodeSigning.CodeSigningAccountPatch",
16+
"microsoft.codesigning.models.CodeSigningAccountPatchProperties": "Microsoft.CodeSigning.CodeSigningAccountPatchProperties",
17+
"microsoft.codesigning.models.CodeSigningAccountProperties": "Microsoft.CodeSigning.CodeSigningAccountProperties",
18+
"microsoft.codesigning.models.ErrorAdditionalInfo": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
19+
"microsoft.codesigning.models.ErrorDetail": "Azure.ResourceManager.CommonTypes.ErrorDetail",
20+
"microsoft.codesigning.models.ErrorResponse": "Azure.ResourceManager.CommonTypes.ErrorResponse",
21+
"microsoft.codesigning.models.Operation": "Azure.ResourceManager.CommonTypes.Operation",
22+
"microsoft.codesigning.models.OperationDisplay": "Azure.ResourceManager.CommonTypes.OperationDisplay",
23+
"microsoft.codesigning.models.Revocation": "Microsoft.CodeSigning.Revocation",
24+
"microsoft.codesigning.models.RevokeCertificate": "Microsoft.CodeSigning.RevokeCertificate",
25+
"microsoft.codesigning.models.SystemData": "Azure.ResourceManager.CommonTypes.SystemData",
26+
"microsoft.codesigning.models.Origin": "Azure.ResourceManager.CommonTypes.Origin",
27+
"microsoft.codesigning.models.ActionType": "Azure.ResourceManager.CommonTypes.ActionType",
28+
"microsoft.codesigning.models.CreatedByType": "Azure.ResourceManager.CommonTypes.createdByType",
29+
"microsoft.codesigning.models.SkuName": "Microsoft.CodeSigning.SkuName",
30+
"microsoft.codesigning.models.ProvisioningState": "Microsoft.CodeSigning.ProvisioningState",
31+
"microsoft.codesigning.models.NameUnavailabilityReason": "Microsoft.CodeSigning.NameUnavailabilityReason",
32+
"microsoft.codesigning.models.ProfileType": "Microsoft.CodeSigning.ProfileType",
33+
"microsoft.codesigning.models.CertificateProfileStatus": "Microsoft.CodeSigning.CertificateProfileStatus",
34+
"microsoft.codesigning.models.CertificateStatus": "Microsoft.CodeSigning.CertificateStatus",
35+
"microsoft.codesigning.models.RevocationStatus": "Microsoft.CodeSigning.RevocationStatus",
36+
"microsoft.codesigning.TrustedSigningMgmtClient.operations.list": "Azure.ResourceManager.Operations.list",
37+
"microsoft.codesigning.TrustedSigningMgmtClient.code_signing_accounts.get": "Microsoft.CodeSigning.CodeSigningAccounts.get",
38+
"microsoft.codesigning.TrustedSigningMgmtClient.code_signing_accounts.begin_create": "Microsoft.CodeSigning.CodeSigningAccounts.create",
39+
"microsoft.codesigning.TrustedSigningMgmtClient.code_signing_accounts.begin_update": "Microsoft.CodeSigning.CodeSigningAccounts.update",
40+
"microsoft.codesigning.TrustedSigningMgmtClient.code_signing_accounts.begin_delete": "Microsoft.CodeSigning.CodeSigningAccounts.delete",
41+
"microsoft.codesigning.TrustedSigningMgmtClient.code_signing_accounts.list_by_resource_group": "Microsoft.CodeSigning.CodeSigningAccounts.listByResourceGroup",
42+
"microsoft.codesigning.TrustedSigningMgmtClient.code_signing_accounts.list_by_subscription": "Microsoft.CodeSigning.CodeSigningAccounts.listBySubscription",
43+
"microsoft.codesigning.TrustedSigningMgmtClient.code_signing_accounts.check_name_availability": "Microsoft.CodeSigning.CodeSigningAccounts.checkNameAvailability",
44+
"microsoft.codesigning.TrustedSigningMgmtClient.certificate_profiles.get": "Microsoft.CodeSigning.CertificateProfiles.get",
45+
"microsoft.codesigning.TrustedSigningMgmtClient.certificate_profiles.begin_create": "Microsoft.CodeSigning.CertificateProfiles.create",
46+
"microsoft.codesigning.TrustedSigningMgmtClient.certificate_profiles.begin_delete": "Microsoft.CodeSigning.CertificateProfiles.delete",
47+
"microsoft.codesigning.TrustedSigningMgmtClient.certificate_profiles.list_by_code_signing_account": "Microsoft.CodeSigning.CertificateProfiles.listByCodeSigningAccount",
48+
"microsoft.codesigning.TrustedSigningMgmtClient.certificate_profiles.revoke_certificate": "Microsoft.CodeSigning.CertificateProfiles.revokeCertificate"
49+
}
50+
}

sdk/trustedsigning/azure-mgmt-trustedsigning/azure/mgmt/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

sdk/trustedsigning/azure-mgmt-trustedsigning/generated_samples/certificate_profiles_create.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
from azure.identity import DefaultAzureCredential
1010

11-
from azure.mgmt.trustedsigning import TrustedSigningMgmtClient
11+
from microsoft.codesigning import TrustedSigningMgmtClient
1212

1313
"""
1414
# PREREQUISITES
1515
pip install azure-identity
16-
pip install azure-mgmt-trustedsigning
16+
pip install microsoft-codesigning
1717
# USAGE
1818
python certificate_profiles_create.py
1919
@@ -46,6 +46,6 @@ def main():
4646
print(response)
4747

4848

49-
# x-ms-original-file: 2024-02-05-preview/CertificateProfiles_Create.json
49+
# x-ms-original-file: 2024-09-30-preview/CertificateProfiles_Create.json
5050
if __name__ == "__main__":
5151
main()

sdk/trustedsigning/azure-mgmt-trustedsigning/generated_samples/certificate_profiles_delete.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
from azure.identity import DefaultAzureCredential
1010

11-
from azure.mgmt.trustedsigning import TrustedSigningMgmtClient
11+
from microsoft.codesigning import TrustedSigningMgmtClient
1212

1313
"""
1414
# PREREQUISITES
1515
pip install azure-identity
16-
pip install azure-mgmt-trustedsigning
16+
pip install microsoft-codesigning
1717
# USAGE
1818
python certificate_profiles_delete.py
1919
@@ -37,6 +37,6 @@ def main():
3737
).result()
3838

3939

40-
# x-ms-original-file: 2024-02-05-preview/CertificateProfiles_Delete.json
40+
# x-ms-original-file: 2024-09-30-preview/CertificateProfiles_Delete.json
4141
if __name__ == "__main__":
4242
main()

sdk/trustedsigning/azure-mgmt-trustedsigning/generated_samples/certificate_profiles_get.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
from azure.identity import DefaultAzureCredential
1010

11-
from azure.mgmt.trustedsigning import TrustedSigningMgmtClient
11+
from microsoft.codesigning import TrustedSigningMgmtClient
1212

1313
"""
1414
# PREREQUISITES
1515
pip install azure-identity
16-
pip install azure-mgmt-trustedsigning
16+
pip install microsoft-codesigning
1717
# USAGE
1818
python certificate_profiles_get.py
1919
@@ -38,6 +38,6 @@ def main():
3838
print(response)
3939

4040

41-
# x-ms-original-file: 2024-02-05-preview/CertificateProfiles_Get.json
41+
# x-ms-original-file: 2024-09-30-preview/CertificateProfiles_Get.json
4242
if __name__ == "__main__":
4343
main()

sdk/trustedsigning/azure-mgmt-trustedsigning/generated_samples/certificate_profiles_list_by_code_signing_account.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
from azure.identity import DefaultAzureCredential
1010

11-
from azure.mgmt.trustedsigning import TrustedSigningMgmtClient
11+
from microsoft.codesigning import TrustedSigningMgmtClient
1212

1313
"""
1414
# PREREQUISITES
1515
pip install azure-identity
16-
pip install azure-mgmt-trustedsigning
16+
pip install microsoft-codesigning
1717
# USAGE
1818
python certificate_profiles_list_by_code_signing_account.py
1919
@@ -38,6 +38,6 @@ def main():
3838
print(item)
3939

4040

41-
# x-ms-original-file: 2024-02-05-preview/CertificateProfiles_ListByCodeSigningAccount.json
41+
# x-ms-original-file: 2024-09-30-preview/CertificateProfiles_ListByCodeSigningAccount.json
4242
if __name__ == "__main__":
4343
main()

sdk/trustedsigning/azure-mgmt-trustedsigning/generated_samples/certificate_profiles_revoke_certificate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
from azure.identity import DefaultAzureCredential
1010

11-
from azure.mgmt.trustedsigning import TrustedSigningMgmtClient
11+
from microsoft.codesigning import TrustedSigningMgmtClient
1212

1313
"""
1414
# PREREQUISITES
1515
pip install azure-identity
16-
pip install azure-mgmt-trustedsigning
16+
pip install microsoft-codesigning
1717
# USAGE
1818
python certificate_profiles_revoke_certificate.py
1919
@@ -44,6 +44,6 @@ def main():
4444
)
4545

4646

47-
# x-ms-original-file: 2024-02-05-preview/CertificateProfiles_RevokeCertificate.json
47+
# x-ms-original-file: 2024-09-30-preview/CertificateProfiles_RevokeCertificate.json
4848
if __name__ == "__main__":
4949
main()

sdk/trustedsigning/azure-mgmt-trustedsigning/generated_samples/code_signing_accounts_check_name_availability.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
from azure.identity import DefaultAzureCredential
1010

11-
from azure.mgmt.trustedsigning import TrustedSigningMgmtClient
11+
from microsoft.codesigning import TrustedSigningMgmtClient
1212

1313
"""
1414
# PREREQUISITES
1515
pip install azure-identity
16-
pip install azure-mgmt-trustedsigning
16+
pip install microsoft-codesigning
1717
# USAGE
1818
python code_signing_accounts_check_name_availability.py
1919
@@ -36,6 +36,6 @@ def main():
3636
print(response)
3737

3838

39-
# x-ms-original-file: 2024-02-05-preview/CodeSigningAccounts_CheckNameAvailability.json
39+
# x-ms-original-file: 2024-09-30-preview/CodeSigningAccounts_CheckNameAvailability.json
4040
if __name__ == "__main__":
4141
main()

sdk/trustedsigning/azure-mgmt-trustedsigning/generated_samples/code_signing_accounts_create.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
from azure.identity import DefaultAzureCredential
1010

11-
from azure.mgmt.trustedsigning import TrustedSigningMgmtClient
11+
from microsoft.codesigning import TrustedSigningMgmtClient
1212

1313
"""
1414
# PREREQUISITES
1515
pip install azure-identity
16-
pip install azure-mgmt-trustedsigning
16+
pip install microsoft-codesigning
1717
# USAGE
1818
python code_signing_accounts_create.py
1919
@@ -38,6 +38,6 @@ def main():
3838
print(response)
3939

4040

41-
# x-ms-original-file: 2024-02-05-preview/CodeSigningAccounts_Create.json
41+
# x-ms-original-file: 2024-09-30-preview/CodeSigningAccounts_Create.json
4242
if __name__ == "__main__":
4343
main()

sdk/trustedsigning/azure-mgmt-trustedsigning/generated_samples/code_signing_accounts_delete.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
from azure.identity import DefaultAzureCredential
1010

11-
from azure.mgmt.trustedsigning import TrustedSigningMgmtClient
11+
from microsoft.codesigning import TrustedSigningMgmtClient
1212

1313
"""
1414
# PREREQUISITES
1515
pip install azure-identity
16-
pip install azure-mgmt-trustedsigning
16+
pip install microsoft-codesigning
1717
# USAGE
1818
python code_signing_accounts_delete.py
1919
@@ -36,6 +36,6 @@ def main():
3636
).result()
3737

3838

39-
# x-ms-original-file: 2024-02-05-preview/CodeSigningAccounts_Delete.json
39+
# x-ms-original-file: 2024-09-30-preview/CodeSigningAccounts_Delete.json
4040
if __name__ == "__main__":
4141
main()

0 commit comments

Comments
 (0)