AzureDevOpsRepositoryProperties Class

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

Implements

public final class AzureDevOpsRepositoryProperties
implements JsonSerializable<AzureDevOpsRepositoryProperties>

Azure DevOps Repository properties.

Constructor Summary

Constructor Description
AzureDevOpsRepositoryProperties()

Creates an instance of AzureDevOpsRepositoryProperties class.

Method Summary

Modifier and Type Method and Description
ActionableRemediation actionableRemediation()

Get the actionableRemediation property: Configuration payload for PR Annotations.

static AzureDevOpsRepositoryProperties fromJson(JsonReader jsonReader)

Reads an instance of AzureDevOpsRepositoryProperties 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 parentProjectName()

Get the parentProjectName property: Gets or sets parent Azure DevOps Project name.

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.

String repoId()

Get the repoId property: Gets or sets Azure DevOps Repository id.

String repoUrl()

Get the repoUrl property: Gets or sets Azure DevOps Repository url.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String visibility()

Get the visibility property: Gets or sets Azure DevOps repository visibility, whether it is public or private etc.

AzureDevOpsRepositoryProperties withActionableRemediation(ActionableRemediation actionableRemediation)

Set the actionableRemediation property: Configuration payload for PR Annotations.

AzureDevOpsRepositoryProperties withOnboardingState(OnboardingState onboardingState)

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

AzureDevOpsRepositoryProperties withParentOrgName(String parentOrgName)

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

AzureDevOpsRepositoryProperties withParentProjectName(String parentProjectName)

Set the parentProjectName property: Gets or sets parent Azure DevOps Project name.

Methods inherited from java.lang.Object

Constructor Details

AzureDevOpsRepositoryProperties

public AzureDevOpsRepositoryProperties()

Creates an instance of AzureDevOpsRepositoryProperties class.

Method Details

actionableRemediation

public ActionableRemediation actionableRemediation()

Get the actionableRemediation property: Configuration payload for PR Annotations.

Returns:

the actionableRemediation value.

fromJson

public static AzureDevOpsRepositoryProperties fromJson(JsonReader jsonReader)

Reads an instance of AzureDevOpsRepositoryProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AzureDevOpsRepositoryProperties 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 AzureDevOpsRepositoryProperties.

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.

parentProjectName

public String parentProjectName()

Get the parentProjectName property: Gets or sets parent Azure DevOps Project name.

Returns:

the parentProjectName 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.

repoId

public String repoId()

Get the repoId property: Gets or sets Azure DevOps Repository id.

Returns:

the repoId value.

repoUrl

public String repoUrl()

Get the repoUrl property: Gets or sets Azure DevOps Repository url.

Returns:

the repoUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

visibility

public String visibility()

Get the visibility property: Gets or sets Azure DevOps repository visibility, whether it is public or private etc.

Returns:

the visibility value.

withActionableRemediation

public AzureDevOpsRepositoryProperties withActionableRemediation(ActionableRemediation actionableRemediation)

Set the actionableRemediation property: Configuration payload for PR Annotations.

Parameters:

actionableRemediation - the actionableRemediation value to set.

Returns:

the AzureDevOpsRepositoryProperties object itself.

withOnboardingState

public AzureDevOpsRepositoryProperties 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 AzureDevOpsRepositoryProperties object itself.

withParentOrgName

public AzureDevOpsRepositoryProperties withParentOrgName(String parentOrgName)

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

Parameters:

parentOrgName - the parentOrgName value to set.

Returns:

the AzureDevOpsRepositoryProperties object itself.

withParentProjectName

public AzureDevOpsRepositoryProperties withParentProjectName(String parentProjectName)

Set the parentProjectName property: Gets or sets parent Azure DevOps Project name.

Parameters:

parentProjectName - the parentProjectName value to set.

Returns:

the AzureDevOpsRepositoryProperties object itself.

Applies to