azure-native.migrate.ImportSqlCollectorOperation
Explore with Pulumi AI
Import SQL Collector REST resource.
Uses Azure REST API version 2024-03-03-preview.
Create ImportSqlCollectorOperation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ImportSqlCollectorOperation(name: string, args: ImportSqlCollectorOperationArgs, opts?: CustomResourceOptions);
@overload
def ImportSqlCollectorOperation(resource_name: str,
args: ImportSqlCollectorOperationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ImportSqlCollectorOperation(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
import_sql_collectors_name: Optional[str] = None,
properties: Optional[ImportSqlCollectorPropertiesArgs] = None)
func NewImportSqlCollectorOperation(ctx *Context, name string, args ImportSqlCollectorOperationArgs, opts ...ResourceOption) (*ImportSqlCollectorOperation, error)
public ImportSqlCollectorOperation(string name, ImportSqlCollectorOperationArgs args, CustomResourceOptions? opts = null)
public ImportSqlCollectorOperation(String name, ImportSqlCollectorOperationArgs args)
public ImportSqlCollectorOperation(String name, ImportSqlCollectorOperationArgs args, CustomResourceOptions options)
type: azure-native:migrate:ImportSqlCollectorOperation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ImportSqlCollectorOperationArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. ImportSqlCollectorOperationArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ImportSqlCollectorOperationArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ImportSqlCollectorOperationArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. ImportSqlCollectorOperationArgs - 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 importSqlCollectorOperationResource = new AzureNative.Migrate.ImportSqlCollectorOperation("importSqlCollectorOperationResource", new()
{
ProjectName = "string",
ResourceGroupName = "string",
ImportSqlCollectorsName = "string",
Properties = new AzureNative.Migrate.Inputs.ImportSqlCollectorPropertiesArgs
{
DiscoverySiteId = "string",
},
});
example, err := migrate.NewImportSqlCollectorOperation(ctx, "importSqlCollectorOperationResource", &migrate.ImportSqlCollectorOperationArgs{
ProjectName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
ImportSqlCollectorsName: pulumi.String("string"),
Properties: &migrate.ImportSqlCollectorPropertiesArgs{
DiscoverySiteId: pulumi.String("string"),
},
})
var importSqlCollectorOperationResource = new ImportSqlCollectorOperation("importSqlCollectorOperationResource", ImportSqlCollectorOperationArgs.builder()
.projectName("string")
.resourceGroupName("string")
.importSqlCollectorsName("string")
.properties(ImportSqlCollectorPropertiesArgs.builder()
.discoverySiteId("string")
.build())
.build());
import_sql_collector_operation_resource = azure_native.migrate.ImportSqlCollectorOperation("importSqlCollectorOperationResource",
project_name="string",
resource_group_name="string",
import_sql_collectors_name="string",
properties={
"discovery_site_id": "string",
})
const importSqlCollectorOperationResource = new azure_native.migrate.ImportSqlCollectorOperation("importSqlCollectorOperationResource", {
projectName: "string",
resourceGroupName: "string",
importSqlCollectorsName: "string",
properties: {
discoverySiteId: "string",
},
});
type: azure-native:migrate:ImportSqlCollectorOperation
properties:
importSqlCollectorsName: string
projectName: string
properties:
discoverySiteId: string
resourceGroupName: string
ImportSqlCollectorOperation 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 ImportSqlCollectorOperation resource accepts the following input properties:
- Project
Name This property is required. Changes to this property will trigger replacement.
- Assessment Project Name
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Import
Sql Collectors Name Changes to this property will trigger replacement.
- Import SQL Collector arm name.
- Properties
Pulumi.
Azure Native. Migrate. Inputs. Import Sql Collector Properties - The resource-specific properties for this resource.
- Project
Name This property is required. Changes to this property will trigger replacement.
- Assessment Project Name
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Import
Sql Collectors Name Changes to this property will trigger replacement.
- Import SQL Collector arm name.
- Properties
Import
Sql Collector Properties Args - The resource-specific properties for this resource.
- project
Name This property is required. Changes to this property will trigger replacement.
- Assessment Project Name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- import
Sql Collectors Name Changes to this property will trigger replacement.
- Import SQL Collector arm name.
- properties
Import
Sql Collector Properties - The resource-specific properties for this resource.
- project
Name This property is required. Changes to this property will trigger replacement.
- Assessment Project Name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- import
Sql Collectors Name Changes to this property will trigger replacement.
- Import SQL Collector arm name.
- properties
Import
Sql Collector Properties - The resource-specific properties for this resource.
- project_
name This property is required. Changes to this property will trigger replacement.
- Assessment Project Name
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- import_
sql_ collectors_ name Changes to this property will trigger replacement.
- Import SQL Collector arm name.
- properties
Import
Sql Collector Properties Args - The resource-specific properties for this resource.
- project
Name This property is required. Changes to this property will trigger replacement.
- Assessment Project Name
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- import
Sql Collectors Name Changes to this property will trigger replacement.
- Import SQL Collector arm name.
- properties Property Map
- The resource-specific properties for this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ImportSqlCollectorOperation resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Migrate. Outputs. System Data Response - 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"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data SystemData Response - 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"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data SystemData Response - 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"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- system
Data SystemData Response - 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"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- system_
data SystemData Response - 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"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- system
Data 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
ImportSqlCollectorProperties, ImportSqlCollectorPropertiesArgs
- Discovery
Site stringId - The sql db extended details.
- Discovery
Site stringId - The sql db extended details.
- discovery
Site StringId - The sql db extended details.
- discovery
Site stringId - The sql db extended details.
- discovery_
site_ strid - The sql db extended details.
- discovery
Site StringId - The sql db extended details.
ImportSqlCollectorPropertiesResponse, ImportSqlCollectorPropertiesResponseArgs
- Created
Timestamp This property is required. string - When was import SQL collector first created.
- Provisioning
State This property is required. string - The status of the last operation.
- Updated
Timestamp This property is required. string - When was import SQL collector last updated.
- Discovery
Site stringId - The sql db extended details.
- Created
Timestamp This property is required. string - When was import SQL collector first created.
- Provisioning
State This property is required. string - The status of the last operation.
- Updated
Timestamp This property is required. string - When was import SQL collector last updated.
- Discovery
Site stringId - The sql db extended details.
- created
Timestamp This property is required. String - When was import SQL collector first created.
- provisioning
State This property is required. String - The status of the last operation.
- updated
Timestamp This property is required. String - When was import SQL collector last updated.
- discovery
Site StringId - The sql db extended details.
- created
Timestamp This property is required. string - When was import SQL collector first created.
- provisioning
State This property is required. string - The status of the last operation.
- updated
Timestamp This property is required. string - When was import SQL collector last updated.
- discovery
Site stringId - The sql db extended details.
- created_
timestamp This property is required. str - When was import SQL collector first created.
- provisioning_
state This property is required. str - The status of the last operation.
- updated_
timestamp This property is required. str - When was import SQL collector last updated.
- discovery_
site_ strid - The sql db extended details.
- created
Timestamp This property is required. String - When was import SQL collector first created.
- provisioning
State This property is required. String - The status of the last operation.
- updated
Timestamp This property is required. String - When was import SQL collector last updated.
- discovery
Site StringId - The sql db extended details.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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:migrate:ImportSqlCollectorOperation importCollector /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/importSqlCollectors/{importSqlCollectorsName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0