Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg
nutanix.getOperationsV2
Explore with Pulumi AI
Lists the operations defined on the system. List of operations can be further filtered out using various filtering options.
Example
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/nutanix";
const operations_1 = nutanix.getOperationsV2({});
const operations_2 = nutanix.getOperationsV2({
    filter: "display_name eq 'test-Permission-filter'",
});
import pulumi
import pulumi_nutanix as nutanix
operations_1 = nutanix.get_operations_v2()
operations_2 = nutanix.get_operations_v2(filter="display_name eq 'test-Permission-filter'")
package main
import (
	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := nutanix.GetOperationsV2(ctx, &nutanix.GetOperationsV2Args{}, nil)
		if err != nil {
			return err
		}
		_, err = nutanix.GetOperationsV2(ctx, &nutanix.GetOperationsV2Args{
			Filter: pulumi.StringRef("display_name eq 'test-Permission-filter'"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = Pulumi.Nutanix;
return await Deployment.RunAsync(() => 
{
    var operations_1 = Nutanix.GetOperationsV2.Invoke();
    var operations_2 = Nutanix.GetOperationsV2.Invoke(new()
    {
        Filter = "display_name eq 'test-Permission-filter'",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NutanixFunctions;
import com.pulumi.nutanix.inputs.GetOperationsV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var operations-1 = NutanixFunctions.getOperationsV2();
        final var operations-2 = NutanixFunctions.getOperationsV2(GetOperationsV2Args.builder()
            .filter("display_name eq 'test-Permission-filter'")
            .build());
    }
}
variables:
  operations-1:
    fn::invoke:
      function: nutanix:getOperationsV2
      arguments: {}
  operations-2:
    fn::invoke:
      function: nutanix:getOperationsV2
      arguments:
        filter: display_name eq 'test-Permission-filter'
Using getOperationsV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOperationsV2(args: GetOperationsV2Args, opts?: InvokeOptions): Promise<GetOperationsV2Result>
function getOperationsV2Output(args: GetOperationsV2OutputArgs, opts?: InvokeOptions): Output<GetOperationsV2Result>def get_operations_v2(filter: Optional[str] = None,
                      limit: Optional[int] = None,
                      order_by: Optional[str] = None,
                      page: Optional[int] = None,
                      select: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetOperationsV2Result
def get_operations_v2_output(filter: Optional[pulumi.Input[str]] = None,
                      limit: Optional[pulumi.Input[int]] = None,
                      order_by: Optional[pulumi.Input[str]] = None,
                      page: Optional[pulumi.Input[int]] = None,
                      select: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetOperationsV2Result]func GetOperationsV2(ctx *Context, args *GetOperationsV2Args, opts ...InvokeOption) (*GetOperationsV2Result, error)
func GetOperationsV2Output(ctx *Context, args *GetOperationsV2OutputArgs, opts ...InvokeOption) GetOperationsV2ResultOutput> Note: This function is named GetOperationsV2 in the Go SDK.
public static class GetOperationsV2 
{
    public static Task<GetOperationsV2Result> InvokeAsync(GetOperationsV2Args args, InvokeOptions? opts = null)
    public static Output<GetOperationsV2Result> Invoke(GetOperationsV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOperationsV2Result> getOperationsV2(GetOperationsV2Args args, InvokeOptions options)
public static Output<GetOperationsV2Result> getOperationsV2(GetOperationsV2Args args, InvokeOptions options)
fn::invoke:
  function: nutanix:index/getOperationsV2:getOperationsV2
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Filter string
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions
- Limit int
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- OrderBy string
- A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
- Page int
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- Select string
- A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions.
- Filter string
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions
- Limit int
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- OrderBy string
- A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
- Page int
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- Select string
- A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions.
- filter String
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions
- limit Integer
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- orderBy String
- A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
- page Integer
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- select String
- A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions.
- filter string
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions
- limit number
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- orderBy string
- A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
- page number
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- select string
- A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions.
- filter str
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions
- limit int
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- order_by str
- A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
- page int
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- select str
- A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions.
- filter String
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions
- limit Number
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- orderBy String
- A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
- page Number
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- select String
- A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions.
getOperationsV2 Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Operations
List<PiersKarsenbarg. Nutanix. Outputs. Get Operations V2Operation> 
- List of all operations
- Filter string
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions
- Limit int
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- OrderBy string
- A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
- Page int
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- Select string
- A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions.
- Id string
- The provider-assigned unique ID for this managed resource.
- Operations
[]GetOperations V2Operation 
- List of all operations
- Filter string
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions
- Limit int
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- OrderBy string
- A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
- Page int
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- Select string
- A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions.
- id String
- The provider-assigned unique ID for this managed resource.
- operations
List<GetOperations V2Operation> 
- List of all operations
- filter String
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions
- limit Integer
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- orderBy String
- A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
- page Integer
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- select String
- A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions.
- id string
- The provider-assigned unique ID for this managed resource.
- operations
GetOperations V2Operation[] 
- List of all operations
- filter string
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions
- limit number
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- orderBy string
- A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
- page number
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- select string
- A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions.
- id str
- The provider-assigned unique ID for this managed resource.
- operations
Sequence[GetOperations V2Operation] 
- List of all operations
- filter str
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions
- limit int
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- order_by str
- A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
- page int
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- select str
- A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions.
- id String
- The provider-assigned unique ID for this managed resource.
- operations List<Property Map>
- List of all operations
- filter String
- A URL query parameter that allows clients to filter a collection of resources. The expression specified with $filter is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response. Expression specified with the $filter must conform to the OData V4.01 URL conventions
- limit Number
- A URL query parameter that specifies the total number of records returned in the result set. Must be a positive integer between 1 and 100. Any number out of this range will lead to a validation error. If the limit is not provided, a default value of 50 records will be returned in the result set.
- orderBy String
- A URL query parameter that allows clients to specify the sort criteria for the returned list of objects. Resources can be sorted in ascending order using asc or descending order using desc. If asc or desc are not specified, the resources will be sorted in ascending order by default
- page Number
- A URL query parameter that specifies the page number of the result set. It must be a positive integer between 0 and the maximum number of pages that are available for that resource. Any number out of this range might lead to no results.
- select String
- A URL query parameter that allows clients to request a specific set of properties for each entity or complex type. Expression specified with the $select must conform to the OData V4.01 URL conventions.
Supporting Types
GetOperationsV2Operation  
- AssociatedEndpoint List<PiersLists Karsenbarg. Nutanix. Inputs. Get Operations V2Operation Associated Endpoint List> 
- List of associated endpoint objects for the Operation.
- ClientName string
- Client that created the entity.
- CreatedTime string
- Description string
- DisplayName string
- Permission name.
- EntityType string
- Type of entity associated with this Operation.
- ExtId string
- A globally unique identifier of an instance that is suitable for external consumption.
- LastUpdated stringTime 
- Permission last updated time.
- OperationType string
- The Operation type. Currently we support INTERNAL, EXTERNAL and SYSTEM_DEFINED_ONLY.
- List<string>
- List of related Operations. These are the Operations which might need to be given access to, along with the current Operation, for certain workflows to succeed.
- AssociatedEndpoint []GetLists Operations V2Operation Associated Endpoint List 
- List of associated endpoint objects for the Operation.
- ClientName string
- Client that created the entity.
- CreatedTime string
- Description string
- DisplayName string
- Permission name.
- EntityType string
- Type of entity associated with this Operation.
- ExtId string
- A globally unique identifier of an instance that is suitable for external consumption.
- LastUpdated stringTime 
- Permission last updated time.
- OperationType string
- The Operation type. Currently we support INTERNAL, EXTERNAL and SYSTEM_DEFINED_ONLY.
- []string
- List of related Operations. These are the Operations which might need to be given access to, along with the current Operation, for certain workflows to succeed.
- associatedEndpoint List<GetLists Operations V2Operation Associated Endpoint List> 
- List of associated endpoint objects for the Operation.
- clientName String
- Client that created the entity.
- createdTime String
- description String
- displayName String
- Permission name.
- entityType String
- Type of entity associated with this Operation.
- extId String
- A globally unique identifier of an instance that is suitable for external consumption.
- lastUpdated StringTime 
- Permission last updated time.
- operationType String
- The Operation type. Currently we support INTERNAL, EXTERNAL and SYSTEM_DEFINED_ONLY.
- List<String>
- List of related Operations. These are the Operations which might need to be given access to, along with the current Operation, for certain workflows to succeed.
- associatedEndpoint GetLists Operations V2Operation Associated Endpoint List[] 
- List of associated endpoint objects for the Operation.
- clientName string
- Client that created the entity.
- createdTime string
- description string
- displayName string
- Permission name.
- entityType string
- Type of entity associated with this Operation.
- extId string
- A globally unique identifier of an instance that is suitable for external consumption.
- lastUpdated stringTime 
- Permission last updated time.
- operationType string
- The Operation type. Currently we support INTERNAL, EXTERNAL and SYSTEM_DEFINED_ONLY.
- string[]
- List of related Operations. These are the Operations which might need to be given access to, along with the current Operation, for certain workflows to succeed.
- associated_endpoint_ Sequence[Getlists Operations V2Operation Associated Endpoint List] 
- List of associated endpoint objects for the Operation.
- client_name str
- Client that created the entity.
- created_time str
- description str
- display_name str
- Permission name.
- entity_type str
- Type of entity associated with this Operation.
- ext_id str
- A globally unique identifier of an instance that is suitable for external consumption.
- last_updated_ strtime 
- Permission last updated time.
- operation_type str
- The Operation type. Currently we support INTERNAL, EXTERNAL and SYSTEM_DEFINED_ONLY.
- Sequence[str]
- List of related Operations. These are the Operations which might need to be given access to, along with the current Operation, for certain workflows to succeed.
- associatedEndpoint List<Property Map>Lists 
- List of associated endpoint objects for the Operation.
- clientName String
- Client that created the entity.
- createdTime String
- description String
- displayName String
- Permission name.
- entityType String
- Type of entity associated with this Operation.
- extId String
- A globally unique identifier of an instance that is suitable for external consumption.
- lastUpdated StringTime 
- Permission last updated time.
- operationType String
- The Operation type. Currently we support INTERNAL, EXTERNAL and SYSTEM_DEFINED_ONLY.
- List<String>
- List of related Operations. These are the Operations which might need to be given access to, along with the current Operation, for certain workflows to succeed.
GetOperationsV2OperationAssociatedEndpointList     
- ApiVersion string
- Version of the API for the provided associated endpoint.
- EndpointUrl string
- Endpoint URL.
- HttpMethod string
- HTTP method for the provided associated endpoint.
- ApiVersion string
- Version of the API for the provided associated endpoint.
- EndpointUrl string
- Endpoint URL.
- HttpMethod string
- HTTP method for the provided associated endpoint.
- apiVersion String
- Version of the API for the provided associated endpoint.
- endpointUrl String
- Endpoint URL.
- httpMethod String
- HTTP method for the provided associated endpoint.
- apiVersion string
- Version of the API for the provided associated endpoint.
- endpointUrl string
- Endpoint URL.
- httpMethod string
- HTTP method for the provided associated endpoint.
- api_version str
- Version of the API for the provided associated endpoint.
- endpoint_url str
- Endpoint URL.
- http_method str
- HTTP method for the provided associated endpoint.
- apiVersion String
- Version of the API for the provided associated endpoint.
- endpointUrl String
- Endpoint URL.
- httpMethod String
- HTTP method for the provided associated endpoint.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the nutanixTerraform Provider.
