Create ManagementComplianceScan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementComplianceScan(name: string, args?: ManagementComplianceScanArgs, opts?: CustomResourceOptions);@overload
def ManagementComplianceScan(resource_name: str,
args: Optional[ManagementComplianceScanArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementComplianceScan(resource_name: str,
opts: Optional[ResourceOptions] = None,
management_compliance_scan_id: Optional[str] = None)func NewManagementComplianceScan(ctx *Context, name string, args *ManagementComplianceScanArgs, opts ...ResourceOption) (*ManagementComplianceScan, error)public ManagementComplianceScan(string name, ManagementComplianceScanArgs? args = null, CustomResourceOptions? opts = null)
public ManagementComplianceScan(String name, ManagementComplianceScanArgs args)
public ManagementComplianceScan(String name, ManagementComplianceScanArgs args, CustomResourceOptions options)
type: checkpoint:ManagementComplianceScan
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 ManagementComplianceScanArgs
- 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 ManagementComplianceScanArgs
- 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 ManagementComplianceScanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementComplianceScanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementComplianceScanArgs
- 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 managementComplianceScanResource = new Checkpoint.ManagementComplianceScan("managementComplianceScanResource", new()
{
ManagementComplianceScanId = "string",
});
example, err := checkpoint.NewManagementComplianceScan(ctx, "managementComplianceScanResource", &checkpoint.ManagementComplianceScanArgs{
ManagementComplianceScanId: pulumi.String("string"),
})
var managementComplianceScanResource = new ManagementComplianceScan("managementComplianceScanResource", ManagementComplianceScanArgs.builder()
.managementComplianceScanId("string")
.build());
management_compliance_scan_resource = checkpoint.ManagementComplianceScan("managementComplianceScanResource", management_compliance_scan_id="string")
const managementComplianceScanResource = new checkpoint.ManagementComplianceScan("managementComplianceScanResource", {managementComplianceScanId: "string"});
type: checkpoint:ManagementComplianceScan
properties:
managementComplianceScanId: string
ManagementComplianceScan 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 ManagementComplianceScan resource accepts the following input properties:
- Management
Compliance stringScan Id
- Management
Compliance stringScan Id
- management
Compliance StringScan Id
- management
Compliance stringScan Id
- management
Compliance StringScan Id
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementComplianceScan resource produces the following output properties:
Look up Existing ManagementComplianceScan Resource
Get an existing ManagementComplianceScan 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?: ManagementComplianceScanState, opts?: CustomResourceOptions): ManagementComplianceScan@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
management_compliance_scan_id: Optional[str] = None,
task_id: Optional[str] = None) -> ManagementComplianceScanfunc GetManagementComplianceScan(ctx *Context, name string, id IDInput, state *ManagementComplianceScanState, opts ...ResourceOption) (*ManagementComplianceScan, error)public static ManagementComplianceScan Get(string name, Input<string> id, ManagementComplianceScanState? state, CustomResourceOptions? opts = null)public static ManagementComplianceScan get(String name, Output<String> id, ManagementComplianceScanState state, CustomResourceOptions options)resources: _: type: checkpoint:ManagementComplianceScan 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.
- Management
Compliance stringScan Id - Task
Id string - Compliance scan task UID.
- Management
Compliance stringScan Id - Task
Id string - Compliance scan task UID.
- management
Compliance StringScan Id - task
Id String - Compliance scan task UID.
- management
Compliance stringScan Id - task
Id string - Compliance scan task UID.
- management_
compliance_ strscan_ id - task_
id str - Compliance scan task UID.
- management
Compliance StringScan Id - task
Id String - Compliance scan task UID.
Package Details
- Repository
- checkpoint checkpointsw/terraform-provider-checkpoint
- License
- Notes
- This Pulumi package is based on the
checkpointTerraform Provider.
