|
1650 | 1650 | text: | |
1651 | 1651 | az acr connected-registry create --registry mycloudregistry --name myreadonlyacr \\ |
1652 | 1652 | --mode readonly --parent myconnectedregistry --sync-token mySyncTokenName |
1653 | | - - name: Create a read only connected registry with client tokens, that syncs every day at midninght and sync window of 4 hours. |
| 1653 | + - name: Create a read only connected registry with client tokens, that syncs every day at midnight and sync window of 4 hours. |
1654 | 1654 | text: | |
1655 | 1655 | az acr connected-registry create -r mycloudregistry -n myreadonlyacr -p myconnectedregistry \\ |
1656 | 1656 | --repository "app/mycomponent" -m ReadOnly -s "0 12 * * *" -w PT4H \\ |
|
1659 | 1659 | text: | |
1660 | 1660 | az acr connected-registry create --registry mycloudregistry --name myconnectedregistry \\ |
1661 | 1661 | --auth-type ManagedIdentity \\ |
1662 | | - --identity /subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<msi> |
| 1662 | + --identity "/subscriptions/<SUBSCRIPTON ID>/resourcegroups/<RESOURCE GROUP>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myUserAssignedIdentitiy" |
1663 | 1663 | """ |
1664 | 1664 |
|
1665 | 1665 | helps['acr connected-registry delete'] = """ |
|
1669 | 1669 | - name: Delete a read only connected registry 'myconnectedregistry' from parent registry 'mycloudregistry'. |
1670 | 1670 | text: > |
1671 | 1671 | az acr connected-registry delete --registry mycloudregistry --name myconnectedregistry |
1672 | | - - name: Delete a read only connected registry 'myconnectedregistry' and it's sync token and scope-map from parent registry 'mycloudregistry'. |
| 1672 | + - name: Delete a read only connected registry 'myconnectedregistry' and its sync token and scope-map from parent registry 'mycloudregistry'. |
1673 | 1673 | text: > |
1674 | 1674 | az acr connected-registry delete -r mycloudregistry -n myconnectedregistry --cleanup |
1675 | 1675 | """ |
|
1690 | 1690 | - name: List all the connected registries of 'mycloudregistry' in table format. |
1691 | 1691 | text: > |
1692 | 1692 | az acr connected-registry list --registry mycloudregistry --output table |
1693 | | - - name: List only the inmediate children of 'mycloudregistry' in expanded form in a table. |
| 1693 | + - name: List only the immediate children of 'mycloudregistry' in expanded form in a table. |
1694 | 1694 | text: > |
1695 | 1695 | az acr connected-registry list --registry mycloudregistry --no-children --output table |
1696 | 1696 | - name: List all the offspring of 'myconnectedregistry' in expanded form inside a table. |
|
1737 | 1737 | text: | |
1738 | 1738 | az acr connected-registry update --registry mycloudregistry --name myconnectedregistry \\ |
1739 | 1739 | --auth-type ManagedIdentity \\ |
1740 | | - --identity /subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<msi> |
| 1740 | + --identity "/subscriptions/<SUBSCRIPTON ID>/resourcegroups/<RESOURCE GROUP>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myUserAssignedIdentitiy" |
1741 | 1741 | """ |
1742 | 1742 |
|
1743 | 1743 | helps['acr connected-registry get-settings'] = """ |
|
1754 | 1754 |
|
1755 | 1755 | helps['acr connected-registry permissions'] = """ |
1756 | 1756 | type: group |
1757 | | -short-summary: Manage the repository permissions accross multiple connected registries. Only supported for connected registries configured with SyncToken authentication (output is derived from the sync-token scope map). Please see https://aka.ms/acr/connected-registry for more information. |
| 1757 | +short-summary: Manage the repository permissions across multiple connected registries. Only supported for connected registries configured with SyncToken authentication (output is derived from the sync-token scope map). Please see https://aka.ms/acr/connected-registry for more information. |
1758 | 1758 | """ |
1759 | 1759 |
|
1760 | 1760 | helps['acr connected-registry permissions update'] = """ |
1761 | 1761 | type: command |
1762 | | -short-summary: Add and remove repository permissions accross all the necessary connected registry sync scope maps. |
| 1762 | +short-summary: Add and remove repository permissions across all the necessary connected registry sync scope maps. Only supported for connected registries configured with SyncToken authentication. |
1763 | 1763 | examples: |
1764 | 1764 | - name: Add permissions to synchronize images from 'repo1' and 'repo2' to the connected registry 'myconnectedregistry' and its ancestors. |
1765 | 1765 | text: > |
|
1774 | 1774 |
|
1775 | 1775 | helps['acr connected-registry permissions show'] = """ |
1776 | 1776 | type: command |
1777 | | -short-summary: Show the connected registry sync scope map information. |
| 1777 | +short-summary: Show the connected registry sync scope map information. Only supported for connected registries configured with SyncToken authentication. |
1778 | 1778 | examples: |
1779 | 1779 | - name: Show details and attributes of a sync scope map for a connected registry. |
1780 | 1780 | text: > |
|
0 commit comments