com.pulumi.azurenative.datamigration.ServiceTask 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.datamigration;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.datamigration.ServiceTaskArgs;
import com.pulumi.azurenative.datamigration.outputs.ConnectToMongoDbTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ConnectToSourceMySqlTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ConnectToSourceOracleSyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ConnectToSourcePostgreSqlSyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ConnectToSourceSqlServerSyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ConnectToSourceSqlServerTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ConnectToTargetAzureDbForMySqlTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ConnectToTargetAzureDbForPostgreSqlSyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ConnectToTargetSqlDbTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ConnectToTargetSqlMISyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ConnectToTargetSqlMITaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ConnectToTargetSqlSqlDbSyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.GetTdeCertificatesSqlTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.GetUserTablesMySqlTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.GetUserTablesOracleTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.GetUserTablesPostgreSqlTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.GetUserTablesSqlSyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.GetUserTablesSqlTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.MigrateMongoDbTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.MigrateMySqlAzureDbForMySqlOfflineTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.MigrateMySqlAzureDbForMySqlSyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.MigrateOracleAzureDbForPostgreSqlSyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.MigratePostgreSqlAzureDbForPostgreSqlSyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.MigrateSqlServerSqlDbSyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.MigrateSqlServerSqlDbTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.MigrateSqlServerSqlMISyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.MigrateSqlServerSqlMITaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.MigrateSsisTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.SystemDataResponse;
import com.pulumi.azurenative.datamigration.outputs.ValidateMigrationInputSqlServerSqlDbSyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ValidateMigrationInputSqlServerSqlMISyncTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ValidateMigrationInputSqlServerSqlMITaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ValidateMongoDbTaskPropertiesResponse;
import com.pulumi.azurenative.datamigration.outputs.ValidateOracleAzureDbForPostgreSqlSyncTaskPropertiesResponse;
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.Optional;
import javax.annotation.Nullable;
/**
* A task resource
* Azure REST API version: 2021-06-30.
*
* Other available API versions: 2022-03-30-preview, 2023-07-15-preview.
*
* ## Example Usage
* ### Tasks_CreateOrUpdate
*
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.azurenative.datamigration.ServiceTask;
* import com.pulumi.azurenative.datamigration.ServiceTaskArgs;
* 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 serviceTask = new ServiceTask("serviceTask", ServiceTaskArgs.builder()
* .groupName("DmsSdkRg")
* .properties(ConnectToMongoDbTaskPropertiesArgs.builder()
* .input(MongoDbConnectionInfoArgs.builder()
* .serverVersion("NA")
* .build())
* .taskType("Service.Check.OCI")
* .build())
* .serviceName("DmsSdkService")
* .taskName("DmsSdkTask")
* .build());
*
* }
* }
*
* }
*
*
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:datamigration:ServiceTask DmsSdkTask /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}
* ```
*
*/
@ResourceType(type="azure-native:datamigration:ServiceTask")
public class ServiceTask extends com.pulumi.resources.CustomResource {
/**
* HTTP strong entity tag value. This is ignored if submitted.
*
*/
@Export(name="etag", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> etag;
/**
* @return HTTP strong entity tag value. This is ignored if submitted.
*
*/
public Output> etag() {
return Codegen.optional(this.etag);
}
/**
* Resource name.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return Resource name.
*
*/
public Output name() {
return this.name;
}
/**
* Custom task properties
*
*/
@Export(name="properties", refs={Object.class}, tree="[0]")
private Output
© 2015 - 2024 Weber Informatics LLC | Privacy Policy