1. Packages
  2. Azure Native
  3. API Docs
  4. appcomplianceautomation
  5. Evidence
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.appcomplianceautomation.Evidence

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    A class represent an AppComplianceAutomation evidence resource. Azure REST API version: 2024-06-27.

    Example Usage

    Evidence_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var evidence = new AzureNative.AppComplianceAutomation.Evidence("evidence", new()
        {
            ControlId = "Operational_Security_10",
            EvidenceName = "evidence1",
            EvidenceType = AzureNative.AppComplianceAutomation.EvidenceType.File,
            FilePath = "/test-byos/evidence1.png",
            ReportName = "testReportName",
            ResponsibilityId = "authorized_ip_ranges_should_be_defined_on_kubernetes_services",
        });
    
    });
    
    package main
    
    import (
    	appcomplianceautomation "github.com/pulumi/pulumi-azure-native-sdk/appcomplianceautomation/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := appcomplianceautomation.NewEvidence(ctx, "evidence", &appcomplianceautomation.EvidenceArgs{
    			ControlId:        pulumi.String("Operational_Security_10"),
    			EvidenceName:     pulumi.String("evidence1"),
    			EvidenceType:     pulumi.String(appcomplianceautomation.EvidenceTypeFile),
    			FilePath:         pulumi.String("/test-byos/evidence1.png"),
    			ReportName:       pulumi.String("testReportName"),
    			ResponsibilityId: pulumi.String("authorized_ip_ranges_should_be_defined_on_kubernetes_services"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.appcomplianceautomation.Evidence;
    import com.pulumi.azurenative.appcomplianceautomation.EvidenceArgs;
    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) {
            var evidence = new Evidence("evidence", EvidenceArgs.builder()
                .controlId("Operational_Security_10")
                .evidenceName("evidence1")
                .evidenceType("File")
                .filePath("/test-byos/evidence1.png")
                .reportName("testReportName")
                .responsibilityId("authorized_ip_ranges_should_be_defined_on_kubernetes_services")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    evidence = azure_native.appcomplianceautomation.Evidence("evidence",
        control_id="Operational_Security_10",
        evidence_name="evidence1",
        evidence_type=azure_native.appcomplianceautomation.EvidenceType.FILE,
        file_path="/test-byos/evidence1.png",
        report_name="testReportName",
        responsibility_id="authorized_ip_ranges_should_be_defined_on_kubernetes_services")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const evidence = new azure_native.appcomplianceautomation.Evidence("evidence", {
        controlId: "Operational_Security_10",
        evidenceName: "evidence1",
        evidenceType: azure_native.appcomplianceautomation.EvidenceType.File,
        filePath: "/test-byos/evidence1.png",
        reportName: "testReportName",
        responsibilityId: "authorized_ip_ranges_should_be_defined_on_kubernetes_services",
    });
    
    resources:
      evidence:
        type: azure-native:appcomplianceautomation:Evidence
        properties:
          controlId: Operational_Security_10
          evidenceName: evidence1
          evidenceType: File
          filePath: /test-byos/evidence1.png
          reportName: testReportName
          responsibilityId: authorized_ip_ranges_should_be_defined_on_kubernetes_services
    

    Create Evidence Resource

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

    Constructor syntax

    new Evidence(name: string, args: EvidenceArgs, opts?: CustomResourceOptions);
    @overload
    def Evidence(resource_name: str,
                 args: EvidenceArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Evidence(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 file_path: Optional[str] = None,
                 report_name: Optional[str] = None,
                 control_id: Optional[str] = None,
                 evidence_name: Optional[str] = None,
                 evidence_type: Optional[Union[str, EvidenceType]] = None,
                 extra_data: Optional[str] = None,
                 offer_guid: Optional[str] = None,
                 report_creator_tenant_id: Optional[str] = None,
                 responsibility_id: Optional[str] = None)
    func NewEvidence(ctx *Context, name string, args EvidenceArgs, opts ...ResourceOption) (*Evidence, error)
    public Evidence(string name, EvidenceArgs args, CustomResourceOptions? opts = null)
    public Evidence(String name, EvidenceArgs args)
    public Evidence(String name, EvidenceArgs args, CustomResourceOptions options)
    
    type: azure-native:appcomplianceautomation:Evidence
    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 EvidenceArgs
    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 EvidenceArgs
    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 EvidenceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EvidenceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EvidenceArgs
    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 evidenceResource = new AzureNative.AppComplianceAutomation.Evidence("evidenceResource", new()
    {
        FilePath = "string",
        ReportName = "string",
        ControlId = "string",
        EvidenceName = "string",
        EvidenceType = "string",
        ExtraData = "string",
        OfferGuid = "string",
        ReportCreatorTenantId = "string",
        ResponsibilityId = "string",
    });
    
    example, err := appcomplianceautomation.NewEvidence(ctx, "evidenceResource", &appcomplianceautomation.EvidenceArgs{
    FilePath: pulumi.String("string"),
    ReportName: pulumi.String("string"),
    ControlId: pulumi.String("string"),
    EvidenceName: pulumi.String("string"),
    EvidenceType: pulumi.String("string"),
    ExtraData: pulumi.String("string"),
    OfferGuid: pulumi.String("string"),
    ReportCreatorTenantId: pulumi.String("string"),
    ResponsibilityId: pulumi.String("string"),
    })
    
    var evidenceResource = new Evidence("evidenceResource", EvidenceArgs.builder()
        .filePath("string")
        .reportName("string")
        .controlId("string")
        .evidenceName("string")
        .evidenceType("string")
        .extraData("string")
        .offerGuid("string")
        .reportCreatorTenantId("string")
        .responsibilityId("string")
        .build());
    
    evidence_resource = azure_native.appcomplianceautomation.Evidence("evidenceResource",
        file_path="string",
        report_name="string",
        control_id="string",
        evidence_name="string",
        evidence_type="string",
        extra_data="string",
        offer_guid="string",
        report_creator_tenant_id="string",
        responsibility_id="string")
    
    const evidenceResource = new azure_native.appcomplianceautomation.Evidence("evidenceResource", {
        filePath: "string",
        reportName: "string",
        controlId: "string",
        evidenceName: "string",
        evidenceType: "string",
        extraData: "string",
        offerGuid: "string",
        reportCreatorTenantId: "string",
        responsibilityId: "string",
    });
    
    type: azure-native:appcomplianceautomation:Evidence
    properties:
        controlId: string
        evidenceName: string
        evidenceType: string
        extraData: string
        filePath: string
        offerGuid: string
        reportCreatorTenantId: string
        reportName: string
        responsibilityId: string
    

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

    FilePath string
    The path of the file in storage.
    ReportName string
    Report Name.
    ControlId string
    Control id.
    EvidenceName string
    The evidence name.
    EvidenceType string | Pulumi.AzureNative.AppComplianceAutomation.EvidenceType
    Evidence type.
    ExtraData string
    Extra data considered as evidence.
    OfferGuid string
    The offerGuid which mapping to the reports.
    ReportCreatorTenantId string
    The tenant id of the report creator.
    ResponsibilityId string
    Responsibility id.
    FilePath string
    The path of the file in storage.
    ReportName string
    Report Name.
    ControlId string
    Control id.
    EvidenceName string
    The evidence name.
    EvidenceType string | EvidenceType
    Evidence type.
    ExtraData string
    Extra data considered as evidence.
    OfferGuid string
    The offerGuid which mapping to the reports.
    ReportCreatorTenantId string
    The tenant id of the report creator.
    ResponsibilityId string
    Responsibility id.
    filePath String
    The path of the file in storage.
    reportName String
    Report Name.
    controlId String
    Control id.
    evidenceName String
    The evidence name.
    evidenceType String | EvidenceType
    Evidence type.
    extraData String
    Extra data considered as evidence.
    offerGuid String
    The offerGuid which mapping to the reports.
    reportCreatorTenantId String
    The tenant id of the report creator.
    responsibilityId String
    Responsibility id.
    filePath string
    The path of the file in storage.
    reportName string
    Report Name.
    controlId string
    Control id.
    evidenceName string
    The evidence name.
    evidenceType string | EvidenceType
    Evidence type.
    extraData string
    Extra data considered as evidence.
    offerGuid string
    The offerGuid which mapping to the reports.
    reportCreatorTenantId string
    The tenant id of the report creator.
    responsibilityId string
    Responsibility id.
    file_path str
    The path of the file in storage.
    report_name str
    Report Name.
    control_id str
    Control id.
    evidence_name str
    The evidence name.
    evidence_type str | EvidenceType
    Evidence type.
    extra_data str
    Extra data considered as evidence.
    offer_guid str
    The offerGuid which mapping to the reports.
    report_creator_tenant_id str
    The tenant id of the report creator.
    responsibility_id str
    Responsibility id.
    filePath String
    The path of the file in storage.
    reportName String
    Report Name.
    controlId String
    Control id.
    evidenceName String
    The evidence name.
    evidenceType String | "File" | "AutoCollectedEvidence" | "Data"
    Evidence type.
    extraData String
    Extra data considered as evidence.
    offerGuid String
    The offerGuid which mapping to the reports.
    reportCreatorTenantId String
    The tenant id of the report creator.
    responsibilityId String
    Responsibility id.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Azure lifecycle management
    SystemData Pulumi.AzureNative.AppComplianceAutomation.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Azure lifecycle management
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Azure lifecycle management
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    Azure lifecycle management
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    Azure lifecycle management
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Azure lifecycle management
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    EvidenceType, EvidenceTypeArgs

    File
    FileThe evidence is a file.
    AutoCollectedEvidence
    AutoCollectedEvidenceThe evidence auto collected by App Compliance Automation.
    Data
    DataThe evidence is data.
    EvidenceTypeFile
    FileThe evidence is a file.
    EvidenceTypeAutoCollectedEvidence
    AutoCollectedEvidenceThe evidence auto collected by App Compliance Automation.
    EvidenceTypeData
    DataThe evidence is data.
    File
    FileThe evidence is a file.
    AutoCollectedEvidence
    AutoCollectedEvidenceThe evidence auto collected by App Compliance Automation.
    Data
    DataThe evidence is data.
    File
    FileThe evidence is a file.
    AutoCollectedEvidence
    AutoCollectedEvidenceThe evidence auto collected by App Compliance Automation.
    Data
    DataThe evidence is data.
    FILE
    FileThe evidence is a file.
    AUTO_COLLECTED_EVIDENCE
    AutoCollectedEvidenceThe evidence auto collected by App Compliance Automation.
    DATA
    DataThe evidence is data.
    "File"
    FileThe evidence is a file.
    "AutoCollectedEvidence"
    AutoCollectedEvidenceThe evidence auto collected by App Compliance Automation.
    "Data"
    DataThe evidence is data.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:appcomplianceautomation:Evidence evidence1 /providers/Microsoft.AppComplianceAutomation/reports/{reportName}/evidences/{evidenceName} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi