Skip to content

Commit 015b32d

Browse files
author
SDKAuto
committed
CodeGen from PR 32911 in Azure/azure-rest-api-specs
Merge ce383e247823d434926d8bb99253debd1e5fff9f into 8866c967c373880466ffc168729c82d7b59d3b9b
1 parent e292362 commit 015b32d

31 files changed

+9328
-363
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"output-folder": ".",
3+
"namespace": "Azure.ResourceManager.TrustedSigning",
4+
"library-name": "Azure.ResourceManager.TrustedSigning",
5+
"flavor": "azure",
6+
"use-model-reader-writer": true,
7+
"shared-source-folders": [
8+
"../../TempTypeSpecFiles/node_modules/@autorest/csharp/Generator.Shared",
9+
"../../TempTypeSpecFiles/node_modules/@autorest/csharp/Azure.Core.Shared"
10+
],
11+
"model-namespace": false,
12+
"azure-arm": true
13+
}

sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/api/Azure.ResourceManager.TrustedSigning.net8.0.cs

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,24 +79,15 @@ public partial class TrustedSigningCertificateProfileData : Azure.ResourceManage
7979
{
8080
public TrustedSigningCertificateProfileData() { }
8181
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificate> Certificates { get { throw null; } }
82-
public string City { get { throw null; } }
83-
public string CommonName { get { throw null; } }
84-
public string Country { get { throw null; } }
85-
public string EnhancedKeyUsage { get { throw null; } }
8682
public string IdentityValidationId { get { throw null; } set { } }
8783
public bool? IncludeCity { get { throw null; } set { } }
8884
public bool? IncludeCountry { get { throw null; } set { } }
8985
public bool? IncludePostalCode { get { throw null; } set { } }
9086
public bool? IncludeState { get { throw null; } set { } }
9187
public bool? IncludeStreetAddress { get { throw null; } set { } }
92-
public string Organization { get { throw null; } }
93-
public string OrganizationUnit { get { throw null; } }
94-
public string PostalCode { get { throw null; } }
9588
public Azure.ResourceManager.TrustedSigning.Models.CertificateProfileType? ProfileType { get { throw null; } set { } }
9689
public Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState? ProvisioningState { get { throw null; } }
97-
public string State { get { throw null; } }
9890
public Azure.ResourceManager.TrustedSigning.Models.CertificateProfileStatus? Status { get { throw null; } }
99-
public string StreetAddress { get { throw null; } }
10091
protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
10192
Azure.ResourceManager.TrustedSigning.TrustedSigningCertificateProfileData System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.TrustedSigning.TrustedSigningCertificateProfileData>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
10293
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.TrustedSigning.TrustedSigningCertificateProfileData>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
@@ -169,8 +160,8 @@ public static partial class ArmTrustedSigningModelFactory
169160
public static Azure.ResourceManager.TrustedSigning.Models.RevokeCertificateContent RevokeCertificateContent(string serialNumber = null, string thumbprint = null, System.DateTimeOffset effectiveOn = default(System.DateTimeOffset), string reason = null, string remarks = null) { throw null; }
170161
public static Azure.ResourceManager.TrustedSigning.TrustedSigningAccountData TrustedSigningAccountData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string, string> tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), System.Uri accountUri = null, Azure.ResourceManager.TrustedSigning.Models.TrustedSigningSkuName? skuName = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningSkuName?), Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState? provisioningState = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState?)) { throw null; }
171162
public static Azure.ResourceManager.TrustedSigning.Models.TrustedSigningAccountNameAvailabilityResult TrustedSigningAccountNameAvailabilityResult(bool? isNameAvailable = default(bool?), Azure.ResourceManager.TrustedSigning.Models.TrustedSigningAccountNameUnavailabilityReason? reason = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningAccountNameUnavailabilityReason?), string message = null) { throw null; }
172-
public static Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificate TrustedSigningCertificate(string serialNumber = null, string subjectName = null, string thumbprint = null, System.DateTimeOffset? createOn = default(System.DateTimeOffset?), System.DateTimeOffset? expireOn = default(System.DateTimeOffset?), Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificateStatus? status = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificateStatus?), System.DateTimeOffset? requestedOn = default(System.DateTimeOffset?), System.DateTimeOffset? effectiveOn = default(System.DateTimeOffset?), string reason = null, string remarks = null, Azure.ResourceManager.TrustedSigning.Models.CertificateRevocationStatus? statusRevocationStatus = default(Azure.ResourceManager.TrustedSigning.Models.CertificateRevocationStatus?), string failureReason = null) { throw null; }
173-
public static Azure.ResourceManager.TrustedSigning.TrustedSigningCertificateProfileData TrustedSigningCertificateProfileData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.TrustedSigning.Models.CertificateProfileType? profileType = default(Azure.ResourceManager.TrustedSigning.Models.CertificateProfileType?), string commonName = null, string organization = null, string organizationUnit = null, string streetAddress = null, bool? includeStreetAddress = default(bool?), string city = null, bool? includeCity = default(bool?), string state = null, bool? includeState = default(bool?), string country = null, bool? includeCountry = default(bool?), string postalCode = null, bool? includePostalCode = default(bool?), string enhancedKeyUsage = null, string identityValidationId = null, Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState? provisioningState = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState?), Azure.ResourceManager.TrustedSigning.Models.CertificateProfileStatus? status = default(Azure.ResourceManager.TrustedSigning.Models.CertificateProfileStatus?), System.Collections.Generic.IEnumerable<Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificate> certificates = null) { throw null; }
163+
public static Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificate TrustedSigningCertificate(string serialNumber = null, string enhancedKeyUsage = null, string subjectName = null, string thumbprint = null, System.DateTimeOffset? createOn = default(System.DateTimeOffset?), System.DateTimeOffset? expireOn = default(System.DateTimeOffset?), Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificateStatus? status = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificateStatus?), System.DateTimeOffset? requestedOn = default(System.DateTimeOffset?), System.DateTimeOffset? effectiveOn = default(System.DateTimeOffset?), string reason = null, string remarks = null, Azure.ResourceManager.TrustedSigning.Models.CertificateRevocationStatus? statusRevocationStatus = default(Azure.ResourceManager.TrustedSigning.Models.CertificateRevocationStatus?), string failureReason = null) { throw null; }
164+
public static Azure.ResourceManager.TrustedSigning.TrustedSigningCertificateProfileData TrustedSigningCertificateProfileData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.TrustedSigning.Models.CertificateProfileType? profileType = default(Azure.ResourceManager.TrustedSigning.Models.CertificateProfileType?), bool? includeStreetAddress = default(bool?), bool? includeCity = default(bool?), bool? includeState = default(bool?), bool? includeCountry = default(bool?), bool? includePostalCode = default(bool?), string identityValidationId = null, Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState? provisioningState = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState?), Azure.ResourceManager.TrustedSigning.Models.CertificateProfileStatus? status = default(Azure.ResourceManager.TrustedSigning.Models.CertificateProfileStatus?), System.Collections.Generic.IEnumerable<Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificate> certificates = null) { throw null; }
174165
}
175166
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
176167
public readonly partial struct CertificateProfileStatus : System.IEquatable<Azure.ResourceManager.TrustedSigning.Models.CertificateProfileStatus>
@@ -306,6 +297,7 @@ public partial class TrustedSigningCertificate : System.ClientModel.Primitives.I
306297
internal TrustedSigningCertificate() { }
307298
public System.DateTimeOffset? CreateOn { get { throw null; } }
308299
public System.DateTimeOffset? EffectiveOn { get { throw null; } }
300+
public string EnhancedKeyUsage { get { throw null; } }
309301
public System.DateTimeOffset? ExpireOn { get { throw null; } }
310302
public string FailureReason { get { throw null; } }
311303
public string Reason { get { throw null; } }

sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/api/Azure.ResourceManager.TrustedSigning.netstandard2.0.cs

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,24 +79,15 @@ public partial class TrustedSigningCertificateProfileData : Azure.ResourceManage
7979
{
8080
public TrustedSigningCertificateProfileData() { }
8181
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificate> Certificates { get { throw null; } }
82-
public string City { get { throw null; } }
83-
public string CommonName { get { throw null; } }
84-
public string Country { get { throw null; } }
85-
public string EnhancedKeyUsage { get { throw null; } }
8682
public string IdentityValidationId { get { throw null; } set { } }
8783
public bool? IncludeCity { get { throw null; } set { } }
8884
public bool? IncludeCountry { get { throw null; } set { } }
8985
public bool? IncludePostalCode { get { throw null; } set { } }
9086
public bool? IncludeState { get { throw null; } set { } }
9187
public bool? IncludeStreetAddress { get { throw null; } set { } }
92-
public string Organization { get { throw null; } }
93-
public string OrganizationUnit { get { throw null; } }
94-
public string PostalCode { get { throw null; } }
9588
public Azure.ResourceManager.TrustedSigning.Models.CertificateProfileType? ProfileType { get { throw null; } set { } }
9689
public Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState? ProvisioningState { get { throw null; } }
97-
public string State { get { throw null; } }
9890
public Azure.ResourceManager.TrustedSigning.Models.CertificateProfileStatus? Status { get { throw null; } }
99-
public string StreetAddress { get { throw null; } }
10091
protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
10192
Azure.ResourceManager.TrustedSigning.TrustedSigningCertificateProfileData System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.TrustedSigning.TrustedSigningCertificateProfileData>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
10293
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.TrustedSigning.TrustedSigningCertificateProfileData>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
@@ -169,8 +160,8 @@ public static partial class ArmTrustedSigningModelFactory
169160
public static Azure.ResourceManager.TrustedSigning.Models.RevokeCertificateContent RevokeCertificateContent(string serialNumber = null, string thumbprint = null, System.DateTimeOffset effectiveOn = default(System.DateTimeOffset), string reason = null, string remarks = null) { throw null; }
170161
public static Azure.ResourceManager.TrustedSigning.TrustedSigningAccountData TrustedSigningAccountData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary<string, string> tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), System.Uri accountUri = null, Azure.ResourceManager.TrustedSigning.Models.TrustedSigningSkuName? skuName = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningSkuName?), Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState? provisioningState = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState?)) { throw null; }
171162
public static Azure.ResourceManager.TrustedSigning.Models.TrustedSigningAccountNameAvailabilityResult TrustedSigningAccountNameAvailabilityResult(bool? isNameAvailable = default(bool?), Azure.ResourceManager.TrustedSigning.Models.TrustedSigningAccountNameUnavailabilityReason? reason = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningAccountNameUnavailabilityReason?), string message = null) { throw null; }
172-
public static Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificate TrustedSigningCertificate(string serialNumber = null, string subjectName = null, string thumbprint = null, System.DateTimeOffset? createOn = default(System.DateTimeOffset?), System.DateTimeOffset? expireOn = default(System.DateTimeOffset?), Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificateStatus? status = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificateStatus?), System.DateTimeOffset? requestedOn = default(System.DateTimeOffset?), System.DateTimeOffset? effectiveOn = default(System.DateTimeOffset?), string reason = null, string remarks = null, Azure.ResourceManager.TrustedSigning.Models.CertificateRevocationStatus? statusRevocationStatus = default(Azure.ResourceManager.TrustedSigning.Models.CertificateRevocationStatus?), string failureReason = null) { throw null; }
173-
public static Azure.ResourceManager.TrustedSigning.TrustedSigningCertificateProfileData TrustedSigningCertificateProfileData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.TrustedSigning.Models.CertificateProfileType? profileType = default(Azure.ResourceManager.TrustedSigning.Models.CertificateProfileType?), string commonName = null, string organization = null, string organizationUnit = null, string streetAddress = null, bool? includeStreetAddress = default(bool?), string city = null, bool? includeCity = default(bool?), string state = null, bool? includeState = default(bool?), string country = null, bool? includeCountry = default(bool?), string postalCode = null, bool? includePostalCode = default(bool?), string enhancedKeyUsage = null, string identityValidationId = null, Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState? provisioningState = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState?), Azure.ResourceManager.TrustedSigning.Models.CertificateProfileStatus? status = default(Azure.ResourceManager.TrustedSigning.Models.CertificateProfileStatus?), System.Collections.Generic.IEnumerable<Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificate> certificates = null) { throw null; }
163+
public static Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificate TrustedSigningCertificate(string serialNumber = null, string enhancedKeyUsage = null, string subjectName = null, string thumbprint = null, System.DateTimeOffset? createOn = default(System.DateTimeOffset?), System.DateTimeOffset? expireOn = default(System.DateTimeOffset?), Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificateStatus? status = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificateStatus?), System.DateTimeOffset? requestedOn = default(System.DateTimeOffset?), System.DateTimeOffset? effectiveOn = default(System.DateTimeOffset?), string reason = null, string remarks = null, Azure.ResourceManager.TrustedSigning.Models.CertificateRevocationStatus? statusRevocationStatus = default(Azure.ResourceManager.TrustedSigning.Models.CertificateRevocationStatus?), string failureReason = null) { throw null; }
164+
public static Azure.ResourceManager.TrustedSigning.TrustedSigningCertificateProfileData TrustedSigningCertificateProfileData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.TrustedSigning.Models.CertificateProfileType? profileType = default(Azure.ResourceManager.TrustedSigning.Models.CertificateProfileType?), bool? includeStreetAddress = default(bool?), bool? includeCity = default(bool?), bool? includeState = default(bool?), bool? includeCountry = default(bool?), bool? includePostalCode = default(bool?), string identityValidationId = null, Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState? provisioningState = default(Azure.ResourceManager.TrustedSigning.Models.TrustedSigningProvisioningState?), Azure.ResourceManager.TrustedSigning.Models.CertificateProfileStatus? status = default(Azure.ResourceManager.TrustedSigning.Models.CertificateProfileStatus?), System.Collections.Generic.IEnumerable<Azure.ResourceManager.TrustedSigning.Models.TrustedSigningCertificate> certificates = null) { throw null; }
174165
}
175166
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
176167
public readonly partial struct CertificateProfileStatus : System.IEquatable<Azure.ResourceManager.TrustedSigning.Models.CertificateProfileStatus>
@@ -306,6 +297,7 @@ public partial class TrustedSigningCertificate : System.ClientModel.Primitives.I
306297
internal TrustedSigningCertificate() { }
307298
public System.DateTimeOffset? CreateOn { get { throw null; } }
308299
public System.DateTimeOffset? EffectiveOn { get { throw null; } }
300+
public string EnhancedKeyUsage { get { throw null; } }
309301
public System.DateTimeOffset? ExpireOn { get { throw null; } }
310302
public string FailureReason { get { throw null; } }
311303
public string Reason { get { throw null; } }

0 commit comments

Comments
 (0)