Skip to content

Add Az.StorageSync Cmdlets supported by Microsoft.StorageSync RP - v5 version #8527

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

Merged
merged 37 commits into from
Feb 26, 2019
Merged

Add Az.StorageSync Cmdlets supported by Microsoft.StorageSync RP - v5 version #8527

merged 37 commits into from
Feb 26, 2019

Conversation

ankushbindlish2
Copy link
Member

@ankushbindlish2 ankushbindlish2 commented Feb 13, 2019

Description

This is a change prepared against the design issue Az Powershell design issue

Checklist

@ankushbindlish2
Copy link
Member Author

Old PR : #8465

@ankushbindlish2
Copy link
Member Author

Mark thinks that COM interaction should be in client SDK.
We want c# sdk to be generated from swagger as it is today. COM interaction is a special client only interaction and we will prefer to reside the code in powershell cmdlet code.

[Won't Fix]

@ankushbindlish2
Copy link
Member Author

[Mark] : would be good if we could get the signoff from another dev on the StorageSync team
Added Kristian from our team.

@kszobi
Copy link

kszobi commented Feb 13, 2019

public interface IEcsManagement : IDisposable

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Interfaces/IEcsManagement.cs:24 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public interface INetworkLimitConfigEntry

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Interfaces/INetworkLimitConfigEntry.cs:23 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public interface INetworkLimitConfigurationEntryEnumeration

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Interfaces/INetworkLimitConfigurationEntryEnumeration.cs:27 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public interface ISyncServerRegistration : IDisposable

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Interfaces/ISyncServerRegistration.cs:24 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public class Win32Helper

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Helpers/Win32Helper.cs:24 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public class ManagementInteropConstants

CR signed off #Resolved


Refers to: src/StorageSync/StorageSync/Interop/Helpers/ManagementInteropConstants.cs:21 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public sealed class ServerRegistrationException : Exception

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Exceptions/ServerRegistrationException.cs:24 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public enum ServerRegistrationErrorCode

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Enums/ServerRegistrationErrorCode.cs:17 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public enum ScrubbingMode

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Enums/ScrubbingMode.cs:17 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public enum RpcImpLevel

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Enums/RpcImpLevel.cs:17 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public enum RpcAuthnLevel

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Enums/RpcAuthnLevel.cs:17 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public enum RecallResult

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Enums/RecallResult.cs:20 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public enum OleAuthCapabilities

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Enums/OleAuthCapabilities.cs:20 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public enum GarbageCollectionMode : UInt32

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Enums/GarbageCollectionMode.cs:20 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public enum EoAuthnCap

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Enums/EoAuthnCap.cs:24 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

@kszobi
Copy link

kszobi commented Feb 13, 2019

public enum EFileShare : uint

CR signed off #Closed


Refers to: src/StorageSync/StorageSync/Interop/Enums/EFileShare.cs:22 in 7b8b40f. [](commit_id = 7b8b40f, deletion_comment = False)

Copy link
Member

@markcowl markcowl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noted some places where resource strings were still needed, and a few places where the default parameters et needed to be changed. Also, there are a couple of depdnencies on test code in the cmdlets that should be removed.

build.proj Outdated
@@ -49,19 +49,18 @@
<LibrarySourceFolder>$(LibraryRoot)src</LibrarySourceFolder>
<LibraryToolsFolder>$(LibraryRoot)tools</LibraryToolsFolder>
<LibraryArtifactsFolder>$(LibraryRoot)artifacts</LibraryArtifactsFolder>
<LocalFeedFolder>$(LibraryToolsFolder)\LocalFeed</LocalFeedFolder>
<Configuration Condition=" '$(Configuration)' != 'Release'">Debug</Configuration>
<LocalFeedFolder>$(LibraryToolsFolder)/LocalFeed</LocalFeedFolder> <Configuration Condition=" '$(Configuration)' != 'Release'">Debug</Configuration>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix line ending (note: this could be an issue with my PR, but please fix)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line still needs to be fixed

build.proj Outdated
@@ -49,19 +49,18 @@
<LibrarySourceFolder>$(LibraryRoot)src</LibrarySourceFolder>
<LibraryToolsFolder>$(LibraryRoot)tools</LibraryToolsFolder>
<LibraryArtifactsFolder>$(LibraryRoot)artifacts</LibraryArtifactsFolder>
<LocalFeedFolder>$(LibraryToolsFolder)\LocalFeed</LocalFeedFolder>
<Configuration Condition=" '$(Configuration)' != 'Release'">Debug</Configuration>
<LocalFeedFolder>$(LibraryToolsFolder)/LocalFeed</LocalFeedFolder> <Configuration Condition=" '$(Configuration)' != 'Release'">Debug</Configuration>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line still needs to be fixed

@markcowl markcowl merged commit 7b55679 into Azure:master Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants