azure-native-v2.workloads.SapDiscoverySite
Explore with Pulumi AI
Define the SAP Migration discovery site resource. Azure REST API version: 2023-10-01-preview.
Create SapDiscoverySite Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SapDiscoverySite(name: string, args: SapDiscoverySiteArgs, opts?: CustomResourceOptions);
@overload
def SapDiscoverySite(resource_name: str,
args: SapDiscoverySiteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SapDiscoverySite(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
location: Optional[str] = None,
master_site_id: Optional[str] = None,
migrate_project_id: Optional[str] = None,
sap_discovery_site_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewSapDiscoverySite(ctx *Context, name string, args SapDiscoverySiteArgs, opts ...ResourceOption) (*SapDiscoverySite, error)
public SapDiscoverySite(string name, SapDiscoverySiteArgs args, CustomResourceOptions? opts = null)
public SapDiscoverySite(String name, SapDiscoverySiteArgs args)
public SapDiscoverySite(String name, SapDiscoverySiteArgs args, CustomResourceOptions options)
type: azure-native:workloads:SapDiscoverySite
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. SapDiscoverySiteArgs - 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. SapDiscoverySiteArgs - 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. SapDiscoverySiteArgs - 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. SapDiscoverySiteArgs - 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. SapDiscoverySiteArgs - 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 sapDiscoverySiteResource = new AzureNative.Workloads.SapDiscoverySite("sapDiscoverySiteResource", new()
{
ResourceGroupName = "string",
ExtendedLocation =
{
{ "name", "string" },
{ "type", "string" },
},
Location = "string",
MasterSiteId = "string",
MigrateProjectId = "string",
SapDiscoverySiteName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := workloads.NewSapDiscoverySite(ctx, "sapDiscoverySiteResource", &workloads.SapDiscoverySiteArgs{
ResourceGroupName: "string",
ExtendedLocation: map[string]interface{}{
"name": "string",
"type": "string",
},
Location: "string",
MasterSiteId: "string",
MigrateProjectId: "string",
SapDiscoverySiteName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var sapDiscoverySiteResource = new SapDiscoverySite("sapDiscoverySiteResource", SapDiscoverySiteArgs.builder()
.resourceGroupName("string")
.extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.masterSiteId("string")
.migrateProjectId("string")
.sapDiscoverySiteName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
sap_discovery_site_resource = azure_native.workloads.SapDiscoverySite("sapDiscoverySiteResource",
resource_group_name=string,
extended_location={
name: string,
type: string,
},
location=string,
master_site_id=string,
migrate_project_id=string,
sap_discovery_site_name=string,
tags={
string: string,
})
const sapDiscoverySiteResource = new azure_native.workloads.SapDiscoverySite("sapDiscoverySiteResource", {
resourceGroupName: "string",
extendedLocation: {
name: "string",
type: "string",
},
location: "string",
masterSiteId: "string",
migrateProjectId: "string",
sapDiscoverySiteName: "string",
tags: {
string: "string",
},
});
type: azure-native:workloads:SapDiscoverySite
properties:
extendedLocation:
name: string
type: string
location: string
masterSiteId: string
migrateProjectId: string
resourceGroupName: string
sapDiscoverySiteName: string
tags:
string: string
SapDiscoverySite 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 SapDiscoverySite resource accepts the following input properties:
- 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.
- Extended
Location Pulumi.Azure Native. Workloads. Inputs. Extended Location - The extended location definition.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Master
Site stringId - The master site ID from Azure Migrate.
- Migrate
Project stringId - The migrate project ID from Azure Migrate.
- Sap
Discovery Site Name Changes to this property will trigger replacement.
- The name of the discovery site resource for SAP Migration.
- Dictionary<string, string>
- Resource tags.
- 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.
- Extended
Location ExtendedLocation Args - The extended location definition.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Master
Site stringId - The master site ID from Azure Migrate.
- Migrate
Project stringId - The migrate project ID from Azure Migrate.
- Sap
Discovery Site Name Changes to this property will trigger replacement.
- The name of the discovery site resource for SAP Migration.
- map[string]string
- Resource tags.
- 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.
- extended
Location ExtendedLocation - The extended location definition.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- master
Site StringId - The master site ID from Azure Migrate.
- migrate
Project StringId - The migrate project ID from Azure Migrate.
- sap
Discovery Site Name Changes to this property will trigger replacement.
- The name of the discovery site resource for SAP Migration.
- Map<String,String>
- Resource tags.
- 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.
- extended
Location ExtendedLocation - The extended location definition.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- master
Site stringId - The master site ID from Azure Migrate.
- migrate
Project stringId - The migrate project ID from Azure Migrate.
- sap
Discovery Site Name Changes to this property will trigger replacement.
- The name of the discovery site resource for SAP Migration.
- {[key: string]: string}
- Resource tags.
- 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.
- extended_
location ExtendedLocation Args - The extended location definition.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- master_
site_ strid - The master site ID from Azure Migrate.
- migrate_
project_ strid - The migrate project ID from Azure Migrate.
- sap_
discovery_ site_ name Changes to this property will trigger replacement.
- The name of the discovery site resource for SAP Migration.
- Mapping[str, str]
- Resource tags.
- 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.
- extended
Location Property Map - The extended location definition.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- master
Site StringId - The master site ID from Azure Migrate.
- migrate
Project StringId - The migrate project ID from Azure Migrate.
- sap
Discovery Site Name Changes to this property will trigger replacement.
- The name of the discovery site resource for SAP Migration.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the SapDiscoverySite resource produces the following output properties:
- Errors
Pulumi.
Azure Native. Workloads. Outputs. SAPMigrate Error Response - Indicates any errors on the SAP Migration discovery site resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Defines the provisioning states.
- System
Data Pulumi.Azure Native. Workloads. 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"
- Errors
SAPMigrate
Error Response - Indicates any errors on the SAP Migration discovery site resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Defines the provisioning states.
- 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"
- errors
SAPMigrate
Error Response - Indicates any errors on the SAP Migration discovery site resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Defines the provisioning states.
- 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"
- errors
SAPMigrate
Error Response - Indicates any errors on the SAP Migration discovery site resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - Defines the provisioning states.
- 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"
- errors
SAPMigrate
Error Response - Indicates any errors on the SAP Migration discovery site resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - Defines the provisioning states.
- 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"
- errors Property Map
- Indicates any errors on the SAP Migration discovery site resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Defines the provisioning states.
- 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
ErrorDefinitionResponse, ErrorDefinitionResponseArgs
- Code
This property is required. string - Service specific error code which serves as the substatus for the HTTP error code.
- Details
This property is required. List<Pulumi.Azure Native. Workloads. Inputs. Error Definition Response> - Internal error details.
- Message
This property is required. string - Description of the error.
- Recommendation
This property is required. string - Description of the recommendation.
- Code
This property is required. string - Service specific error code which serves as the substatus for the HTTP error code.
- Details
This property is required. []ErrorDefinition Response - Internal error details.
- Message
This property is required. string - Description of the error.
- Recommendation
This property is required. string - Description of the recommendation.
- code
This property is required. String - Service specific error code which serves as the substatus for the HTTP error code.
- details
This property is required. List<ErrorDefinition Response> - Internal error details.
- message
This property is required. String - Description of the error.
- recommendation
This property is required. String - Description of the recommendation.
- code
This property is required. string - Service specific error code which serves as the substatus for the HTTP error code.
- details
This property is required. ErrorDefinition Response[] - Internal error details.
- message
This property is required. string - Description of the error.
- recommendation
This property is required. string - Description of the recommendation.
- code
This property is required. str - Service specific error code which serves as the substatus for the HTTP error code.
- details
This property is required. Sequence[ErrorDefinition Response] - Internal error details.
- message
This property is required. str - Description of the error.
- recommendation
This property is required. str - Description of the recommendation.
- code
This property is required. String - Service specific error code which serves as the substatus for the HTTP error code.
- details
This property is required. List<Property Map> - Internal error details.
- message
This property is required. String - Description of the error.
- recommendation
This property is required. String - Description of the recommendation.
ExtendedLocation, ExtendedLocationArgs
ExtendedLocationResponse, ExtendedLocationResponseArgs
SAPMigrateErrorResponse, SAPMigrateErrorResponseArgs
- Code
This property is required. string - Service specific error code which serves as the substatus for the HTTP error code.
- Details
This property is required. List<Pulumi.Azure Native. Workloads. Inputs. Error Definition Response> - Internal error details.
- Message
This property is required. string - Description of the error.
- Recommendation
This property is required. string - Description of the recommendation.
- Code
This property is required. string - Service specific error code which serves as the substatus for the HTTP error code.
- Details
This property is required. []ErrorDefinition Response - Internal error details.
- Message
This property is required. string - Description of the error.
- Recommendation
This property is required. string - Description of the recommendation.
- code
This property is required. String - Service specific error code which serves as the substatus for the HTTP error code.
- details
This property is required. List<ErrorDefinition Response> - Internal error details.
- message
This property is required. String - Description of the error.
- recommendation
This property is required. String - Description of the recommendation.
- code
This property is required. string - Service specific error code which serves as the substatus for the HTTP error code.
- details
This property is required. ErrorDefinition Response[] - Internal error details.
- message
This property is required. string - Description of the error.
- recommendation
This property is required. string - Description of the recommendation.
- code
This property is required. str - Service specific error code which serves as the substatus for the HTTP error code.
- details
This property is required. Sequence[ErrorDefinition Response] - Internal error details.
- message
This property is required. str - Description of the error.
- recommendation
This property is required. str - Description of the recommendation.
- code
This property is required. String - Service specific error code which serves as the substatus for the HTTP error code.
- details
This property is required. List<Property Map> - Internal error details.
- message
This property is required. String - Description of the error.
- recommendation
This property is required. String - Description of the recommendation.
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:workloads:SapDiscoverySite SampleSite /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0