@@ -94,34 +94,59 @@ type ReEnrollmnentConfig struct {
9494}
9595
9696// StorePasswordConfig configures the password field for a new certificate store.
97+ // TODO: make re-usable struct for Secret type fields
9798type StorePasswordConfig struct {
98- Value * string `json:"SecretValue"`
99- SecretTypeGuid * string `json:"SecretTypeGuid,omitempty"`
100- InstanceId * string `json:"InstanceId,omitempty"`
99+ Value * string `json:"SecretValue"`
100+ SecretTypeGuid * string `json:"SecretTypeGuid,omitempty"`
101+ InstanceId * string `json:"InstanceId,omitempty"`
102+ InstanceGuid * string `json:"InstanceGuid,omitempty"`
103+ ProvidererTypeParameterValues * []ProviderTypeParameterValue `json:"ProviderTypeParameterValues"`
104+ ProviderId int `json:"ProviderId"`
105+ IsManaged bool `json:"IsManaged"`
106+ HasValue bool `json:"HasValue"`
101107} // ProviderTypeParameterValues - Not yet implemented
102108// ProviderTypeParameterValues ProviderTypeParams - Not implemented
103109
104110/* Future non-critical functionality */
105111
106- type ProviderTypeParams struct {
107- Id string
108- Value string
109- InstanceId string
110- InstanceGuid string
111- Provider ProviderParams
112+ type ProviderTypeParameterValue struct {
113+ Id int `json:"Id"`
114+ Value * string `json:"Value"`
115+ ParameterId int `json:"ParameterId"` // defaults always to 0, likely deprecated
116+ InstanceId * string `json:"InstanceId"` // defaults null, likely deprecated
117+ InstanceGuid * string `json:"InstanceGuid"`
118+ Provider * string `json:"Provider"` // defaults null, likely deprecated
119+ ProviderTypeParam ProviderTypeParam `json:"ProviderTypeParam"`
112120}
113121
114- type ProviderParams struct {
115- Id int
116- Name string
117- Area int
118- ProviderType ProviderType
122+ type ProviderTypeParam struct {
123+ Id int `json:"Id"`
124+ Name * string `json:"Name"`
125+ DisplayName * string `json:"DisplayName"`
126+ DataType int `json:"DataType"`
127+ InstanceLevel bool `json:"InstanceLevel"`
128+ ProviderType * string `json:"ProviderType"` //defaults null, likely deprecated
119129}
120130
121- type ProviderType struct {
122- Id string
123- Name string
124- }
131+ // type ProviderTypeParams struct {
132+ // Id string
133+ // Value string
134+ // InstanceId string
135+ // InstanceGuid string
136+ // Provider ProviderParams
137+ // }
138+
139+ // type ProviderParams struct {
140+ // Id int
141+ // Name string
142+ // Area int
143+ // ProviderType ProviderType
144+ // }
145+
146+ // type ProviderType struct {
147+ // Id string
148+ // Name string
149+ // }
125150
126151// CertStoreTypeResponse contains the response elements returned from the GetCertificateStoreType method.
127152type CertStoreTypeResponse struct {
0 commit comments