com.pulumi.azurenative.security.SecurityConnector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.security;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.security.SecurityConnectorArgs;
import com.pulumi.azurenative.security.outputs.AwsEnvironmentDataResponse;
import com.pulumi.azurenative.security.outputs.AzureDevOpsScopeEnvironmentDataResponse;
import com.pulumi.azurenative.security.outputs.CspmMonitorAwsOfferingResponse;
import com.pulumi.azurenative.security.outputs.CspmMonitorAzureDevOpsOfferingResponse;
import com.pulumi.azurenative.security.outputs.CspmMonitorGcpOfferingResponse;
import com.pulumi.azurenative.security.outputs.CspmMonitorGitLabOfferingResponse;
import com.pulumi.azurenative.security.outputs.CspmMonitorGithubOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderCspmAwsOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderCspmGcpOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderFoDatabasesAwsOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForContainersAwsOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForContainersGcpOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForDatabasesGcpOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForDevOpsAzureDevOpsOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForDevOpsGitLabOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForDevOpsGithubOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForServersAwsOfferingResponse;
import com.pulumi.azurenative.security.outputs.DefenderForServersGcpOfferingResponse;
import com.pulumi.azurenative.security.outputs.GcpProjectEnvironmentDataResponse;
import com.pulumi.azurenative.security.outputs.GithubScopeEnvironmentDataResponse;
import com.pulumi.azurenative.security.outputs.GitlabScopeEnvironmentDataResponse;
import com.pulumi.azurenative.security.outputs.InformationProtectionAwsOfferingResponse;
import com.pulumi.azurenative.security.outputs.SystemDataResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* The security connector resource.
* Azure REST API version: 2023-03-01-preview. Prior API version in Azure Native 1.x: 2021-07-01-preview.
*
* Other available API versions: 2021-07-01-preview, 2023-10-01-preview, 2024-03-01-preview, 2024-07-01-preview.
*
* ## Example Usage
* ### Create or update a security connector
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.security.SecurityConnector;
* import com.pulumi.azurenative.security.SecurityConnectorArgs;
* 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 securityConnector = new SecurityConnector("securityConnector", SecurityConnectorArgs.builder()
* .environmentData(AwsEnvironmentDataArgs.builder()
* .environmentType("AwsAccount")
* .build())
* .environmentName("AWS")
* .hierarchyIdentifier("exampleHierarchyId")
* .location("Central US")
* .offerings(CspmMonitorAwsOfferingArgs.builder()
* .nativeCloudConnection(CspmMonitorAwsOfferingNativeCloudConnectionArgs.builder()
* .cloudRoleArn("arn:aws:iam::00000000:role/ASCMonitor")
* .build())
* .offeringType("CspmMonitorAws")
* .build())
* .resourceGroupName("exampleResourceGroup")
* .securityConnectorName("exampleSecurityConnectorName")
* .tags()
* .build());
*
* }
* }
*
* }
*
*
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:security:SecurityConnector exampleSecurityConnectorName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName}
* ```
*
*/
@ResourceType(type="azure-native:security:SecurityConnector")
public class SecurityConnector extends com.pulumi.resources.CustomResource {
/**
* The security connector environment data.
*
*/
@Export(name="environmentData", refs={Object.class}, tree="[0]")
private Output* @Nullable */ Object> environmentData;
/**
* @return The security connector environment data.
*
*/
public Output> environmentData() {
return Codegen.optional(this.environmentData);
}
/**
* The multi cloud resource's cloud name.
*
*/
@Export(name="environmentName", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> environmentName;
/**
* @return The multi cloud resource's cloud name.
*
*/
public Output> environmentName() {
return Codegen.optional(this.environmentName);
}
/**
* Entity tag is used for comparing two or more entities from the same requested resource.
*
*/
@Export(name="etag", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> etag;
/**
* @return Entity tag is used for comparing two or more entities from the same requested resource.
*
*/
public Output> etag() {
return Codegen.optional(this.etag);
}
/**
* The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector).
*
*/
@Export(name="hierarchyIdentifier", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> hierarchyIdentifier;
/**
* @return The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector).
*
*/
public Output> hierarchyIdentifier() {
return Codegen.optional(this.hierarchyIdentifier);
}
/**
* The date on which the trial period will end, if applicable. Trial period exists for 30 days after upgrading to payed offerings.
*
*/
@Export(name="hierarchyIdentifierTrialEndDate", refs={String.class}, tree="[0]")
private Output hierarchyIdentifierTrialEndDate;
/**
* @return The date on which the trial period will end, if applicable. Trial period exists for 30 days after upgrading to payed offerings.
*
*/
public Output hierarchyIdentifierTrialEndDate() {
return this.hierarchyIdentifierTrialEndDate;
}
/**
* Kind of the resource
*
*/
@Export(name="kind", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> kind;
/**
* @return Kind of the resource
*
*/
public Output> kind() {
return Codegen.optional(this.kind);
}
/**
* Location where the resource is stored
*
*/
@Export(name="location", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> location;
/**
* @return Location where the resource is stored
*
*/
public Output> location() {
return Codegen.optional(this.location);
}
/**
* Resource name
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return Resource name
*
*/
public Output name() {
return this.name;
}
/**
* A collection of offerings for the security connector.
*
*/
@Export(name="offerings", refs={List.class,Object.class}, tree="[0,1]")
private Output* @Nullable */ List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy