azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.a...

150 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.appservice.models.GitHub"
fullName: "com.azure.resourcemanager.appservice.models.GitHub"
name: "GitHub"
nameWithType: "GitHub"
summary: "The configuration settings of the Git<wbr>Hub provider."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **GitHub**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.appservice.models.GitHub?alt=com.azure.resourcemanager.appservice.models.GitHub&text=GitHub\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.appservice.models.GitHub.GitHub()"
fullName: "com.azure.resourcemanager.appservice.models.GitHub.GitHub()"
name: "GitHub()"
nameWithType: "GitHub.GitHub()"
summary: "Creates an instance of Git<wbr>Hub class."
syntax: "public GitHub()"
desc: "Creates an instance of GitHub class."
methods:
- uid: "com.azure.resourcemanager.appservice.models.GitHub.enabled()"
fullName: "com.azure.resourcemanager.appservice.models.GitHub.enabled()"
name: "enabled()"
nameWithType: "GitHub.enabled()"
summary: "Get the enabled property: <code>false</code> if the Git<wbr>Hub provider should not be enabled despite the set registration; otherwise, <code>true</code>."
syntax: "public Boolean enabled()"
desc: "Get the enabled property: <code>false</code> if the GitHub provider should not be enabled despite the set registration; otherwise, <code>true</code>."
returns:
description: "the enabled value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.appservice.models.GitHub.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.appservice.models.GitHub.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "GitHub.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Git<wbr>Hub from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static GitHub fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the GitHub."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of GitHub from the JsonReader."
returns:
description: "An instance of GitHub if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
type: "<xref href=\"com.azure.resourcemanager.appservice.models.GitHub?alt=com.azure.resourcemanager.appservice.models.GitHub&text=GitHub\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appservice.models.GitHub.login()"
fullName: "com.azure.resourcemanager.appservice.models.GitHub.login()"
name: "login()"
nameWithType: "GitHub.login()"
summary: "Get the login property: The configuration settings of the login flow."
syntax: "public LoginScopes login()"
desc: "Get the login property: The configuration settings of the login flow."
returns:
description: "the login value."
type: "<xref href=\"com.azure.resourcemanager.appservice.models.LoginScopes?alt=com.azure.resourcemanager.appservice.models.LoginScopes&text=LoginScopes\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appservice.models.GitHub.registration()"
fullName: "com.azure.resourcemanager.appservice.models.GitHub.registration()"
name: "registration()"
nameWithType: "GitHub.registration()"
summary: "Get the registration property: The configuration settings of the app registration for the Git<wbr>Hub provider."
syntax: "public ClientRegistration registration()"
desc: "Get the registration property: The configuration settings of the app registration for the GitHub provider."
returns:
description: "the registration value."
type: "<xref href=\"com.azure.resourcemanager.appservice.models.ClientRegistration?alt=com.azure.resourcemanager.appservice.models.ClientRegistration&text=ClientRegistration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appservice.models.GitHub.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.appservice.models.GitHub.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "GitHub.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appservice.models.GitHub.validate()"
fullName: "com.azure.resourcemanager.appservice.models.GitHub.validate()"
name: "validate()"
nameWithType: "GitHub.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.appservice.models.GitHub.withEnabled(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.appservice.models.GitHub.withEnabled(Boolean enabled)"
name: "withEnabled(Boolean enabled)"
nameWithType: "GitHub.withEnabled(Boolean enabled)"
summary: "Set the enabled property: <code>false</code> if the Git<wbr>Hub provider should not be enabled despite the set registration; otherwise, <code>true</code>."
parameters:
- description: "the enabled value to set."
name: "enabled"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public GitHub withEnabled(Boolean enabled)"
desc: "Set the enabled property: <code>false</code> if the GitHub provider should not be enabled despite the set registration; otherwise, <code>true</code>."
returns:
description: "the GitHub object itself."
type: "<xref href=\"com.azure.resourcemanager.appservice.models.GitHub?alt=com.azure.resourcemanager.appservice.models.GitHub&text=GitHub\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appservice.models.GitHub.withLogin(com.azure.resourcemanager.appservice.models.LoginScopes)"
fullName: "com.azure.resourcemanager.appservice.models.GitHub.withLogin(LoginScopes login)"
name: "withLogin(LoginScopes login)"
nameWithType: "GitHub.withLogin(LoginScopes login)"
summary: "Set the login property: The configuration settings of the login flow."
parameters:
- description: "the login value to set."
name: "login"
type: "<xref href=\"com.azure.resourcemanager.appservice.models.LoginScopes?alt=com.azure.resourcemanager.appservice.models.LoginScopes&text=LoginScopes\" data-throw-if-not-resolved=\"False\" />"
syntax: "public GitHub withLogin(LoginScopes login)"
desc: "Set the login property: The configuration settings of the login flow."
returns:
description: "the GitHub object itself."
type: "<xref href=\"com.azure.resourcemanager.appservice.models.GitHub?alt=com.azure.resourcemanager.appservice.models.GitHub&text=GitHub\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.appservice.models.GitHub.withRegistration(com.azure.resourcemanager.appservice.models.ClientRegistration)"
fullName: "com.azure.resourcemanager.appservice.models.GitHub.withRegistration(ClientRegistration registration)"
name: "withRegistration(ClientRegistration registration)"
nameWithType: "GitHub.withRegistration(ClientRegistration registration)"
summary: "Set the registration property: The configuration settings of the app registration for the Git<wbr>Hub provider."
parameters:
- description: "the registration value to set."
name: "registration"
type: "<xref href=\"com.azure.resourcemanager.appservice.models.ClientRegistration?alt=com.azure.resourcemanager.appservice.models.ClientRegistration&text=ClientRegistration\" data-throw-if-not-resolved=\"False\" />"
syntax: "public GitHub withRegistration(ClientRegistration registration)"
desc: "Set the registration property: The configuration settings of the app registration for the GitHub provider."
returns:
description: "the GitHub object itself."
type: "<xref href=\"com.azure.resourcemanager.appservice.models.GitHub?alt=com.azure.resourcemanager.appservice.models.GitHub&text=GitHub\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The configuration settings of the GitHub provider."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.appservice.models.GitHub?alt=com.azure.resourcemanager.appservice.models.GitHub&text=GitHub\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.appservice.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-appservice:2.44.0