Skip to content

Change int to long #2431

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 1 commit into from
Jun 13, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<HintPath>..\..\..\packages\Microsoft.Azure.Gallery.2.6.2-preview\lib\net40\Microsoft.Azure.Gallery.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Management.OperationalInsights, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Azure.Management.OperationalInsights.0.13.0-preview\lib\net40\Microsoft.Azure.Management.OperationalInsights.dll</HintPath>
<HintPath>..\..\..\packages\Microsoft.Azure.Management.OperationalInsights.0.14.0-preview\lib\net40\Microsoft.Azure.Management.OperationalInsights.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Azure.ResourceManager, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
<package id="Microsoft.Azure.Gallery" version="2.6.2-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Management.Authorization" version="1.0.0" targetFramework="net45" />
<package id="Microsoft.Azure.Management.OperationalInsights" version="0.13.0-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Management.OperationalInsights" version="0.14.0-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Management.Resources" version="2.20.0-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Test.Framework" version="1.0.5945.28173-prerelease" targetFramework="net45" />
<package id="Microsoft.Azure.Test.HttpRecorder" version="1.0.5945.28173-prerelease" targetFramework="net45" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<HintPath>..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Management.OperationalInsights, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Azure.Management.OperationalInsights.0.13.0-preview\lib\net40\Microsoft.Azure.Management.OperationalInsights.dll</HintPath>
<HintPath>..\..\..\packages\Microsoft.Azure.Management.OperationalInsights.0.14.0-preview\lib\net40\Microsoft.Azure.Management.OperationalInsights.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Azure.ResourceManager, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ public PSCoreSummary(CoreSummary coreSummary)
}
}
public string Status { get; set; }
public int NumberOfDocuments { get; set; }
public long NumberOfDocuments { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ public PSMetadataSchema(MetadataSchema schema)
}

public string Name { get; set; }
public int Version { get; set; }
public long Version { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public PSSavedSearchProperties(SavedSearchProperties properties)
public string Category { get; set; }
public string DisplayName { get; set; }
public string Query { get; set; }
public int? Version { get; set; }
public long? Version { get; set; }
public Hashtable Tags { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ namespace Microsoft.Azure.Commands.OperationalInsights.Models
{
public class PSSearchGetSearchResultsParameters : OperationalInsightsParametersBase
{
public int Top { get; set; }
public int Skip { get; set; }
public long Top { get; set; }
public long Skip { get; set; }
public PSHighlight Highlight { get; set; }
public bool IncludeArchive { get; set; }
public string Query { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public PSSearchMetadata(SearchMetadata metadata)
}
}
public string ResultType { get; set; }
public int? Total { get; set; }
public int? Top { get; set; }
public long? Total { get; set; }
public long? Top { get; set; }
public Guid? Id { get; set; }
public IEnumerable<object> CoreResponses { get; set; }
public List<PSCoreSummary> CoreSummaries { get; set; }
Expand All @@ -73,11 +73,11 @@ public PSSearchMetadata(SearchMetadata metadata)
public DateTime? LastUpdated { get; set; }
public string ETag { get; set; }
public List<PSSearchSort> Sort { get; set; }
public int? RequestTime { get; set; }
public long? RequestTime { get; set; }
public string AggregatedValueField { get; set; }
public string AggregatedGroupingFields { get; set; }
public int? Sum { get; set; }
public int? Max { get; set; }
public long? Sum { get; set; }
public long? Max { get; set; }
public PSMetadataSchema Schema { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class GetAzureOperationalInsightsSearchResultsCommand : OperationalInsigh
[Parameter(Position = 2, Mandatory = false, ValueFromPipelineByPropertyName = true,
HelpMessage = "The top search parameter.")]
[ValidateNotNullOrEmpty]
public int Top { get; set; }
public long Top { get; set; }

[Parameter(Position = 3, Mandatory = false, ValueFromPipelineByPropertyName = true,
HelpMessage = "The pre highlight search parameter.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class NewAzureOperationalInsightsComputerGroupCommand : OperationalInsigh
[Parameter(Position = 6, Mandatory = false, ValueFromPipelineByPropertyName = true,
HelpMessage = "The saved search version.")]
[ValidateNotNullOrEmpty]
public int Version { get; set; }
public long Version { get; set; }

[Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")]
public SwitchParameter Force { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class NewAzureOperationalInsightsSavedSearchCommand : OperationalInsights
[Parameter(Position = 7, Mandatory = false, ValueFromPipelineByPropertyName = true,
HelpMessage = "The saved search version.")]
[ValidateNotNullOrEmpty]
public int Version { get; set; }
public long Version { get; set; }

[Parameter(Mandatory = false, HelpMessage = "Don't ask for confirmation.")]
public SwitchParameter Force { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class SetAzureOperationalInsightsSavedSearchCommand : OperationalInsights
[Parameter(Position = 7, Mandatory = false, ValueFromPipelineByPropertyName = true,
HelpMessage = "The saved search version.")]
[ValidateNotNullOrEmpty]
public int Version { get; set; }
public long Version { get; set; }

[Parameter(Position = 8, Mandatory = false, ValueFromPipelineByPropertyName = true,
HelpMessage = "The ETag of the saved search.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package id="Hyak.Common" version="1.0.3" targetFramework="net45" />
<package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
<package id="Microsoft.Azure.Management.OperationalInsights" version="0.13.0-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Management.OperationalInsights" version="0.14.0-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Management.Resources" version="2.20.0-preview" targetFramework="net45" />
<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net45" />
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net45" />
Expand Down