powerflex.OsRepository
Explore with Pulumi AI
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:
- Image
Type string - Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
- Source
Path string - Source path of the OS image
- Name string
- Name of the OS repository
- Password string
- Password of the OS repository
- Repo
Type 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
- Image
Type string - Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
- Source
Path string - Source path of the OS image
- Name string
- Name of the OS repository
- Password string
- Password of the OS repository
- Repo
Type 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
- image
Type String - Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
- source
Path String - Source path of the OS image
- name String
- Name of the OS repository
- password String
- Password of the OS repository
- repo
Type 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
- image
Type string - Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
- source
Path string - Source path of the OS image
- name string
- Name of the OS repository
- password string
- Password of the OS repository
- repo
Type 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
- image
Type String - Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
- source
Path String - Source path of the OS image
- name String
- Name of the OS repository
- password String
- Password of the OS repository
- repo
Type 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:
- Base
Url string - Base URL of the OS repository
- Created
By string - User who created the OS repository
- Created
Date string - Date of creation of the OS Repository
- From
Web bool - Whether the OS repository is from the web or not
- Id string
- The provider-assigned unique ID for this managed resource.
- In
Use bool - Whether the OS repository is in use or not
- Razor
Name string - Name of the Razor
- Rcm
Path string - Path of the RCM
- State string
- State of the OS repository
- Base
Url string - Base URL of the OS repository
- Created
By string - User who created the OS repository
- Created
Date string - Date of creation of the OS Repository
- From
Web bool - Whether the OS repository is from the web or not
- Id string
- The provider-assigned unique ID for this managed resource.
- In
Use bool - Whether the OS repository is in use or not
- Razor
Name string - Name of the Razor
- Rcm
Path string - Path of the RCM
- State string
- State of the OS repository
- base
Url String - Base URL of the OS repository
- created
By String - User who created the OS repository
- created
Date String - Date of creation of the OS Repository
- from
Web Boolean - Whether the OS repository is from the web or not
- id String
- The provider-assigned unique ID for this managed resource.
- in
Use Boolean - Whether the OS repository is in use or not
- razor
Name String - Name of the Razor
- rcm
Path String - Path of the RCM
- state String
- State of the OS repository
- base
Url string - Base URL of the OS repository
- created
By string - User who created the OS repository
- created
Date string - Date of creation of the OS Repository
- from
Web boolean - Whether the OS repository is from the web or not
- id string
- The provider-assigned unique ID for this managed resource.
- in
Use boolean - Whether the OS repository is in use or not
- razor
Name string - Name of the Razor
- rcm
Path 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
- base
Url String - Base URL of the OS repository
- created
By String - User who created the OS repository
- created
Date String - Date of creation of the OS Repository
- from
Web Boolean - Whether the OS repository is from the web or not
- id String
- The provider-assigned unique ID for this managed resource.
- in
Use Boolean - Whether the OS repository is in use or not
- razor
Name String - Name of the Razor
- rcm
Path 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.
- Base
Url string - Base URL of the OS repository
- Created
By string - User who created the OS repository
- Created
Date string - Date of creation of the OS Repository
- From
Web bool - Whether the OS repository is from the web or not
- Image
Type string - 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 string
- Name of the OS repository
- Password string
- Password of the OS repository
- Razor
Name string - Name of the Razor
- Rcm
Path string - Path of the RCM
- Repo
Type string - Type of the OS repository. Default is ISO
- Source
Path 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
- Base
Url string - Base URL of the OS repository
- Created
By string - User who created the OS repository
- Created
Date string - Date of creation of the OS Repository
- From
Web bool - Whether the OS repository is from the web or not
- Image
Type string - 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 string
- Name of the OS repository
- Password string
- Password of the OS repository
- Razor
Name string - Name of the Razor
- Rcm
Path string - Path of the RCM
- Repo
Type string - Type of the OS repository. Default is ISO
- Source
Path 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
- base
Url String - Base URL of the OS repository
- created
By String - User who created the OS repository
- created
Date String - Date of creation of the OS Repository
- from
Web Boolean - Whether the OS repository is from the web or not
- image
Type String - Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
- in
Use Boolean - Whether the OS repository is in use or not
- name String
- Name of the OS repository
- password String
- Password of the OS repository
- razor
Name String - Name of the Razor
- rcm
Path String - Path of the RCM
- repo
Type String - Type of the OS repository. Default is ISO
- source
Path 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
- base
Url string - Base URL of the OS repository
- created
By string - User who created the OS repository
- created
Date string - Date of creation of the OS Repository
- from
Web boolean - Whether the OS repository is from the web or not
- image
Type string - Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
- in
Use boolean - Whether the OS repository is in use or not
- name string
- Name of the OS repository
- password string
- Password of the OS repository
- razor
Name string - Name of the Razor
- rcm
Path string - Path of the RCM
- repo
Type string - Type of the OS repository. Default is ISO
- source
Path 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
- base
Url String - Base URL of the OS repository
- created
By String - User who created the OS repository
- created
Date String - Date of creation of the OS Repository
- from
Web Boolean - Whether the OS repository is from the web or not
- image
Type String - Type of the OS image. Supported types are redhat7, vmware_esxi, sles, windows2016, windows2019
- in
Use Boolean - Whether the OS repository is in use or not
- name String
- Name of the OS repository
- password String
- Password of the OS repository
- razor
Name String - Name of the Razor
- rcm
Path String - Path of the RCM
- repo
Type String - Type of the OS repository. Default is ISO
- source
Path 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.