StaticSiteBasicAuthPropertiesArmResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. fluent. models. StaticSiteBasicAuthPropertiesArmResourceInner
- com.
- com.
- com.
public final class StaticSiteBasicAuthPropertiesArmResourceInner
extends ProxyOnlyResource
Static site basic auth properties ARM resource.
Constructor Summary
Constructor | Description |
---|---|
StaticSiteBasicAuthPropertiesArmResourceInner() |
Creates an instance of Static |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
applicableEnvironmentsMode()
Get the applicable |
List<String> |
environments()
Get the environments property: The list of enabled environments for Basic Auth if Applicable |
static
Static |
fromJson(JsonReader jsonReader)
Reads an instance of Static |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
String |
password()
Get the password property: The password for basic auth. |
String |
secretState()
Get the secret |
String |
secretUrl()
Get the secret |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Static |
withApplicableEnvironmentsMode(String applicableEnvironmentsMode)
Set the applicable |
Static |
withEnvironments(List<String> environments)
Set the environments property: The list of enabled environments for Basic Auth if Applicable |
Static |
withKind(String kind)
Set the kind property: Kind of resource. |
Static |
withPassword(String password)
Set the password property: The password for basic auth. |
Static |
withSecretUrl(String secretUrl)
Set the secret |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
StaticSiteBasicAuthPropertiesArmResourceInner
public StaticSiteBasicAuthPropertiesArmResourceInner()
Creates an instance of StaticSiteBasicAuthPropertiesArmResourceInner class.
Method Details
applicableEnvironmentsMode
public String applicableEnvironmentsMode()
Get the applicableEnvironmentsMode property: State indicating if basic auth is enabled and for what environments it is active.
Returns:
environments
public List
Get the environments property: The list of enabled environments for Basic Auth if ApplicableEnvironmentsMode is set to SpecifiedEnvironments.
Returns:
fromJson
public static StaticSiteBasicAuthPropertiesArmResourceInner fromJson(JsonReader jsonReader)
Reads an instance of StaticSiteBasicAuthPropertiesArmResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
StaticSiteBasicAuthPropertiesArmResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
StaticSiteBasicAuthPropertiesArmResourceInner.name()Returns:
password
public String password()
Get the password property: The password for basic auth.
Returns:
secretState
public String secretState()
Get the secretState property: State indicating if basic auth has a secret and what type it is.
Returns:
secretUrl
public String secretUrl()
Get the secretUrl property: Url to the secret in Key Vault.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StaticSiteBasicAuthPropertiesArmResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
StaticSiteBasicAuthPropertiesArmResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
StaticSiteBasicAuthPropertiesArmResourceInner.validate()withApplicableEnvironmentsMode
public StaticSiteBasicAuthPropertiesArmResourceInner withApplicableEnvironmentsMode(String applicableEnvironmentsMode)
Set the applicableEnvironmentsMode property: State indicating if basic auth is enabled and for what environments it is active.
Parameters:
Returns:
withEnvironments
public StaticSiteBasicAuthPropertiesArmResourceInner withEnvironments(List
Set the environments property: The list of enabled environments for Basic Auth if ApplicableEnvironmentsMode is set to SpecifiedEnvironments.
Parameters:
Returns:
withKind
public StaticSiteBasicAuthPropertiesArmResourceInner withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
StaticSiteBasicAuthPropertiesArmResourceInner.withKind(String kind)Parameters:
withPassword
public StaticSiteBasicAuthPropertiesArmResourceInner withPassword(String password)
Set the password property: The password for basic auth.
Parameters:
Returns:
withSecretUrl
public StaticSiteBasicAuthPropertiesArmResourceInner withSecretUrl(String secretUrl)
Set the secretUrl property: Url to the secret in Key Vault.
Parameters:
Returns:
Applies to
Azure SDK for Java