private ArmElement ComposeResourceTypeElement() { string @namespace = Namespace.CoerceToString(); string type = Type.CoerceToString(); return(new ArmStringLiteral($"{@namespace}/{type}")); }
private bool TryGetResourceSchema(out ResourceSchema resourceSchema) { if (_resourceSchema is not null) { resourceSchema = _resourceSchema; return(true); } if (ResourceIndex.SharedInstance.TryGetResourceSchema( Namespace?.CoerceToString(), Type?.CoerceToString(), ApiVersion?.CoerceToString(), out resourceSchema)) { _resourceSchema = resourceSchema; return(true); } return(false); }