-
Notifications
You must be signed in to change notification settings - Fork 0
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
Migrate rest of the cmdletd under StorageAccount to Track2 SDK #20
Conversation
Track2.BlobContainerResource blobContainerResource = this.StorageClientTrack2 | ||
.GetBlobContainerResource(this.ResourceGroupName, this.StorageAccountName, this.Name).Get().Value; | ||
|
||
//var container = this.StorageClient.BlobContainers.Get( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the commented part
//{ | ||
// containerlistResult = this.StorageClient.BlobContainers.ListNext(containerlistResult.NextPageLink); | ||
// WriteContainerList(containerlistResult); | ||
//} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the commented part
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any left cmdlets?
If not, we should remove the Track1 SDK reference.
// this.ResourceGroupName, | ||
// this.StorageAccountName, | ||
// this.ContainerName, | ||
// this.Etag); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the commented part
//this.StorageClient.BlobContainers.ObjectLevelWorm( | ||
// this.ResourceGroupName, | ||
// this.StorageAccountName, | ||
// this.Name); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the commented part
Same as below
@@ -325,7 +325,7 @@ public bool EnableActiveDirectoryDomainServicesForFile | |||
HelpMessage = "Specifies the domain GUID. This parameter must be set when -EnableActiveDirectoryDomainServicesForFile is set to true.", | |||
ParameterSetName = ActiveDirectoryDomainServicesForFileParameterSet)] | |||
[ValidateNotNullOrEmpty] | |||
public string ActiveDirectoryDomainGuid { get; set; } | |||
public Guid ActiveDirectoryDomainGuid { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a breaking change.
We should iether keep the input type as string, or follow the breaking process to release it.
Description
This PR includes changes for migrating the rest of the cmdlets that lies under StorageAccount to Track2 SDK.
Cmdlets include:
Checklist
CONTRIBUTING.md
ChangeLog.md
file(s) has been updated:ChangeLog.md
file can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
## Upcoming Release
header -- no new version header should be added