avi 31.1.1 published on Monday, Apr 14, 2025 by vmware
avi.getStatediffoperation
Explore with Pulumi AI
<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “AVI: avi.Statediffoperation” sidebar_current: “docs-avi-datasource-statediffoperation” description: |- Get information of Avi StatediffOperation.
avi.Statediffoperation
This data source is used to to get avi.Statediffoperation objects.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";
const fooStatediffoperation = avi.getStatediffoperation({
name: "foo",
uuid: "statediffoperation-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
});
import pulumi
import pulumi_avi as avi
foo_statediffoperation = avi.get_statediffoperation(name="foo",
uuid="statediffoperation-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v31/avi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := avi.LookupStatediffoperation(ctx, &avi.LookupStatediffoperationArgs{
Name: pulumi.StringRef("foo"),
Uuid: pulumi.StringRef("statediffoperation-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Avi = Pulumi.Avi;
return await Deployment.RunAsync(() =>
{
var fooStatediffoperation = Avi.GetStatediffoperation.Invoke(new()
{
Name = "foo",
Uuid = "statediffoperation-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.avi.AviFunctions;
import com.pulumi.avi.inputs.GetStatediffoperationArgs;
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 fooStatediffoperation = AviFunctions.getStatediffoperation(GetStatediffoperationArgs.builder()
.name("foo")
.uuid("statediffoperation-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
.build());
}
}
variables:
fooStatediffoperation:
fn::invoke:
function: avi:getStatediffoperation
arguments:
name: foo
uuid: statediffoperation-f9cf6b3e-a411-436f-95e2-2982ba2b217b
Using getStatediffoperation
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 getStatediffoperation(args: GetStatediffoperationArgs, opts?: InvokeOptions): Promise<GetStatediffoperationResult>
function getStatediffoperationOutput(args: GetStatediffoperationOutputArgs, opts?: InvokeOptions): Output<GetStatediffoperationResult>
def get_statediffoperation(id: Optional[str] = None,
name: Optional[str] = None,
tenant_ref: Optional[str] = None,
uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStatediffoperationResult
def get_statediffoperation_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
tenant_ref: Optional[pulumi.Input[str]] = None,
uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStatediffoperationResult]
func LookupStatediffoperation(ctx *Context, args *LookupStatediffoperationArgs, opts ...InvokeOption) (*LookupStatediffoperationResult, error)
func LookupStatediffoperationOutput(ctx *Context, args *LookupStatediffoperationOutputArgs, opts ...InvokeOption) LookupStatediffoperationResultOutput
> Note: This function is named LookupStatediffoperation
in the Go SDK.
public static class GetStatediffoperation
{
public static Task<GetStatediffoperationResult> InvokeAsync(GetStatediffoperationArgs args, InvokeOptions? opts = null)
public static Output<GetStatediffoperationResult> Invoke(GetStatediffoperationInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetStatediffoperationResult> getStatediffoperation(GetStatediffoperationArgs args, InvokeOptions options)
public static Output<GetStatediffoperationResult> getStatediffoperation(GetStatediffoperationArgs args, InvokeOptions options)
fn::invoke:
function: avi:index/getStatediffoperation:getStatediffoperation
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Name string
- Search StatediffOperation by name.
- Tenant
Ref string - Tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Uuid string
- Search StatediffOperation by uuid.
- Id string
- Name string
- Search StatediffOperation by name.
- Tenant
Ref string - Tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Uuid string
- Search StatediffOperation by uuid.
- id String
- name String
- Search StatediffOperation by name.
- tenant
Ref String - Tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid String
- Search StatediffOperation by uuid.
- id string
- name string
- Search StatediffOperation by name.
- tenant
Ref string - Tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid string
- Search StatediffOperation by uuid.
- id str
- name str
- Search StatediffOperation by name.
- tenant_
ref str - Tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid str
- Search StatediffOperation by uuid.
- id String
- name String
- Search StatediffOperation by name.
- tenant
Ref String - Tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid String
- Search StatediffOperation by uuid.
getStatediffoperation Result
The following output properties are available:
- Events
List<Get
Statediffoperation Event> - Info for each statediff event. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Id string
- Name string
- Name of statediff operation. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Node
Uuid string - Uuid of node for statediff operation entry. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Operation string
- Type of statediff operation. Enum options - FB_UPGRADE, FB_ROLLBACK, FB_PATCH, FB_ROLLBACK_PATCH. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Phase string
- Phase of statediff operation. Enum options - FB_PRE_SNAPSHOT, FB_POST_SNAPSHOT. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Status string
- Status of statediff operation. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Ref string - Tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Uuid string
- Unique identifier for statediff entry. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Events
[]Get
Statediffoperation Event - Info for each statediff event. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Id string
- Name string
- Name of statediff operation. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Node
Uuid string - Uuid of node for statediff operation entry. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Operation string
- Type of statediff operation. Enum options - FB_UPGRADE, FB_ROLLBACK, FB_PATCH, FB_ROLLBACK_PATCH. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Phase string
- Phase of statediff operation. Enum options - FB_PRE_SNAPSHOT, FB_POST_SNAPSHOT. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Status string
- Status of statediff operation. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Ref string - Tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Uuid string
- Unique identifier for statediff entry. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- events
List<Get
Statediffoperation Event> - Info for each statediff event. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- id String
- name String
- Name of statediff operation. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- node
Uuid String - Uuid of node for statediff operation entry. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- operation String
- Type of statediff operation. Enum options - FB_UPGRADE, FB_ROLLBACK, FB_PATCH, FB_ROLLBACK_PATCH. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- phase String
- Phase of statediff operation. Enum options - FB_PRE_SNAPSHOT, FB_POST_SNAPSHOT. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- status String
- Status of statediff operation. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref String - Tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid String
- Unique identifier for statediff entry. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- events
Get
Statediffoperation Event[] - Info for each statediff event. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- id string
- name string
- Name of statediff operation. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- node
Uuid string - Uuid of node for statediff operation entry. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- operation string
- Type of statediff operation. Enum options - FB_UPGRADE, FB_ROLLBACK, FB_PATCH, FB_ROLLBACK_PATCH. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- phase string
- Phase of statediff operation. Enum options - FB_PRE_SNAPSHOT, FB_POST_SNAPSHOT. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- status string
- Status of statediff operation. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref string - Tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid string
- Unique identifier for statediff entry. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- events
Sequence[Get
Statediffoperation Event] - Info for each statediff event. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- id str
- name str
- Name of statediff operation. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- node_
uuid str - Uuid of node for statediff operation entry. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- operation str
- Type of statediff operation. Enum options - FB_UPGRADE, FB_ROLLBACK, FB_PATCH, FB_ROLLBACK_PATCH. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- phase str
- Phase of statediff operation. Enum options - FB_PRE_SNAPSHOT, FB_POST_SNAPSHOT. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- status str
- Status of statediff operation. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant_
ref str - Tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid str
- Unique identifier for statediff entry. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- events List<Property Map>
- Info for each statediff event. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- id String
- name String
- Name of statediff operation. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- node
Uuid String - Uuid of node for statediff operation entry. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- operation String
- Type of statediff operation. Enum options - FB_UPGRADE, FB_ROLLBACK, FB_PATCH, FB_ROLLBACK_PATCH. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- phase String
- Phase of statediff operation. Enum options - FB_PRE_SNAPSHOT, FB_POST_SNAPSHOT. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- status String
- Status of statediff operation. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref String - Tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid String
- Unique identifier for statediff entry. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
Supporting Types
GetStatediffoperationEvent
- Duration string
- End
Time string - Message string
- Start
Time string - Status string
- Status of statediff operation. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Task
Name string
- Duration string
- End
Time string - Message string
- Start
Time string - Status string
- Status of statediff operation. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Task
Name string
- duration String
- end
Time String - message String
- start
Time String - status String
- Status of statediff operation. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- task
Name String
- duration string
- end
Time string - message string
- start
Time string - status string
- Status of statediff operation. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- task
Name string
- duration String
- end
Time String - message String
- start
Time String - status String
- Status of statediff operation. Enum options - FB_INIT, FB_IN_PROGRESS, FB_COMPLETED, FB_FAILED, FB_COMPLETED_WITH_ERRORS. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- task
Name String
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.