GitHubWorkflowProfileOidcCredentials Class
- java.
lang. Object - com.
azure. resourcemanager. devhub. models. GitHubWorkflowProfileOidcCredentials
- com.
Implements
public final class GitHubWorkflowProfileOidcCredentials
implements JsonSerializable<GitHubWorkflowProfileOidcCredentials>
The fields needed for OIDC with GitHub.
Constructor Summary
| Constructor | Description |
|---|---|
| GitHubWorkflowProfileOidcCredentials() |
Creates an instance of Git |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
azureClientId()
Get the azure |
| String |
azureTenantId()
Get the azure |
|
static
Git |
fromJson(JsonReader jsonReader)
Reads an instance of Git |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Git |
withAzureClientId(String azureClientId)
Set the azure |
|
Git |
withAzureTenantId(String azureTenantId)
Set the azure |
Methods inherited from java.lang.Object
Constructor Details
GitHubWorkflowProfileOidcCredentials
public GitHubWorkflowProfileOidcCredentials()
Creates an instance of GitHubWorkflowProfileOidcCredentials class.
Method Details
azureClientId
public String azureClientId()
Get the azureClientId property: Azure Application Client ID.
Returns:
azureTenantId
public String azureTenantId()
Get the azureTenantId property: Azure Directory (tenant) ID.
Returns:
fromJson
public static GitHubWorkflowProfileOidcCredentials fromJson(JsonReader jsonReader)
Reads an instance of GitHubWorkflowProfileOidcCredentials from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAzureClientId
public GitHubWorkflowProfileOidcCredentials withAzureClientId(String azureClientId)
Set the azureClientId property: Azure Application Client ID.
Parameters:
Returns:
withAzureTenantId
public GitHubWorkflowProfileOidcCredentials withAzureTenantId(String azureTenantId)
Set the azureTenantId property: Azure Directory (tenant) ID.
Parameters:
Returns: