Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BrandingSchema = map[string]*schema.Schema{ brandingfields.BannerBackgroundColor.String(): { Type: schema.TypeString, Optional: true, Computed: true, }, brandingfields.BannerLogo.String(): { Type: schema.TypeString, Optional: true, Computed: true, }, brandingfields.BannerText.String(): { Type: schema.TypeString, Optional: true, Computed: true, }, brandingfields.BannerTextColor.String(): { Type: schema.TypeString, Optional: true, Computed: true, }, brandingfields.BannerUrl.String(): { Type: schema.TypeString, Optional: true, Computed: true, }, brandingfields.CompanyName.String(): { Type: schema.TypeString, Optional: true, Computed: true, }, brandingfields.CompanyLogo.String(): { Type: schema.TypeString, Optional: true, Computed: true, }, brandingfields.Favicon.String(): { Type: schema.TypeString, Optional: true, Computed: true, }, brandingfields.FooterText.String(): { Type: schema.TypeString, Optional: true, Computed: true, }, brandingfields.FooterLinks.String(): { Type: schema.TypeSet, Optional: true, Elem: &schema.Resource{ Schema: FooterLinkSchema, }, }, }
View Source
var ClientSecretPolicySchema = map[string]*schema.Schema{ clientsecretpolicyfields.MaxLength.String(): { Type: schema.TypeInt, Optional: true, }, clientsecretpolicyfields.MinLength.String(): { Type: schema.TypeInt, Optional: true, }, clientsecretpolicyfields.MinUpperCaseChars.String(): { Type: schema.TypeInt, Optional: true, }, clientsecretpolicyfields.MinLowerCaseChars.String(): { Type: schema.TypeInt, Optional: true, }, clientsecretpolicyfields.MinDigits.String(): { Type: schema.TypeInt, Optional: true, }, clientsecretpolicyfields.MinSpecialChars.String(): { Type: schema.TypeInt, Optional: true, }, }
View Source
var CorsPolicySchema = map[string]*schema.Schema{ corsconfigfields.AllowedOrigins.String(): { Type: schema.TypeSet, Optional: true, Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, corsconfigfields.AllowedOriginPatterns.String(): { Type: schema.TypeSet, Optional: true, Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, corsconfigfields.AllowedUris.String(): { Type: schema.TypeSet, Optional: true, Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, corsconfigfields.AllowedUriPatterns.String(): { Type: schema.TypeSet, Optional: true, Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, corsconfigfields.AllowedHeaders.String(): { Type: schema.TypeSet, Optional: true, Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, corsconfigfields.AllowedMethods.String(): { Type: schema.TypeSet, Optional: true, Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, corsconfigfields.AllowedCredentials.String(): { Type: schema.TypeBool, Optional: true, }, corsconfigfields.Name.String(): { Type: schema.TypeString, Optional: true, ValidateFunc: validation.StringInSlice(corsconfignames.CorsConfigNames, false), }, corsconfigfields.MaxAge.String(): { Type: schema.TypeInt, Optional: true, }, }
View Source
var DataSource = &schema.Resource{
Schema: dataSourceSchema,
ReadContext: readDataSource,
}
View Source
footerlinkfields.Name.String(): { Type: schema.TypeString, Required: true, }, footerlinkfields.Url.String(): { Type: schema.TypeString, Required: true, }, }
View Source
var InputPromptSchema = map[string]*schema.Schema{ inputpromptfields.Name.String(): { Type: schema.TypeString, Required: true, }, inputpromptfields.Type.String(): { Type: schema.TypeString, Optional: true, Default: "text", }, inputpromptfields.Value.String(): { Type: schema.TypeString, Required: true, }, }
View Source
var Resource = &schema.Resource{
Schema: identityZoneSchema,
CreateContext: createResource,
ReadContext: readResource,
UpdateContext: updateResource,
DeleteContext: deleteResource,
}
View Source
var SamlConfigKeySchema = map[string]*schema.Schema{ samlkeyfields.Certificate.String(): { Type: schema.TypeString, Required: true, }, samlkeyfields.Name.String(): { Type: schema.TypeString, Required: true, }, }
View Source
var SamlConfigSchema = map[string]*schema.Schema{ samlconfigfields.ActiveKeyId.String(): { Type: schema.TypeString, Optional: true, }, samlconfigfields.AssertionTtlSeconds.String(): { Type: schema.TypeInt, Optional: true, }, samlconfigfields.DisableInResponseToCheck.String(): { Type: schema.TypeBool, Optional: true, }, samlconfigfields.EntityId.String(): { Type: schema.TypeString, Optional: true, }, samlconfigfields.IsAssertionSigned.String(): { Type: schema.TypeBool, Optional: true, }, samlconfigfields.IsRequestSigned.String(): { Type: schema.TypeBool, Optional: true, }, samlconfigfields.Key.String(): { Type: schema.TypeList, Optional: true, Computed: true, Elem: &schema.Resource{ Schema: SamlConfigKeySchema, }, }, samlconfigfields.WantAssertionSigned.String(): { Type: schema.TypeBool, Optional: true, }, samlconfigfields.WantAuthRequestSigned.String(): { Type: schema.TypeBool, Optional: true, }, }
View Source
var TokenPolicySchema = map[string]*schema.Schema{ tokenpolicyfields.AccessTokenTtl.String(): { Type: schema.TypeInt, Optional: true, }, tokenpolicyfields.RefreshTokenTtl.String(): { Type: schema.TypeInt, Optional: true, }, tokenpolicyfields.IsJwtRevocable.String(): { Type: schema.TypeBool, Optional: true, }, tokenpolicyfields.IsRefreshTokenUnique.String(): { Type: schema.TypeBool, Optional: true, }, tokenpolicyfields.RefreshTokenFormat.String(): { Type: schema.TypeString, Optional: true, Default: "jwt", }, tokenpolicyfields.ActiveKeyId.String(): { Type: schema.TypeString, Optional: true, }, }
Functions ¶
func MapIdentityZoneToResource ¶
func MapIdentityZoneToResource(identityZone *api.IdentityZone, data *schema.ResourceData)
func MapResourceToIdentityZone ¶
func MapResourceToIdentityZone(data *schema.ResourceData) *api.IdentityZone
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.