Share via


GitHubRepositoryProperties Class

Definition

GitHub Repository properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.GitHubRepositoryPropertiesTypeConverter))]
public class GitHubRepositoryProperties : Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IGitHubRepositoryProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.GitHubRepositoryPropertiesTypeConverter))>]
type GitHubRepositoryProperties = class
    interface IGitHubRepositoryProperties
    interface IJsonSerializable
Public Class GitHubRepositoryProperties
Implements IGitHubRepositoryProperties
Inheritance
GitHubRepositoryProperties
Attributes
Implements

Constructors

GitHubRepositoryProperties()

Creates an new GitHubRepositoryProperties instance.

Properties

OnboardingState

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.

ParentOwnerName

Gets or sets parent GitHub Owner name.

ProvisioningState

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.

ProvisioningStatusMessage

Gets or sets resource status message.

ProvisioningStatusUpdateTimeUtc

Gets or sets time when resource was last checked.

RepoFullName

Gets or sets GitHub Full Name. Repository name, prefixed with Owner name. Eg: "my-org/new-repo-1".

RepoId

Gets or sets GitHub Repository id.

This is a numeric id defined by Github. Eg: "123456".

RepoName

Gets or sets GitHub Repository name. Eg: "new-repo-1".

RepoUrl

Gets or sets GitHub Repository url.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GitHubRepositoryProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GitHubRepositoryProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IGitHubRepositoryProperties.

FromJsonString(String)

Creates a new instance of GitHubRepositoryProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of GitHubRepositoryProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to