1. Packages
  2. Cisco Meraki
  3. API Docs
  4. organizations
  5. getWebhooksCallbacksStatuses
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.organizations.getWebhooksCallbacksStatuses

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.organizations.getWebhooksCallbacksStatuses({
        callbackId: "string",
        organizationId: "string",
    });
    export const merakiOrganizationsWebhooksCallbacksStatusesExample = example.then(example => example.item);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.organizations.get_webhooks_callbacks_statuses(callback_id="string",
        organization_id="string")
    pulumi.export("merakiOrganizationsWebhooksCallbacksStatusesExample", example.item)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/organizations"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := organizations.GetWebhooksCallbacksStatuses(ctx, &organizations.GetWebhooksCallbacksStatusesArgs{
    			CallbackId:     "string",
    			OrganizationId: "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiOrganizationsWebhooksCallbacksStatusesExample", example.Item)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Organizations.GetWebhooksCallbacksStatuses.Invoke(new()
        {
            CallbackId = "string",
            OrganizationId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiOrganizationsWebhooksCallbacksStatusesExample"] = example.Apply(getWebhooksCallbacksStatusesResult => getWebhooksCallbacksStatusesResult.Item),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.organizations.OrganizationsFunctions;
    import com.pulumi.meraki.organizations.inputs.GetWebhooksCallbacksStatusesArgs;
    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 example = OrganizationsFunctions.getWebhooksCallbacksStatuses(GetWebhooksCallbacksStatusesArgs.builder()
                .callbackId("string")
                .organizationId("string")
                .build());
    
            ctx.export("merakiOrganizationsWebhooksCallbacksStatusesExample", example.applyValue(getWebhooksCallbacksStatusesResult -> getWebhooksCallbacksStatusesResult.item()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:organizations:getWebhooksCallbacksStatuses
          Arguments:
            callbackId: string
            organizationId: string
    outputs:
      merakiOrganizationsWebhooksCallbacksStatusesExample: ${example.item}
    

    Using getWebhooksCallbacksStatuses

    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 getWebhooksCallbacksStatuses(args: GetWebhooksCallbacksStatusesArgs, opts?: InvokeOptions): Promise<GetWebhooksCallbacksStatusesResult>
    function getWebhooksCallbacksStatusesOutput(args: GetWebhooksCallbacksStatusesOutputArgs, opts?: InvokeOptions): Output<GetWebhooksCallbacksStatusesResult>
    def get_webhooks_callbacks_statuses(callback_id: Optional[str] = None,
                                        organization_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetWebhooksCallbacksStatusesResult
    def get_webhooks_callbacks_statuses_output(callback_id: Optional[pulumi.Input[str]] = None,
                                        organization_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetWebhooksCallbacksStatusesResult]
    func GetWebhooksCallbacksStatuses(ctx *Context, args *GetWebhooksCallbacksStatusesArgs, opts ...InvokeOption) (*GetWebhooksCallbacksStatusesResult, error)
    func GetWebhooksCallbacksStatusesOutput(ctx *Context, args *GetWebhooksCallbacksStatusesOutputArgs, opts ...InvokeOption) GetWebhooksCallbacksStatusesResultOutput

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

    public static class GetWebhooksCallbacksStatuses 
    {
        public static Task<GetWebhooksCallbacksStatusesResult> InvokeAsync(GetWebhooksCallbacksStatusesArgs args, InvokeOptions? opts = null)
        public static Output<GetWebhooksCallbacksStatusesResult> Invoke(GetWebhooksCallbacksStatusesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWebhooksCallbacksStatusesResult> getWebhooksCallbacksStatuses(GetWebhooksCallbacksStatusesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:organizations/getWebhooksCallbacksStatuses:getWebhooksCallbacksStatuses
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CallbackId string
    callbackId path parameter. Callback ID
    OrganizationId string
    organizationId path parameter. Organization ID
    CallbackId string
    callbackId path parameter. Callback ID
    OrganizationId string
    organizationId path parameter. Organization ID
    callbackId String
    callbackId path parameter. Callback ID
    organizationId String
    organizationId path parameter. Organization ID
    callbackId string
    callbackId path parameter. Callback ID
    organizationId string
    organizationId path parameter. Organization ID
    callback_id str
    callbackId path parameter. Callback ID
    organization_id str
    organizationId path parameter. Organization ID
    callbackId String
    callbackId path parameter. Callback ID
    organizationId String
    organizationId path parameter. Organization ID

    getWebhooksCallbacksStatuses Result

    The following output properties are available:

    CallbackId string
    callbackId path parameter. Callback ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetWebhooksCallbacksStatusesItem
    OrganizationId string
    organizationId path parameter. Organization ID
    CallbackId string
    callbackId path parameter. Callback ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetWebhooksCallbacksStatusesItem
    OrganizationId string
    organizationId path parameter. Organization ID
    callbackId String
    callbackId path parameter. Callback ID
    id String
    The provider-assigned unique ID for this managed resource.
    item GetWebhooksCallbacksStatusesItem
    organizationId String
    organizationId path parameter. Organization ID
    callbackId string
    callbackId path parameter. Callback ID
    id string
    The provider-assigned unique ID for this managed resource.
    item GetWebhooksCallbacksStatusesItem
    organizationId string
    organizationId path parameter. Organization ID
    callback_id str
    callbackId path parameter. Callback ID
    id str
    The provider-assigned unique ID for this managed resource.
    item GetWebhooksCallbacksStatusesItem
    organization_id str
    organizationId path parameter. Organization ID
    callbackId String
    callbackId path parameter. Callback ID
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map
    organizationId String
    organizationId path parameter. Organization ID

    Supporting Types

    GetWebhooksCallbacksStatusesItem

    CallbackId string
    The ID of the callback
    CreatedBy GetWebhooksCallbacksStatusesItemCreatedBy
    Information around who initiated the callback
    Errors List<string>
    The errors returned by the callback
    Status string
    The status of the callback
    Webhook GetWebhooksCallbacksStatusesItemWebhook
    The webhook receiver used by the callback to send results
    CallbackId string
    The ID of the callback
    CreatedBy GetWebhooksCallbacksStatusesItemCreatedBy
    Information around who initiated the callback
    Errors []string
    The errors returned by the callback
    Status string
    The status of the callback
    Webhook GetWebhooksCallbacksStatusesItemWebhook
    The webhook receiver used by the callback to send results
    callbackId String
    The ID of the callback
    createdBy GetWebhooksCallbacksStatusesItemCreatedBy
    Information around who initiated the callback
    errors List<String>
    The errors returned by the callback
    status String
    The status of the callback
    webhook GetWebhooksCallbacksStatusesItemWebhook
    The webhook receiver used by the callback to send results
    callbackId string
    The ID of the callback
    createdBy GetWebhooksCallbacksStatusesItemCreatedBy
    Information around who initiated the callback
    errors string[]
    The errors returned by the callback
    status string
    The status of the callback
    webhook GetWebhooksCallbacksStatusesItemWebhook
    The webhook receiver used by the callback to send results
    callback_id str
    The ID of the callback
    created_by GetWebhooksCallbacksStatusesItemCreatedBy
    Information around who initiated the callback
    errors Sequence[str]
    The errors returned by the callback
    status str
    The status of the callback
    webhook GetWebhooksCallbacksStatusesItemWebhook
    The webhook receiver used by the callback to send results
    callbackId String
    The ID of the callback
    createdBy Property Map
    Information around who initiated the callback
    errors List<String>
    The errors returned by the callback
    status String
    The status of the callback
    webhook Property Map
    The webhook receiver used by the callback to send results

    GetWebhooksCallbacksStatusesItemCreatedBy

    AdminId string
    The ID of the user who initiated the callback
    AdminId string
    The ID of the user who initiated the callback
    adminId String
    The ID of the user who initiated the callback
    adminId string
    The ID of the user who initiated the callback
    admin_id str
    The ID of the user who initiated the callback
    adminId String
    The ID of the user who initiated the callback

    GetWebhooksCallbacksStatusesItemWebhook

    HttpServer GetWebhooksCallbacksStatusesItemWebhookHttpServer
    The webhook receiver used for the callback webhook
    PayloadTemplate GetWebhooksCallbacksStatusesItemWebhookPayloadTemplate
    The payload template of the webhook used for the callback
    SentAt string
    The timestamp the callback was sent to the webhook receiver
    Url string
    The webhook receiver URL where the callback will be sent
    HttpServer GetWebhooksCallbacksStatusesItemWebhookHttpServer
    The webhook receiver used for the callback webhook
    PayloadTemplate GetWebhooksCallbacksStatusesItemWebhookPayloadTemplate
    The payload template of the webhook used for the callback
    SentAt string
    The timestamp the callback was sent to the webhook receiver
    Url string
    The webhook receiver URL where the callback will be sent
    httpServer GetWebhooksCallbacksStatusesItemWebhookHttpServer
    The webhook receiver used for the callback webhook
    payloadTemplate GetWebhooksCallbacksStatusesItemWebhookPayloadTemplate
    The payload template of the webhook used for the callback
    sentAt String
    The timestamp the callback was sent to the webhook receiver
    url String
    The webhook receiver URL where the callback will be sent
    httpServer GetWebhooksCallbacksStatusesItemWebhookHttpServer
    The webhook receiver used for the callback webhook
    payloadTemplate GetWebhooksCallbacksStatusesItemWebhookPayloadTemplate
    The payload template of the webhook used for the callback
    sentAt string
    The timestamp the callback was sent to the webhook receiver
    url string
    The webhook receiver URL where the callback will be sent
    http_server GetWebhooksCallbacksStatusesItemWebhookHttpServer
    The webhook receiver used for the callback webhook
    payload_template GetWebhooksCallbacksStatusesItemWebhookPayloadTemplate
    The payload template of the webhook used for the callback
    sent_at str
    The timestamp the callback was sent to the webhook receiver
    url str
    The webhook receiver URL where the callback will be sent
    httpServer Property Map
    The webhook receiver used for the callback webhook
    payloadTemplate Property Map
    The payload template of the webhook used for the callback
    sentAt String
    The timestamp the callback was sent to the webhook receiver
    url String
    The webhook receiver URL where the callback will be sent

    GetWebhooksCallbacksStatusesItemWebhookHttpServer

    Id string
    The webhook receiver ID that will receive information
    Id string
    The webhook receiver ID that will receive information
    id String
    The webhook receiver ID that will receive information
    id string
    The webhook receiver ID that will receive information
    id str
    The webhook receiver ID that will receive information
    id String
    The webhook receiver ID that will receive information

    GetWebhooksCallbacksStatusesItemWebhookPayloadTemplate

    Id string
    The ID of the payload template
    Id string
    The ID of the payload template
    id String
    The ID of the payload template
    id string
    The ID of the payload template
    id str
    The ID of the payload template
    id String
    The ID of the payload template

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi