Viewing docs for bitbucket 2.50.0
published on Wednesday, Oct 8, 2025 by drfaust92
published on Wednesday, Oct 8, 2025 by drfaust92
Viewing docs for bitbucket 2.50.0
published on Wednesday, Oct 8, 2025 by drfaust92
published on Wednesday, Oct 8, 2025 by drfaust92
Provides a way to fetch IP Ranges for whitelisting.
OAuth2 Scopes: none
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as bitbucket from "@pulumi/bitbucket";
const example = bitbucket.getIpRanges({});
import pulumi
import pulumi_bitbucket as bitbucket
example = bitbucket.get_ip_ranges()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/bitbucket/v2/bitbucket"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bitbucket.GetIpRanges(ctx, &bitbucket.GetIpRangesArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Bitbucket = Pulumi.Bitbucket;
return await Deployment.RunAsync(() =>
{
var example = Bitbucket.GetIpRanges.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.bitbucket.BitbucketFunctions;
import com.pulumi.bitbucket.inputs.GetIpRangesArgs;
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 = BitbucketFunctions.getIpRanges();
}
}
variables:
example:
fn::invoke:
function: bitbucket:getIpRanges
arguments: {}
Using getIpRanges
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 getIpRanges(args: GetIpRangesArgs, opts?: InvokeOptions): Promise<GetIpRangesResult>
function getIpRangesOutput(args: GetIpRangesOutputArgs, opts?: InvokeOptions): Output<GetIpRangesResult>def get_ip_ranges(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIpRangesResult
def get_ip_ranges_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIpRangesResult]func GetIpRanges(ctx *Context, args *GetIpRangesArgs, opts ...InvokeOption) (*GetIpRangesResult, error)
func GetIpRangesOutput(ctx *Context, args *GetIpRangesOutputArgs, opts ...InvokeOption) GetIpRangesResultOutput> Note: This function is named GetIpRanges in the Go SDK.
public static class GetIpRanges
{
public static Task<GetIpRangesResult> InvokeAsync(GetIpRangesArgs args, InvokeOptions? opts = null)
public static Output<GetIpRangesResult> Invoke(GetIpRangesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIpRangesResult> getIpRanges(GetIpRangesArgs args, InvokeOptions options)
public static Output<GetIpRangesResult> getIpRanges(GetIpRangesArgs args, InvokeOptions options)
fn::invoke:
function: bitbucket:index/getIpRanges:getIpRanges
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getIpRanges Result
The following output properties are available:
- Id string
- Ranges
List<Get
Ip Ranges Range> - A Set of IP Ranges. See Ranges below.
- Id string
- Ranges
[]Get
Ip Ranges Range - A Set of IP Ranges. See Ranges below.
- id String
- ranges
List<Get
Ip Ranges Range> - A Set of IP Ranges. See Ranges below.
- id string
- ranges
Get
Ip Ranges Range[] - A Set of IP Ranges. See Ranges below.
- id str
- ranges
Sequence[Get
Ip Ranges Range] - A Set of IP Ranges. See Ranges below.
- id String
- ranges List<Property Map>
- A Set of IP Ranges. See Ranges below.
Supporting Types
GetIpRangesRange
- Cidr string
- The CIDR of the range.
- Directions List<string>
- A Set of directions (Ingress/Egress) the range is associated with.
- Mask string
- More mask of the range.
- Mask
Len double - The make length of the range.
- Network string
- The network of the range.
- Perimeter string
- The allowed perimeter of the range.
- Products List<string>
- A Set of Atlasian products (Bitbucket, Jira, etc) the range is associated with.
- Regions List<string>
- A Set of regions the range is associated with.
- Cidr string
- The CIDR of the range.
- Directions []string
- A Set of directions (Ingress/Egress) the range is associated with.
- Mask string
- More mask of the range.
- Mask
Len float64 - The make length of the range.
- Network string
- The network of the range.
- Perimeter string
- The allowed perimeter of the range.
- Products []string
- A Set of Atlasian products (Bitbucket, Jira, etc) the range is associated with.
- Regions []string
- A Set of regions the range is associated with.
- cidr String
- The CIDR of the range.
- directions List<String>
- A Set of directions (Ingress/Egress) the range is associated with.
- mask String
- More mask of the range.
- mask
Len Double - The make length of the range.
- network String
- The network of the range.
- perimeter String
- The allowed perimeter of the range.
- products List<String>
- A Set of Atlasian products (Bitbucket, Jira, etc) the range is associated with.
- regions List<String>
- A Set of regions the range is associated with.
- cidr string
- The CIDR of the range.
- directions string[]
- A Set of directions (Ingress/Egress) the range is associated with.
- mask string
- More mask of the range.
- mask
Len number - The make length of the range.
- network string
- The network of the range.
- perimeter string
- The allowed perimeter of the range.
- products string[]
- A Set of Atlasian products (Bitbucket, Jira, etc) the range is associated with.
- regions string[]
- A Set of regions the range is associated with.
- cidr str
- The CIDR of the range.
- directions Sequence[str]
- A Set of directions (Ingress/Egress) the range is associated with.
- mask str
- More mask of the range.
- mask_
len float - The make length of the range.
- network str
- The network of the range.
- perimeter str
- The allowed perimeter of the range.
- products Sequence[str]
- A Set of Atlasian products (Bitbucket, Jira, etc) the range is associated with.
- regions Sequence[str]
- A Set of regions the range is associated with.
- cidr String
- The CIDR of the range.
- directions List<String>
- A Set of directions (Ingress/Egress) the range is associated with.
- mask String
- More mask of the range.
- mask
Len Number - The make length of the range.
- network String
- The network of the range.
- perimeter String
- The allowed perimeter of the range.
- products List<String>
- A Set of Atlasian products (Bitbucket, Jira, etc) the range is associated with.
- regions List<String>
- A Set of regions the range is associated with.
Package Details
- Repository
- bitbucket drfaust92/terraform-provider-bitbucket
- License
- Notes
- This Pulumi package is based on the
bitbucketTerraform Provider.
Viewing docs for bitbucket 2.50.0
published on Wednesday, Oct 8, 2025 by drfaust92
published on Wednesday, Oct 8, 2025 by drfaust92
