API Reference
Class
DesiredStateRobotsPolicy
Provides desired state robots policy functionality.
Inheritance
- Object
- DesiredStateRobotsPolicy
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property DesiredStateConfiguration.Robots
- Property DesiredStateProfile.Robots
- Method DesiredStateRobotsPolicy.Clone
Accepted by parameters
Constructors
public DesiredStateRobotsPolicy() #Methods
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Nullable<Boolean> Enabled { get; set; } #JsonPropertyName("enabled")Gets or sets the enabled value.
public Nullable<Boolean> RequireRecord { get; set; } #JsonPropertyName("requireRecord")Gets or sets the require record value.
public Nullable<Boolean> DisallowFallback { get; set; } #JsonPropertyName("disallowFallback")When true, disallows fallback to HTTP when HTTPS retrieval fails.
public Nullable<Boolean> RequireAiBotRules { get; set; } #JsonPropertyName("requireAiBotRules")When true, requires at least one AI bot rule to be present.
public Nullable<Boolean> RequireSitemap { get; set; } #JsonPropertyName("requireSitemap")When true, requires at least one sitemap entry.