A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/everis-technology/Tfe.NetClient below:

everis-technology/Tfe.NetClient: Terraform Enterprise .NET Client

Tfe.NetClient is a .NET Client for Terraform Enterprise.

Terraform Cloud API Documentation can be found here.

Add the package to your project
dotnet add package Tfe.NetClient
Create a TfeConfig object
var httpClient = new HttpClient();
var config = new TfeConfig(<YOUR TOKEN HERE>, httpClient);
var client = new TfeClient(config);
Create a request and call the correponding method
/// This sample creates a workspace
/// Create a WorkspacesRequest
var request = new WorkspacesRequest();
var workspaceName = $"test-{Guid.NewGuid().ToString()}";
request.Data.Attributes.Name = workspaceName;

/// Call the CreateAsync method.
var result = await client.Workspace.CreateAsync(organizationName, request);

Please check the Integration tests here for more samples.

Contributing to Tfe.NetClient

Check our Contributing guidelines here.

mkdir -p everis-technology/Tfe.NetClient
git clone https://github.com/everis-technology/Tfe.NetClient everis-technology/Tfe.NetClient

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4