1. Packages
  2. Powerflex Provider
  3. API Docs
  4. OsRepository
powerflex 1.8.0 published on Monday, Apr 14, 2025 by dell

powerflex.OsRepository

Explore with Pulumi AI

powerflex logo
powerflex 1.8.0 published on Monday, Apr 14, 2025 by dell

    Create OsRepository Resource

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

    Constructor syntax

    new OsRepository(name: string, args: OsRepositoryArgs, opts?: CustomResourceOptions);
    @overload
    def OsRepository(resource_name: str,
                     args: OsRepositoryArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def OsRepository(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     image_type: Optional[str] = None,
                     source_path: Optional[str] = None,
                     name: Optional[str] = None,
                     password: Optional[str] = None,
                     repo_type: Optional[str] = None,
                     timeout: Optional[float] = None,
                     username: Optional[str] = None)
    func NewOsRepository(ctx *Context, name string, args OsRepositoryArgs, opts ...ResourceOption) (*OsRepository, error)
    public OsRepository(string name, OsRepositoryArgs args, CustomResourceOptions? opts = null)
    public OsRepository(String name, OsRepositoryArgs args)
    public OsRepository(String name, OsRepositoryArgs args, CustomResourceOptions options)
    
    type: powerflex:OsRepository
    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 OsRepositoryArgs
    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 OsRepositoryArgs
    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 OsRepositoryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OsRepositoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OsRepositoryArgs
    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 osRepositoryResource = new Powerflex.OsRepository("osRepositoryResource", new()
    {
        ImageType = "string",
        SourcePath = "string",
        Name = "string",
        Password = "string",
        RepoType = "string",
        Timeout = 0,
        Username = "string",
    });
    
    example, err := powerflex.NewOsRepository(ctx, "osRepositoryResource", &powerflex.OsRepositoryArgs{
    	ImageType:  pulumi.String("string"),
    	SourcePath: pulumi.String("string"),
    	Name:       pulumi.String("string"),
    	Password:   pulumi.String("string"),
    	RepoType:   pulumi.String("string"),
    	Timeout:    pulumi.Float64(0),
    	Username:   pulumi.String("string"),
    })
    
    var osRepositoryResource = new OsRepository("osRepositoryResource", OsRepositoryArgs.builder()
        .imageType("string")
        .sourcePath("string")
        .name("string")
        .password("string")
        .repoType("string")
        .timeout(0)
        .username("string")
        .build());
    
    os_repository_resource = powerflex.OsRepository("osRepositoryResource",
        image_type="string",
        source_path="string",
        name="string",
        password="string",
        repo_type="string",
        timeout=0,
        username="string")
    
    const osRepositoryResource = new powerflex.OsRepository("osRepositoryResource", {
        imageType: "string",
        sourcePath: "string",
        name: "string",
        password: "string",
        repoType: "string",
        timeout: 0,
        username: "string",
    });
    
    type: powerflex:OsRepository
    properties:
        imageType: string
        name: string
        password: string
        repoType: string
        sourcePath: string
        timeout: 0
        username: string
    

    OsRepository 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 OsRepository resource accepts the following input properties:

    ImageType string
    Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
    SourcePath string
    Source path of the OS image
    Name string
    Name of the OS repository
    Password string
    Password of the OS repository
    RepoType string
    Type of the OS repository. Default is ISO
    Timeout double
    Describes the time in minutes to timeout the job.
    Username string
    Username of the OS repository
    ImageType string
    Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
    SourcePath string
    Source path of the OS image
    Name string
    Name of the OS repository
    Password string
    Password of the OS repository
    RepoType string
    Type of the OS repository. Default is ISO
    Timeout float64
    Describes the time in minutes to timeout the job.
    Username string
    Username of the OS repository
    imageType String
    Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
    sourcePath String
    Source path of the OS image
    name String
    Name of the OS repository
    password String
    Password of the OS repository
    repoType String
    Type of the OS repository. Default is ISO
    timeout Double
    Describes the time in minutes to timeout the job.
    username String
    Username of the OS repository
    imageType string
    Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
    sourcePath string
    Source path of the OS image
    name string
    Name of the OS repository
    password string
    Password of the OS repository
    repoType string
    Type of the OS repository. Default is ISO
    timeout number
    Describes the time in minutes to timeout the job.
    username string
    Username of the OS repository
    image_type str
    Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
    source_path str
    Source path of the OS image
    name str
    Name of the OS repository
    password str
    Password of the OS repository
    repo_type str
    Type of the OS repository. Default is ISO
    timeout float
    Describes the time in minutes to timeout the job.
    username str
    Username of the OS repository
    imageType String
    Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
    sourcePath String
    Source path of the OS image
    name String
    Name of the OS repository
    password String
    Password of the OS repository
    repoType String
    Type of the OS repository. Default is ISO
    timeout Number
    Describes the time in minutes to timeout the job.
    username String
    Username of the OS repository

    Outputs

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

    BaseUrl string
    Base URL of the OS repository
    CreatedBy string
    User who created the OS repository
    CreatedDate string
    Date of creation of the OS Repository
    FromWeb bool
    Whether the OS repository is from the web or not
    Id string
    The provider-assigned unique ID for this managed resource.
    InUse bool
    Whether the OS repository is in use or not
    RazorName string
    Name of the Razor
    RcmPath string
    Path of the RCM
    State string
    State of the OS repository
    BaseUrl string
    Base URL of the OS repository
    CreatedBy string
    User who created the OS repository
    CreatedDate string
    Date of creation of the OS Repository
    FromWeb bool
    Whether the OS repository is from the web or not
    Id string
    The provider-assigned unique ID for this managed resource.
    InUse bool
    Whether the OS repository is in use or not
    RazorName string
    Name of the Razor
    RcmPath string
    Path of the RCM
    State string
    State of the OS repository
    baseUrl String
    Base URL of the OS repository
    createdBy String
    User who created the OS repository
    createdDate String
    Date of creation of the OS Repository
    fromWeb Boolean
    Whether the OS repository is from the web or not
    id String
    The provider-assigned unique ID for this managed resource.
    inUse Boolean
    Whether the OS repository is in use or not
    razorName String
    Name of the Razor
    rcmPath String
    Path of the RCM
    state String
    State of the OS repository
    baseUrl string
    Base URL of the OS repository
    createdBy string
    User who created the OS repository
    createdDate string
    Date of creation of the OS Repository
    fromWeb boolean
    Whether the OS repository is from the web or not
    id string
    The provider-assigned unique ID for this managed resource.
    inUse boolean
    Whether the OS repository is in use or not
    razorName string
    Name of the Razor
    rcmPath string
    Path of the RCM
    state string
    State of the OS repository
    base_url str
    Base URL of the OS repository
    created_by str
    User who created the OS repository
    created_date str
    Date of creation of the OS Repository
    from_web bool
    Whether the OS repository is from the web or not
    id str
    The provider-assigned unique ID for this managed resource.
    in_use bool
    Whether the OS repository is in use or not
    razor_name str
    Name of the Razor
    rcm_path str
    Path of the RCM
    state str
    State of the OS repository
    baseUrl String
    Base URL of the OS repository
    createdBy String
    User who created the OS repository
    createdDate String
    Date of creation of the OS Repository
    fromWeb Boolean
    Whether the OS repository is from the web or not
    id String
    The provider-assigned unique ID for this managed resource.
    inUse Boolean
    Whether the OS repository is in use or not
    razorName String
    Name of the Razor
    rcmPath String
    Path of the RCM
    state String
    State of the OS repository

    Look up Existing OsRepository Resource

    Get an existing OsRepository 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?: OsRepositoryState, opts?: CustomResourceOptions): OsRepository
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            base_url: Optional[str] = None,
            created_by: Optional[str] = None,
            created_date: Optional[str] = None,
            from_web: Optional[bool] = None,
            image_type: Optional[str] = None,
            in_use: Optional[bool] = None,
            name: Optional[str] = None,
            password: Optional[str] = None,
            razor_name: Optional[str] = None,
            rcm_path: Optional[str] = None,
            repo_type: Optional[str] = None,
            source_path: Optional[str] = None,
            state: Optional[str] = None,
            timeout: Optional[float] = None,
            username: Optional[str] = None) -> OsRepository
    func GetOsRepository(ctx *Context, name string, id IDInput, state *OsRepositoryState, opts ...ResourceOption) (*OsRepository, error)
    public static OsRepository Get(string name, Input<string> id, OsRepositoryState? state, CustomResourceOptions? opts = null)
    public static OsRepository get(String name, Output<String> id, OsRepositoryState state, CustomResourceOptions options)
    resources:  _:    type: powerflex:OsRepository    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:
    BaseUrl string
    Base URL of the OS repository
    CreatedBy string
    User who created the OS repository
    CreatedDate string
    Date of creation of the OS Repository
    FromWeb bool
    Whether the OS repository is from the web or not
    ImageType string
    Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
    InUse bool
    Whether the OS repository is in use or not
    Name string
    Name of the OS repository
    Password string
    Password of the OS repository
    RazorName string
    Name of the Razor
    RcmPath string
    Path of the RCM
    RepoType string
    Type of the OS repository. Default is ISO
    SourcePath string
    Source path of the OS image
    State string
    State of the OS repository
    Timeout double
    Describes the time in minutes to timeout the job.
    Username string
    Username of the OS repository
    BaseUrl string
    Base URL of the OS repository
    CreatedBy string
    User who created the OS repository
    CreatedDate string
    Date of creation of the OS Repository
    FromWeb bool
    Whether the OS repository is from the web or not
    ImageType string
    Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
    InUse bool
    Whether the OS repository is in use or not
    Name string
    Name of the OS repository
    Password string
    Password of the OS repository
    RazorName string
    Name of the Razor
    RcmPath string
    Path of the RCM
    RepoType string
    Type of the OS repository. Default is ISO
    SourcePath string
    Source path of the OS image
    State string
    State of the OS repository
    Timeout float64
    Describes the time in minutes to timeout the job.
    Username string
    Username of the OS repository
    baseUrl String
    Base URL of the OS repository
    createdBy String
    User who created the OS repository
    createdDate String
    Date of creation of the OS Repository
    fromWeb Boolean
    Whether the OS repository is from the web or not
    imageType String
    Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
    inUse Boolean
    Whether the OS repository is in use or not
    name String
    Name of the OS repository
    password String
    Password of the OS repository
    razorName String
    Name of the Razor
    rcmPath String
    Path of the RCM
    repoType String
    Type of the OS repository. Default is ISO
    sourcePath String
    Source path of the OS image
    state String
    State of the OS repository
    timeout Double
    Describes the time in minutes to timeout the job.
    username String
    Username of the OS repository
    baseUrl string
    Base URL of the OS repository
    createdBy string
    User who created the OS repository
    createdDate string
    Date of creation of the OS Repository
    fromWeb boolean
    Whether the OS repository is from the web or not
    imageType string
    Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
    inUse boolean
    Whether the OS repository is in use or not
    name string
    Name of the OS repository
    password string
    Password of the OS repository
    razorName string
    Name of the Razor
    rcmPath string
    Path of the RCM
    repoType string
    Type of the OS repository. Default is ISO
    sourcePath string
    Source path of the OS image
    state string
    State of the OS repository
    timeout number
    Describes the time in minutes to timeout the job.
    username string
    Username of the OS repository
    base_url str
    Base URL of the OS repository
    created_by str
    User who created the OS repository
    created_date str
    Date of creation of the OS Repository
    from_web bool
    Whether the OS repository is from the web or not
    image_type str
    Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
    in_use bool
    Whether the OS repository is in use or not
    name str
    Name of the OS repository
    password str
    Password of the OS repository
    razor_name str
    Name of the Razor
    rcm_path str
    Path of the RCM
    repo_type str
    Type of the OS repository. Default is ISO
    source_path str
    Source path of the OS image
    state str
    State of the OS repository
    timeout float
    Describes the time in minutes to timeout the job.
    username str
    Username of the OS repository
    baseUrl String
    Base URL of the OS repository
    createdBy String
    User who created the OS repository
    createdDate String
    Date of creation of the OS Repository
    fromWeb Boolean
    Whether the OS repository is from the web or not
    imageType String
    Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
    inUse Boolean
    Whether the OS repository is in use or not
    name String
    Name of the OS repository
    password String
    Password of the OS repository
    razorName String
    Name of the Razor
    rcmPath String
    Path of the RCM
    repoType String
    Type of the OS repository. Default is ISO
    sourcePath String
    Source path of the OS image
    state String
    State of the OS repository
    timeout Number
    Describes the time in minutes to timeout the job.
    username String
    Username of the OS repository

    Package Details

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