Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.BigDataService.BdsInstanceOsPatchAction
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
Create BdsInstanceOsPatchAction Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BdsInstanceOsPatchAction(name: string, args: BdsInstanceOsPatchActionArgs, opts?: CustomResourceOptions);
@overload
def BdsInstanceOsPatchAction(resource_name: str,
args: BdsInstanceOsPatchActionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BdsInstanceOsPatchAction(resource_name: str,
opts: Optional[ResourceOptions] = None,
bds_instance_id: Optional[str] = None,
cluster_admin_password: Optional[str] = None,
os_patch_version: Optional[str] = None,
patching_configs: Optional[Sequence[_bigdataservice.BdsInstanceOsPatchActionPatchingConfigArgs]] = None)
func NewBdsInstanceOsPatchAction(ctx *Context, name string, args BdsInstanceOsPatchActionArgs, opts ...ResourceOption) (*BdsInstanceOsPatchAction, error)
public BdsInstanceOsPatchAction(string name, BdsInstanceOsPatchActionArgs args, CustomResourceOptions? opts = null)
public BdsInstanceOsPatchAction(String name, BdsInstanceOsPatchActionArgs args)
public BdsInstanceOsPatchAction(String name, BdsInstanceOsPatchActionArgs args, CustomResourceOptions options)
type: oci:BigDataService:BdsInstanceOsPatchAction
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 BdsInstanceOsPatchActionArgs
- 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 BdsInstanceOsPatchActionArgs
- 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 BdsInstanceOsPatchActionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BdsInstanceOsPatchActionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BdsInstanceOsPatchActionArgs
- 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 bdsInstanceOsPatchActionResource = new Oci.BigDataService.BdsInstanceOsPatchAction("bdsInstanceOsPatchActionResource", new()
{
BdsInstanceId = "string",
ClusterAdminPassword = "string",
OsPatchVersion = "string",
PatchingConfigs = new[]
{
new Oci.BigDataService.Inputs.BdsInstanceOsPatchActionPatchingConfigArgs
{
PatchingConfigStrategy = "string",
BatchSize = 0,
ToleranceThresholdPerBatch = 0,
WaitTimeBetweenBatchInSeconds = 0,
},
},
});
example, err := BigDataService.NewBdsInstanceOsPatchAction(ctx, "bdsInstanceOsPatchActionResource", &BigDataService.BdsInstanceOsPatchActionArgs{
BdsInstanceId: pulumi.String("string"),
ClusterAdminPassword: pulumi.String("string"),
OsPatchVersion: pulumi.String("string"),
PatchingConfigs: bigdataservice.BdsInstanceOsPatchActionPatchingConfigArray{
&bigdataservice.BdsInstanceOsPatchActionPatchingConfigArgs{
PatchingConfigStrategy: pulumi.String("string"),
BatchSize: pulumi.Int(0),
ToleranceThresholdPerBatch: pulumi.Int(0),
WaitTimeBetweenBatchInSeconds: pulumi.Int(0),
},
},
})
var bdsInstanceOsPatchActionResource = new BdsInstanceOsPatchAction("bdsInstanceOsPatchActionResource", BdsInstanceOsPatchActionArgs.builder()
.bdsInstanceId("string")
.clusterAdminPassword("string")
.osPatchVersion("string")
.patchingConfigs(BdsInstanceOsPatchActionPatchingConfigArgs.builder()
.patchingConfigStrategy("string")
.batchSize(0)
.toleranceThresholdPerBatch(0)
.waitTimeBetweenBatchInSeconds(0)
.build())
.build());
bds_instance_os_patch_action_resource = oci.big_data_service.BdsInstanceOsPatchAction("bdsInstanceOsPatchActionResource",
bds_instance_id="string",
cluster_admin_password="string",
os_patch_version="string",
patching_configs=[oci.big_data_service.BdsInstanceOsPatchActionPatchingConfigArgs(
patching_config_strategy="string",
batch_size=0,
tolerance_threshold_per_batch=0,
wait_time_between_batch_in_seconds=0,
)])
const bdsInstanceOsPatchActionResource = new oci.bigdataservice.BdsInstanceOsPatchAction("bdsInstanceOsPatchActionResource", {
bdsInstanceId: "string",
clusterAdminPassword: "string",
osPatchVersion: "string",
patchingConfigs: [{
patchingConfigStrategy: "string",
batchSize: 0,
toleranceThresholdPerBatch: 0,
waitTimeBetweenBatchInSeconds: 0,
}],
});
type: oci:BigDataService:BdsInstanceOsPatchAction
properties:
bdsInstanceId: string
clusterAdminPassword: string
osPatchVersion: string
patchingConfigs:
- batchSize: 0
patchingConfigStrategy: string
toleranceThresholdPerBatch: 0
waitTimeBetweenBatchInSeconds: 0
BdsInstanceOsPatchAction Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The BdsInstanceOsPatchAction resource accepts the following input properties:
- bds
Instance StringId - cluster
Admin StringPassword - os
Patch StringVersion - patching
Configs List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the BdsInstanceOsPatchAction resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing BdsInstanceOsPatchAction Resource
Get an existing BdsInstanceOsPatchAction 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?: BdsInstanceOsPatchActionState, opts?: CustomResourceOptions): BdsInstanceOsPatchAction
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bds_instance_id: Optional[str] = None,
cluster_admin_password: Optional[str] = None,
os_patch_version: Optional[str] = None,
patching_configs: Optional[Sequence[_bigdataservice.BdsInstanceOsPatchActionPatchingConfigArgs]] = None) -> BdsInstanceOsPatchAction
func GetBdsInstanceOsPatchAction(ctx *Context, name string, id IDInput, state *BdsInstanceOsPatchActionState, opts ...ResourceOption) (*BdsInstanceOsPatchAction, error)
public static BdsInstanceOsPatchAction Get(string name, Input<string> id, BdsInstanceOsPatchActionState? state, CustomResourceOptions? opts = null)
public static BdsInstanceOsPatchAction get(String name, Output<String> id, BdsInstanceOsPatchActionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- bds
Instance StringId - cluster
Admin StringPassword - os
Patch StringVersion - patching
Configs List<Property Map>
Supporting Types
BdsInstanceOsPatchActionPatchingConfig, BdsInstanceOsPatchActionPatchingConfigArgs
- patching
Config StringStrategy - batch
Size Integer - tolerance
Threshold IntegerPer Batch - wait
Time IntegerBetween Batch In Seconds
- patching
Config stringStrategy - batch
Size number - tolerance
Threshold numberPer Batch - wait
Time numberBetween Batch In Seconds
- patching
Config StringStrategy - batch
Size Number - tolerance
Threshold NumberPer Batch - wait
Time NumberBetween Batch In Seconds
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi