ArmAppContainersModelFactory.ContainerAppGitHubConfiguration Method
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.
public static Azure.ResourceManager.AppContainers.Models.ContainerAppGitHubConfiguration ContainerAppGitHubConfiguration(bool? isEnabled = default, Azure.ResourceManager.AppContainers.Models.ContainerAppClientRegistration registration = default, System.Collections.Generic.IEnumerable<string> loginScopes = default);
static member ContainerAppGitHubConfiguration : Nullable<bool> * Azure.ResourceManager.AppContainers.Models.ContainerAppClientRegistration * seq<string> -> Azure.ResourceManager.AppContainers.Models.ContainerAppGitHubConfiguration
Public Shared Function ContainerAppGitHubConfiguration (Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional registration As ContainerAppClientRegistration = Nothing, Optional loginScopes As IEnumerable(Of String) = Nothing) As ContainerAppGitHubConfiguration
Parameters
<code>false</code> if the GitHub provider should not be enabled despite the set registration; otherwise, <code>true</code>.
- registration
- ContainerAppClientRegistration
The configuration settings of the app registration for the GitHub provider.
- loginScopes
- IEnumerable<String>
A list of the scopes that should be requested while authenticating.
Returns
A new ContainerAppGitHubConfiguration instance for mocking.