1. Packages
  2. Azure Native
  3. API Docs
  4. migrate
  5. getServerCollector
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.migrate.getServerCollector

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Get a Server collector.

Uses Azure REST API version 2019-10-01.

Using getServerCollector

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getServerCollector(args: GetServerCollectorArgs, opts?: InvokeOptions): Promise<GetServerCollectorResult>
function getServerCollectorOutput(args: GetServerCollectorOutputArgs, opts?: InvokeOptions): Output<GetServerCollectorResult>
Copy
def get_server_collector(project_name: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         server_collector_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetServerCollectorResult
def get_server_collector_output(project_name: Optional[pulumi.Input[str]] = None,
                         resource_group_name: Optional[pulumi.Input[str]] = None,
                         server_collector_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetServerCollectorResult]
Copy
func LookupServerCollector(ctx *Context, args *LookupServerCollectorArgs, opts ...InvokeOption) (*LookupServerCollectorResult, error)
func LookupServerCollectorOutput(ctx *Context, args *LookupServerCollectorOutputArgs, opts ...InvokeOption) LookupServerCollectorResultOutput
Copy

> Note: This function is named LookupServerCollector in the Go SDK.

public static class GetServerCollector 
{
    public static Task<GetServerCollectorResult> InvokeAsync(GetServerCollectorArgs args, InvokeOptions? opts = null)
    public static Output<GetServerCollectorResult> Invoke(GetServerCollectorInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetServerCollectorResult> getServerCollector(GetServerCollectorArgs args, InvokeOptions options)
public static Output<GetServerCollectorResult> getServerCollector(GetServerCollectorArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:migrate:getServerCollector
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ProjectName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Migrate project.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Resource Group that project is part of.
ServerCollectorName
This property is required.
Changes to this property will trigger replacement.
string
Unique name of a Server collector within a project.
ProjectName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Migrate project.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Resource Group that project is part of.
ServerCollectorName
This property is required.
Changes to this property will trigger replacement.
string
Unique name of a Server collector within a project.
projectName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Migrate project.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Resource Group that project is part of.
serverCollectorName
This property is required.
Changes to this property will trigger replacement.
String
Unique name of a Server collector within a project.
projectName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Migrate project.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Resource Group that project is part of.
serverCollectorName
This property is required.
Changes to this property will trigger replacement.
string
Unique name of a Server collector within a project.
project_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Azure Migrate project.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Azure Resource Group that project is part of.
server_collector_name
This property is required.
Changes to this property will trigger replacement.
str
Unique name of a Server collector within a project.
projectName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Migrate project.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Resource Group that project is part of.
serverCollectorName
This property is required.
Changes to this property will trigger replacement.
String
Unique name of a Server collector within a project.

getServerCollector Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
Id string
Name string
Properties Pulumi.AzureNative.Migrate.Outputs.CollectorPropertiesResponse
Type string
ETag string
AzureApiVersion string
The Azure API version of the resource.
Id string
Name string
Properties CollectorPropertiesResponse
Type string
ETag string
azureApiVersion String
The Azure API version of the resource.
id String
name String
properties CollectorPropertiesResponse
type String
eTag String
azureApiVersion string
The Azure API version of the resource.
id string
name string
properties CollectorPropertiesResponse
type string
eTag string
azure_api_version str
The Azure API version of the resource.
id str
name str
properties CollectorPropertiesResponse
type str
e_tag str
azureApiVersion String
The Azure API version of the resource.
id String
name String
properties Property Map
type String
eTag String

Supporting Types

CollectorAgentPropertiesResponse

Id This property is required. string
LastHeartbeatUtc This property is required. string
Version This property is required. string
SpnDetails Pulumi.AzureNative.Migrate.Inputs.CollectorBodyAgentSpnPropertiesResponse
Id This property is required. string
LastHeartbeatUtc This property is required. string
Version This property is required. string
SpnDetails CollectorBodyAgentSpnPropertiesResponse
id This property is required. String
lastHeartbeatUtc This property is required. String
version This property is required. String
spnDetails CollectorBodyAgentSpnPropertiesResponse
id This property is required. string
lastHeartbeatUtc This property is required. string
version This property is required. string
spnDetails CollectorBodyAgentSpnPropertiesResponse
id This property is required. str
last_heartbeat_utc This property is required. str
version This property is required. str
spn_details CollectorBodyAgentSpnPropertiesResponse
id This property is required. String
lastHeartbeatUtc This property is required. String
version This property is required. String
spnDetails Property Map

CollectorBodyAgentSpnPropertiesResponse

ApplicationId 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.
Authority string
AAD Authority URL which was used to request the token for the service principal.
ObjectId string
Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
TenantId string
Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
ApplicationId 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.
Authority string
AAD Authority URL which was used to request the token for the service principal.
ObjectId string
Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
TenantId string
Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
applicationId 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.
authority String
AAD Authority URL which was used to request the token for the service principal.
objectId String
Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
tenantId String
Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
applicationId 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.
authority string
AAD Authority URL which was used to request the token for the service principal.
objectId string
Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
tenantId 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.
authority 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.
applicationId 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.
authority String
AAD Authority URL which was used to request the token for the service principal.
objectId String
Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
tenantId String
Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.

CollectorPropertiesResponse

CreatedTimestamp This property is required. string
Time when this collector was created. Date-Time represented in ISO-8601 format.
UpdatedTimestamp This property is required. string
Time when this collector was updated. Date-Time represented in ISO-8601 format.
AgentProperties Pulumi.AzureNative.Migrate.Inputs.CollectorAgentPropertiesResponse
DiscoverySiteId string
The ARM id of the discovery service site.
CreatedTimestamp This property is required. string
Time when this collector was created. Date-Time represented in ISO-8601 format.
UpdatedTimestamp This property is required. string
Time when this collector was updated. Date-Time represented in ISO-8601 format.
AgentProperties CollectorAgentPropertiesResponse
DiscoverySiteId string
The ARM id of the discovery service site.
createdTimestamp This property is required. String
Time when this collector was created. Date-Time represented in ISO-8601 format.
updatedTimestamp This property is required. String
Time when this collector was updated. Date-Time represented in ISO-8601 format.
agentProperties CollectorAgentPropertiesResponse
discoverySiteId String
The ARM id of the discovery service site.
createdTimestamp This property is required. string
Time when this collector was created. Date-Time represented in ISO-8601 format.
updatedTimestamp This property is required. string
Time when this collector was updated. Date-Time represented in ISO-8601 format.
agentProperties CollectorAgentPropertiesResponse
discoverySiteId string
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 CollectorAgentPropertiesResponse
discovery_site_id str
The ARM id of the discovery service site.
createdTimestamp This property is required. String
Time when this collector was created. Date-Time represented in ISO-8601 format.
updatedTimestamp This property is required. String
Time when this collector was updated. Date-Time represented in ISO-8601 format.
agentProperties Property Map
discoverySiteId String
The ARM id of the discovery service site.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi