@@ -35,7 +35,7 @@ type EnrollmentPatternCreateRequest struct {
3535// EnrollmentPatternRequest represents the request structure for updating an enrollment pattern
3636type EnrollmentPatternRequest struct {
3737 Name string `json:"Name"`
38- Description * string `json:"Description,omitempty"`
38+ Description string `json:"Description,omitempty"`
3939 TemplateDefault bool `json:"TemplateDefault,omitempty"`
4040 AssociatedRoles []string `json:"AssociatedRoles,omitempty"`
4141 UseADPermissions bool `json:"UseADPermissions,omitempty"`
@@ -52,8 +52,8 @@ type EnrollmentPatternRequest struct {
5252// EnrollmentPatternResponse represents the response structure for enrollment pattern operations
5353type EnrollmentPatternResponse struct {
5454 ID int `json:"Id,omitempty"`
55- Name * string `json:"Name,omitempty"`
56- Description * string `json:"Description,omitempty"`
55+ Name string `json:"Name,omitempty"`
56+ Description string `json:"Description,omitempty"`
5757 Template * EnrollmentPatternTemplateResponse `json:"Template,omitempty"`
5858 TemplateDefault bool `json:"TemplateDefault,omitempty"`
5959 UseADPermissions bool `json:"UseADPermissions,omitempty"`
@@ -78,10 +78,10 @@ type EnrollmentPatternRegexesRequest struct {
7878
7979// EnrollmentPatternRegexesResponse represents regex validation rules in responses
8080type EnrollmentPatternRegexesResponse struct {
81- SubjectPart * string `json:"SubjectPart,omitempty"`
82- Regex * string `json:"Regex,omitempty"`
83- Error * string `json:"Error,omitempty"`
84- CaseSensitive bool `json:"CaseSensitive,omitempty"`
81+ SubjectPart string `json:"SubjectPart,omitempty"`
82+ Regex string `json:"Regex,omitempty"`
83+ Error string `json:"Error,omitempty"`
84+ CaseSensitive bool `json:"CaseSensitive,omitempty"`
8585}
8686
8787// EnrollmentPatternPolicyRequest represents policy settings for enrollment patterns
@@ -99,12 +99,12 @@ type EnrollmentPatternPolicyRequest struct {
9999
100100// EnrollmentPatternPolicyResponse represents policy settings in responses
101101type EnrollmentPatternPolicyResponse struct {
102- AllowKeyReuse * bool `json:"AllowKeyReuse,omitempty"`
103- AllowWildcards * bool `json:"AllowWildcards,omitempty"`
104- RFCEnforcement * bool `json:"RFCEnforcement,omitempty"`
105- CertificateOwnerRole * int `json:"CertificateOwnerRole,omitempty"`
106- DefaultCertificateOwnerRoleId * int `json:"DefaultCertificateOwnerRoleId,omitempty"`
107- DefaultCertificateOwnerRoleName * string `json:"DefaultCertificateOwnerRoleName,omitempty"`
102+ AllowKeyReuse bool `json:"AllowKeyReuse,omitempty"`
103+ AllowWildcards bool `json:"AllowWildcards,omitempty"`
104+ RFCEnforcement bool `json:"RFCEnforcement,omitempty"`
105+ CertificateOwnerRole int `json:"CertificateOwnerRole,omitempty"`
106+ DefaultCertificateOwnerRoleId int `json:"DefaultCertificateOwnerRoleId,omitempty"`
107+ DefaultCertificateOwnerRoleName string `json:"DefaultCertificateOwnerRoleName,omitempty"`
108108 DefaultCertificateOwnerOverride bool `json:"DefaultCertificateOwnerOverride,omitempty"`
109109 PrimaryKeyAlgorithms []AlgorithmDataResponse `json:"PrimaryKeyAlgorithms,omitempty"`
110110 AlternativeKeyAlgorithms []AlgorithmDataResponse `json:"AlternativeKeyAlgorithms,omitempty"`
@@ -124,17 +124,12 @@ type EnrollmentPatternMetadataFieldRequest struct {
124124
125125// EnrollmentPatternMetadataFieldResponse represents metadata field configuration in responses
126126type EnrollmentPatternMetadataFieldResponse struct {
127- Id * int `json:"Id,omitempty"`
128- Name * string `json:"Name,omitempty"`
129- DefaultValue * string `json:"DefaultValue,omitempty"`
130- Validation * string `json:"Validation,omitempty"`
131- Enrollment * int `json:"Enrollment,omitempty"`
132- Message * string `json:"Message,omitempty"`
133- Options * string `json:"Options,omitempty"`
134- DependsOn * string `json:"DependsOn,omitempty"`
135- DependsOnValue * string `json:"DependsOnValue,omitempty"`
136- DataType * int `json:"DataType,omitempty"`
137- Hint * string `json:"Hint,omitempty"`
127+ MetadataId int `json:"MetadataId,omitempty"`
128+ DefaultValue string `json:"DefaultValue,omitempty"`
129+ Validation string `json:"Validation,omitempty"`
130+ Enrollment int `json:"Enrollment,omitempty"`
131+ Message string `json:"Message,omitempty"`
132+ CaseSensitive bool `json:"CaseSensitive,omitempty"`
138133}
139134
140135// EnrollmentPatternDefaultRequest represents default value settings for requests
@@ -145,8 +140,8 @@ type EnrollmentPatternDefaultRequest struct {
145140
146141// EnrollmentPatternDefaultResponse represents default value settings in responses
147142type EnrollmentPatternDefaultResponse struct {
148- SubjectPart * string `json:"SubjectPart,omitempty"`
149- DefaultValue * string `json:"DefaultValue ,omitempty"`
143+ SubjectPart string `json:"SubjectPart,omitempty"`
144+ Value string `json:"Value ,omitempty"`
150145}
151146
152147// EnrollmentPatternFieldRequest represents enrollment field configuration for requests
@@ -163,39 +158,41 @@ type EnrollmentPatternFieldRequest struct {
163158
164159// EnrollmentPatternFieldResponse represents enrollment field configuration in responses
165160type EnrollmentPatternFieldResponse struct {
166- Id * int `json:"Id,omitempty"`
167- Name * string `json:"Name,omitempty"`
168- DefaultValue * string `json:"DefaultValue,omitempty"`
169- Validation * string `json:"Validation,omitempty"`
170- Enrollment * int `json:"Enrollment,omitempty"`
171- Message * string `json:"Message,omitempty"`
172- Options * string `json:"Options,omitempty"`
173- DependsOn * string `json:"DependsOn,omitempty"`
174- DependsOnValue * string `json:"DependsOnValue,omitempty"`
175- DataType * int `json:"DataType,omitempty"`
176- Hint * string `json:"Hint,omitempty"`
161+ Id int `json:"Id,omitempty"`
162+ Name string `json:"Name,omitempty"`
163+ DefaultValue string `json:"DefaultValue,omitempty"`
164+ Validation string `json:"Validation,omitempty"`
165+ Enrollment int `json:"Enrollment,omitempty"`
166+ Message string `json:"Message,omitempty"`
167+ Options [] string `json:"Options,omitempty"`
168+ DependsOn string `json:"DependsOn,omitempty"`
169+ DependsOnValue string `json:"DependsOnValue,omitempty"`
170+ DataType int `json:"DataType,omitempty"`
171+ Hint string `json:"Hint,omitempty"`
177172}
178173
179174// EnrollmentPatternTemplateResponse represents template information in responses
180175type EnrollmentPatternTemplateResponse struct {
181- Id * int `json:"Id,omitempty"`
182- Name * string `json:"Name,omitempty"`
183- CommonName * string `json:"CommonName,omitempty"`
184- DisplayName * string `json:"DisplayName,omitempty"`
176+ Id int `json:"Id,omitempty"`
177+ TemplateName string `json:"TemplateName,omitempty"`
178+ CommonName string `json:"CommonName,omitempty"`
179+ ConfigurationTenant string `json:"ConfigurationTenant,omitempty"`
180+ RequiresApproval bool `json:"RequiresApproval,omitempty"`
181+ FriendlyName string `json:"FriendlyName,omitempty"`
185182}
186183
187184// EnrollmentPatternAssociatedRoleResponse represents associated role information in responses
188185type EnrollmentPatternAssociatedRoleResponse struct {
189- Id * int `json:"Id,omitempty"`
190- Name * string `json:"Name,omitempty"`
186+ Id int `json:"Id,omitempty"`
187+ Name string `json:"Name,omitempty"`
191188}
192189
193190// EnrollmentPatternCAResponse represents certificate authority information in responses
194191type EnrollmentPatternCAResponse struct {
195- Id * int `json:"Id,omitempty"`
196- LogicalName * string `json:"LogicalName,omitempty"`
197- HostName * string `json:"HostName,omitempty"`
198- CAName * string `json:"CAName ,omitempty"`
192+ Id int `json:"Id,omitempty"`
193+ LogicalName string `json:"LogicalName,omitempty"`
194+ HostName string `json:"HostName,omitempty"`
195+ ConfigurationTenant string `json:"ConfigurationTenant ,omitempty"`
199196}
200197
201198// AlgorithmDataRequestV2 represents algorithm configuration for requests
@@ -207,9 +204,9 @@ type AlgorithmDataRequestV2 struct {
207204
208205// AlgorithmDataResponse represents algorithm configuration in responses
209206type AlgorithmDataResponse struct {
210- KeyType * string `json:"KeyType ,omitempty"`
211- KeySize * int `json:"KeySize ,omitempty"`
212- CurveName * string `json:"CurveName ,omitempty"`
207+ Name string `json:"Name ,omitempty"`
208+ BitLengths [] int `json:"bit_lengths ,omitempty"`
209+ Curves [] string `json:"curves ,omitempty"`
213210}
214211
215212// EnrollmentPatternsQueryParams represents query parameters for listing enrollment patterns
0 commit comments