Граф коммитов

520 Коммитов

Автор SHA1 Сообщение Дата
yeonghunki 238a53077a
Merge branch 'main' into user/yeonghunki/dailybuild 2024-10-25 09:10:38 -07:00
Pradeep Kumar Gayam 9d97cfbab9
API to eject and remove ISO disk from VM (#281)
* Remove ISO from VM operation

* Add role and rename the operation

---------

Co-authored-by: Pradeep Kumar Gayam <pgayam@microsft.com>
2024-10-23 16:34:35 -07:00
Niko Hobart 7fef31faaf
Merge pull request #275 from microsoft/user/nhobart/moc-error-codes
added grpc error parsing interceptor
2024-10-17 11:59:49 -05:00
Niko Hobart 9969108ed9 moved interceptor to moc and removed moc-pkg dependency 2024-10-17 09:36:37 -07:00
Niko Hobart aadff10ae0 use interceptor from moc-pkg intercept pkg 2024-10-15 09:44:39 -07:00
Niko Hobart 5efaba3e0e added grpc error parsing interceptor 2024-10-15 09:42:17 -07:00
yeonghunki 8de1152138
Merge branch 'main' into user/yeonghunki/dailybuild 2024-10-15 09:27:13 -07:00
Blair Urish fdf5659647
Merge pull request #278 from microsoft/dev/blairurish/galleryImageOsType
Include gallery image OS type in requests and responses
2024-10-15 09:17:40 -07:00
Blair Urish 1b95023efb Include gallery image OS type in requests and responses 2024-10-14 18:00:43 -07:00
bgriddaluru 9958aeb6cf
[Availability Zone] VM Placement in a Zone integration (#253)
VM Placement in a Zone
2024-10-11 17:44:39 -07:00
mkatturu f383fe7024
Sync users/mkatturu/AvailabilityZonesChanges-2 (#276) (#277)
* added moc sdk changes for availability zone

* update variable name

* updated moc package version in go mod

* updated the moc test package version

* Updating method name

* experimental changes

* moved av zone to cloud

* removed some vm references

* removed some vm references

* moved code to cloud.go

* updates few methods

* removed unnecessary lines

* removed unnecessary lines

* removed extra space

* added extra space

* updates nodes

* removed av zone validation in CreateorUpdate

* testing changes

* testing changes

* testing changes

* testing changes

* testing changes

* testing changes

* testing changes

* added location check

* added location check

* added location check

* added location to avzone obj

* added changes to fix version

* removed type

* updated variable names

* updated properties field

* adding precheck API for avzone

* fixed build failures

* fixed build failure

* updated variable name

* updated name to zone

* updated text

* Revert "updated moc tag"

This reverts commit 4f563cbc1d, reversing
changes made to aec867f04b.

* updated moc tag

* updated moc tag

* fixed build error

* Revert "fixed build error"

This reverts commit bb7c24ff4d.

* Revert "updated moc tag"

This reverts commit d457b99bf2.

* updated moc tag to 121

* updated moc tag to 122

* added back the removed replace dependency

* added back the removed replace dependency

* added precheck

* updated moc tag

* fixed build failures

* updated moc tag
2024-10-11 16:30:11 -07:00
yeonghunki eae986b3a5 added daily build schedule 2024-10-03 11:39:20 -07:00
yeonghunki 059177baec
Merge pull request #271 from microsoft/user/yeonghunki/update-tsa-config
updated tsa config
2024-10-03 11:17:34 -07:00
Yeonghun Ki a123719dd5 updated codebaseName 2024-10-02 15:23:19 -07:00
yeonghunki 4101c39187 updated tsa config 2024-09-30 15:01:23 -07:00
damanMSFT 3a1caf8ef7
VirtualHardDisk Download Support (#263)
* VirtualHardDisk Download and GalleryImage Create from VM Support

* Gallery Image from VM Working

* Working both features

* resolved comments

* Updated moc commit

* Added comments

* New GalleryImage from VM workflow

* Update go sum

* Removed GalleryImage from VM logic

* Resolving comments

* Updated moc commit
2024-09-21 19:02:15 -07:00
Dan Ma 547960b523
Merge pull request #267 from microsoft/user/dama/fixwrapper
Fix multiple issues in current PR by crating V2 APIs
2024-09-13 11:58:23 -07:00
danmamsft 5691d0f2ac Merge branch 'user/dama/fixwrapper' of github.com:microsoft/moc-sdk-for-go into user/dama/fixwrapper 2024-09-13 11:08:22 -07:00
danmamsft 7967362651 address comment 2024-09-13 11:06:29 -07:00
Microsoft Corporation 859556c233
Merge branch 'main' into user/dama/fixwrapper 2024-09-13 09:02:13 -07:00
danmamsft 7a027c6307 changes to wrapper 2024-09-10 21:14:25 -07:00
Pradeep Kumar Gayam e59c4a8267
Update golang version to 1.22.5 (#258)
* Add the temp workaround for codeql

* Update golang version

---------

Co-authored-by: Pradeep Kumar Gayam <pgayam@microsft.com>
2024-09-09 15:29:38 -07:00
danmamsft 9b4e1d5c2f address comments 2024-09-06 15:04:55 -07:00
danmamsft 7c738561d1 fix current wrapper 2024-08-30 23:51:51 -07:00
Pradeep Kumar Gayam 9d654df0a9
Revert golang version to 1.20 (#265)
Co-authored-by: Pradeep Kumar Gayam <pgayam@microsft.com>
2024-08-27 15:11:55 -07:00
shayan-msft cffa1bfc38
Adding SecurityEncryptionType (#245)
* Add SecurityEncryptionType

* Add default case for SecurityEncryptionType

* add comment and change style of assignment

* set securityencryptiontype to empty string by default

* update go.mod to v1.22.5
2024-08-26 16:14:02 -07:00
mkatturu ee554e27ad
added moc sdk changes for availability zone (#252)
* added moc sdk changes for availability zone

* update variable name

* updated moc package version in go mod

* updated the moc test package version

* Updating method name

* experimental changes

* moved av zone to cloud

* removed some vm references

* removed some vm references

* moved code to cloud.go

* updates few methods

* removed unnecessary lines

* removed unnecessary lines

* removed extra space

* added extra space

* updates nodes

* removed av zone validation in CreateorUpdate

* testing changes

* testing changes

* testing changes

* testing changes

* testing changes

* testing changes

* testing changes

* added location check

* added location check

* added location check

* added location to avzone obj

* added changes to fix version

* removed type

* updated variable names

* updated properties field

* updated name to zone

* updated text

* Revert "updated moc tag"

This reverts commit 4f563cbc1d, reversing
changes made to aec867f04b.

* updated moc tag

* updated moc tag

* fixed build error

* Revert "fixed build error"

This reverts commit bb7c24ff4d.

* Revert "updated moc tag"

This reverts commit d457b99bf2.

* updated moc tag to 121

* updated moc tag to 122

* added back the removed replace dependency

* added back the removed replace dependency

* updated latest moc tag

* updated go

* reverted new dependencies

* updated moc tag

* resolved buid error

* resolved build error

* restore go mod and go sum

* update go mod

* update go mod

* updated latest moc tag

* updated a comment

* added nil checks for location and properties
2024-08-23 13:44:16 -07:00
ganeshamohana 220639ee0a
Merge pull request #259 from microsoft/user/gmohana/cve
Update github.com/spf13/viper package to fix CVE issue
2024-08-19 15:12:32 -07:00
Ganesh 89622a8910 Update github.com/spf13/viper package to fix CVE issue 2024-08-16 16:37:41 -07:00
Ganesh 09235ec94c Merge branch 'main' into user/gmohana/cve 2024-08-16 16:35:15 -07:00
ganeshamohana 9a2dab9e9a
CVE fixes (#257) 2024-08-08 09:37:48 -07:00
Ganesh b2ac83792a CVE fixes 2024-08-06 14:04:24 -07:00
Dhaval Popat 2c1123acda
Add guardrails for setting default values (#248) 2024-07-03 21:15:14 -07:00
Dhaval Popat 6cb0d010f8
API for Resize with GPUs (#247) 2024-07-03 16:35:43 -07:00
aeweston-msft b3d8597bf5
Add other resource precheck functions (#246)
* service changes

* temp go mod changes

* use new official MOC release and fix typo
2024-06-27 17:06:32 -07:00
James Liang 6de07f7af8
Vendor packages for NVIDIA H100 GPU (#239) 2024-06-25 13:07:01 +08:00
JamesLiang29 9ef8f7190f
Precheck Capacity before Provisioning Virtual Machines and Virtual Hard Disks (#240) 2024-06-21 13:16:19 +08:00
aeweston-msft cc08fd8a44
check for error from PrintAccessFile (#235) 2024-06-19 14:12:53 -07:00
wenjlu-lgy b8f8b01482
moc sdk for go change for hybrid aks gpu (#234)
* sdk change for gpup
2024-06-03 10:08:10 +08:00
Yingxin Zhang 24a86a31e3
Merge pull request #230 from microsoft/users/yz/vmsize
Updated moc reference for f16s_hpn vm sku
2024-04-15 10:48:07 -07:00
Yingxin Zhang 10988346e8 Update moc reference 2024-04-10 16:55:06 +00:00
Vivian Lappenbusch (MSFT) db9468c4b4
Update references to fix NSG deserialization (#228)
* update go mod to use new moc

* update names in moc repo

* update go mod with official tag

---------

Co-authored-by: vlappenbusch <vlappenbusch@vivianlapp.redmond.corp.microsoft.com>
2024-04-05 16:42:27 -07:00
Vivian Lappenbusch (MSFT) b1e1319f0d
Add NSG support to logical network (#220)
* Initial skeleton for NSG support

* resolve build problem, push to share code

* push for testing

* additional go mod changes

* add changes, basic functionality working

* update with commit in go.mod

* remove location and add rule duplicate name check

* reinsert location

* include default security rules

* relax priority range restriction and add icmp protocol support

* translate default rules appropriately

* try updating security rule dereference

* add two way check for icmp protocol

* update go mod

* add nsg to conversion for lnet

* add local paths and subresource information

* update go mod

* update moc reference and change references

* use location instead of group

* update pointer for location in vnet

* update moc references

---------

Co-authored-by: mjethwa-msft <mjethwa@microsoft.com>
Co-authored-by: vlappenbusch <vlappenbusch@vivianlapp.redmond.corp.microsoft.com>
2024-04-04 09:27:27 -07:00
Vivian Lappenbusch (MSFT) e81da14682
Add support for Network Security Groups (#196)
* Initial skeleton for NSG support

* resolve build problem, push to share code

* push for testing

* additional go mod changes

* add changes, basic functionality working

* update with commit in go.mod

* remove location and add rule duplicate name check

* reinsert location

* include default security rules

* relax priority range restriction and add icmp protocol support

* translate default rules appropriately

* try updating security rule dereference

* add two way check for icmp protocol

* update go mod

* update with final version of go mod

---------

Co-authored-by: mjethwa-msft <mjethwa@microsoft.com>
Co-authored-by: vlappenbusch <vlappenbusch@vivianlapp.redmond.corp.microsoft.com>
2024-03-12 10:33:30 -07:00
liwonMS fb58172b5c
Add Availability Set Support (#219)
* add affinity

* avset

* rename from vmavset to avset, add mock

* only expose create for avset client

* refactor a bit

* removed non-applicable test

* fix converter

* add test

* fix make file

* fix null ref

* use hash for replace

* rename variables

* uses AvailabilitySetReference

* fix create return len 0

* remvoe mock clients

* update new moc

* check for already exist avset in create call

* check for err

* update moc reference

* Revert "update moc reference"

This reverts commit 38c5c95e0b.

* Revert "Revert "update moc reference""

This reverts commit 5ba9e60c0d.
2024-03-05 12:58:27 -08:00
vishal-kadam 84d0364d4a
Merge pull request #204 from microsoft/user/vishalk/latest-moc-tag
Use latest moc tag
2024-02-05 15:19:53 +05:30
Vishal Kadam 2f02dda2ba use latest moc tag 2024-02-05 14:14:18 +05:30
Pradeep Kumar Gayam 4cd682e990
Merge pull request #202 from microsoft/user/pgayam/fix-missing-reference
Fix missing moc repo tag
2024-02-02 16:14:39 -08:00
Pradeep Kumar Gayam 80942b4bf3 Fix missing moc repo tag 2024-02-02 15:24:07 -08:00
huanyushao ae8d666e17
Add Pause/Save VM operation for moc-sdk. (#193)
* Add Pause/Save VM operation for moc-sdk.
The go.mod/go.sum is depending on a remote branch of moc repo. Will change it to master once that review is done.

* Update the microsoft/moc remote branch version.

* go mod tidy.

* Fix moc dependency to merged main branch.

* Fix to use the most recent release bulid of moc.
2024-01-31 15:17:23 -08:00