Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR datafactory/resource-manager] Update Db2LinkedServiceTypeProperties #6077

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions services/datafactory/mgmt/2018-06-01/datafactory/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -68672,6 +68672,10 @@ type Db2LinkedServiceTypeProperties struct {
Username interface{} `json:"username,omitempty"`
// Password - Password for authentication.
Password BasicSecretBase `json:"password,omitempty"`
// PackageCollection - Under where packages are created when querying database. Type: string (or Expression with resultType string).
PackageCollection interface{} `json:"packageCollection,omitempty"`
// CertificateCommonName - Certificate Common Name when TLS is enabled. Type: string (or Expression with resultType string).
CertificateCommonName interface{} `json:"certificateCommonName,omitempty"`
// EncryptedCredential - The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).
EncryptedCredential interface{} `json:"encryptedCredential,omitempty"`
}
Expand Down Expand Up @@ -68729,6 +68733,24 @@ func (d2lstp *Db2LinkedServiceTypeProperties) UnmarshalJSON(body []byte) error {
}
d2lstp.Password = password
}
case "packageCollection":
if v != nil {
var packageCollection interface{}
err = json.Unmarshal(*v, &packageCollection)
if err != nil {
return err
}
d2lstp.PackageCollection = packageCollection
}
case "certificateCommonName":
if v != nil {
var certificateCommonName interface{}
err = json.Unmarshal(*v, &certificateCommonName)
if err != nil {
return err
}
d2lstp.CertificateCommonName = certificateCommonName
}
case "encryptedCredential":
if v != nil {
var encryptedCredential interface{}
Expand Down