1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. SwrRepositorySharing
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.SwrRepositorySharing

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Manages an SWR repository sharing resource within FlexibleEngine.

    You can share your private images with other users, granting them permissions to pull the images.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const config = new pulumi.Config();
    const organizationName = config.requireObject("organizationName");
    const repositoryName = config.requireObject("repositoryName");
    const sharingAccount = config.requireObject("sharingAccount");
    const test = new flexibleengine.SwrRepositorySharing("test", {
        organization: organizationName,
        repository: repositoryName,
        sharingAccount: sharingAccount,
        permission: "pull",
        deadline: "forever",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    config = pulumi.Config()
    organization_name = config.require_object("organizationName")
    repository_name = config.require_object("repositoryName")
    sharing_account = config.require_object("sharingAccount")
    test = flexibleengine.SwrRepositorySharing("test",
        organization=organization_name,
        repository=repository_name,
        sharing_account=sharing_account,
        permission="pull",
        deadline="forever")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		organizationName := cfg.RequireObject("organizationName")
    		repositoryName := cfg.RequireObject("repositoryName")
    		sharingAccount := cfg.RequireObject("sharingAccount")
    		_, err := flexibleengine.NewSwrRepositorySharing(ctx, "test", &flexibleengine.SwrRepositorySharingArgs{
    			Organization:   pulumi.Any(organizationName),
    			Repository:     pulumi.Any(repositoryName),
    			SharingAccount: pulumi.Any(sharingAccount),
    			Permission:     pulumi.String("pull"),
    			Deadline:       pulumi.String("forever"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var organizationName = config.RequireObject<dynamic>("organizationName");
        var repositoryName = config.RequireObject<dynamic>("repositoryName");
        var sharingAccount = config.RequireObject<dynamic>("sharingAccount");
        var test = new Flexibleengine.SwrRepositorySharing("test", new()
        {
            Organization = organizationName,
            Repository = repositoryName,
            SharingAccount = sharingAccount,
            Permission = "pull",
            Deadline = "forever",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.SwrRepositorySharing;
    import com.pulumi.flexibleengine.SwrRepositorySharingArgs;
    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 config = ctx.config();
            final var organizationName = config.get("organizationName");
            final var repositoryName = config.get("repositoryName");
            final var sharingAccount = config.get("sharingAccount");
            var test = new SwrRepositorySharing("test", SwrRepositorySharingArgs.builder()
                .organization(organizationName)
                .repository(repositoryName)
                .sharingAccount(sharingAccount)
                .permission("pull")
                .deadline("forever")
                .build());
    
        }
    }
    
    configuration:
      organizationName:
        type: dynamic
      repositoryName:
        type: dynamic
      sharingAccount:
        type: dynamic
    resources:
      test:
        type: flexibleengine:SwrRepositorySharing
        properties:
          organization: ${organizationName}
          repository: ${repositoryName}
          sharingAccount: ${sharingAccount}
          permission: pull
          deadline: forever
    

    Create SwrRepositorySharing Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SwrRepositorySharing(name: string, args: SwrRepositorySharingArgs, opts?: CustomResourceOptions);
    @overload
    def SwrRepositorySharing(resource_name: str,
                             args: SwrRepositorySharingArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def SwrRepositorySharing(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             deadline: Optional[str] = None,
                             organization: Optional[str] = None,
                             repository: Optional[str] = None,
                             sharing_account: Optional[str] = None,
                             description: Optional[str] = None,
                             permission: Optional[str] = None,
                             region: Optional[str] = None,
                             swr_repository_sharing_id: Optional[str] = None,
                             timeouts: Optional[SwrRepositorySharingTimeoutsArgs] = None)
    func NewSwrRepositorySharing(ctx *Context, name string, args SwrRepositorySharingArgs, opts ...ResourceOption) (*SwrRepositorySharing, error)
    public SwrRepositorySharing(string name, SwrRepositorySharingArgs args, CustomResourceOptions? opts = null)
    public SwrRepositorySharing(String name, SwrRepositorySharingArgs args)
    public SwrRepositorySharing(String name, SwrRepositorySharingArgs args, CustomResourceOptions options)
    
    type: flexibleengine:SwrRepositorySharing
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SwrRepositorySharingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SwrRepositorySharingArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SwrRepositorySharingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SwrRepositorySharingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SwrRepositorySharingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var swrRepositorySharingResource = new Flexibleengine.SwrRepositorySharing("swrRepositorySharingResource", new()
    {
        Deadline = "string",
        Organization = "string",
        Repository = "string",
        SharingAccount = "string",
        Description = "string",
        Permission = "string",
        Region = "string",
        SwrRepositorySharingId = "string",
        Timeouts = new Flexibleengine.Inputs.SwrRepositorySharingTimeoutsArgs
        {
            Default = "string",
        },
    });
    
    example, err := flexibleengine.NewSwrRepositorySharing(ctx, "swrRepositorySharingResource", &flexibleengine.SwrRepositorySharingArgs{
    	Deadline:               pulumi.String("string"),
    	Organization:           pulumi.String("string"),
    	Repository:             pulumi.String("string"),
    	SharingAccount:         pulumi.String("string"),
    	Description:            pulumi.String("string"),
    	Permission:             pulumi.String("string"),
    	Region:                 pulumi.String("string"),
    	SwrRepositorySharingId: pulumi.String("string"),
    	Timeouts: &flexibleengine.SwrRepositorySharingTimeoutsArgs{
    		Default: pulumi.String("string"),
    	},
    })
    
    var swrRepositorySharingResource = new SwrRepositorySharing("swrRepositorySharingResource", SwrRepositorySharingArgs.builder()
        .deadline("string")
        .organization("string")
        .repository("string")
        .sharingAccount("string")
        .description("string")
        .permission("string")
        .region("string")
        .swrRepositorySharingId("string")
        .timeouts(SwrRepositorySharingTimeoutsArgs.builder()
            .default_("string")
            .build())
        .build());
    
    swr_repository_sharing_resource = flexibleengine.SwrRepositorySharing("swrRepositorySharingResource",
        deadline="string",
        organization="string",
        repository="string",
        sharing_account="string",
        description="string",
        permission="string",
        region="string",
        swr_repository_sharing_id="string",
        timeouts={
            "default": "string",
        })
    
    const swrRepositorySharingResource = new flexibleengine.SwrRepositorySharing("swrRepositorySharingResource", {
        deadline: "string",
        organization: "string",
        repository: "string",
        sharingAccount: "string",
        description: "string",
        permission: "string",
        region: "string",
        swrRepositorySharingId: "string",
        timeouts: {
            "default": "string",
        },
    });
    
    type: flexibleengine:SwrRepositorySharing
    properties:
        deadline: string
        description: string
        organization: string
        permission: string
        region: string
        repository: string
        sharingAccount: string
        swrRepositorySharingId: string
        timeouts:
            default: string
    

    SwrRepositorySharing Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SwrRepositorySharing resource accepts the following input properties:

    Deadline string
    Specifies the end date of image sharing (UTC time in YYYY-MM-DD format, for example 2021-10-01). When the value is set to forever, the image will be permanently available for the domain. The validity period is calculated by day. The shared images expire at 00:00:00 on the day after the end date.
    Organization string
    Specifies the name of the organization (namespace) the repository belongs. Changing this creates a new resource.
    Repository string
    Specifies the name of the repository to be shared. Changing this creates a new resource.
    SharingAccount string

    Specifies the name of the account for repository sharing. Changing this creates a new resource.

    NOTE: sharing_account should be an existing IAM account.

    Description string
    Specifies the description of the repository sharing.
    Permission string
    Specifies the permission to be granted. Currently, only the pull permission is supported. Default value is pull.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    SwrRepositorySharingId string
    ID of the repository sharing. The value is the value of sharing_account.
    Timeouts SwrRepositorySharingTimeouts
    Deadline string
    Specifies the end date of image sharing (UTC time in YYYY-MM-DD format, for example 2021-10-01). When the value is set to forever, the image will be permanently available for the domain. The validity period is calculated by day. The shared images expire at 00:00:00 on the day after the end date.
    Organization string
    Specifies the name of the organization (namespace) the repository belongs. Changing this creates a new resource.
    Repository string
    Specifies the name of the repository to be shared. Changing this creates a new resource.
    SharingAccount string

    Specifies the name of the account for repository sharing. Changing this creates a new resource.

    NOTE: sharing_account should be an existing IAM account.

    Description string
    Specifies the description of the repository sharing.
    Permission string
    Specifies the permission to be granted. Currently, only the pull permission is supported. Default value is pull.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    SwrRepositorySharingId string
    ID of the repository sharing. The value is the value of sharing_account.
    Timeouts SwrRepositorySharingTimeoutsArgs
    deadline String
    Specifies the end date of image sharing (UTC time in YYYY-MM-DD format, for example 2021-10-01). When the value is set to forever, the image will be permanently available for the domain. The validity period is calculated by day. The shared images expire at 00:00:00 on the day after the end date.
    organization String
    Specifies the name of the organization (namespace) the repository belongs. Changing this creates a new resource.
    repository String
    Specifies the name of the repository to be shared. Changing this creates a new resource.
    sharingAccount String

    Specifies the name of the account for repository sharing. Changing this creates a new resource.

    NOTE: sharing_account should be an existing IAM account.

    description String
    Specifies the description of the repository sharing.
    permission String
    Specifies the permission to be granted. Currently, only the pull permission is supported. Default value is pull.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    swrRepositorySharingId String
    ID of the repository sharing. The value is the value of sharing_account.
    timeouts SwrRepositorySharingTimeouts
    deadline string
    Specifies the end date of image sharing (UTC time in YYYY-MM-DD format, for example 2021-10-01). When the value is set to forever, the image will be permanently available for the domain. The validity period is calculated by day. The shared images expire at 00:00:00 on the day after the end date.
    organization string
    Specifies the name of the organization (namespace) the repository belongs. Changing this creates a new resource.
    repository string
    Specifies the name of the repository to be shared. Changing this creates a new resource.
    sharingAccount string

    Specifies the name of the account for repository sharing. Changing this creates a new resource.

    NOTE: sharing_account should be an existing IAM account.

    description string
    Specifies the description of the repository sharing.
    permission string
    Specifies the permission to be granted. Currently, only the pull permission is supported. Default value is pull.
    region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    swrRepositorySharingId string
    ID of the repository sharing. The value is the value of sharing_account.
    timeouts SwrRepositorySharingTimeouts
    deadline str
    Specifies the end date of image sharing (UTC time in YYYY-MM-DD format, for example 2021-10-01). When the value is set to forever, the image will be permanently available for the domain. The validity period is calculated by day. The shared images expire at 00:00:00 on the day after the end date.
    organization str
    Specifies the name of the organization (namespace) the repository belongs. Changing this creates a new resource.
    repository str
    Specifies the name of the repository to be shared. Changing this creates a new resource.
    sharing_account str

    Specifies the name of the account for repository sharing. Changing this creates a new resource.

    NOTE: sharing_account should be an existing IAM account.

    description str
    Specifies the description of the repository sharing.
    permission str
    Specifies the permission to be granted. Currently, only the pull permission is supported. Default value is pull.
    region str
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    swr_repository_sharing_id str
    ID of the repository sharing. The value is the value of sharing_account.
    timeouts SwrRepositorySharingTimeoutsArgs
    deadline String
    Specifies the end date of image sharing (UTC time in YYYY-MM-DD format, for example 2021-10-01). When the value is set to forever, the image will be permanently available for the domain. The validity period is calculated by day. The shared images expire at 00:00:00 on the day after the end date.
    organization String
    Specifies the name of the organization (namespace) the repository belongs. Changing this creates a new resource.
    repository String
    Specifies the name of the repository to be shared. Changing this creates a new resource.
    sharingAccount String

    Specifies the name of the account for repository sharing. Changing this creates a new resource.

    NOTE: sharing_account should be an existing IAM account.

    description String
    Specifies the description of the repository sharing.
    permission String
    Specifies the permission to be granted. Currently, only the pull permission is supported. Default value is pull.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    swrRepositorySharingId String
    ID of the repository sharing. The value is the value of sharing_account.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SwrRepositorySharing resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Status bool
    Indicates the repository sharing is valid (true) or expired (false).
    Id string
    The provider-assigned unique ID for this managed resource.
    Status bool
    Indicates the repository sharing is valid (true) or expired (false).
    id String
    The provider-assigned unique ID for this managed resource.
    status Boolean
    Indicates the repository sharing is valid (true) or expired (false).
    id string
    The provider-assigned unique ID for this managed resource.
    status boolean
    Indicates the repository sharing is valid (true) or expired (false).
    id str
    The provider-assigned unique ID for this managed resource.
    status bool
    Indicates the repository sharing is valid (true) or expired (false).
    id String
    The provider-assigned unique ID for this managed resource.
    status Boolean
    Indicates the repository sharing is valid (true) or expired (false).

    Look up Existing SwrRepositorySharing Resource

    Get an existing SwrRepositorySharing resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SwrRepositorySharingState, opts?: CustomResourceOptions): SwrRepositorySharing
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            deadline: Optional[str] = None,
            description: Optional[str] = None,
            organization: Optional[str] = None,
            permission: Optional[str] = None,
            region: Optional[str] = None,
            repository: Optional[str] = None,
            sharing_account: Optional[str] = None,
            status: Optional[bool] = None,
            swr_repository_sharing_id: Optional[str] = None,
            timeouts: Optional[SwrRepositorySharingTimeoutsArgs] = None) -> SwrRepositorySharing
    func GetSwrRepositorySharing(ctx *Context, name string, id IDInput, state *SwrRepositorySharingState, opts ...ResourceOption) (*SwrRepositorySharing, error)
    public static SwrRepositorySharing Get(string name, Input<string> id, SwrRepositorySharingState? state, CustomResourceOptions? opts = null)
    public static SwrRepositorySharing get(String name, Output<String> id, SwrRepositorySharingState state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:SwrRepositorySharing    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Deadline string
    Specifies the end date of image sharing (UTC time in YYYY-MM-DD format, for example 2021-10-01). When the value is set to forever, the image will be permanently available for the domain. The validity period is calculated by day. The shared images expire at 00:00:00 on the day after the end date.
    Description string
    Specifies the description of the repository sharing.
    Organization string
    Specifies the name of the organization (namespace) the repository belongs. Changing this creates a new resource.
    Permission string
    Specifies the permission to be granted. Currently, only the pull permission is supported. Default value is pull.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    Repository string
    Specifies the name of the repository to be shared. Changing this creates a new resource.
    SharingAccount string

    Specifies the name of the account for repository sharing. Changing this creates a new resource.

    NOTE: sharing_account should be an existing IAM account.

    Status bool
    Indicates the repository sharing is valid (true) or expired (false).
    SwrRepositorySharingId string
    ID of the repository sharing. The value is the value of sharing_account.
    Timeouts SwrRepositorySharingTimeouts
    Deadline string
    Specifies the end date of image sharing (UTC time in YYYY-MM-DD format, for example 2021-10-01). When the value is set to forever, the image will be permanently available for the domain. The validity period is calculated by day. The shared images expire at 00:00:00 on the day after the end date.
    Description string
    Specifies the description of the repository sharing.
    Organization string
    Specifies the name of the organization (namespace) the repository belongs. Changing this creates a new resource.
    Permission string
    Specifies the permission to be granted. Currently, only the pull permission is supported. Default value is pull.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    Repository string
    Specifies the name of the repository to be shared. Changing this creates a new resource.
    SharingAccount string

    Specifies the name of the account for repository sharing. Changing this creates a new resource.

    NOTE: sharing_account should be an existing IAM account.

    Status bool
    Indicates the repository sharing is valid (true) or expired (false).
    SwrRepositorySharingId string
    ID of the repository sharing. The value is the value of sharing_account.
    Timeouts SwrRepositorySharingTimeoutsArgs
    deadline String
    Specifies the end date of image sharing (UTC time in YYYY-MM-DD format, for example 2021-10-01). When the value is set to forever, the image will be permanently available for the domain. The validity period is calculated by day. The shared images expire at 00:00:00 on the day after the end date.
    description String
    Specifies the description of the repository sharing.
    organization String
    Specifies the name of the organization (namespace) the repository belongs. Changing this creates a new resource.
    permission String
    Specifies the permission to be granted. Currently, only the pull permission is supported. Default value is pull.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    repository String
    Specifies the name of the repository to be shared. Changing this creates a new resource.
    sharingAccount String

    Specifies the name of the account for repository sharing. Changing this creates a new resource.

    NOTE: sharing_account should be an existing IAM account.

    status Boolean
    Indicates the repository sharing is valid (true) or expired (false).
    swrRepositorySharingId String
    ID of the repository sharing. The value is the value of sharing_account.
    timeouts SwrRepositorySharingTimeouts
    deadline string
    Specifies the end date of image sharing (UTC time in YYYY-MM-DD format, for example 2021-10-01). When the value is set to forever, the image will be permanently available for the domain. The validity period is calculated by day. The shared images expire at 00:00:00 on the day after the end date.
    description string
    Specifies the description of the repository sharing.
    organization string
    Specifies the name of the organization (namespace) the repository belongs. Changing this creates a new resource.
    permission string
    Specifies the permission to be granted. Currently, only the pull permission is supported. Default value is pull.
    region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    repository string
    Specifies the name of the repository to be shared. Changing this creates a new resource.
    sharingAccount string

    Specifies the name of the account for repository sharing. Changing this creates a new resource.

    NOTE: sharing_account should be an existing IAM account.

    status boolean
    Indicates the repository sharing is valid (true) or expired (false).
    swrRepositorySharingId string
    ID of the repository sharing. The value is the value of sharing_account.
    timeouts SwrRepositorySharingTimeouts
    deadline str
    Specifies the end date of image sharing (UTC time in YYYY-MM-DD format, for example 2021-10-01). When the value is set to forever, the image will be permanently available for the domain. The validity period is calculated by day. The shared images expire at 00:00:00 on the day after the end date.
    description str
    Specifies the description of the repository sharing.
    organization str
    Specifies the name of the organization (namespace) the repository belongs. Changing this creates a new resource.
    permission str
    Specifies the permission to be granted. Currently, only the pull permission is supported. Default value is pull.
    region str
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    repository str
    Specifies the name of the repository to be shared. Changing this creates a new resource.
    sharing_account str

    Specifies the name of the account for repository sharing. Changing this creates a new resource.

    NOTE: sharing_account should be an existing IAM account.

    status bool
    Indicates the repository sharing is valid (true) or expired (false).
    swr_repository_sharing_id str
    ID of the repository sharing. The value is the value of sharing_account.
    timeouts SwrRepositorySharingTimeoutsArgs
    deadline String
    Specifies the end date of image sharing (UTC time in YYYY-MM-DD format, for example 2021-10-01). When the value is set to forever, the image will be permanently available for the domain. The validity period is calculated by day. The shared images expire at 00:00:00 on the day after the end date.
    description String
    Specifies the description of the repository sharing.
    organization String
    Specifies the name of the organization (namespace) the repository belongs. Changing this creates a new resource.
    permission String
    Specifies the permission to be granted. Currently, only the pull permission is supported. Default value is pull.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    repository String
    Specifies the name of the repository to be shared. Changing this creates a new resource.
    sharingAccount String

    Specifies the name of the account for repository sharing. Changing this creates a new resource.

    NOTE: sharing_account should be an existing IAM account.

    status Boolean
    Indicates the repository sharing is valid (true) or expired (false).
    swrRepositorySharingId String
    ID of the repository sharing. The value is the value of sharing_account.
    timeouts Property Map

    Supporting Types

    SwrRepositorySharingTimeouts, SwrRepositorySharingTimeoutsArgs

    Default string
    Default string
    default_ String
    default string
    default String

    Import

    Repository sharing can be imported using the organization name, repository name and sharing account

    separated by a slash, e.g.:

    $ pulumi import flexibleengine:index/swrRepositorySharing:SwrRepositorySharing test org-name/repo-name/sharing-account
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud