Skip to content

Commit 3e67d78

Browse files
author
SDKAuto
committed
CodeGen from PR 19956 in Azure/azure-rest-api-specs
Merge 183dbd42aef82973d3fc506db21bae8b44cdbbb7 into f70b7953f5d54889cc1825b37ad938342ca93a2e
1 parent 708c95c commit 3e67d78

34 files changed

+2265
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30309.148
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{C9688F41-2CDC-4E21-9C59-3A53108C77F4}") = "Azure.ResourceManager.Resourcehealth", "src\Azure.ResourceManager.Resourcehealth.csproj", "{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}"
7+
EndProject
8+
Project("{C9688F41-2CDC-4E21-9C59-3A53108C77F4}") = "Azure.ResourceManager.Resourcehealth.Tests", "tests\Azure.ResourceManager.Resourcehealth.Tests.csproj", "{3D83C189-09BE-4F45-81BB-689166D19B36}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionProperties) = preSolution
12+
HideSolutionNode = FALSE
13+
EndGlobalSection
14+
GlobalSection(ExtensibilityGlobals) = postSolution
15+
SolutionGuid = {8673E589-E253-4233-A3DF-9F99E666A01C}
16+
EndGlobalSection
17+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
18+
Debug|Any CPU = Debug|Any CPU
19+
Debug|x64 = Debug|x64
20+
Debug|x86 = Debug|x86
21+
Release|Any CPU = Release|Any CPU
22+
Release|x64 = Release|x64
23+
Release|x86 = Release|x86
24+
EndGlobalSection
25+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
26+
{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}.Debug|x64.ActiveCfg = Debug|Any CPU
29+
{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}.Debug|x64.Build.0 = Debug|Any CPU
30+
{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}.Debug|x86.ActiveCfg = Debug|Any CPU
31+
{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}.Debug|x86.Build.0 = Debug|Any CPU
32+
{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}.Release|Any CPU.ActiveCfg = Release|Any CPU
33+
{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}.Release|Any CPU.Build.0 = Release|Any CPU
34+
{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}.Release|x64.ActiveCfg = Release|Any CPU
35+
{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}.Release|x64.Build.0 = Release|Any CPU
36+
{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}.Release|x86.ActiveCfg = Release|Any CPU
37+
{A6FC2FD7-33C9-4C9B-AD40-CE57C0FABBB4}.Release|x86.Build.0 = Release|Any CPU
38+
{3D83C189-09BE-4F45-81BB-689166D19B36}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
39+
{3D83C189-09BE-4F45-81BB-689166D19B36}.Debug|Any CPU.Build.0 = Debug|Any CPU
40+
{3D83C189-09BE-4F45-81BB-689166D19B36}.Debug|x64.ActiveCfg = Debug|Any CPU
41+
{3D83C189-09BE-4F45-81BB-689166D19B36}.Debug|x64.Build.0 = Debug|Any CPU
42+
{3D83C189-09BE-4F45-81BB-689166D19B36}.Debug|x86.ActiveCfg = Debug|Any CPU
43+
{3D83C189-09BE-4F45-81BB-689166D19B36}.Debug|x86.Build.0 = Debug|Any CPU
44+
{3D83C189-09BE-4F45-81BB-689166D19B36}.Release|Any CPU.ActiveCfg = Release|Any CPU
45+
{3D83C189-09BE-4F45-81BB-689166D19B36}.Release|Any CPU.Build.0 = Release|Any CPU
46+
{3D83C189-09BE-4F45-81BB-689166D19B36}.Release|x64.ActiveCfg = Release|Any CPU
47+
{3D83C189-09BE-4F45-81BB-689166D19B36}.Release|x64.Build.0 = Release|Any CPU
48+
{3D83C189-09BE-4F45-81BB-689166D19B36}.Release|x86.ActiveCfg = Release|Any CPU
49+
{3D83C189-09BE-4F45-81BB-689166D19B36}.Release|x86.Build.0 = Release|Any CPU
50+
EndGlobalSection
51+
EndGlobal
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Release History
2+
3+
## 1.0.0-beta.1 (Unreleased)
4+
5+
### General New Features
6+
7+
- Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET
8+
- Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing
9+
- HTTP pipeline with custom policies
10+
- Better error-handling
11+
- Support uniform telemetry across all languages
12+
13+
This package follows the [Azure SDK Design Guidelines for .NET](https://azure.github.io/azure-sdk/dotnet_introduction.html) which provide a number of core capabilities that are shared amongst all Azure SDKs, including the intuitive Azure Identity library, an HTTP Pipeline with custom policies, error-handling, distributed tracing, and much more.
14+
15+
This is a Public Preview version, so expect incompatible changes in subsequent releases as we improve the product. To provide feedback, please submit an issue in our [Azure SDK for .NET GitHub repo](https://github.com/Azure/azure-sdk-for-net/issues).
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<!--
3+
Add any shared properties you want for the projects under this package directory that need to be set before the auto imported Directory.Build.props
4+
-->
5+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., Directory.Build.props))\Directory.Build.props" />
6+
</Project>
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Azure resourcehealth Management client library for .NET
2+
3+
This package follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html) which provide a number of core capabilities that are shared amongst all Azure SDKs, including the intuitive Azure Identity library, an HTTP Pipeline with custom policies, error-handling, distributed tracing, and much more.
4+
5+
## Getting started
6+
7+
### Install the package
8+
9+
Install the Azure resourcehealth management library for .NET with [NuGet](https://www.nuget.org/):
10+
11+
```dotnetcli
12+
dotnet add package Azure.ResourceManager.Resourcehealth --prerelease
13+
```
14+
15+
### Prerequisites
16+
17+
* You must have an [Azure subscription](https://azure.microsoft.com/free/dotnet/)
18+
19+
### Authenticate the Client
20+
21+
To create an authenticated client and start interacting with Azure resources, please see the [quickstart guide here](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md)
22+
23+
## Key concepts
24+
25+
Key concepts of the Azure .NET SDK can be found [here](https://azure.github.io/azure-sdk/dotnet_introduction.html)
26+
27+
## Documentation
28+
29+
Documentation is available to help you learn how to use this package
30+
31+
- [Quickstart](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md)
32+
- [API References](https://docs.microsoft.com/dotnet/api/?view=azure-dotnet)
33+
- [Authentication](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/README.md)
34+
35+
## Examples
36+
37+
Code samples for using the management library for .NET can be found in the following locations
38+
- [.NET Management Library Code Samples](https://docs.microsoft.com/samples/browse/?branch=master&languages=csharp&term=managing%20using%20Azure%20.NET%20SDK)
39+
40+
## Troubleshooting
41+
42+
- File an issue via [Github
43+
Issues](https://github.com/Azure/azure-sdk-for-net/issues)
44+
- Check [previous
45+
questions](https://stackoverflow.com/questions/tagged/azure+.net)
46+
or ask new ones on Stack Overflow using azure and .net tags.
47+
48+
49+
## Next steps
50+
51+
For more information on Azure SDK, please refer to [this website](https://azure.github.io/azure-sdk/)
52+
53+
## Contributing
54+
55+
For details on contributing to this repository, see the [contributing
56+
guide][cg].
57+
58+
This project welcomes contributions and suggestions. Most contributions
59+
require you to agree to a Contributor License Agreement (CLA) declaring
60+
that you have the right to, and actually do, grant us the rights to use
61+
your contribution. For details, visit <https://cla.microsoft.com>.
62+
63+
When you submit a pull request, a CLA-bot will automatically determine
64+
whether you need to provide a CLA and decorate the PR appropriately
65+
(e.g., label, comment). Simply follow the instructions provided by the
66+
bot. You will only need to do this once across all repositories using
67+
our CLA.
68+
69+
This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For
70+
more information see the [Code of Conduct FAQ][coc_faq] or contact
71+
<[email protected]> with any additional questions or comments.
72+
73+
<!-- LINKS -->
74+
[cg]: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/resourcemanager/Azure.ResourceManager/docs/CONTRIBUTING.md
75+
[coc]: https://opensource.microsoft.com/codeofconduct/
76+
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
namespace Azure.ResourceManager.Resourcehealth
2+
{
3+
public partial class AvailabilityStatusData : Azure.ResourceManager.Models.ResourceData
4+
{
5+
internal AvailabilityStatusData() { }
6+
public Azure.Core.AzureLocation? Location { get { throw null; } }
7+
public Azure.ResourceManager.Resourcehealth.Models.AvailabilityStatusProperties Properties { get { throw null; } }
8+
}
9+
public partial class AvailabilityStatusResource : Azure.ResourceManager.ArmResource
10+
{
11+
public static readonly Azure.Core.ResourceType ResourceType;
12+
protected AvailabilityStatusResource() { }
13+
public virtual Azure.ResourceManager.Resourcehealth.AvailabilityStatusData Data { get { throw null; } }
14+
public virtual bool HasData { get { throw null; } }
15+
public static Azure.Core.ResourceIdentifier CreateResourceIdentifier(string resourceUri) { throw null; }
16+
public virtual Azure.Response<Azure.ResourceManager.Resourcehealth.AvailabilityStatusResource> Get(string filter = null, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
17+
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resourcehealth.AvailabilityStatusResource>> GetAsync(string filter = null, string expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
18+
}
19+
public static partial class ResourcehealthExtensions
20+
{
21+
public static Azure.ResourceManager.Resourcehealth.AvailabilityStatusResource GetAvailabilityStatus(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier scope) { throw null; }
22+
public static Azure.ResourceManager.Resourcehealth.AvailabilityStatusResource GetAvailabilityStatusResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; }
23+
}
24+
}
25+
namespace Azure.ResourceManager.Resourcehealth.Models
26+
{
27+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
28+
public readonly partial struct AvailabilityStateValue : System.IEquatable<Azure.ResourceManager.Resourcehealth.Models.AvailabilityStateValue>
29+
{
30+
private readonly object _dummy;
31+
private readonly int _dummyPrimitive;
32+
public AvailabilityStateValue(string value) { throw null; }
33+
public static Azure.ResourceManager.Resourcehealth.Models.AvailabilityStateValue Available { get { throw null; } }
34+
public static Azure.ResourceManager.Resourcehealth.Models.AvailabilityStateValue Degraded { get { throw null; } }
35+
public static Azure.ResourceManager.Resourcehealth.Models.AvailabilityStateValue Unavailable { get { throw null; } }
36+
public static Azure.ResourceManager.Resourcehealth.Models.AvailabilityStateValue Unknown { get { throw null; } }
37+
public bool Equals(Azure.ResourceManager.Resourcehealth.Models.AvailabilityStateValue other) { throw null; }
38+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
39+
public override bool Equals(object obj) { throw null; }
40+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
41+
public override int GetHashCode() { throw null; }
42+
public static bool operator ==(Azure.ResourceManager.Resourcehealth.Models.AvailabilityStateValue left, Azure.ResourceManager.Resourcehealth.Models.AvailabilityStateValue right) { throw null; }
43+
public static implicit operator Azure.ResourceManager.Resourcehealth.Models.AvailabilityStateValue (string value) { throw null; }
44+
public static bool operator !=(Azure.ResourceManager.Resourcehealth.Models.AvailabilityStateValue left, Azure.ResourceManager.Resourcehealth.Models.AvailabilityStateValue right) { throw null; }
45+
public override string ToString() { throw null; }
46+
}
47+
public partial class AvailabilityStatusProperties
48+
{
49+
internal AvailabilityStatusProperties() { }
50+
public Azure.ResourceManager.Resourcehealth.Models.AvailabilityStateValue? AvailabilityState { get { throw null; } }
51+
public string DetailedStatus { get { throw null; } }
52+
public string HealthEventCategory { get { throw null; } }
53+
public string HealthEventCause { get { throw null; } }
54+
public string HealthEventId { get { throw null; } }
55+
public string HealthEventType { get { throw null; } }
56+
public System.DateTimeOffset? OccuredOn { get { throw null; } }
57+
public Azure.ResourceManager.Resourcehealth.Models.ReasonChronicityType? ReasonChronicity { get { throw null; } }
58+
public string ReasonType { get { throw null; } }
59+
public Azure.ResourceManager.Resourcehealth.Models.AvailabilityStatusPropertiesRecentlyResolved RecentlyResolved { get { throw null; } }
60+
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Resourcehealth.Models.RecommendedAction> RecommendedActions { get { throw null; } }
61+
public System.DateTimeOffset? ReportedOn { get { throw null; } }
62+
public System.DateTimeOffset? ResolutionETA { get { throw null; } }
63+
public System.DateTimeOffset? RootCauseAttributionOn { get { throw null; } }
64+
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Resourcehealth.Models.ServiceImpactingEvent> ServiceImpactingEvents { get { throw null; } }
65+
public string Summary { get { throw null; } }
66+
public string Title { get { throw null; } }
67+
}
68+
public partial class AvailabilityStatusPropertiesRecentlyResolved
69+
{
70+
internal AvailabilityStatusPropertiesRecentlyResolved() { }
71+
public System.DateTimeOffset? ResolvedOn { get { throw null; } }
72+
public System.DateTimeOffset? UnavailableOccuredOn { get { throw null; } }
73+
public string UnavailableSummary { get { throw null; } }
74+
}
75+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
76+
public readonly partial struct ReasonChronicityType : System.IEquatable<Azure.ResourceManager.Resourcehealth.Models.ReasonChronicityType>
77+
{
78+
private readonly object _dummy;
79+
private readonly int _dummyPrimitive;
80+
public ReasonChronicityType(string value) { throw null; }
81+
public static Azure.ResourceManager.Resourcehealth.Models.ReasonChronicityType Persistent { get { throw null; } }
82+
public static Azure.ResourceManager.Resourcehealth.Models.ReasonChronicityType Transient { get { throw null; } }
83+
public bool Equals(Azure.ResourceManager.Resourcehealth.Models.ReasonChronicityType other) { throw null; }
84+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
85+
public override bool Equals(object obj) { throw null; }
86+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
87+
public override int GetHashCode() { throw null; }
88+
public static bool operator ==(Azure.ResourceManager.Resourcehealth.Models.ReasonChronicityType left, Azure.ResourceManager.Resourcehealth.Models.ReasonChronicityType right) { throw null; }
89+
public static implicit operator Azure.ResourceManager.Resourcehealth.Models.ReasonChronicityType (string value) { throw null; }
90+
public static bool operator !=(Azure.ResourceManager.Resourcehealth.Models.ReasonChronicityType left, Azure.ResourceManager.Resourcehealth.Models.ReasonChronicityType right) { throw null; }
91+
public override string ToString() { throw null; }
92+
}
93+
public partial class RecommendedAction
94+
{
95+
internal RecommendedAction() { }
96+
public string Action { get { throw null; } }
97+
public System.Uri ActionUri { get { throw null; } }
98+
public string ActionUrlText { get { throw null; } }
99+
}
100+
public partial class ServiceImpactingEvent
101+
{
102+
internal ServiceImpactingEvent() { }
103+
public string CorrelationId { get { throw null; } }
104+
public System.DateTimeOffset? EventStartOn { get { throw null; } }
105+
public System.DateTimeOffset? EventStatusLastModifiedOn { get { throw null; } }
106+
public Azure.ResourceManager.Resourcehealth.Models.ServiceImpactingEventIncidentProperties IncidentProperties { get { throw null; } }
107+
public string StatusValue { get { throw null; } }
108+
}
109+
public partial class ServiceImpactingEventIncidentProperties
110+
{
111+
internal ServiceImpactingEventIncidentProperties() { }
112+
public string IncidentType { get { throw null; } }
113+
public string Region { get { throw null; } }
114+
public string Service { get { throw null; } }
115+
public string Title { get { throw null; } }
116+
}
117+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<Version>1.0.0-beta.1</Version>
4+
<PackageId>Azure.ResourceManager.Resourcehealth</PackageId>
5+
<Description>Azure Resource Manager client SDK for Azure resource provider resourcehealth</Description>
6+
<PackageTags>azure;management;arm;resource manager;resourcehealth</PackageTags>
7+
</PropertyGroup>
8+
</Project>

sdk/resourcehealth/Azure.ResourceManager.Resourcehealth/src/Generated/AvailabilityStatusData.cs

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

0 commit comments

Comments
 (0)