azure-native-v2.migrate.ServerCollector
Explore with Pulumi AI
Azure REST API version: 2019-10-01. Prior API version in Azure Native 1.x: 2019-10-01.
Create ServerCollector Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServerCollector(name: string, args: ServerCollectorArgs, opts?: CustomResourceOptions);
@overload
def ServerCollector(resource_name: str,
args: ServerCollectorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServerCollector(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
e_tag: Optional[str] = None,
properties: Optional[CollectorPropertiesArgs] = None,
server_collector_name: Optional[str] = None)
func NewServerCollector(ctx *Context, name string, args ServerCollectorArgs, opts ...ResourceOption) (*ServerCollector, error)
public ServerCollector(string name, ServerCollectorArgs args, CustomResourceOptions? opts = null)
public ServerCollector(String name, ServerCollectorArgs args)
public ServerCollector(String name, ServerCollectorArgs args, CustomResourceOptions options)
type: azure-native:migrate:ServerCollector
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. ServerCollectorArgs - 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. ServerCollectorArgs - 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. ServerCollectorArgs - 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. ServerCollectorArgs - 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. ServerCollectorArgs - 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 serverCollectorResource = new AzureNative.Migrate.ServerCollector("serverCollectorResource", new()
{
ProjectName = "string",
ResourceGroupName = "string",
ETag = "string",
Properties =
{
{ "agentProperties",
{
{ "spnDetails",
{
{ "applicationId", "string" },
{ "audience", "string" },
{ "authority", "string" },
{ "objectId", "string" },
{ "tenantId", "string" },
} },
} },
{ "discoverySiteId", "string" },
},
ServerCollectorName = "string",
});
example, err := migrate.NewServerCollector(ctx, "serverCollectorResource", &migrate.ServerCollectorArgs{
ProjectName: "string",
ResourceGroupName: "string",
ETag: "string",
Properties: map[string]interface{}{
"agentProperties": map[string]interface{}{
"spnDetails": map[string]interface{}{
"applicationId": "string",
"audience": "string",
"authority": "string",
"objectId": "string",
"tenantId": "string",
},
},
"discoverySiteId": "string",
},
ServerCollectorName: "string",
})
var serverCollectorResource = new ServerCollector("serverCollectorResource", ServerCollectorArgs.builder()
.projectName("string")
.resourceGroupName("string")
.eTag("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.serverCollectorName("string")
.build());
server_collector_resource = azure_native.migrate.ServerCollector("serverCollectorResource",
project_name=string,
resource_group_name=string,
e_tag=string,
properties={
agentProperties: {
spnDetails: {
applicationId: string,
audience: string,
authority: string,
objectId: string,
tenantId: string,
},
},
discoverySiteId: string,
},
server_collector_name=string)
const serverCollectorResource = new azure_native.migrate.ServerCollector("serverCollectorResource", {
projectName: "string",
resourceGroupName: "string",
eTag: "string",
properties: {
agentProperties: {
spnDetails: {
applicationId: "string",
audience: "string",
authority: "string",
objectId: "string",
tenantId: "string",
},
},
discoverySiteId: "string",
},
serverCollectorName: "string",
});
type: azure-native:migrate:ServerCollector
properties:
eTag: string
projectName: string
properties:
agentProperties:
spnDetails:
applicationId: string
audience: string
authority: string
objectId: string
tenantId: string
discoverySiteId: string
resourceGroupName: string
serverCollectorName: string
ServerCollector 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 ServerCollector resource accepts the following input properties:
- Project
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Migrate project.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Resource Group that project is part of.
- ETag string
- Properties
Pulumi.
Azure Native. Migrate. Inputs. Collector Properties - Server
Collector Name Changes to this property will trigger replacement.
- Unique name of a Server collector within a project.
- Project
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Migrate project.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Resource Group that project is part of.
- ETag string
- Properties
Collector
Properties Args - Server
Collector Name Changes to this property will trigger replacement.
- Unique name of a Server collector within a project.
- project
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Migrate project.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Resource Group that project is part of.
- e
Tag String - properties
Collector
Properties - server
Collector Name Changes to this property will trigger replacement.
- Unique name of a Server collector within a project.
- project
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Migrate project.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Resource Group that project is part of.
- e
Tag string - properties
Collector
Properties - server
Collector Name Changes to this property will trigger replacement.
- Unique name of a Server collector within a project.
- project_
name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Migrate project.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Resource Group that project is part of.
- e_
tag str - properties
Collector
Properties Args - server_
collector_ name Changes to this property will trigger replacement.
- Unique name of a Server collector within a project.
- project
Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Migrate project.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the Azure Resource Group that project is part of.
- e
Tag String - properties Property Map
- server
Collector Name Changes to this property will trigger replacement.
- Unique name of a Server collector within a project.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServerCollector resource produces the following output properties:
Supporting Types
CollectorAgentProperties, CollectorAgentPropertiesArgs
CollectorAgentPropertiesResponse, CollectorAgentPropertiesResponseArgs
- Id
This property is required. string - Last
Heartbeat Utc This property is required. string - Version
This property is required. string - Spn
Details Pulumi.Azure Native. Migrate. Inputs. Collector Body Agent Spn Properties Response
- Id
This property is required. string - Last
Heartbeat Utc This property is required. string - Version
This property is required. string - Spn
Details CollectorBody Agent Spn Properties Response
- id
This property is required. String - last
Heartbeat Utc This property is required. String - version
This property is required. String - spn
Details CollectorBody Agent Spn Properties Response
- id
This property is required. string - last
Heartbeat Utc This property is required. string - version
This property is required. string - spn
Details CollectorBody Agent Spn Properties Response
- id
This property is required. str - last_
heartbeat_ utc This property is required. str - version
This property is required. str - spn_
details CollectorBody Agent Spn Properties Response
- id
This property is required. String - last
Heartbeat Utc This property is required. String - version
This property is required. String - spn
Details Property Map
CollectorBodyAgentSpnProperties, CollectorBodyAgentSpnPropertiesArgs
- Application
Id string - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- Audience string
- Intended audience for the service principal.
- string
- AAD Authority URL which was used to request the token for the service principal.
- Object
Id string - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- Tenant
Id string - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- Application
Id string - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- Audience string
- Intended audience for the service principal.
- string
- AAD Authority URL which was used to request the token for the service principal.
- Object
Id string - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- Tenant
Id string - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- application
Id String - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- audience String
- Intended audience for the service principal.
- String
- AAD Authority URL which was used to request the token for the service principal.
- object
Id String - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- tenant
Id String - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- application
Id string - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- audience string
- Intended audience for the service principal.
- string
- AAD Authority URL which was used to request the token for the service principal.
- object
Id string - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- tenant
Id string - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- application_
id str - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- audience str
- Intended audience for the service principal.
- str
- AAD Authority URL which was used to request the token for the service principal.
- object_
id str - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- tenant_
id str - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- application
Id String - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- audience String
- Intended audience for the service principal.
- String
- AAD Authority URL which was used to request the token for the service principal.
- object
Id String - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- tenant
Id String - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
CollectorBodyAgentSpnPropertiesResponse, CollectorBodyAgentSpnPropertiesResponseArgs
- Application
Id string - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- Audience string
- Intended audience for the service principal.
- string
- AAD Authority URL which was used to request the token for the service principal.
- Object
Id string - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- Tenant
Id string - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- Application
Id string - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- Audience string
- Intended audience for the service principal.
- string
- AAD Authority URL which was used to request the token for the service principal.
- Object
Id string - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- Tenant
Id string - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- application
Id String - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- audience String
- Intended audience for the service principal.
- String
- AAD Authority URL which was used to request the token for the service principal.
- object
Id String - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- tenant
Id String - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- application
Id string - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- audience string
- Intended audience for the service principal.
- string
- AAD Authority URL which was used to request the token for the service principal.
- object
Id string - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- tenant
Id string - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- application_
id str - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- audience str
- Intended audience for the service principal.
- str
- AAD Authority URL which was used to request the token for the service principal.
- object_
id str - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- tenant_
id str - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- application
Id String - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- audience String
- Intended audience for the service principal.
- String
- AAD Authority URL which was used to request the token for the service principal.
- object
Id String - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
- tenant
Id String - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
CollectorProperties, CollectorPropertiesArgs
- Agent
Properties Pulumi.Azure Native. Migrate. Inputs. Collector Agent Properties - Discovery
Site stringId - The ARM id of the discovery service site.
- Agent
Properties CollectorAgent Properties - Discovery
Site stringId - The ARM id of the discovery service site.
- agent
Properties CollectorAgent Properties - discovery
Site StringId - The ARM id of the discovery service site.
- agent
Properties CollectorAgent Properties - discovery
Site stringId - The ARM id of the discovery service site.
- agent_
properties CollectorAgent Properties - discovery_
site_ strid - The ARM id of the discovery service site.
- agent
Properties Property Map - discovery
Site StringId - The ARM id of the discovery service site.
CollectorPropertiesResponse, CollectorPropertiesResponseArgs
- Created
Timestamp This property is required. string - Time when this collector was created. Date-Time represented in ISO-8601 format.
- Updated
Timestamp This property is required. string - Time when this collector was updated. Date-Time represented in ISO-8601 format.
- Agent
Properties Pulumi.Azure Native. Migrate. Inputs. Collector Agent Properties Response - Discovery
Site stringId - The ARM id of the discovery service site.
- Created
Timestamp This property is required. string - Time when this collector was created. Date-Time represented in ISO-8601 format.
- Updated
Timestamp This property is required. string - Time when this collector was updated. Date-Time represented in ISO-8601 format.
- Agent
Properties CollectorAgent Properties Response - Discovery
Site stringId - The ARM id of the discovery service site.
- created
Timestamp This property is required. String - Time when this collector was created. Date-Time represented in ISO-8601 format.
- updated
Timestamp This property is required. String - Time when this collector was updated. Date-Time represented in ISO-8601 format.
- agent
Properties CollectorAgent Properties Response - discovery
Site StringId - The ARM id of the discovery service site.
- created
Timestamp This property is required. string - Time when this collector was created. Date-Time represented in ISO-8601 format.
- updated
Timestamp This property is required. string - Time when this collector was updated. Date-Time represented in ISO-8601 format.
- agent
Properties CollectorAgent Properties Response - discovery
Site stringId - The ARM id of the discovery service site.
- created_
timestamp This property is required. str - Time when this collector was created. Date-Time represented in ISO-8601 format.
- updated_
timestamp This property is required. str - Time when this collector was updated. Date-Time represented in ISO-8601 format.
- agent_
properties CollectorAgent Properties Response - discovery_
site_ strid - The ARM id of the discovery service site.
- created
Timestamp This property is required. String - Time when this collector was created. Date-Time represented in ISO-8601 format.
- updated
Timestamp This property is required. String - Time when this collector was updated. Date-Time represented in ISO-8601 format.
- agent
Properties Property Map - discovery
Site StringId - The ARM id of the discovery service site.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:migrate:ServerCollector app23df4collector /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/servercollectors/{serverCollectorName}
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