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 exampleShares = cloudflare.getShares({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
includeRecipientCounts: true,
includeResources: true,
kind: "sent",
resourceTypes: ["custom-ruleset"],
status: "active",
tags: ["env=production"],
targetType: "account",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_shares = cloudflare.get_shares(account_id="023e105f4ecef8ad9ca31a8372d0c353",
include_recipient_counts=True,
include_resources=True,
kind="sent",
resource_types=["custom-ruleset"],
status="active",
tags=["env=production"],
target_type="account")
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.GetShares(ctx, &cloudflare.LookupSharesArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
IncludeRecipientCounts: pulumi.BoolRef(true),
IncludeResources: pulumi.BoolRef(true),
Kind: pulumi.StringRef("sent"),
ResourceTypes: []string{
"custom-ruleset",
},
Status: pulumi.StringRef("active"),
Tags: []string{
"env=production",
},
TargetType: pulumi.StringRef("account"),
}, 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 exampleShares = Cloudflare.GetShares.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
IncludeRecipientCounts = true,
IncludeResources = true,
Kind = "sent",
ResourceTypes = new[]
{
"custom-ruleset",
},
Status = "active",
Tags = new[]
{
"env=production",
},
TargetType = "account",
});
});
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.GetSharesArgs;
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 exampleShares = CloudflareFunctions.getShares(GetSharesArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.includeRecipientCounts(true)
.includeResources(true)
.kind("sent")
.resourceTypes("custom-ruleset")
.status("active")
.tags("env=production")
.targetType("account")
.build());
}
}
variables:
exampleShares:
fn::invoke:
function: cloudflare:getShares
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
includeRecipientCounts: true
includeResources: true
kind: sent
resourceTypes:
- custom-ruleset
status: active
tags:
- env=production
targetType: account
pulumi {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_getshares" "exampleShares" {
account_id = "023e105f4ecef8ad9ca31a8372d0c353"
include_recipient_counts = true
include_resources = true
kind = "sent"
resource_types = ["custom-ruleset"]
status = "active"
tags = ["env=production"]
target_type = "account"
}
Using getShares
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 getShares(args: GetSharesArgs, opts?: InvokeOptions): Promise<GetSharesResult>
function getSharesOutput(args: GetSharesOutputArgs, opts?: InvokeOptions): Output<GetSharesResult>def get_shares(account_id: Optional[str] = None,
direction: Optional[str] = None,
include_recipient_counts: Optional[bool] = None,
include_resources: Optional[bool] = None,
kind: Optional[str] = None,
max_items: Optional[int] = None,
order: Optional[str] = None,
resource_types: Optional[Sequence[str]] = None,
status: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
target_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSharesResult
def get_shares_output(account_id: pulumi.Input[Optional[str]] = None,
direction: pulumi.Input[Optional[str]] = None,
include_recipient_counts: pulumi.Input[Optional[bool]] = None,
include_resources: pulumi.Input[Optional[bool]] = None,
kind: pulumi.Input[Optional[str]] = None,
max_items: pulumi.Input[Optional[int]] = None,
order: pulumi.Input[Optional[str]] = None,
resource_types: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
status: pulumi.Input[Optional[str]] = None,
tags: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
target_type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSharesResult]func LookupShares(ctx *Context, args *LookupSharesArgs, opts ...InvokeOption) (*LookupSharesResult, error)
func LookupSharesOutput(ctx *Context, args *LookupSharesOutputArgs, opts ...InvokeOption) LookupSharesResultOutput> Note: This function is named LookupShares in the Go SDK.
public static class GetShares
{
public static Task<GetSharesResult> InvokeAsync(GetSharesArgs args, InvokeOptions? opts = null)
public static Output<GetSharesResult> Invoke(GetSharesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSharesResult> getShares(GetSharesArgs args, InvokeOptions options)
public static Output<GetSharesResult> getShares(GetSharesArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getShares:getShares
arguments:
# arguments dictionarydata "cloudflare_get_shares" "name" {
# arguments
}The following arguments are supported:
- Account
Id string - Account identifier.
- Direction string
- Direction to sort objects. Available values: "asc", "desc".
- Include
Recipient boolCounts - Include recipient counts in the response.
- Include
Resources bool - Include resources in the response.
- Kind string
- Filter shares by kind. Available values: "sent", "received".
- Max
Items int - Max items to fetch, default: 1000
- Order string
- Order shares by values in the given field. Available values: "name", "created".
- Resource
Types List<string> - Filter share resources by resource_types.
- Status string
- Filter shares by status. Available values: "active", "deleting", "deleted".
- List<string>
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - Target
Type string - Filter shares by target_type. Available values: "account", "organization".
- Account
Id string - Account identifier.
- Direction string
- Direction to sort objects. Available values: "asc", "desc".
- Include
Recipient boolCounts - Include recipient counts in the response.
- Include
Resources bool - Include resources in the response.
- Kind string
- Filter shares by kind. Available values: "sent", "received".
- Max
Items int - Max items to fetch, default: 1000
- Order string
- Order shares by values in the given field. Available values: "name", "created".
- Resource
Types []string - Filter share resources by resource_types.
- Status string
- Filter shares by status. Available values: "active", "deleting", "deleted".
- []string
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - Target
Type string - Filter shares by target_type. Available values: "account", "organization".
- account_
id string - Account identifier.
- direction string
- Direction to sort objects. Available values: "asc", "desc".
- include_
recipient_ boolcounts - Include recipient counts in the response.
- include_
resources bool - Include resources in the response.
- kind string
- Filter shares by kind. Available values: "sent", "received".
- max_
items number - Max items to fetch, default: 1000
- order string
- Order shares by values in the given field. Available values: "name", "created".
- resource_
types list(string) - Filter share resources by resource_types.
- status string
- Filter shares by status. Available values: "active", "deleting", "deleted".
- list(string)
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - target_
type string - Filter shares by target_type. Available values: "account", "organization".
- account
Id String - Account identifier.
- direction String
- Direction to sort objects. Available values: "asc", "desc".
- include
Recipient BooleanCounts - Include recipient counts in the response.
- include
Resources Boolean - Include resources in the response.
- kind String
- Filter shares by kind. Available values: "sent", "received".
- max
Items Integer - Max items to fetch, default: 1000
- order String
- Order shares by values in the given field. Available values: "name", "created".
- resource
Types List<String> - Filter share resources by resource_types.
- status String
- Filter shares by status. Available values: "active", "deleting", "deleted".
- List<String>
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - target
Type String - Filter shares by target_type. Available values: "account", "organization".
- account
Id string - Account identifier.
- direction string
- Direction to sort objects. Available values: "asc", "desc".
- include
Recipient booleanCounts - Include recipient counts in the response.
- include
Resources boolean - Include resources in the response.
- kind string
- Filter shares by kind. Available values: "sent", "received".
- max
Items number - Max items to fetch, default: 1000
- order string
- Order shares by values in the given field. Available values: "name", "created".
- resource
Types string[] - Filter share resources by resource_types.
- status string
- Filter shares by status. Available values: "active", "deleting", "deleted".
- string[]
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - target
Type string - Filter shares by target_type. Available values: "account", "organization".
- account_
id str - Account identifier.
- direction str
- Direction to sort objects. Available values: "asc", "desc".
- include_
recipient_ boolcounts - Include recipient counts in the response.
- include_
resources bool - Include resources in the response.
- kind str
- Filter shares by kind. Available values: "sent", "received".
- max_
items int - Max items to fetch, default: 1000
- order str
- Order shares by values in the given field. Available values: "name", "created".
- resource_
types Sequence[str] - Filter share resources by resource_types.
- status str
- Filter shares by status. Available values: "active", "deleting", "deleted".
- Sequence[str]
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - target_
type str - Filter shares by target_type. Available values: "account", "organization".
- account
Id String - Account identifier.
- direction String
- Direction to sort objects. Available values: "asc", "desc".
- include
Recipient BooleanCounts - Include recipient counts in the response.
- include
Resources Boolean - Include resources in the response.
- kind String
- Filter shares by kind. Available values: "sent", "received".
- max
Items Number - Max items to fetch, default: 1000
- order String
- Order shares by values in the given field. Available values: "name", "created".
- resource
Types List<String> - Filter share resources by resource_types.
- status String
- Filter shares by status. Available values: "active", "deleting", "deleted".
- List<String>
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - target
Type String - Filter shares by target_type. Available values: "account", "organization".
getShares Result
The following output properties are available:
- Account
Id string - Account identifier.
- Direction string
- Direction to sort objects. Available values: "asc", "desc".
- Id string
- The provider-assigned unique ID for this managed resource.
- Order string
- Order shares by values in the given field. Available values: "name", "created".
- Results
List<Get
Shares Result> - The items returned by the data source
- Include
Recipient boolCounts - Include recipient counts in the response.
- Include
Resources bool - Include resources in the response.
- Kind string
- Filter shares by kind. Available values: "sent", "received".
- Max
Items int - Max items to fetch, default: 1000
- Resource
Types List<string> - Filter share resources by resource_types.
- Status string
- Filter shares by status. Available values: "active", "deleting", "deleted".
- List<string>
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - Target
Type string - Filter shares by target_type. Available values: "account", "organization".
- Account
Id string - Account identifier.
- Direction string
- Direction to sort objects. Available values: "asc", "desc".
- Id string
- The provider-assigned unique ID for this managed resource.
- Order string
- Order shares by values in the given field. Available values: "name", "created".
- Results
[]Get
Shares Result - The items returned by the data source
- Include
Recipient boolCounts - Include recipient counts in the response.
- Include
Resources bool - Include resources in the response.
- Kind string
- Filter shares by kind. Available values: "sent", "received".
- Max
Items int - Max items to fetch, default: 1000
- Resource
Types []string - Filter share resources by resource_types.
- Status string
- Filter shares by status. Available values: "active", "deleting", "deleted".
- []string
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - Target
Type string - Filter shares by target_type. Available values: "account", "organization".
- account_
id string - Account identifier.
- direction string
- Direction to sort objects. Available values: "asc", "desc".
- id string
- The provider-assigned unique ID for this managed resource.
- order string
- Order shares by values in the given field. Available values: "name", "created".
- results list(object)
- The items returned by the data source
- include_
recipient_ boolcounts - Include recipient counts in the response.
- include_
resources bool - Include resources in the response.
- kind string
- Filter shares by kind. Available values: "sent", "received".
- max_
items number - Max items to fetch, default: 1000
- resource_
types list(string) - Filter share resources by resource_types.
- status string
- Filter shares by status. Available values: "active", "deleting", "deleted".
- list(string)
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - target_
type string - Filter shares by target_type. Available values: "account", "organization".
- account
Id String - Account identifier.
- direction String
- Direction to sort objects. Available values: "asc", "desc".
- id String
- The provider-assigned unique ID for this managed resource.
- order String
- Order shares by values in the given field. Available values: "name", "created".
- results
List<Get
Shares Result> - The items returned by the data source
- include
Recipient BooleanCounts - Include recipient counts in the response.
- include
Resources Boolean - Include resources in the response.
- kind String
- Filter shares by kind. Available values: "sent", "received".
- max
Items Integer - Max items to fetch, default: 1000
- resource
Types List<String> - Filter share resources by resource_types.
- status String
- Filter shares by status. Available values: "active", "deleting", "deleted".
- List<String>
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - target
Type String - Filter shares by target_type. Available values: "account", "organization".
- account
Id string - Account identifier.
- direction string
- Direction to sort objects. Available values: "asc", "desc".
- id string
- The provider-assigned unique ID for this managed resource.
- order string
- Order shares by values in the given field. Available values: "name", "created".
- results
Get
Shares Result[] - The items returned by the data source
- include
Recipient booleanCounts - Include recipient counts in the response.
- include
Resources boolean - Include resources in the response.
- kind string
- Filter shares by kind. Available values: "sent", "received".
- max
Items number - Max items to fetch, default: 1000
- resource
Types string[] - Filter share resources by resource_types.
- status string
- Filter shares by status. Available values: "active", "deleting", "deleted".
- string[]
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - target
Type string - Filter shares by target_type. Available values: "account", "organization".
- account_
id str - Account identifier.
- direction str
- Direction to sort objects. Available values: "asc", "desc".
- id str
- The provider-assigned unique ID for this managed resource.
- order str
- Order shares by values in the given field. Available values: "name", "created".
- results
Sequence[Get
Shares Result] - The items returned by the data source
- include_
recipient_ boolcounts - Include recipient counts in the response.
- include_
resources bool - Include resources in the response.
- kind str
- Filter shares by kind. Available values: "sent", "received".
- max_
items int - Max items to fetch, default: 1000
- resource_
types Sequence[str] - Filter share resources by resource_types.
- status str
- Filter shares by status. Available values: "active", "deleting", "deleted".
- Sequence[str]
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - target_
type str - Filter shares by target_type. Available values: "account", "organization".
- account
Id String - Account identifier.
- direction String
- Direction to sort objects. Available values: "asc", "desc".
- id String
- The provider-assigned unique ID for this managed resource.
- order String
- Order shares by values in the given field. Available values: "name", "created".
- results List<Property Map>
- The items returned by the data source
- include
Recipient BooleanCounts - Include recipient counts in the response.
- include
Resources Boolean - Include resources in the response.
- kind String
- Filter shares by kind. Available values: "sent", "received".
- max
Items Number - Max items to fetch, default: 1000
- resource
Types List<String> - Filter share resources by resource_types.
- status String
- Filter shares by status. Available values: "active", "deleting", "deleted".
- List<String>
- Filter shares by tag. Each value is either
key=value(matches shares whose tags contain that key/value pair) orkeyalone (matches shares that have any value for that key). May be repeated; multipletagparameters are ANDed together. Maximum 20tagparameters per request. - target
Type String - Filter shares by target_type. Available values: "account", "organization".
Supporting Types
GetSharesResult
- Account
Id string - Account identifier.
- Account
Name string - The display name of an account.
- Associated
Recipient intCount - The number of recipients in the 'associated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- Associating
Recipient intCount - The number of recipients in the 'associating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- Created string
- When the share was created.
- Disassociated
Recipient intCount - The number of recipients in the 'disassociated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- Disassociating
Recipient intCount - The number of recipients in the 'disassociating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- Id string
- Share identifier tag.
- Kind string
- Available values: "sent", "received".
- Modified string
- When the share was modified.
- Name string
- The name of the share.
- Organization
Id string - Organization identifier.
- Resources
List<Get
Shares Result Resource> - A list of resources that are part of the share. This field is only included when requested via the 'include_resources' parameter.
- Status string
- Available values: "active", "deleting", "deleted".
- Target
Type string - Available values: "account", "organization".
- Account
Id string - Account identifier.
- Account
Name string - The display name of an account.
- Associated
Recipient intCount - The number of recipients in the 'associated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- Associating
Recipient intCount - The number of recipients in the 'associating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- Created string
- When the share was created.
- Disassociated
Recipient intCount - The number of recipients in the 'disassociated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- Disassociating
Recipient intCount - The number of recipients in the 'disassociating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- Id string
- Share identifier tag.
- Kind string
- Available values: "sent", "received".
- Modified string
- When the share was modified.
- Name string
- The name of the share.
- Organization
Id string - Organization identifier.
- Resources
[]Get
Shares Result Resource - A list of resources that are part of the share. This field is only included when requested via the 'include_resources' parameter.
- Status string
- Available values: "active", "deleting", "deleted".
- Target
Type string - Available values: "account", "organization".
- account_
id string - Account identifier.
- account_
name string - The display name of an account.
- associated_
recipient_ numbercount - The number of recipients in the 'associated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- associating_
recipient_ numbercount - The number of recipients in the 'associating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- created string
- When the share was created.
- disassociated_
recipient_ numbercount - The number of recipients in the 'disassociated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- disassociating_
recipient_ numbercount - The number of recipients in the 'disassociating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- id string
- Share identifier tag.
- kind string
- Available values: "sent", "received".
- modified string
- When the share was modified.
- name string
- The name of the share.
- organization_
id string - Organization identifier.
- resources list(object)
- A list of resources that are part of the share. This field is only included when requested via the 'include_resources' parameter.
- status string
- Available values: "active", "deleting", "deleted".
- target_
type string - Available values: "account", "organization".
- account
Id String - Account identifier.
- account
Name String - The display name of an account.
- associated
Recipient IntegerCount - The number of recipients in the 'associated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- associating
Recipient IntegerCount - The number of recipients in the 'associating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- created String
- When the share was created.
- disassociated
Recipient IntegerCount - The number of recipients in the 'disassociated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- disassociating
Recipient IntegerCount - The number of recipients in the 'disassociating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- id String
- Share identifier tag.
- kind String
- Available values: "sent", "received".
- modified String
- When the share was modified.
- name String
- The name of the share.
- organization
Id String - Organization identifier.
- resources
List<Get
Shares Result Resource> - A list of resources that are part of the share. This field is only included when requested via the 'include_resources' parameter.
- status String
- Available values: "active", "deleting", "deleted".
- target
Type String - Available values: "account", "organization".
- account
Id string - Account identifier.
- account
Name string - The display name of an account.
- associated
Recipient numberCount - The number of recipients in the 'associated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- associating
Recipient numberCount - The number of recipients in the 'associating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- created string
- When the share was created.
- disassociated
Recipient numberCount - The number of recipients in the 'disassociated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- disassociating
Recipient numberCount - The number of recipients in the 'disassociating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- id string
- Share identifier tag.
- kind string
- Available values: "sent", "received".
- modified string
- When the share was modified.
- name string
- The name of the share.
- organization
Id string - Organization identifier.
- resources
Get
Shares Result Resource[] - A list of resources that are part of the share. This field is only included when requested via the 'include_resources' parameter.
- status string
- Available values: "active", "deleting", "deleted".
- target
Type string - Available values: "account", "organization".
- account_
id str - Account identifier.
- account_
name str - The display name of an account.
- associated_
recipient_ intcount - The number of recipients in the 'associated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- associating_
recipient_ intcount - The number of recipients in the 'associating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- created str
- When the share was created.
- disassociated_
recipient_ intcount - The number of recipients in the 'disassociated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- disassociating_
recipient_ intcount - The number of recipients in the 'disassociating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- id str
- Share identifier tag.
- kind str
- Available values: "sent", "received".
- modified str
- When the share was modified.
- name str
- The name of the share.
- organization_
id str - Organization identifier.
- resources
Sequence[Get
Shares Result Resource] - A list of resources that are part of the share. This field is only included when requested via the 'include_resources' parameter.
- status str
- Available values: "active", "deleting", "deleted".
- target_
type str - Available values: "account", "organization".
- account
Id String - Account identifier.
- account
Name String - The display name of an account.
- associated
Recipient NumberCount - The number of recipients in the 'associated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- associating
Recipient NumberCount - The number of recipients in the 'associating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- created String
- When the share was created.
- disassociated
Recipient NumberCount - The number of recipients in the 'disassociated' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- disassociating
Recipient NumberCount - The number of recipients in the 'disassociating' state. This field is only included when requested via the 'includerecipientcounts' parameter.
- id String
- Share identifier tag.
- kind String
- Available values: "sent", "received".
- modified String
- When the share was modified.
- name String
- The name of the share.
- organization
Id String - Organization identifier.
- resources List<Property Map>
- A list of resources that are part of the share. This field is only included when requested via the 'include_resources' parameter.
- status String
- Available values: "active", "deleting", "deleted".
- target
Type String - Available values: "account", "organization".
GetSharesResultResource
- Created string
- When the share was created.
- Id string
- Share Resource identifier.
- Meta string
- Resource Metadata.
- Modified string
- When the share was modified.
- Resource
Account stringId - Account identifier.
- Resource
Id string - Share Resource identifier.
- Resource
Type string - Resource Type. Available values: "custom-ruleset", "gateway-policy", "gateway-destination-ip", "gateway-block-page-settings", "gateway-extended-email-matching", "idp-federation-grant".
- Resource
Version int - Resource Version.
- Status string
- Resource Status. Available values: "active", "deleting", "deleted".
- Created string
- When the share was created.
- Id string
- Share Resource identifier.
- Meta string
- Resource Metadata.
- Modified string
- When the share was modified.
- Resource
Account stringId - Account identifier.
- Resource
Id string - Share Resource identifier.
- Resource
Type string - Resource Type. Available values: "custom-ruleset", "gateway-policy", "gateway-destination-ip", "gateway-block-page-settings", "gateway-extended-email-matching", "idp-federation-grant".
- Resource
Version int - Resource Version.
- Status string
- Resource Status. Available values: "active", "deleting", "deleted".
- created string
- When the share was created.
- id string
- Share Resource identifier.
- meta string
- Resource Metadata.
- modified string
- When the share was modified.
- resource_
account_ stringid - Account identifier.
- resource_
id string - Share Resource identifier.
- resource_
type string - Resource Type. Available values: "custom-ruleset", "gateway-policy", "gateway-destination-ip", "gateway-block-page-settings", "gateway-extended-email-matching", "idp-federation-grant".
- resource_
version number - Resource Version.
- status string
- Resource Status. Available values: "active", "deleting", "deleted".
- created String
- When the share was created.
- id String
- Share Resource identifier.
- meta String
- Resource Metadata.
- modified String
- When the share was modified.
- resource
Account StringId - Account identifier.
- resource
Id String - Share Resource identifier.
- resource
Type String - Resource Type. Available values: "custom-ruleset", "gateway-policy", "gateway-destination-ip", "gateway-block-page-settings", "gateway-extended-email-matching", "idp-federation-grant".
- resource
Version Integer - Resource Version.
- status String
- Resource Status. Available values: "active", "deleting", "deleted".
- created string
- When the share was created.
- id string
- Share Resource identifier.
- meta string
- Resource Metadata.
- modified string
- When the share was modified.
- resource
Account stringId - Account identifier.
- resource
Id string - Share Resource identifier.
- resource
Type string - Resource Type. Available values: "custom-ruleset", "gateway-policy", "gateway-destination-ip", "gateway-block-page-settings", "gateway-extended-email-matching", "idp-federation-grant".
- resource
Version number - Resource Version.
- status string
- Resource Status. Available values: "active", "deleting", "deleted".
- created str
- When the share was created.
- id str
- Share Resource identifier.
- meta str
- Resource Metadata.
- modified str
- When the share was modified.
- resource_
account_ strid - Account identifier.
- resource_
id str - Share Resource identifier.
- resource_
type str - Resource Type. Available values: "custom-ruleset", "gateway-policy", "gateway-destination-ip", "gateway-block-page-settings", "gateway-extended-email-matching", "idp-federation-grant".
- resource_
version int - Resource Version.
- status str
- Resource Status. Available values: "active", "deleting", "deleted".
- created String
- When the share was created.
- id String
- Share Resource identifier.
- meta String
- Resource Metadata.
- modified String
- When the share was modified.
- resource
Account StringId - Account identifier.
- resource
Id String - Share Resource identifier.
- resource
Type String - Resource Type. Available values: "custom-ruleset", "gateway-policy", "gateway-destination-ip", "gateway-block-page-settings", "gateway-extended-email-matching", "idp-federation-grant".
- resource
Version Number - Resource Version.
- status String
- Resource Status. Available values: "active", "deleting", "deleted".
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