RepositoryAccess Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Credentials to access repository.
public class RepositoryAccess : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityInsights.Models.RepositoryAccess>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityInsights.Models.RepositoryAccess>
type RepositoryAccess = class
interface IJsonModel<RepositoryAccess>
interface IPersistableModel<RepositoryAccess>
Public Class RepositoryAccess
Implements IJsonModel(Of RepositoryAccess), IPersistableModel(Of RepositoryAccess)
- Inheritance
-
RepositoryAccess
- Implements
Constructors
RepositoryAccess(RepositoryAccessKind) |
Initializes a new instance of RepositoryAccess. |
Properties
ClientId |
OAuth ClientId. Required when |
Code |
OAuth Code. Required when |
InstallationId |
Application installation ID. Required when |
Kind |
The kind of repository access credentials. |
State |
OAuth State. Required when |
Token |
Personal Access Token. Required when |
Explicit Interface Implementations
IJsonModel<RepositoryAccess>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<RepositoryAccess>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<RepositoryAccess>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<RepositoryAccess>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<RepositoryAccess>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |