Skip to content

Commit

Permalink
Built sdks
Browse files Browse the repository at this point in the history
  • Loading branch information
pierskarsenbarg committed Dec 16, 2024
1 parent 1d5b608 commit a5133c2
Show file tree
Hide file tree
Showing 159 changed files with 2,030 additions and 1,001 deletions.
5 changes: 3 additions & 2 deletions provider/go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module github.com/pierskarsenbarg/pulumi-nutanix/provider

go 1.22.0
toolchain go1.22.5
go 1.22.3

toolchain go1.23.2

replace (
github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240229143312-4f60ee4e2975
Expand Down
12 changes: 12 additions & 0 deletions sdk/dotnet/GetAccessControlPolicies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ public static Task<GetAccessControlPoliciesResult> InvokeAsync(GetAccessControlP
/// </summary>
public static Output<GetAccessControlPoliciesResult> Invoke(GetAccessControlPoliciesInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetAccessControlPoliciesResult>("nutanix:index/getAccessControlPolicies:getAccessControlPolicies", args ?? new GetAccessControlPoliciesInvokeArgs(), options.WithDefaults());

/// <summary>
/// Describes a list of access control policies.
///
/// ## Example Usage
///
/// ``` hcl
/// data "nutanix_access_control_policies" "test" {}
/// ```
/// </summary>
public static Output<GetAccessControlPoliciesResult> Invoke(GetAccessControlPoliciesInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetAccessControlPoliciesResult>("nutanix:index/getAccessControlPolicies:getAccessControlPolicies", args ?? new GetAccessControlPoliciesInvokeArgs(), options.WithDefaults());
}


Expand Down
6 changes: 6 additions & 0 deletions sdk/dotnet/GetAccessControlPolicy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ public static Task<GetAccessControlPolicyResult> InvokeAsync(GetAccessControlPol
/// </summary>
public static Output<GetAccessControlPolicyResult> Invoke(GetAccessControlPolicyInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetAccessControlPolicyResult>("nutanix:index/getAccessControlPolicy:getAccessControlPolicy", args ?? new GetAccessControlPolicyInvokeArgs(), options.WithDefaults());

/// <summary>
/// Describes an Access Control Policy.
/// </summary>
public static Output<GetAccessControlPolicyResult> Invoke(GetAccessControlPolicyInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetAccessControlPolicyResult>("nutanix:index/getAccessControlPolicy:getAccessControlPolicy", args ?? new GetAccessControlPolicyInvokeArgs(), options.WithDefaults());
}


Expand Down
38 changes: 38 additions & 0 deletions sdk/dotnet/GetAddressGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,44 @@ public static Task<GetAddressGroupResult> InvokeAsync(GetAddressGroupArgs args,
/// </summary>
public static Output<GetAddressGroupResult> Invoke(GetAddressGroupInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetAddressGroupResult>("nutanix:index/getAddressGroup:getAddressGroup", args ?? new GetAddressGroupInvokeArgs(), options.WithDefaults());

/// <summary>
/// Provides a datasource to retrieve a address group.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Nutanix = PiersKarsenbarg.Nutanix;
/// using Nutanix = Pulumi.Nutanix;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var testAddress = new Nutanix.AddressGroup("testAddress", new()
/// {
/// Description = "test address groups resource",
/// IpAddressBlockLists = new[]
/// {
/// new Nutanix.Inputs.AddressGroupIpAddressBlockListArgs
/// {
/// Ip = "10.0.0.0",
/// PrefixLength = 24,
/// },
/// },
/// });
///
/// var addrGroup = Nutanix.GetAddressGroup.Invoke(new()
/// {
/// Uuid = testAddress.Id,
/// });
///
/// });
/// ```
/// </summary>
public static Output<GetAddressGroupResult> Invoke(GetAddressGroupInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetAddressGroupResult>("nutanix:index/getAddressGroup:getAddressGroup", args ?? new GetAddressGroupInvokeArgs(), options.WithDefaults());
}


Expand Down
21 changes: 21 additions & 0 deletions sdk/dotnet/GetAddressGroups.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,27 @@ public static Task<GetAddressGroupsResult> InvokeAsync(GetAddressGroupsArgs? arg
/// </summary>
public static Output<GetAddressGroupsResult> Invoke(GetAddressGroupsInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetAddressGroupsResult>("nutanix:index/getAddressGroups:getAddressGroups", args ?? new GetAddressGroupsInvokeArgs(), options.WithDefaults());

/// <summary>
/// Provides a datasource to retrieve list of address groups.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Nutanix = Pulumi.Nutanix;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var addrGroups = Nutanix.GetAddressGroups.Invoke();
///
/// });
/// ```
/// </summary>
public static Output<GetAddressGroupsResult> Invoke(GetAddressGroupsInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetAddressGroupsResult>("nutanix:index/getAddressGroups:getAddressGroups", args ?? new GetAddressGroupsInvokeArgs(), options.WithDefaults());
}


Expand Down
3 changes: 3 additions & 0 deletions sdk/dotnet/GetAssertHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ public static Task<GetAssertHelperResult> InvokeAsync(GetAssertHelperArgs? args

public static Output<GetAssertHelperResult> Invoke(GetAssertHelperInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetAssertHelperResult>("nutanix:index/getAssertHelper:getAssertHelper", args ?? new GetAssertHelperInvokeArgs(), options.WithDefaults());

public static Output<GetAssertHelperResult> Invoke(GetAssertHelperInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetAssertHelperResult>("nutanix:index/getAssertHelper:getAssertHelper", args ?? new GetAssertHelperInvokeArgs(), options.WithDefaults());
}


Expand Down
6 changes: 6 additions & 0 deletions sdk/dotnet/GetCategoryKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ public static Task<GetCategoryKeyResult> InvokeAsync(GetCategoryKeyArgs args, In
/// </summary>
public static Output<GetCategoryKeyResult> Invoke(GetCategoryKeyInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetCategoryKeyResult>("nutanix:index/getCategoryKey:getCategoryKey", args ?? new GetCategoryKeyInvokeArgs(), options.WithDefaults());

/// <summary>
/// Describe a Nutanix Category Key and its values (if it has them).
/// </summary>
public static Output<GetCategoryKeyResult> Invoke(GetCategoryKeyInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetCategoryKeyResult>("nutanix:index/getCategoryKey:getCategoryKey", args ?? new GetCategoryKeyInvokeArgs(), options.WithDefaults());
}


Expand Down
6 changes: 6 additions & 0 deletions sdk/dotnet/GetCluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ public static Task<GetClusterResult> InvokeAsync(GetClusterArgs? args = null, In
/// </summary>
public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetClusterResult>("nutanix:index/getCluster:getCluster", args ?? new GetClusterInvokeArgs(), options.WithDefaults());

/// <summary>
/// Describes Clusters
/// </summary>
public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetClusterResult>("nutanix:index/getCluster:getCluster", args ?? new GetClusterInvokeArgs(), options.WithDefaults());
}


Expand Down
38 changes: 38 additions & 0 deletions sdk/dotnet/GetClusters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,44 @@ public static Task<GetClustersResult> InvokeAsync(InvokeOptions? options = null)
/// </summary>
public static Output<GetClustersResult> Invoke(InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetClustersResult>("nutanix:index/getClusters:getClusters", InvokeArgs.Empty, options.WithDefaults());

/// <summary>
/// Describes Clusters
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Nutanix = Pulumi.Nutanix;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var clusters = Nutanix.GetClusters.Invoke();
///
/// });
/// ```
///
/// ## Reference
///
/// The `project_reference`, `owner_reference`, `availability_zone_reference`, `cluster_reference`, attributes supports the following:
///
/// * `kind`: - The kind name (Default value: project).
/// * `name`: - the name.
/// * `UUID`: - the UUID.
///
/// ### Version
///
/// The version attribute supports the following:
///
/// * `product_name`: - Name of the producer/distribution of the image. For example windows or red hat.
/// * `product_version`: - Version string for the disk image.
///
/// See detailed information in [Nutanix Clusters](https://www.nutanix.dev/api_references/prism-central-v3/#/d93c30e04327e-get-a-list-of-existing-clusters).
/// </summary>
public static Output<GetClustersResult> Invoke(InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetClustersResult>("nutanix:index/getClusters:getClusters", InvokeArgs.Empty, options.WithDefaults());
}


Expand Down
6 changes: 6 additions & 0 deletions sdk/dotnet/GetFloatingIp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ public static Task<GetFloatingIpResult> InvokeAsync(GetFloatingIpArgs args, Invo
/// </summary>
public static Output<GetFloatingIpResult> Invoke(GetFloatingIpInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetFloatingIpResult>("nutanix:index/getFloatingIp:getFloatingIp", args ?? new GetFloatingIpInvokeArgs(), options.WithDefaults());

/// <summary>
/// Provides a datasource to retrieve floating IPs with floating_ip_uuid .
/// </summary>
public static Output<GetFloatingIpResult> Invoke(GetFloatingIpInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetFloatingIpResult>("nutanix:index/getFloatingIp:getFloatingIp", args ?? new GetFloatingIpInvokeArgs(), options.WithDefaults());
}


Expand Down
21 changes: 21 additions & 0 deletions sdk/dotnet/GetFloatingIps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,27 @@ public static Task<GetFloatingIpsResult> InvokeAsync(GetFloatingIpsArgs? args =
/// </summary>
public static Output<GetFloatingIpsResult> Invoke(GetFloatingIpsInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetFloatingIpsResult>("nutanix:index/getFloatingIps:getFloatingIps", args ?? new GetFloatingIpsInvokeArgs(), options.WithDefaults());

/// <summary>
/// Provides a datasource to retrieve all the floating IPs .
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Nutanix = Pulumi.Nutanix;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var test = Nutanix.GetFloatingIps.Invoke();
///
/// });
/// ```
/// </summary>
public static Output<GetFloatingIpsResult> Invoke(GetFloatingIpsInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetFloatingIpsResult>("nutanix:index/getFloatingIps:getFloatingIps", args ?? new GetFloatingIpsInvokeArgs(), options.WithDefaults());
}


Expand Down
24 changes: 24 additions & 0 deletions sdk/dotnet/GetFoundationCentralApiKeys.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,30 @@ public static Task<GetFoundationCentralApiKeysResult> InvokeAsync(GetFoundationC
/// </summary>
public static Output<GetFoundationCentralApiKeysResult> Invoke(GetFoundationCentralApiKeysInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetFoundationCentralApiKeysResult>("nutanix:index/getFoundationCentralApiKeys:getFoundationCentralApiKeys", args ?? new GetFoundationCentralApiKeysInvokeArgs(), options.WithDefaults());

/// <summary>
/// Get an api key given its UUID.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Nutanix = Pulumi.Nutanix;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var apiKeysList = Nutanix.GetFoundationCentralApiKeys.Invoke(new()
/// {
/// KeyUuid = "&lt;KEY_UUID&gt;",
/// });
///
/// });
/// ```
/// </summary>
public static Output<GetFoundationCentralApiKeysResult> Invoke(GetFoundationCentralApiKeysInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetFoundationCentralApiKeysResult>("nutanix:index/getFoundationCentralApiKeys:getFoundationCentralApiKeys", args ?? new GetFoundationCentralApiKeysInvokeArgs(), options.WithDefaults());
}


Expand Down
24 changes: 24 additions & 0 deletions sdk/dotnet/GetFoundationCentralClusterDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,30 @@ public static Task<GetFoundationCentralClusterDetailsResult> InvokeAsync(GetFoun
/// </summary>
public static Output<GetFoundationCentralClusterDetailsResult> Invoke(GetFoundationCentralClusterDetailsInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetFoundationCentralClusterDetailsResult>("nutanix:index/getFoundationCentralClusterDetails:getFoundationCentralClusterDetails", args ?? new GetFoundationCentralClusterDetailsInvokeArgs(), options.WithDefaults());

/// <summary>
/// Get a cluster details created using Foundation Central.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Nutanix = Pulumi.Nutanix;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var imagedClusterDetails = Nutanix.GetFoundationCentralClusterDetails.Invoke(new()
/// {
/// ImagedClusterUuid = "&lt;CLUSTER-UUID&gt;",
/// });
///
/// });
/// ```
/// </summary>
public static Output<GetFoundationCentralClusterDetailsResult> Invoke(GetFoundationCentralClusterDetailsInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetFoundationCentralClusterDetailsResult>("nutanix:index/getFoundationCentralClusterDetails:getFoundationCentralClusterDetails", args ?? new GetFoundationCentralClusterDetailsInvokeArgs(), options.WithDefaults());
}


Expand Down
21 changes: 21 additions & 0 deletions sdk/dotnet/GetFoundationCentralImagedClustersList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,27 @@ public static Task<GetFoundationCentralImagedClustersListResult> InvokeAsync(Get
/// </summary>
public static Output<GetFoundationCentralImagedClustersListResult> Invoke(GetFoundationCentralImagedClustersListInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetFoundationCentralImagedClustersListResult>("nutanix:index/getFoundationCentralImagedClustersList:getFoundationCentralImagedClustersList", args ?? new GetFoundationCentralImagedClustersListInvokeArgs(), options.WithDefaults());

/// <summary>
/// List all the clusters created using Foundation Central.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Nutanix = Pulumi.Nutanix;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var imagedClustersList = Nutanix.GetFoundationCentralImagedClustersList.Invoke();
///
/// });
/// ```
/// </summary>
public static Output<GetFoundationCentralImagedClustersListResult> Invoke(GetFoundationCentralImagedClustersListInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetFoundationCentralImagedClustersListResult>("nutanix:index/getFoundationCentralImagedClustersList:getFoundationCentralImagedClustersList", args ?? new GetFoundationCentralImagedClustersListInvokeArgs(), options.WithDefaults());
}


Expand Down
24 changes: 24 additions & 0 deletions sdk/dotnet/GetFoundationCentralImagedNodeDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,30 @@ public static Task<GetFoundationCentralImagedNodeDetailsResult> InvokeAsync(GetF
/// </summary>
public static Output<GetFoundationCentralImagedNodeDetailsResult> Invoke(GetFoundationCentralImagedNodeDetailsInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetFoundationCentralImagedNodeDetailsResult>("nutanix:index/getFoundationCentralImagedNodeDetails:getFoundationCentralImagedNodeDetails", args ?? new GetFoundationCentralImagedNodeDetailsInvokeArgs(), options.WithDefaults());

/// <summary>
/// Get the details of a single node given its UUID.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Nutanix = Pulumi.Nutanix;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var nodesDetails = Nutanix.GetFoundationCentralImagedNodeDetails.Invoke(new()
/// {
/// ImagedNodeUuid = "&lt;IMAGED-NODE-UUID&gt;",
/// });
///
/// });
/// ```
/// </summary>
public static Output<GetFoundationCentralImagedNodeDetailsResult> Invoke(GetFoundationCentralImagedNodeDetailsInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetFoundationCentralImagedNodeDetailsResult>("nutanix:index/getFoundationCentralImagedNodeDetails:getFoundationCentralImagedNodeDetails", args ?? new GetFoundationCentralImagedNodeDetailsInvokeArgs(), options.WithDefaults());
}


Expand Down
Loading

0 comments on commit a5133c2

Please sign in to comment.