Cloud.Governance.Client 0.5.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Cloud.Governance.Client --version 0.5.2
NuGet\Install-Package Cloud.Governance.Client -Version 0.5.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cloud.Governance.Client" Version="0.5.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cloud.Governance.Client --version 0.5.2
#r "nuget: Cloud.Governance.Client, 0.5.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Cloud.Governance.Client as a Cake Addin
#addin nuget:?package=Cloud.Governance.Client&version=0.5.2

// Install Cloud.Governance.Client as a Cake Tool
#tool nuget:?package=Cloud.Governance.Client&version=0.5.2

Cloud.Governance.Client - the C# library for the Cloud Governance Api

<a name="frameworks-supported"></a>

Frameworks supported

  • .NET Core >=1.0
  • .NET Framework >=4.6
  • Mono/Xamarin >=vNext

<a name="installation"></a>

Installation

Install-Package Cloud.Governance.Client

<a name="getting-started"></a>

Getting Started

using System.Collections.Generic;
using System.Diagnostics;
using Cloud.Governance.Client.Api;
using Cloud.Governance.Client.Client;
using Cloud.Governance.Client.Model;

namespace Example
{
    public class GetMyTasksExample
    {
        public static void Main()
        {
            Configuration.Default.BasePath = "https://API_BASE_URL";
            // Configure API key authorization: ClientId
            Configuration.Default.AddApiKey("clientId", "Your Client Id");
            
            // Configure API key authorization: ClientSecret
            Configuration.Default.AddApiKey("clientSecret", "Your Client Secret");
            
            // Configure API key authorization: UserPrincipalName
            Configuration.Default.AddApiKey("userPrincipalName", "someone@example.com");
            

            var apiInstance = new TasksApi(Configuration.Default);
           
            try
            {
                // get my tasks
                TaskListPageResult result = apiInstance.GetMyTasks();
                Debug.WriteLine(result);
            }
            catch (ApiException  e)
            {
                Debug.Print("Exception when calling TasksApi.GetMyTasks: " + e.Message );
                Debug.Print("Status Code: "+ e.ErrorCode);
                Debug.Print(e.StackTrace);
            }
        }
    }
}

Documentation for API Endpoints

<a name="documentation-for-authorization"></a>

Documentation for Authorization

To get Client Id and Client Secret, go to Cloud Governance System setting->API Authentication Management(you must be administrator for Cloud Governance), create a authentication profile, after create a profile, copy the clientid and client secret.

<a name="ClientId"></a>

ClientId

  • Type: API key
  • API key parameter name: clientId
  • Location: HTTP header

<a name="ClientSecret"></a>

ClientSecret

  • Type: API key
  • API key parameter name: clientSecret
  • Location: HTTP header

<a name="UserPrincipalName"></a>

UserPrincipalName

  • Type: API key
  • API key parameter name: userPrincipalName
  • Location: HTTP header
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.10.0 762 11/2/2023
6.6.2 590 7/10/2023
6.6.1 145 7/10/2023
6.3.3 177 5/1/2023
6.3.1 824 3/6/2023
6.1.1 452 1/12/2023
5.9.1 1,868 9/5/2022
5.5.4 700 6/2/2022
5.5.3 421 6/2/2022
5.5.2 428 5/17/2022
5.3.0 712 3/9/2022
5.1.1 620 1/18/2022
5.1.0 294 1/4/2022
4.11.1 395 11/8/2021
4.9.3 6,232 9/6/2021
4.7.4 1,644 7/12/2021
4.5.1 1,667 5/11/2021
4.1.16 1,481 3/29/2021
4.1.10 521 1/12/2021
4.1.9 372 1/12/2021
0.7.3 13,601 9/15/2020
0.7.2 461 9/11/2020
0.7.1 448 9/7/2020
0.7.0 522 9/6/2020
0.6.6 1,112 8/27/2020
0.6.5 818 7/29/2020
0.6.4 507 7/27/2020
0.6.3 498 7/7/2020
0.6.2 493 5/26/2020
0.6.1 2,548 3/19/2020
0.6.0 506 3/18/2020
0.5.4 479 3/13/2020
0.5.2 622 1/10/2020