1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. getActivationStatus
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

zia.getActivationStatus

Explore with Pulumi AI

zia logo
Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zia from "@pulumi/zia";
    
    const activation = zia.getActivationStatus({});
    
    import pulumi
    import pulumi_zia as zia
    
    activation = zia.get_activation_status()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/zscaler/pulumi-zia/sdk/go/zia"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := zia.LookupActivationStatus(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Zia = Pulumi.Zia;
    
    return await Deployment.RunAsync(() => 
    {
        var activation = Zia.GetActivationStatus.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.zia.ZiaFunctions;
    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 activation = ZiaFunctions.getActivationStatus();
    
        }
    }
    
    variables:
      activation:
        fn::invoke:
          Function: zia:getActivationStatus
          Arguments: {}
    

    Using getActivationStatus

    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 getActivationStatus(opts?: InvokeOptions): Promise<GetActivationStatusResult>
    function getActivationStatusOutput(opts?: InvokeOptions): Output<GetActivationStatusResult>
    def get_activation_status(opts: Optional[InvokeOptions] = None) -> GetActivationStatusResult
    def get_activation_status_output(opts: Optional[InvokeOptions] = None) -> Output[GetActivationStatusResult]
    func LookupActivationStatus(ctx *Context, opts ...InvokeOption) (*LookupActivationStatusResult, error)
    func LookupActivationStatusOutput(ctx *Context, opts ...InvokeOption) LookupActivationStatusResultOutput

    > Note: This function is named LookupActivationStatus in the Go SDK.

    public static class GetActivationStatus 
    {
        public static Task<GetActivationStatusResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetActivationStatusResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetActivationStatusResult> getActivationStatus(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: zia:index/getActivationStatus:getActivationStatus
      arguments:
        # arguments dictionary

    getActivationStatus Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    id String
    The provider-assigned unique ID for this managed resource.
    status String

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    MIT
    Notes
    This Pulumi package is based on the zia Terraform Provider.
    zia logo
    Zscaler Internet Access v0.0.7 published on Tuesday, Jul 30, 2024 by Zscaler