次の方法で共有


PoolProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.devopsinfrastructure.models.PoolProperties

public final class PoolProperties

Pool properties.

Constructor Summary

Constructor Description
PoolProperties()

Creates an instance of PoolProperties class.

Method Summary

Modifier and Type Method and Description
AgentProfile agentProfile()

Get the agentProfile property: Defines how the machine will be handled once it executed a job.

String devCenterProjectResourceId()

Get the devCenterProjectResourceId property: The resource id of the DevCenter Project the pool belongs to.

FabricProfile fabricProfile()

Get the fabricProfile property: Defines the type of fabric the agent will run on.

int maximumConcurrency()

Get the maximumConcurrency property: Defines how many resources can there be created at any given time.

OrganizationProfile organizationProfile()

Get the organizationProfile property: Defines the organization in which the pool will be used.

ProvisioningState provisioningState()

Get the provisioningState property: The status of the current operation.

void validate()

Validates the instance.

PoolProperties withAgentProfile(AgentProfile agentProfile)

Set the agentProfile property: Defines how the machine will be handled once it executed a job.

PoolProperties withDevCenterProjectResourceId(String devCenterProjectResourceId)

Set the devCenterProjectResourceId property: The resource id of the DevCenter Project the pool belongs to.

PoolProperties withFabricProfile(FabricProfile fabricProfile)

Set the fabricProfile property: Defines the type of fabric the agent will run on.

PoolProperties withMaximumConcurrency(int maximumConcurrency)

Set the maximumConcurrency property: Defines how many resources can there be created at any given time.

PoolProperties withOrganizationProfile(OrganizationProfile organizationProfile)

Set the organizationProfile property: Defines the organization in which the pool will be used.

PoolProperties withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: The status of the current operation.

Methods inherited from java.lang.Object

Constructor Details

PoolProperties

public PoolProperties()

Creates an instance of PoolProperties class.

Method Details

agentProfile

public AgentProfile agentProfile()

Get the agentProfile property: Defines how the machine will be handled once it executed a job.

Returns:

the agentProfile value.

devCenterProjectResourceId

public String devCenterProjectResourceId()

Get the devCenterProjectResourceId property: The resource id of the DevCenter Project the pool belongs to.

Returns:

the devCenterProjectResourceId value.

fabricProfile

public FabricProfile fabricProfile()

Get the fabricProfile property: Defines the type of fabric the agent will run on.

Returns:

the fabricProfile value.

maximumConcurrency

public int maximumConcurrency()

Get the maximumConcurrency property: Defines how many resources can there be created at any given time.

Returns:

the maximumConcurrency value.

organizationProfile

public OrganizationProfile organizationProfile()

Get the organizationProfile property: Defines the organization in which the pool will be used.

Returns:

the organizationProfile value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The status of the current operation.

Returns:

the provisioningState value.

validate

public void validate()

Validates the instance.

withAgentProfile

public PoolProperties withAgentProfile(AgentProfile agentProfile)

Set the agentProfile property: Defines how the machine will be handled once it executed a job.

Parameters:

agentProfile - the agentProfile value to set.

Returns:

the PoolProperties object itself.

withDevCenterProjectResourceId

public PoolProperties withDevCenterProjectResourceId(String devCenterProjectResourceId)

Set the devCenterProjectResourceId property: The resource id of the DevCenter Project the pool belongs to.

Parameters:

devCenterProjectResourceId - the devCenterProjectResourceId value to set.

Returns:

the PoolProperties object itself.

withFabricProfile

public PoolProperties withFabricProfile(FabricProfile fabricProfile)

Set the fabricProfile property: Defines the type of fabric the agent will run on.

Parameters:

fabricProfile - the fabricProfile value to set.

Returns:

the PoolProperties object itself.

withMaximumConcurrency

public PoolProperties withMaximumConcurrency(int maximumConcurrency)

Set the maximumConcurrency property: Defines how many resources can there be created at any given time.

Parameters:

maximumConcurrency - the maximumConcurrency value to set.

Returns:

the PoolProperties object itself.

withOrganizationProfile

public PoolProperties withOrganizationProfile(OrganizationProfile organizationProfile)

Set the organizationProfile property: Defines the organization in which the pool will be used.

Parameters:

organizationProfile - the organizationProfile value to set.

Returns:

the PoolProperties object itself.

withProvisioningState

public PoolProperties withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: The status of the current operation.

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the PoolProperties object itself.

Applies to