This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR containerregistry/resource-manager] [ACR] Auto Build Swagger:…
… Added identity to registry properties (#3763) * Generated from a9ff5f330e569cbbdfded62d6506e9fe2b71f9ae Added identity to registry properties * Generated from 185e2e930d7cd67eb43fee8264dd52b805f87ec0 CR comments
- Loading branch information
1 parent
0240225
commit af3e54a
Showing
7 changed files
with
359 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
lib/services/containerRegistryManagement/lib/models/registryIdentity.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
/** | ||
* The identity of the container registry. | ||
* | ||
*/ | ||
class RegistryIdentity { | ||
/** | ||
* Create a RegistryIdentity. | ||
* @member {string} [type] The type of identity used for the registry. | ||
* @member {string} [principalId] The principal ID of registry identity. | ||
* @member {string} [tenantId] The tenant ID associated with the registry. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of RegistryIdentity | ||
* | ||
* @returns {object} metadata of RegistryIdentity | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'RegistryIdentity', | ||
type: { | ||
name: 'Composite', | ||
className: 'RegistryIdentity', | ||
modelProperties: { | ||
type: { | ||
required: false, | ||
serializedName: 'type', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
principalId: { | ||
required: false, | ||
serializedName: 'principalId', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
tenantId: { | ||
required: false, | ||
serializedName: 'tenantId', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = RegistryIdentity; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.