Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
282 commits
Select commit Hold shift + click to select a range
6ccefc1
[devops] Updating the Azure DevOps Extension Version to v0.18.0 (#1482)
mitsha-microsoft Apr 2, 2020
93ac7c0
spring-cloud: add location to Apps operation (#1458)
Apr 2, 2020
776c4a4
[Notification Hub] fix sku and help (#1380)
fengzhou-msft Apr 2, 2020
0a658dc
[Release] Update index.json for extension [ aks-preview ] (#1488)
Apr 3, 2020
3011de0
[AKS] Presentation aks fix: The name displayed for the storage is inr…
Tatsinnit Apr 3, 2020
91ad1ec
[Release] Update index.json for extension [ notification-hub ] (#1494)
Apr 3, 2020
a93d1db
[support] Removed resource id existence check and cleaned up associat…
mit2nil Apr 3, 2020
94a6614
[Databricks] Use Experimental Tag (#1484)
fengzhou-msft Apr 3, 2020
2966477
[Release] Update index.json for extension [ support ] (#1501)
Apr 3, 2020
3accd8e
[Release] Update index.json for extension [ databricks ] (#1502)
Apr 3, 2020
9796d83
[Alertsmanagement] Add experimental tag (#1492)
qwordy Apr 7, 2020
8c38351
{hpc-cache} breadth coverage for hpc cache (#1403)
qianwens Apr 7, 2020
6d21d72
[Breadth]Resource Graph (#1400)
mmyyrroonn Apr 7, 2020
ae26dd6
[Stream Analytics] add experimental tag (#1491)
arrownj Apr 7, 2020
5e8de4e
[Breadth Coverage] Support Databox in Azure CLI cmdlets (#1344)
jsntcy Apr 7, 2020
1224df2
[Release] Update index.json for extension [ databox ] (#1512)
Apr 7, 2020
e93953c
[Release] Update index.json for extension [ stream-analytics ] (#1513)
Apr 7, 2020
8efe992
[Release] Update index.json for extension [ resource-graph ] (#1511)
Apr 7, 2020
73928e0
[Breadth Coverage] Support StorageSync in Azure CLI cmdlets (#1389)
jsntcy Apr 7, 2020
4d80e92
[Release] Update index.json for extension [ hpc-cache ] (#1510)
Apr 7, 2020
0bc0b0c
[Release] Update index.json for extension [ storagesync ] (#1514)
Apr 7, 2020
681775a
{Pipeline} print stacktrace when exception (#1516)
qwordy Apr 7, 2020
8bd35ed
{Alertsmanagement} Fix import problem. It only happens in CI (#1517)
qwordy Apr 7, 2020
a9a5a51
{Alertsmagagement} Add __init__.py (#1520)
qwordy Apr 8, 2020
9a809eb
[Release] Update index.json for extension [ alertsmanagement ] (#1521)
Apr 8, 2020
d56c776
fix: avoid clearing the autoscaler profile when its not specified (#1…
marwanad Apr 13, 2020
087da1a
[AKS] update aks vendored sdk to 9.0.1 (#1528)
marwanad Apr 13, 2020
622c11b
Update azure-cli-ml version to 1.3.0 (#1532)
j-so Apr 14, 2020
7690447
remove some custom options (#1530)
fengzhou-msft Apr 14, 2020
b56a1fa
[Release] Update index.json for extension [ databricks ] (#1534)
Apr 14, 2020
27238a6
[firewall] make source address be optional (#1544)
mmyyrroonn Apr 15, 2020
5c26721
[Release] Update index.json for extension [ azure-firewall ] (#1546)
Apr 15, 2020
7862bf0
[AKS] Add node public IP support in CLI extension. (#1531)
JunSun17 Apr 15, 2020
d904703
swagger-to-cli-automation-config (#1537)
qiaozha Apr 16, 2020
e0700d8
[Release] Update index.json for extension [ aks-preview ] (#1547)
Apr 16, 2020
666bab7
spring-cloud: add support to enable/disable MSI (#1523)
leonard520 Apr 16, 2020
a67b5e0
automation build package (#1548)
qiaozha Apr 16, 2020
c6506f9
[image-copy] Fix copying images created from a blob (#1457)
tamirkamara Apr 17, 2020
d8e672e
EventGrid CLI Extension: 2020-04-01-preview bug fixes (#1538)
ahamad-MS Apr 20, 2020
29eb7ad
[Release] Update index.json for extension [ eventgrid ] (#1559)
Apr 20, 2020
f737485
fix tests due to network api version's change (#1563)
mmyyrroonn Apr 20, 2020
25e160b
created subscription extensions (#1202)
Apr 20, 2020
d9589f9
[Release] Update index.json for extension [ account ] (#1564)
Apr 20, 2020
660a5e5
Update table output for deployment and app (#1558)
yuwzho Apr 21, 2020
17b6c96
{image-copy} Update help (#1560)
qwordy Apr 21, 2020
09eecf8
[Support] Fix error message and added missing conditions (#1567)
mit2nil Apr 21, 2020
581cb60
[Breadth Coverage] Onboard Import Export (#1515)
arrownj Apr 22, 2020
54e0ed2
[Monitor]App byos and link la (#1499)
mmyyrroonn Apr 22, 2020
850f6aa
[Release] Update index.json for extension [ application-insights ] (#…
Apr 22, 2020
56a867c
[Release] Update index.json for extension [ support ] (#1569)
Apr 22, 2020
e99c137
[Release] Update index.json for extension [ import-export ] (#1574)
Apr 23, 2020
5b84f75
[HanaOnAzure] Updated HanaOnAzure CLI extension to include SapMonitor…
PakDLiu Apr 23, 2020
8877ae4
[Import Export] add __init__.py for generated package (#1582)
arrownj Apr 23, 2020
81d264d
[Release] Update index.json for extension [ import-export ] (#1583)
Apr 23, 2020
3d97c71
downgrade the version since the service is not ready (#1580)
mmyyrroonn Apr 23, 2020
3360eca
[Breadth Coverage] Datashare (#1476)
fengzhou-msft Apr 23, 2020
73dfe9e
[Release] Update index.json for extension [ datashare ] (#1586)
Apr 23, 2020
5cfc900
[Breadth Coverage] Portal (#1428)
Apr 23, 2020
85c8cbf
Change portal README file from rst to markdown (#1589)
Apr 23, 2020
4c707a0
[Breadth Coverage] logic apps (#1423)
bquantump Apr 24, 2020
5e3d07c
[Release] Update index.json for extension [ image-copy ] (#1568)
Apr 24, 2020
69c7333
Fix a small error in commands.py and update test sample file (#1595)
Apr 25, 2020
12e0bd9
[Release] Update index.json for extension [ portal ] (#1599)
Apr 25, 2020
246ec8e
[Release] Update index.json for extension [ logic ] (#1594)
Apr 25, 2020
f40506c
Fixed bug when hyperV version variable is None (#1553)
swbae31 Apr 26, 2020
285a0b5
[Release] Update index.json for extension [ vm-repair ] (#1601)
Apr 27, 2020
d597d8e
[Portal] Add portal generated module init file (#1609)
Apr 27, 2020
9528c6a
[Release] Update index.json for extension [ portal ] (#1610)
Apr 27, 2020
35b244f
{Monitor} refactor the logic (#1596)
mmyyrroonn Apr 27, 2020
3ede273
Update azure-cli-ml version to 1.4.0 (#1615)
j-so Apr 27, 2020
2fc19bd
[Release] Update index.json for extension [ application-insights ] (#…
Apr 28, 2020
14799ae
[Breadth Coverage] Log Analytics Solution (#1545)
zhoxing-ms Apr 29, 2020
e6c21fd
[Release] Update index.json for extension [ log-analytics-solution ] …
Apr 29, 2020
6827793
[Breadth Coverage] Time Series Insights (#1539)
jiasli Apr 29, 2020
71449ed
[Release] Update index.json for extension [ timeseriesinsights ] (#1623)
Apr 29, 2020
0f9aa58
Revert "spring-cloud: add support to enable/disable MSI (#1523)" (#1622)
leonard520 Apr 30, 2020
51f8b5d
[CI] Add wheel preinstallation for job IndexRefDocVerify and fix azur…
Apr 30, 2020
1ce82b0
[CI] Remove wheel usage (#1628)
Apr 30, 2020
13404e3
[storage-ors-preview] Support ORS policy for storage account (#1461)
Juliehzl May 1, 2020
d6aad6c
Adding updated Kusto extension (#1605)
astauben May 1, 2020
78df589
[Release] Update index.json for extension [ kusto ] (#1633)
May 1, 2020
2d844dd
[AKS] fix incorrect usage of ARM without going through the multi-api …
marwanad May 4, 2020
f178285
cli extension for connected kubernetes RP (#1570)
akashkeshari May 5, 2020
1884169
[Release] Update index.json for extension [ aks-preview ] (#1637)
May 5, 2020
2fb2d14
[Release] Update index.json for extension [ storage-ors-preview ] (#1…
May 6, 2020
1eb927c
[AKS] Unblock agentpool min count range check (#1606)
marwanad May 6, 2020
880774b
Fix the persicope version to always point to latest tag. (#1630)
Tatsinnit May 6, 2020
0b1ac90
[IoT] CLI extension release v0.9.2 (#1542)
digimaun May 6, 2020
14ec628
[storage-ors-preview] fix no azext metadata (#1648)
May 6, 2020
5926f06
[Release] Update index.json for extension [ storage-ors-preview ] (#1…
May 6, 2020
5cbe47c
update help context (#1634)
zqingqing1 May 7, 2020
e489082
WIP {KubernetesConfiguration} Add extension CLI (#1550)
NarayanThiru May 7, 2020
9d60981
[storage-or-policy] rename the extension (#1662)
Juliehzl May 8, 2020
fca378c
{CI} temporary disable CredScan since ADO bug (#1666)
May 8, 2020
3d46998
[Release] Update index.json for extension [ storage-or-preview ] (#1665)
May 8, 2020
cf586cc
spring cloud - custom domain - cli (#1419)
1openwindow May 8, 2020
b0872b7
[Release] Update index.json for extension [ spring-cloud ] (#1669)
May 8, 2020
9f022a0
[Release] Update index.json for extension [ k8sconfiguration ] (#1659)
May 8, 2020
df2ecf4
[Release] Update index.json for extension [ connectedk8s ] (#1644)
May 8, 2020
f928d72
Fix extension name in readme (#1672)
ilidemi May 8, 2020
bffd137
[Breadth Coverage] Onboard Custom Providers Commands (#1627)
jsntcy May 9, 2020
5db8ce5
[Release] Update index.json for extension [ custom-providers ] (#1674)
May 9, 2020
01d4407
[TimeSeriesInsights] Fix timeSeriesIdPropertyName is not parsed prope…
jiasli May 9, 2020
5cf8340
[Release] Update index.json for extension [ timeseriesinsights ] (#1676)
May 11, 2020
94df344
update azure-cli-ml version to 1.2.0 (#1682)
j-so May 12, 2020
db1f4bd
Kubernetes connect cli telemetry integration (#1684)
akashkeshari May 13, 2020
5ed8f5d
bump vmware to 0.6.0 (#1656)
cataggar May 13, 2020
9943139
download from az-csvmware-cli (#1681)
cataggar May 13, 2020
feb1883
[Release] Update index.json for extension [ connectedk8s ] (#1689)
May 14, 2020
fb40791
AKS: add aks-custom-headers for nodepool and update (#1686)
andyzhangx May 14, 2020
8a92c0c
[Release] Update index.json for extension [ aks-preview ] (#1699)
May 14, 2020
df6806d
K8s configuration update min cli core version (#1697)
NarayanThiru May 14, 2020
87cbfa1
Add "Did You Mean This" Extension (#1692)
christopher-o-toole May 15, 2020
6bb06a7
[Release] Update index.json for extension [ k8sconfiguration ] (#1700)
May 15, 2020
5477901
Pavan/distro detect (#1708)
pasankav May 15, 2020
90324a2
[Synapse] Add new command group and support ids (#1581)
aim-for-better May 18, 2020
eb42ccb
[Release] Update index.json for extension [ synapse ] (#1719)
May 18, 2020
da97509
[Release] Update index.json for extension [ connectedk8s ] (#1710)
May 18, 2020
a2bdac4
Fix issues for az aks kollect on private clusters (#1685)
feiskyer May 18, 2020
2d9abba
EventGrid: 2020-04-01-preview CLI Extension refresh (#1714)
ahamad-MS May 18, 2020
1fc55a7
Update the version for EventGrid extension to 0.4.9 (#1722)
ahamad-MS May 18, 2020
3817b4d
[Release] Update index.json for extension [ eventgrid ] (#1723)
May 19, 2020
eaabc53
change default vm sku to Standard_D2s_v3 (#1718)
May 19, 2020
b332df7
remove .egg-info (#1726)
May 19, 2020
6340bec
[ai-did-you-mean-this] Update Extension Metadata and Service Endpoint…
christopher-o-toole May 19, 2020
88f26c6
[Release] Update index.json for extension [ ai-did-you-mean-this ] (#…
May 19, 2020
0fa6259
[TimeSeriesInsights] Fix #1712: --timestamp-property-name should be m…
jiasli May 20, 2020
83c907f
[TimeSeriesInsights] Release (#1743)
jiasli May 20, 2020
d152509
[Release] Update index.json for extension [ timeseriesinsights ] (#1745)
May 20, 2020
c29efb3
remove ors (#1742)
Juliehzl May 21, 2020
2e0de39
Switch AKS to use 2020-04-01 API version (#1746)
gtxistxgao May 21, 2020
5d3ff16
Frontdoor rules-engine and routing-rule bug fixes (#1707)
aramesh-msft May 22, 2020
fb749b5
[Release] Update index.json for extension [ front-door ] (#1754)
May 22, 2020
ddefab4
Updated HanaOnAzure CLI extension (#1732)
PakDLiu May 22, 2020
35f599f
AKS support node image upgrade feature (#1750)
gtxistxgao May 23, 2020
28c7c8f
{CI} Re-enable credscan (#1748)
May 24, 2020
bf87b15
[Release] Update index.json for extension [ aks-preview ] (#1757)
May 25, 2020
51b9957
[AKS] Fix issues of storage account name for az aks kollect (#1730)
feiskyer May 25, 2020
df1200f
fall back to 2019 for 2020/04 api as well (#1765)
paulgmiller May 26, 2020
cde8c82
[db-up] Fix bug for server name and enable ssl enforecement (#1412)
Juliehzl May 27, 2020
d14c6b1
[Release] Update index.json for extension [ db-up ] (#1769)
May 27, 2020
f1734ee
spring-cloud: add support to enable/disable MSI (#1523) (#1671)
leonard520 May 27, 2020
e456291
[Release] Update index.json for extension [ spring-cloud ] (#1771)
May 27, 2020
21252b2
update azure-cli-ml version to 1.6.0 (#1772)
j-so May 28, 2020
32ee9fe
[AKS] try and add max surge to cli extension (#1752)
paulgmiller May 28, 2020
4f6ff13
reimport mock in unit test (#1779)
mmyyrroonn May 28, 2020
9cedcc2
[Release] Update index.json for extension [ aks-preview ] (#1767)
May 28, 2020
ab00f0f
[Breadth Coverage] hardware security modules (#1626)
bquantump May 28, 2020
ed5a218
Run aks-preview UTs as part of CI (#1775)
paulgmiller May 29, 2020
3a804af
{CI} Fix ci linter for new linter rules in extension (#1785)
mmyyrroonn May 29, 2020
63f9cca
[Release] Update index.json for extension [ aks-preview ] (#1788)
May 29, 2020
ae5e1d6
closes #1790 (#1792)
bquantump May 30, 2020
82331e8
[Breadth Coverage] Costmanagement (#1729)
Jun 1, 2020
5e26c75
[Release] Update index.json for extension [ costmanagement ] (#1796)
Jun 1, 2020
c73501c
[Release] Update index.json for extension [ hardware-security-modules…
Jun 1, 2020
96dcf6c
IoT extension release v0.9.3 (#1800)
digimaun Jun 2, 2020
cf35013
[Firewall] Add dns proxy settings for network firewall (#1795)
Jun 2, 2020
ff2b39c
[azure-cli-ml] add version to support older CLI version (#1805)
j-so Jun 2, 2020
201c113
Revert "[azure-cli-ml] add version to support older CLI version (#180…
fengzhou-msft Jun 2, 2020
6c5a05f
[azure-cli-ml] add version to support older CLI version (#1809)
j-so Jun 2, 2020
416e3ae
[AKS] Changes to support MSI for IngressApplicationGateway addon (#1408)
akshaysngupta Jun 3, 2020
91f5e0d
Revert "change default vm sku to Standard_D2s_v3" (#1810)
Jun 3, 2020
6b599ff
support --yes for az aks upgrade (#1808)
Jun 3, 2020
68d9ebe
Codespaces CLI release v0.1.0 (#1801)
derekbekoe Jun 3, 2020
7a352fb
[Release] Update index.json for extension [ codespaces ] (#1818)
Jun 3, 2020
941ab62
[Firewall] Rename --dns-require-proxy-for-network-rules to --require-…
Jun 4, 2020
17c1be2
[Breadth] blockchain commands (#1763)
mmyyrroonn Jun 4, 2020
dcdb8b8
addon: remove shared flag from AGIC addon (#1816)
akshaysngupta Jun 4, 2020
be5a94c
[Release] Update index.json for extension [ blockchain ] (#1820)
Jun 4, 2020
dc7e9c4
{Vwan} Bump vwan version to 2020-03-01 (#1822)
mmyyrroonn Jun 4, 2020
78959c6
bump vwan version to 2020-04-01 (#1825)
jsntcy Jun 4, 2020
c2a49e1
Update sap-hana extension to version 0.6.3 (#1819)
PakDLiu Jun 4, 2020
3880c47
[Log Analytics] Query support cloud awareness (#1817)
Jun 5, 2020
fb438f9
[Release] Update index.json for extension [ log-analytics ] (#1827)
Jun 5, 2020
013f537
fix potential bug (#1831)
mmyyrroonn Jun 5, 2020
255d968
[Monitor] az monitor app-insights query: fix for --offset (#1830)
mmyyrroonn Jun 5, 2020
b6f5631
aks-preview: version bump (#1832)
akshaysngupta Jun 5, 2020
4c8c32a
[Release] Update index.json for extension [ application-insights ] (#…
Jun 5, 2020
6b81970
vm-repair: Add support for encrypted VMs (#1798)
swbae31 Jun 6, 2020
cecdccf
aks-preview: update history (#1834)
akshaysngupta Jun 6, 2020
1a8cad4
[Release] Update index.json for extension [ aks-preview ] (#1835)
Jun 6, 2020
9aaab3f
[Release] Update index.json for extension [ aks-preview ] (#1839)
Jun 7, 2020
2174e1d
Support 0 node agent pool and block manual scale CAS enabled pool (#1…
gtxistxgao Jun 8, 2020
e186177
[ip-group] fix azext_metadata.json missing error (#1843)
Jun 8, 2020
6a17c10
[Release] Update index.json for extension [ ip-group ] (#1844)
Jun 8, 2020
179353d
[vm-repair] add azext_metadata.json (#1845)
Jun 8, 2020
1396d6e
[mixed-reality] Add azext_metadata.json (#1847)
Jun 8, 2020
a1cef3c
[Release] Update index.json for extension [ vm-repair ] (#1846)
Jun 8, 2020
898d740
[Release] Update index.json for extension [ mixed-reality ] (#1849)
Jun 8, 2020
a83176c
add package_data (#1848)
Jun 8, 2020
0d0015f
[Release] Update index.json for extension [ subscription ] (#1850)
Jun 8, 2020
c96eec7
[managementpartner] Add azext_metadata.json (#1851)
Jun 8, 2020
865ed56
[managementpartner] bump to 0.1.3 (#1852)
Jun 8, 2020
07ed3d5
[Release] Update index.json for extension [ managementpartner ] (#1853)
Jun 8, 2020
b34c031
IoT extension 0.9.4 release (Digital Twins content release) (#1837)
digimaun Jun 8, 2020
3dd4b81
[log-analytics] complete azext_metadata.json (#1857)
Jun 9, 2020
e5e12b1
[Release] Update index.json for extension [ log-analytics ] (#1858)
Jun 9, 2020
b0412dd
[azure-cli-ml] update version to 1.7.0 (#1854)
j-so Jun 9, 2020
7dc5bf8
Support Pricing Tier (#1749)
1openwindow Jun 9, 2020
6f4d06b
[Monitor] Set retention for AI (#1859)
jsntcy Jun 9, 2020
71b23f2
update version to 0.2.5 (#1860)
1openwindow Jun 9, 2020
fb6e9f3
[CI] Add check that azext_metadata.json must exist (#1842)
Jun 9, 2020
3758592
[Release] Update index.json for extension [ spring-cloud ] (#1862)
Jun 9, 2020
8bbb604
[ai-did-you-mean-this] Rename Required Service Parameter "sessionId" …
christopher-o-toole Jun 9, 2020
14b956c
[Network] Bump firewall sdk's api version to 2020-05-01 (#1861)
mmyyrroonn Jun 9, 2020
894f73c
[healthcareapis] Regenerate CLI for export and MI (#1766)
LTA-Thinking Jun 11, 2020
4b77531
[Release] Update index.json for extension [ healthcareapis ] (#1871)
Jun 11, 2020
f576e0e
finish version (#1872)
mmyyrroonn Jun 11, 2020
c729423
finish version (#1873)
mmyyrroonn Jun 11, 2020
92b5316
[azure-firewall] Support DNS settings options in firewall policy (#1875)
Jun 11, 2020
d3b3fba
[Network] Support virtual hub v3 route table (#1869)
jsntcy Jun 12, 2020
860f3d3
onboarding AZ_DESKTOPVIRTUALIZATION (#1741)
changlong-liu Jun 12, 2020
a6e3865
[Release] Update index.json for extension [ desktopvirtualization ] (…
Jun 15, 2020
11751e5
[SpringCloud] fix none sku case (#1886)
1openwindow Jun 16, 2020
54e0ec2
[AKS] add uptime-sla for updating (#1865)
zqingqing1 Jun 16, 2020
8aaf507
[Imagecopy] Fix a bug of tags (#1885)
qwordy Jun 16, 2020
a568934
[Release] Update index.json for extension [ image-copy ] (#1891)
Jun 16, 2020
06e33d2
[Release] Update index.json for extension [ spring-cloud ] (#1889)
Jun 16, 2020
be1cc53
{Doc} Refine extension release notes (#1884)
Jun 16, 2020
91fbfac
[Release] Update index.json for extension [ ai-did-you-mean-this ] (#…
Jun 17, 2020
32e83ad
[Network]Support p2s vpn gateway and vpn server configuration (#1840)
mmyyrroonn Jun 17, 2020
e6df939
Support Databricks CMK/BYOK (#1603)
fengzhou-msft Jun 17, 2020
8f97972
update aks-preview version (#1893)
zqingqing1 Jun 18, 2020
d874fa0
Regenerated peering with autorest.az (#1716)
Jun 18, 2020
e6387d1
[Release] Update index.json for extension [ peering ] (#1903)
Jun 18, 2020
b543085
[firewall] wrong key that would crash firewall ip-config (#1904)
Jun 18, 2020
33a3efa
Refine the tracing and tags experiences (#1894)
ShichaoQiu Jun 18, 2020
a2baf74
[Firewall] bump to 0.4.0 (#1804)
Jun 18, 2020
28476a6
[Release] Update index.json for extension [ azure-firewall ] (#1908)
Jun 18, 2020
2b4580d
[Release] Update index.json for extension [ spring-cloud ] (#1906)
Jun 18, 2020
e5ba1ba
[ai-examples] Update the telemetry, README, and remove pruned respons…
mirdaki Jun 19, 2020
19afa50
[sap-hana] Updated sap-hana to version 0.6.4 (#1911)
PakDLiu Jun 19, 2020
483a8cf
[azure-iot] Update for 0.9.5. Still keep 0.9.4 on index. (#1912)
digimaun Jun 19, 2020
0994adc
[Release] Update index.json for extension [ ai-examples ] (#1913)
Jun 19, 2020
2e1e476
Fix the problem that the directory fails to move (#1576)
zhoxing-ms Jun 19, 2020
550af6b
remove wheel==0.30.0
Mar 30, 2020
ab131b8
refactor Ci
Mar 30, 2020
3b9af5e
update readme
Mar 30, 2020
1282ce6
fix style error
Mar 30, 2020
727c051
fix flake8 error
Mar 30, 2020
a7b8926
fix wrong import between different version of wheel
Mar 30, 2020
dc7b642
typo
Mar 30, 2020
4b3eaac
add pkginfo to pre-installs
Mar 30, 2020
a51b5b4
copy WHEEL_INFO_RE from source code
Mar 30, 2020
249216f
new way to compare deps
Mar 30, 2020
256d965
compatible way to compare deps
Mar 30, 2020
17a54b4
fix bug
Mar 30, 2020
7b37cc7
typo
Mar 31, 2020
9768c03
compatible way updating available extension list
Apr 1, 2020
14faf67
Merge branch 'unpin-wheel' of github.com:haroldrandom/azure-cli-exten…
Jun 19, 2020
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
Prev Previous commit
Next Next commit
[Breadth Coverage] Support Databox in Azure CLI cmdlets (#1344)
* Support Databox in Azure CLI cmdlets
  • Loading branch information
jsntcy authored Apr 7, 2020
commit 5e8de4e1a602abc32da8a89ff56f1c02abb1d3ac
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,6 @@

/src/blueprint/ @fengzhou-msft

/src/hpc-cache/ @qianwens
/src/databox/ @jsntcy

/src/hpc-cache/ @qianwens
8 changes: 8 additions & 0 deletions src/databox/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. :changelog:

Release History
===============

0.1.0
++++++
* Initial release.
83 changes: 83 additions & 0 deletions src/databox/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Azure CLI DataBox Extension #
This is a extension for DataBox features.

### How to use ###
Install this extension using the below CLI command
```
az extension add --name databox
```

### Included Features
#### Manage DataBox jobs:


##### Create a DataBox job.

```
az databox job create \
--resource-group rg \
--name job_name \
--location westus \
--sku DataBox \
--contact-name contact_name \
--phone phone \
--email-list email_list \
--street-address1 street_address1 \
--city Redmond \
--state-or-province state_or_province \
--country US \
--postal-code postal_code \
--company-name company_name \
--storage-account storage_account_1 storage_account_2 \
--staging-storage-account staging_storage_account \
--resource-group-for-managed-disk rg-for-managed-disk
```

##### Update a DataBox job.
```
az databox job update \
--resource-group rg \
--name job_name \
--contact-name contact_name \
--email-list email_list
```

##### Get the information for a given job.
```
az databox job show \
--resource-group rg \
--name job_name
```

##### List all the jobs under the given resource group or the given subscription
```
az databox job list
```
```
az databox job list \
--resource-group rg
```

##### List the credentials for a given job.
```
az databox job list-credentials \
--resource-group rg \
--name job_name
```

##### Cancel a job.
```
az databox job cancel \
--resource-group rg \
--name job_name \
--reason reason
```

##### Delete a job.
```
az databox job delete \
--resource-group rg \
--name job_name
```

If you have issues, please give feedback by opening an issue at https://github.com/Azure/azure-cli-extensions/issues.
32 changes: 32 additions & 0 deletions src/databox/azext_databox/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

from azure.cli.core import AzCommandsLoader

import azext_databox._help # pylint: disable=unused-import


class DataBoxCommandsLoader(AzCommandsLoader):

def __init__(self, cli_ctx=None):
from azure.cli.core.commands import CliCommandType
from azext_databox._client_factory import cf_databox
databox_custom = CliCommandType(
operations_tmpl='azext_databox.custom#{}',
client_factory=cf_databox)
super(DataBoxCommandsLoader, self).__init__(cli_ctx=cli_ctx,
custom_command_type=databox_custom)

def load_command_table(self, args):
from azext_databox.commands import load_command_table
load_command_table(self, args)
return self.command_table

def load_arguments(self, command):
from azext_databox._params import load_arguments
load_arguments(self, command)


COMMAND_LOADER_CLS = DataBoxCommandsLoader
14 changes: 14 additions & 0 deletions src/databox/azext_databox/_client_factory.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------


def cf_databox(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from azext_databox.vendored_sdks.databox import DataBoxManagementClient
return get_mgmt_service_client(cli_ctx, DataBoxManagementClient)


def cf_jobs(cli_ctx, *_):
return cf_databox(cli_ctx).jobs
101 changes: 101 additions & 0 deletions src/databox/azext_databox/_help.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# coding=utf-8
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

# pylint: disable=too-many-lines
# pylint: disable=line-too-long
from knack.help_files import helps # pylint: disable=unused-import


helps['databox job'] = """
type: group
short-summary: Commands to manage databox job.
"""

helps['databox job create'] = """
type: command
short-summary: Create a new job with the specified parameters.
examples:
- name: Create a databox job to use both storage account and managed disk as data destination.
text: |-
az databox job create --resource-group "SdkRg4981" --name "SdkJob3971" --location \\
"westus" --sku "DataBox" --contact-name "Public SDK Test" \\
--phone "1234567890" --email-list "[email protected]" \\
--street-address1 "16 TOWNSEND ST" --street-address2 "Unit 1" --city "San Francisco" \\
--state-or-province "CA" --country "US" --postal-code "94107" --company-name "Microsoft" \\
--storage-account sa1 sa2 --staging-storage-account sa \\
--resource-group-for-managed-disk /subscriptions/sub/resourceGroups/rg

- name: Create a databoxdisk job to use storage account as data destination.
text: |-
az databox job create --resource-group "SdkRg4981" --name "SdkJob3971" --location \\
"westus" --sku "DataBoxDisk" --expected-data-size 1 --contact-name "Public SDK Test" \\
--phone "1234567890" --email-list "[email protected]" --street-address1 "16 TOWNSEND ST" \\
--street-address2 "Unit 1" --city "San Francisco" --state-or-province "CA" --country "US" \\
--postal-code "94107" --company-name "Microsoft" --storage-account sa1
"""

helps['databox job update'] = """
type: command
short-summary: Update an existing job with the specified parameters.
examples:
- name: Update the job "SdkJob3971" with the specified parameters.
text: |-
az databox job update --resource-group "SdkRg4981" --name "SdkJob3971" \\
--contact-name "Update Job" --phone "1234567890" \\
--email-list "[email protected]" \\
--street-address1 "16 TOWNSEND ST" \\
--city "San Francisco" --state-or-province "CA" \\
--country "US" --postal-code "94107" \\
--company-name "Microsoft" \\
"""

helps['databox job delete'] = """
type: command
short-summary: Delete a job.
examples:
- name: Delete the job "SdkJob3971" in resource group "SdkRg4981".
text: |-
az databox job delete --resource-group "SdkRg4981" --name "SdkJob3971"
"""

helps['databox job show'] = """
type: command
short-summary: Get information about the specified job.
examples:
- name: Get the information about the job "SdkJob3971".
text: |-
az databox job show --resource-group "SdkRg4981" --name "SdkJob3971"
"""

helps['databox job list'] = """
type: command
short-summary: List all the jobs available under the given resource group or the given subscription.
examples:
- name: List all the jobs available under the current subscription.
text: |-
az databox job list
- name: List all the jobs available under the resource group "SdkRg4981".
text: |-
az databox job list --resource-group "SdkRg4981"
"""

helps['databox job cancel'] = """
type: command
short-summary: Cancel a job.
examples:
- name: Cancel the job "SdkJob3971" under resource group "SdkRg4981".
text: |-
az databox job cancel --resource-group "SdkRg4981" --name "SdkJob3971" --reason "CancelTest"
"""

helps['databox job list-credentials'] = """
type: command
short-summary: List the unencrypted secrets related to the job.
examples:
- name: List the unencrypted secrets related to the job "TJ-636646322037905056".
text: |-
az databox job list-credentials --resource-group "bvttoolrg6" --name "TJ-636646322037905056"
"""
75 changes: 75 additions & 0 deletions src/databox/azext_databox/_params.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
# pylint: disable=line-too-long
# pylint: disable=too-many-lines
# pylint: disable=too-many-statements

from azure.cli.core.commands.parameters import (
tags_type,
get_enum_type,
get_location_type
)
from azure.cli.core.commands.validators import get_default_location_from_resource_group
from knack.arguments import CLIArgumentType


def load_arguments(self, _):
storage_accounts_type = CLIArgumentType(help='Space-separated list of the destination storage account. It can be the name or resource ID of storage account.', arg_group='Storage Account', nargs='+')
staging_storage_account_type = CLIArgumentType(help='The name or ID of the destination storage account that can be used to copy the vhd for staging.', arg_group='Managed Disk')
resource_group_for_managed_disk_type = CLIArgumentType(help='The name or ID of the destination resource group where the Compute disks should be created.', arg_group='Managed Disk')
job_name_type = CLIArgumentType(options_list=['--name', '-n'], help='The name of the job resource within the specified resource group. job names must be between 3 and 24 characters in length and use any alphanumeric and underscore only')

with self.argument_context('databox job create') as c:
c.argument('job_name', job_name_type)
c.argument('location', arg_type=get_location_type(self.cli_ctx), default=None,
validator=get_default_location_from_resource_group)
c.argument('tags', tags_type)
c.argument('sku', arg_type=get_enum_type(['DataBox', 'DataBoxDisk', 'DataBoxHeavy']),
help='The sku type of DataBox.')
c.argument('expected_data_size', type=int, help='The expected size of the data which needs to be transferred in this job, in terabytes.The maximum usable capacity is up to 35 TB. This is only needed when sku is DataBoxDisk.')
c.argument('contact_name', help='Contact name of the person.', arg_group='Contact Details')
c.argument('phone', help='Phone number of the contact person.', arg_group='Contact Details')
c.argument('mobile', help='Mobile number of the contact person.', arg_group='Contact Details')
c.argument('email_list', help='Space-separated list of Email addresses to be notified about job progress.', arg_group='Contact Details', nargs='+')
c.argument('street_address1', help='Street Address line 1.', arg_group='Shipping Address')
c.argument('street_address2', help='Street Address line 2.', arg_group='Shipping Address')
c.argument('street_address3', help='Street Address line 3.', arg_group='Shipping Address')
c.argument('city', help='Name of the City.', arg_group='Shipping Address')
c.argument('state_or_province', help='Name of the State or Province.', arg_group='Shipping Address')
c.argument('country', help='Name of the Country. Ex: US', arg_group='Shipping Address')
c.argument('postal_code', help='Postal code.', arg_group='Shipping Address')
c.argument('company_name', help='Name of the company.', arg_group='Shipping Address')
c.extra('storage_accounts', arg_type=storage_accounts_type)
c.extra('staging_storage_account', arg_type=staging_storage_account_type)
c.extra('resource_group_for_managed_disk', arg_type=resource_group_for_managed_disk_type)
c.ignore('destination_account_details')

with self.argument_context('databox job update') as c:
c.argument('job_name', job_name_type)
c.argument('contact_name', help='Contact name of the person.', arg_group='Contact Details')
c.argument('phone', help='Phone number of the contact person.', arg_group='Contact Details')
c.argument('mobile', help='Mobile number of the contact person.', arg_group='Contact Details')
c.argument('email_list', help='List of Email addresses to be notified about job progress.', arg_group='Contact Details', nargs='+')
c.argument('street_address1', help='Street Address line 1.', arg_group='Shipping Address')
c.argument('street_address2', help='Street Address line 2.', arg_group='Shipping Address')
c.argument('street_address3', help='Street Address line 3.', arg_group='Shipping Address')
c.argument('city', help='Name of the City.', arg_group='Shipping Address')
c.argument('state_or_province', help='Name of the State or Province.', arg_group='Shipping Address')
c.argument('country', help='Name of the Country. Ex: US', arg_group='Shipping Address')
c.argument('postal_code', help='Postal code.', arg_group='Shipping Address')
c.argument('company_name', help='Name of the company.', arg_group='Shipping Address')

with self.argument_context('databox job delete') as c:
c.argument('job_name', job_name_type)

with self.argument_context('databox job show') as c:
c.argument('job_name', job_name_type)

with self.argument_context('databox job cancel') as c:
c.argument('job_name', job_name_type)
c.argument('reason', help='Reason for cancellation.')

with self.argument_context('databox job list-credentials') as c:
c.argument('job_name', job_name_type)
Loading