Skip to content

Commit cbd4734

Browse files
authored
Polish the Azure.ResourceManager.ResourceGraph for stable release (Azure#33189)
1 parent f8f00fb commit cbd4734

18 files changed

+115
-105
lines changed

sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/api/Azure.ResourceManager.ResourceGraph.netstandard2.0.cs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ namespace Azure.ResourceManager.ResourceGraph
22
{
33
public static partial class ResourceGraphExtensions
44
{
5-
public static Azure.Response<Azure.ResourceManager.ResourceGraph.Models.QueryResponse> Resources(this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.ResourceGraph.Models.QueryContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
6-
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceGraph.Models.QueryResponse>> ResourcesAsync(this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.ResourceGraph.Models.QueryContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
7-
public static Azure.Response<System.BinaryData> ResourcesHistory(this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.ResourceGraph.Models.ResourcesHistoryContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
8-
public static System.Threading.Tasks.Task<Azure.Response<System.BinaryData>> ResourcesHistoryAsync(this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.ResourceGraph.Models.ResourcesHistoryContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
5+
public static Azure.Response<System.BinaryData> GetResourceHistory(this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.ResourceGraph.Models.ResourcesHistoryContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
6+
public static System.Threading.Tasks.Task<Azure.Response<System.BinaryData>> GetResourceHistoryAsync(this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.ResourceGraph.Models.ResourcesHistoryContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
7+
public static Azure.Response<Azure.ResourceManager.ResourceGraph.Models.ResourceQueryResult> GetResources(this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.ResourceGraph.Models.ResourceQueryContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
8+
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceGraph.Models.ResourceQueryResult>> GetResourcesAsync(this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.ResourceManager.ResourceGraph.Models.ResourceQueryContent content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
99
}
1010
}
1111
namespace Azure.ResourceManager.ResourceGraph.Models
@@ -19,16 +19,9 @@ public enum AuthorizationScopeFilter
1919
}
2020
public partial class DateTimeInterval
2121
{
22-
public DateTimeInterval(System.DateTimeOffset start, System.DateTimeOffset end) { }
23-
public System.DateTimeOffset End { get { throw null; } }
24-
public System.DateTimeOffset Start { get { throw null; } }
25-
}
26-
public partial class ErrorDetails
27-
{
28-
internal ErrorDetails() { }
29-
public System.Collections.Generic.IReadOnlyDictionary<string, System.BinaryData> AdditionalProperties { get { throw null; } }
30-
public string Code { get { throw null; } }
31-
public string Message { get { throw null; } }
22+
public DateTimeInterval(System.DateTimeOffset startOn, System.DateTimeOffset endOn) { }
23+
public System.DateTimeOffset EndOn { get { throw null; } }
24+
public System.DateTimeOffset StartOn { get { throw null; } }
3225
}
3326
public abstract partial class Facet
3427
{
@@ -38,7 +31,14 @@ protected Facet(string expression) { }
3831
public partial class FacetError : Azure.ResourceManager.ResourceGraph.Models.Facet
3932
{
4033
internal FacetError() : base (default(string)) { }
41-
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.ResourceGraph.Models.ErrorDetails> Errors { get { throw null; } }
34+
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.ResourceGraph.Models.FacetErrorDetails> Errors { get { throw null; } }
35+
}
36+
public partial class FacetErrorDetails
37+
{
38+
internal FacetErrorDetails() { }
39+
public System.Collections.Generic.IReadOnlyDictionary<string, System.BinaryData> AdditionalProperties { get { throw null; } }
40+
public string Code { get { throw null; } }
41+
public string Message { get { throw null; } }
4242
}
4343
public partial class FacetRequest
4444
{
@@ -66,28 +66,28 @@ public enum FacetSortOrder
6666
Asc = 0,
6767
Desc = 1,
6868
}
69-
public partial class QueryContent
69+
public partial class ResourceQueryContent
7070
{
71-
public QueryContent(string query) { }
71+
public ResourceQueryContent(string query) { }
7272
public System.Collections.Generic.IList<Azure.ResourceManager.ResourceGraph.Models.FacetRequest> Facets { get { throw null; } }
7373
public System.Collections.Generic.IList<string> ManagementGroups { get { throw null; } }
74-
public Azure.ResourceManager.ResourceGraph.Models.QueryRequestOptions Options { get { throw null; } set { } }
74+
public Azure.ResourceManager.ResourceGraph.Models.ResourceQueryRequestOptions Options { get { throw null; } set { } }
7575
public string Query { get { throw null; } }
7676
public System.Collections.Generic.IList<string> Subscriptions { get { throw null; } }
7777
}
78-
public partial class QueryRequestOptions
78+
public partial class ResourceQueryRequestOptions
7979
{
80-
public QueryRequestOptions() { }
80+
public ResourceQueryRequestOptions() { }
8181
public bool? AllowPartialScopes { get { throw null; } set { } }
8282
public Azure.ResourceManager.ResourceGraph.Models.AuthorizationScopeFilter? AuthorizationScopeFilter { get { throw null; } set { } }
8383
public Azure.ResourceManager.ResourceGraph.Models.ResultFormat? ResultFormat { get { throw null; } set { } }
8484
public int? Skip { get { throw null; } set { } }
8585
public string SkipToken { get { throw null; } set { } }
8686
public int? Top { get { throw null; } set { } }
8787
}
88-
public partial class QueryResponse
88+
public partial class ResourceQueryResult
8989
{
90-
internal QueryResponse() { }
90+
internal ResourceQueryResult() { }
9191
public long Count { get { throw null; } }
9292
public System.BinaryData Data { get { throw null; } }
9393
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.ResourceGraph.Models.Facet> Facets { get { throw null; } }

sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Extensions/ResourceGraphExtensions.cs

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Extensions/TenantResourceExtensionClient.cs

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/DateTimeInterval.Serialization.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/DateTimeInterval.cs

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/FacetError.Serialization.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/FacetError.cs

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)