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
7.6.0 1,107 6/11/2024
6.10.0 1,529 11/2/2023
6.6.2 632 7/10/2023
6.6.1 164 7/10/2023
6.3.3 196 5/1/2023
6.3.1 906 3/6/2023
6.1.1 473 1/12/2023
5.9.1 2,121 9/5/2022
5.5.4 722 6/2/2022
5.5.3 442 6/2/2022
5.5.2 450 5/17/2022
5.3.0 736 3/9/2022
5.1.1 639 1/18/2022
5.1.0 313 1/4/2022
4.11.1 415 11/8/2021
4.9.3 6,380 9/6/2021
4.7.4 1,665 7/12/2021
4.5.1 1,862 5/11/2021
4.1.16 1,504 3/29/2021
4.1.10 552 1/12/2021
4.1.9 391 1/12/2021
0.7.3 16,158 9/15/2020
0.7.2 482 9/11/2020
0.7.1 467 9/7/2020
0.7.0 543 9/6/2020
0.6.6 1,132 8/27/2020
0.6.5 840 7/29/2020
0.6.4 529 7/27/2020
0.6.3 519 7/7/2020
0.6.2 514 5/26/2020
0.6.1 2,569 3/19/2020
0.6.0 528 3/18/2020
0.5.4 499 3/13/2020
0.5.2 639 1/10/2020