github_oauths
Creates, updates, deletes, gets or lists a github_oauths resource.
Overview
| Name | github_oauths |
| Type | Resource |
| Id | azure_extras.devhub.github_oauths |
Fields
The following fields are returned by SELECT queries:
- list_github_oauth
| Name | Datatype | Description |
|---|---|---|
value | array | Singleton list response containing one GitHubOAuthResponse response. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_github_oauth | select | location, subscription_id | Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token. Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token. | |
github_oauth | exec | location, subscription_id | Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App. Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
location | string | The location name. Required. |
subscription_id | string |
SELECT examples
- list_github_oauth
Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token. Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.
SELECT
value
FROM azure_extras.devhub.github_oauths
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Lifecycle Methods
- github_oauth
Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App. Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.
EXEC azure_extras.devhub.github_oauths.github_oauth
@location='{{ location }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"redirectUrl": "{{ redirectUrl }}"
}'
;