AzureDevOpsRepositoryProperties Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AzureDevOpsRepositoryProperties
- com.
Implements
public final class AzureDevOpsRepositoryProperties
implements JsonSerializable<AzureDevOpsRepositoryProperties>
Azure DevOps Repository properties.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureDevOpsRepositoryProperties() |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Actionable |
actionableRemediation()
Get the actionable |
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
|
Onboarding |
onboardingState()
Get the onboarding |
| String |
parentOrgName()
Get the parent |
| String |
parentProjectName()
Get the parent |
|
Dev |
provisioningState()
Get the provisioning |
| String |
provisioningStatusMessage()
Get the provisioning |
|
Offset |
provisioningStatusUpdateTimeUtc()
Get the provisioning |
| String |
repoId()
Get the repo |
| String |
repoUrl()
Get the repo |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
visibility()
Get the visibility property: Gets or sets Azure Dev |
|
Azure |
withActionableRemediation(ActionableRemediation actionableRemediation)
Set the actionable |
|
Azure |
withOnboardingState(OnboardingState onboardingState)
Set the onboarding |
|
Azure |
withParentOrgName(String parentOrgName)
Set the parent |
|
Azure |
withParentProjectName(String parentProjectName)
Set the parent |
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:
fromJson
public static AzureDevOpsRepositoryProperties fromJson(JsonReader jsonReader)
Reads an instance of AzureDevOpsRepositoryProperties from the JsonReader.
Parameters:
Returns:
Throws:
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:
parentOrgName
public String parentOrgName()
Get the parentOrgName property: Gets or sets parent Azure DevOps Organization name.
Returns:
parentProjectName
public String parentProjectName()
Get the parentProjectName property: Gets or sets parent Azure DevOps Project name.
Returns:
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:
provisioningStatusMessage
public String provisioningStatusMessage()
Get the provisioningStatusMessage property: Gets the resource status message.
Returns:
provisioningStatusUpdateTimeUtc
public OffsetDateTime provisioningStatusUpdateTimeUtc()
Get the provisioningStatusUpdateTimeUtc property: Gets the time when resource was last checked.
Returns:
repoId
public String repoId()
Get the repoId property: Gets or sets Azure DevOps Repository id.
Returns:
repoUrl
public String repoUrl()
Get the repoUrl property: Gets or sets Azure DevOps Repository url.
Returns:
toJson
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:
withActionableRemediation
public AzureDevOpsRepositoryProperties withActionableRemediation(ActionableRemediation actionableRemediation)
Set the actionableRemediation property: Configuration payload for PR Annotations.
Parameters:
Returns:
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:
Returns:
withParentOrgName
public AzureDevOpsRepositoryProperties withParentOrgName(String parentOrgName)
Set the parentOrgName property: Gets or sets parent Azure DevOps Organization name.
Parameters:
Returns:
withParentProjectName
public AzureDevOpsRepositoryProperties withParentProjectName(String parentProjectName)
Set the parentProjectName property: Gets or sets parent Azure DevOps Project name.
Parameters:
Returns: