Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleShareRecipients = cloudflare.getShareRecipients({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
shareId: "3fd85f74b32742f1bff64a85009dda07",
includeResources: true,
});
import pulumi
import pulumi_cloudflare as cloudflare
example_share_recipients = cloudflare.get_share_recipients(account_id="023e105f4ecef8ad9ca31a8372d0c353",
share_id="3fd85f74b32742f1bff64a85009dda07",
include_resources=True)
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.GetShareRecipients(ctx, &cloudflare.LookupShareRecipientsArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
ShareId: "3fd85f74b32742f1bff64a85009dda07",
IncludeResources: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleShareRecipients = Cloudflare.GetShareRecipients.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
ShareId = "3fd85f74b32742f1bff64a85009dda07",
IncludeResources = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetShareRecipientsArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 exampleShareRecipients = CloudflareFunctions.getShareRecipients(GetShareRecipientsArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.shareId("3fd85f74b32742f1bff64a85009dda07")
.includeResources(true)
.build());
}
}
variables:
exampleShareRecipients:
fn::invoke:
function: cloudflare:getShareRecipients
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
shareId: 3fd85f74b32742f1bff64a85009dda07
includeResources: true
pulumi {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_getsharerecipients" "exampleShareRecipients" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
share_id = "3fd85f74b32742f1bff64a85009dda07"
include_resources = true
}
Using getShareRecipients
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 getShareRecipients(args: GetShareRecipientsArgs, opts?: InvokeOptions): Promise<GetShareRecipientsResult>
function getShareRecipientsOutput(args: GetShareRecipientsOutputArgs, opts?: InvokeOptions): Output<GetShareRecipientsResult>def get_share_recipients(account_id: Optional[str] = None,
include_resources: Optional[bool] = None,
max_items: Optional[int] = None,
share_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetShareRecipientsResult
def get_share_recipients_output(account_id: pulumi.Input[Optional[str]] = None,
include_resources: pulumi.Input[Optional[bool]] = None,
max_items: pulumi.Input[Optional[int]] = None,
share_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetShareRecipientsResult]func LookupShareRecipients(ctx *Context, args *LookupShareRecipientsArgs, opts ...InvokeOption) (*LookupShareRecipientsResult, error)
func LookupShareRecipientsOutput(ctx *Context, args *LookupShareRecipientsOutputArgs, opts ...InvokeOption) LookupShareRecipientsResultOutput> Note: This function is named LookupShareRecipients in the Go SDK.
public static class GetShareRecipients
{
public static Task<GetShareRecipientsResult> InvokeAsync(GetShareRecipientsArgs args, InvokeOptions? opts = null)
public static Output<GetShareRecipientsResult> Invoke(GetShareRecipientsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetShareRecipientsResult> getShareRecipients(GetShareRecipientsArgs args, InvokeOptions options)
public static Output<GetShareRecipientsResult> getShareRecipients(GetShareRecipientsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getShareRecipients:getShareRecipients
arguments:
# arguments dictionarydata "cloudflare_get_share_recipients" "name" {
# arguments
}The following arguments are supported:
- Account
Id string - Account identifier.
- string
- Share identifier tag.
- Include
Resources bool - Include resources in the response.
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Account identifier.
- string
- Share identifier tag.
- Include
Resources bool - Include resources in the response.
- Max
Items int - Max items to fetch, default: 1000
- account_
id string - Account identifier.
- string
- Share identifier tag.
- include_
resources bool - Include resources in the response.
- max_
items number - Max items to fetch, default: 1000
- account
Id String - Account identifier.
- String
- Share identifier tag.
- include
Resources Boolean - Include resources in the response.
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - Account identifier.
- string
- Share identifier tag.
- include
Resources boolean - Include resources in the response.
- max
Items number - Max items to fetch, default: 1000
- account_
id str - Account identifier.
- str
- Share identifier tag.
- include_
resources bool - Include resources in the response.
- max_
items int - Max items to fetch, default: 1000
- account
Id String - Account identifier.
- String
- Share identifier tag.
- include
Resources Boolean - Include resources in the response.
- max
Items Number - Max items to fetch, default: 1000
getShareRecipients Result
The following output properties are available:
- Account
Id string - Account identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Share Recipients Result> - The items returned by the data source
- string
- Share identifier tag.
- Include
Resources bool - Include resources in the response.
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Account identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Share Recipients Result - The items returned by the data source
- string
- Share identifier tag.
- Include
Resources bool - Include resources in the response.
- Max
Items int - Max items to fetch, default: 1000
- account_
id string - Account identifier.
- id string
- The provider-assigned unique ID for this managed resource.
- results list(object)
- The items returned by the data source
- string
- Share identifier tag.
- include_
resources bool - Include resources in the response.
- max_
items number - Max items to fetch, default: 1000
- account
Id String - Account identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Share Recipients Result> - The items returned by the data source
- String
- Share identifier tag.
- include
Resources Boolean - Include resources in the response.
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - Account identifier.
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Share Recipients Result[] - The items returned by the data source
- string
- Share identifier tag.
- include
Resources boolean - Include resources in the response.
- max
Items number - Max items to fetch, default: 1000
- account_
id str - Account identifier.
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Share Recipients Result] - The items returned by the data source
- str
- Share identifier tag.
- include_
resources bool - Include resources in the response.
- max_
items int - Max items to fetch, default: 1000
- account
Id String - Account identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- String
- Share identifier tag.
- include
Resources Boolean - Include resources in the response.
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetShareRecipientsResult
- Account
Id string - Account identifier.
- Association
Status string - Share Recipient association status. Available values: "associating", "associated", "disassociating", "disassociated".
- Created string
- When the share was created.
- Id string
- Share Recipient identifier tag.
- Modified string
- When the share was modified.
- Resources
List<Get
Share Recipients Result Resource>
- Account
Id string - Account identifier.
- Association
Status string - Share Recipient association status. Available values: "associating", "associated", "disassociating", "disassociated".
- Created string
- When the share was created.
- Id string
- Share Recipient identifier tag.
- Modified string
- When the share was modified.
- Resources
[]Get
Share Recipients Result Resource
- account_
id string - Account identifier.
- association_
status string - Share Recipient association status. Available values: "associating", "associated", "disassociating", "disassociated".
- created string
- When the share was created.
- id string
- Share Recipient identifier tag.
- modified string
- When the share was modified.
- resources list(object)
- account
Id String - Account identifier.
- association
Status String - Share Recipient association status. Available values: "associating", "associated", "disassociating", "disassociated".
- created String
- When the share was created.
- id String
- Share Recipient identifier tag.
- modified String
- When the share was modified.
- resources
List<Get
Share Recipients Result Resource>
- account
Id string - Account identifier.
- association
Status string - Share Recipient association status. Available values: "associating", "associated", "disassociating", "disassociated".
- created string
- When the share was created.
- id string
- Share Recipient identifier tag.
- modified string
- When the share was modified.
- resources
Get
Share Recipients Result Resource[]
- account_
id str - Account identifier.
- association_
status str - Share Recipient association status. Available values: "associating", "associated", "disassociating", "disassociated".
- created str
- When the share was created.
- id str
- Share Recipient identifier tag.
- modified str
- When the share was modified.
- resources
Sequence[Get
Share Recipients Result Resource]
- account
Id String - Account identifier.
- association
Status String - Share Recipient association status. Available values: "associating", "associated", "disassociating", "disassociated".
- created String
- When the share was created.
- id String
- Share Recipient identifier tag.
- modified String
- When the share was modified.
- resources List<Property Map>
GetShareRecipientsResultResource
- Error string
- Share Recipient error message.
- Resource
Id string - Share Resource identifier.
- Resource
Version int - Resource Version.
- Terminal bool
- Whether the error is terminal or will be continually retried.
- Error string
- Share Recipient error message.
- Resource
Id string - Share Resource identifier.
- Resource
Version int - Resource Version.
- Terminal bool
- Whether the error is terminal or will be continually retried.
- error string
- Share Recipient error message.
- resource_
id string - Share Resource identifier.
- resource_
version number - Resource Version.
- terminal bool
- Whether the error is terminal or will be continually retried.
- error String
- Share Recipient error message.
- resource
Id String - Share Resource identifier.
- resource
Version Integer - Resource Version.
- terminal Boolean
- Whether the error is terminal or will be continually retried.
- error string
- Share Recipient error message.
- resource
Id string - Share Resource identifier.
- resource
Version number - Resource Version.
- terminal boolean
- Whether the error is terminal or will be continually retried.
- error str
- Share Recipient error message.
- resource_
id str - Share Resource identifier.
- resource_
version int - Resource Version.
- terminal bool
- Whether the error is terminal or will be continually retried.
- error String
- Share Recipient error message.
- resource
Id String - Share Resource identifier.
- resource
Version Number - Resource Version.
- terminal Boolean
- Whether the error is terminal or will be continually retried.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi