Aracılığıyla paylaş


GitHubRepository Class

Definition

GitHub Repository resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.GitHubRepositoryTypeConverter))]
public class GitHubRepository : Microsoft.Azure.PowerShell.Cmdlets.Security.Models.IGitHubRepository, Microsoft.Azure.PowerShell.Cmdlets.Security.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Security.Models.GitHubRepositoryTypeConverter))>]
type GitHubRepository = class
    interface IGitHubRepository
    interface IJsonSerializable
    interface IProxyResource
    interface IResourceAutoGenerated
    interface IValidates
Public Class GitHubRepository
Implements IGitHubRepository, IValidates
Inheritance
GitHubRepository
Attributes
Implements

Constructors

GitHubRepository()

Creates an new GitHubRepository instance.

Properties

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Name

The name of the resource

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.

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GitHubRepository.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GitHubRepository.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of GitHubRepository into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to