AzureDevOpsProjectProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.AzureDevOpsProjectProperties

Implements

public final class AzureDevOpsProjectProperties
implements JsonSerializable<AzureDevOpsProjectProperties>

Azure DevOps Project properties.

Constructor Summary

Constructor Description
AzureDevOpsProjectProperties()

Creates an instance of AzureDevOpsProjectProperties class.

Method Summary

Modifier and Type Method and Description
ActionableRemediation actionableRemediation()

Get the actionableRemediation property: Configuration payload for PR Annotations.

static AzureDevOpsProjectProperties fromJson(JsonReader jsonReader)

Reads an instance of AzureDevOpsProjectProperties from the JsonReader.

OnboardingState onboardingState()

Get the onboardingState property: Details about resource onboarding status across all connectors.

String parentOrgName()

Get the parentOrgName property: Gets or sets parent Azure DevOps Organization name.

String projectId()

Get the projectId property: Gets or sets Azure DevOps Project id.

DevOpsProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

String provisioningStatusMessage()

Get the provisioningStatusMessage property: Gets the resource status message.

OffsetDateTime provisioningStatusUpdateTimeUtc()

Get the provisioningStatusUpdateTimeUtc property: Gets the time when resource was last checked.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureDevOpsProjectProperties withActionableRemediation(ActionableRemediation actionableRemediation)

Set the actionableRemediation property: Configuration payload for PR Annotations.

AzureDevOpsProjectProperties withOnboardingState(OnboardingState onboardingState)

Set the onboardingState property: Details about resource onboarding status across all connectors.

AzureDevOpsProjectProperties withParentOrgName(String parentOrgName)

Set the parentOrgName property: Gets or sets parent Azure DevOps Organization name.

Methods inherited from java.lang.Object

Constructor Details

AzureDevOpsProjectProperties

public AzureDevOpsProjectProperties()

Creates an instance of AzureDevOpsProjectProperties class.

Method Details

actionableRemediation

public ActionableRemediation actionableRemediation()

Get the actionableRemediation property: Configuration payload for PR Annotations.

Returns:

the actionableRemediation value.

fromJson

public static AzureDevOpsProjectProperties fromJson(JsonReader jsonReader)

Reads an instance of AzureDevOpsProjectProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureDevOpsProjectProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AzureDevOpsProjectProperties.

onboardingState

public OnboardingState onboardingState()

Get the onboardingState property: Details about resource onboarding status across all connectors. OnboardedByOtherConnector - this resource has already been onboarded to another connector. This is only applicable to top-level resources. Onboarded - this resource has already been onboarded by the specified connector. NotOnboarded - this resource has not been onboarded to any connector. NotApplicable - the onboarding state is not applicable to the current endpoint.

Returns:

the onboardingState value.

parentOrgName

public String parentOrgName()

Get the parentOrgName property: Gets or sets parent Azure DevOps Organization name.

Returns:

the parentOrgName value.

projectId

public String projectId()

Get the projectId property: Gets or sets Azure DevOps Project id.

Returns:

the projectId value.

provisioningState

public DevOpsProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource. Pending - Provisioning pending. Failed - Provisioning failed. Succeeded - Successful provisioning. Canceled - Provisioning canceled. PendingDeletion - Deletion pending. DeletionSuccess - Deletion successful. DeletionFailure - Deletion failure.

Returns:

the provisioningState value.

provisioningStatusMessage

public String provisioningStatusMessage()

Get the provisioningStatusMessage property: Gets the resource status message.

Returns:

the provisioningStatusMessage value.

provisioningStatusUpdateTimeUtc

public OffsetDateTime provisioningStatusUpdateTimeUtc()

Get the provisioningStatusUpdateTimeUtc property: Gets the time when resource was last checked.

Returns:

the provisioningStatusUpdateTimeUtc value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withActionableRemediation

public AzureDevOpsProjectProperties withActionableRemediation(ActionableRemediation actionableRemediation)

Set the actionableRemediation property: Configuration payload for PR Annotations.

Parameters:

actionableRemediation - the actionableRemediation value to set.

Returns:

the AzureDevOpsProjectProperties object itself.

withOnboardingState

public AzureDevOpsProjectProperties withOnboardingState(OnboardingState onboardingState)

Set the onboardingState property: Details about resource onboarding status across all connectors. OnboardedByOtherConnector - this resource has already been onboarded to another connector. This is only applicable to top-level resources. Onboarded - this resource has already been onboarded by the specified connector. NotOnboarded - this resource has not been onboarded to any connector. NotApplicable - the onboarding state is not applicable to the current endpoint.

Parameters:

onboardingState - the onboardingState value to set.

Returns:

the AzureDevOpsProjectProperties object itself.

withParentOrgName

public AzureDevOpsProjectProperties withParentOrgName(String parentOrgName)

Set the parentOrgName property: Gets or sets parent Azure DevOps Organization name.

Parameters:

parentOrgName - the parentOrgName value to set.

Returns:

the AzureDevOpsProjectProperties object itself.

Applies to